altf4/RealTimeTactics — Issue #29: Crash when selecting new leader
Author: altf4
Created: 2012-01-29 01:37:38+00:00
State: open

To reproduce:

1) Set up a server and one client. Connect the client and go into a match.
2) Press the leader check mark on the client around 12-20 times.

Should crash now.

Complains about:

*** glibc detected *** ./Debug/RTT_Client_GTK: double free or corruption (fasttop): 0x09de7240 ***

You can stop the crash by commenting out the lines

row[playerColumns.isLeader] = true;
row[playerColumns.isLeader] = false;
(4 of them)

inside case LEADER_CHANGE: of the void *CallbackThread(void * parm) function of RTT_Client_GTK