altf4 / altf4/RealTimeTactics

Server crash after clients quit playing matches

Open
#31 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
6
Forks
4
PR merge metrics
No merged PRs in 30d

Description

I cannot seem to reliably reproduce this, I've only seen it once. But server crashes are serious, so here is what I know about it:

I was testing two clients out in the Ogre3D code, then quit out of the Ogre code back into the match lobby when the server spit out:

RTT_Server: malloc.c:4631: _int_malloc: Assertion `(unsigned long)(size) >= (unsigned long)(nb)' failed.
Aborted

Judging from this: http://stackoverflow.com/questions/7759696/what-does-this-error-suggest I would say that the error is due to us not deleting on object when we should. We'll have to take a close look at data reads from the server.

Running the server under valgrind would also be a good idea.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.