================================================================================
TuxMath Network Game Crash
================================================================================
Steps to Reproduce:
1. Run two copies of TuxMath (on the same computer)
2. Make #1 run a server
3. Make #2 join that server (by searching for servers)
4. Make #2 click the "I'm ready" button
5. Make #1 search for servers and try to join
<You should encounter the crash here>
GDB Backtrace (for server/#1):
Program received signal SIGPIPE, Broken pipe.
0x0012e416 in __kernel_vsyscall ()
(gdb) bt
#0 0x0012e416 in __kernel_vsyscall ()
#1 0x00f15a78 in send () from /lib/libpthread.so.0
#2 0x0013040e in SDLNet_TCP_Send () from /usr/lib/libSDL_net-1.2.so.0
#3 0x08061e98 in say_to_server (statement=0xbfffebfc "START_GAME")
at network.c:491
#4 0x08062143 in LAN_StartGame () at network.c:440
#5 0x0804f584 in run_lan_join () at menu.c:518
#6 0x080504db in handle_activity (act=6, param=0) at menu.c:150
#7 0x007086fa in T4K_RunMenu (index=0, return_choice=false,
draw_background=0x804dce0 <DrawTitleScreen>,
handle_event=0x804eda0 <HandleTitleScreenEvents>,
handle_animations=0x804db60 <HandleTitleScreenAnimations>,
handle_activity=0x8050300 <handle_activity>) at t4k_menu.c:856
#8 0x0804fb08 in run_menu (which=MENU_MAIN, return_choice=false) at
menu.c:103
#9 0x0804fbc4 in RunMainMenu () at menu.c:696
#10 0x0804f265 in TitleScreen () at titlescreen.c:308
#11 0x0804b3a0 in main (argc=2, argv=0xbffff464) at tuxmath.c:41
Other Problems:
This also causes all connected client to SEGFAULT at exit.
Program received signal SIGSEGV, Segmentation fault.
0x0805d142 in Opts_SetLanMode (val=0) at options.c:255
Regards,
Aviral
|