altf4 / altf4/RealTimeTactics

Server crash after clients quit playing matches

Aperta
#31 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
C++
Stelle
6
Fork
4
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.