On Mon, Nov 20, 2006 at 06:37:14PM +0100, Jens Granseuer wrote: > > 4. More than once I've clicked/pressed Enter when waiting for remote > > player, thus exiting and breaking the game. I'd like some > > confirmation dialog there. > > I agree here. However, I was wondering if we need the button at all. > Or maybe just don't make it activate on Return? I'm not sure about this > one, except that it needs to change. Not making it activate on Return would be an advantage, but IMHO a button to stop waiting would be nice. Maybe with confirmation dialog, maybe with loud and clear warning that this breaks the game with no way to return. > > 5. When one player stops, exiting the game, the other player's binary > > crashes[1]. Maybe sending some package with 'I've just exited, don't > > bother listening more from me' would help > > I haven't been able to reproduce this crash. What exactly is the sequence > leading to it? When do you exit? Who does (client/server)? Could you maybe > get me a gdb backtrace? Two ways, depending whether you want to crash server or client. Crashing server: [server] Start a server with any map (tested on RadioSilence, Anthill, Foxhole, ClippedWings). [client] Connect to the server, click on stop to disconnect while server takes turn. Confirm the 'connection broken' message [server] Complete turn normally, the error reports on end of turn. Crashing client: [server] start a server with any map [client] connect to the server. [server] Finish turn one, click on stop to disconnect while client takes turn. Confirm the 'connection broken' message. [client] Complete turn normally, the error reports on end of turn. Both gdb backtraces attached. $ rpm -qa |grep SDL SDL_net-1.2.4-2 SDL_ttf-2.0.5-1 SDLmm-devel-0.1.8-4 SDL_net-devel-1.2.4-2 SDL_gfx-devel-2.0.3-2 SDL_image-devel-1.2.4-1 SDL_mixer-devel-1.2.4-6 SDL_gfx-2.0.3-2 SDLmm-0.1.8-4 SDL-1.2.5-7 SDL_image-1.2.4-1 SDL_ttf-devel-2.0.5-1 SDL-devel-1.2.5-7 SDL_mixer-1.2.4-6 If I can be of any more help please ask. > There were actually two untranslated messages. Fixed in CVS, but you'll > have to take another look ;-) Attached. Hope this time I'll get the encoding right in the first try ;) Torinthiel -- Waclaw "Torinthiel" Schiller GG#: 3073512 torinthiel(at)megapolis(dot)pl gpg: 0906A2CE fpr: EE3E DFB4 C4D6 E22E 8999 D714 7CEB CDDC 0906 A2CE "No classmates may be used during this examination"
GNU gdb 5.2.1 Copyright 2002 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "--host= --target=i686-pld-linux"... (no debugging symbols found)... (gdb) run Starting program: /usr/bin/crimson (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)... Program received signal SIG32, Real-time event 32. 0x40193e85 in sigsuspend () from /lib/libc.so.6 (gdb) c Continuing. [Torinthiel: Here game runs normally and I perform the crashlist ;) ] (no debugging symbols found)... Program received signal SIGPIPE, Broken pipe. 0x4023f282 in send () from /lib/libc.so.6 (gdb) bt #0 0x4023f282 in send () from /lib/libc.so.6 #1 0x400f1630 in SDLNet_TCP_Send () from /usr/X11R6/lib/libSDL_net-1.2.so.0 #2 0x0806f871 in strcpy () #3 0x0805681c in strcpy () #4 0x0805a642 in strcpy () #5 0x08074db0 in strcpy () #6 0x08074ca8 in strcpy () #7 0x08089f0e in strcpy () #8 0x0808aea6 in strcpy () #9 0x08077fdd in strcpy () #10 0x08089acd in strcpy () #11 0x080657ee in strcpy () #12 0x40182a21 in __libc_start_main () from /lib/libc.so.6 (gdb) c Continuing. Fatal signal: Broken Pipe (SDL Parachute Deployed) Program received signal SIG32, Real-time event 32. 0x40193e85 in sigsuspend () from /lib/libc.so.6 (gdb) bt #0 0x40193e85 in sigsuspend () from /lib/libc.so.6 #1 0x4039c5ff in pthread_getconcurrency () from /lib/libpthread.so.0 #2 0x403997fc in pthread_join () from /lib/libpthread.so.0 #3 0x40087dc3 in SDL_SYS_WaitThread () from /usr/X11R6/lib/libSDL-1.2.so.0 #4 0x40087b87 in SDL_WaitThread () from /usr/X11R6/lib/libSDL-1.2.so.0 #5 0x400491c0 in SDL_AudioQuit () from /usr/X11R6/lib/libSDL-1.2.so.0 #6 0x4004881d in SDL_QuitSubSystem () from /usr/X11R6/lib/libSDL-1.2.so.0 #7 0x40048893 in SDL_Quit () from /usr/X11R6/lib/libSDL-1.2.so.0 #8 0x40047d57 in SDL_UnloadObject () from /usr/X11R6/lib/libSDL-1.2.so.0 #9 0x4039c9b4 in pthread_kill () from /lib/libpthread.so.0 #10 0x40193d68 in sigaction () from /lib/libc.so.6 #11 0x0806f871 in strcpy () #12 0x0805681c in strcpy () #13 0x0805a642 in strcpy () #14 0x08074db0 in strcpy () #15 0x08074ca8 in strcpy () #16 0x08089f0e in strcpy () #17 0x0808aea6 in strcpy () #18 0x08077fdd in strcpy () #19 0x08089acd in strcpy () #20 0x080657ee in strcpy () #21 0x40182a21 in __libc_start_main () from /lib/libc.so.6 (gdb) xc c Continuing. Program received signal SIG32, Real-time event 32. 0x40193e85 in sigsuspend () from /lib/libc.so.6 (gdb) q The program is running. Exit anyway? (y or n)
GNU gdb 5.2.1 Copyright 2002 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "--host= --target=i686-pld-linux"... (no debugging symbols found)... (gdb) run Starting program: /usr/bin/crimson (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)... Program received signal SIG32, Real-time event 32. 0x40193e85 in sigsuspend () from /lib/libc.so.6 (gdb) c Continuing. [Torinthiel: Here game runs normally and I perform the crashlist ;) ] Program received signal SIGPIPE, Broken pipe. 0x4023f282 in send () from /lib/libc.so.6 (gdb) bt #0 0x4023f282 in send () from /lib/libc.so.6 #1 0x400f1630 in SDLNet_TCP_Send () from /usr/X11R6/lib/libSDL_net-1.2.so.0 #2 0x0806f871 in strcpy () #3 0x0805681c in strcpy () #4 0x0805a642 in strcpy () #5 0x08074db0 in strcpy () #6 0x08074ca8 in strcpy () #7 0x08089f0e in strcpy () #8 0x0808aea6 in strcpy () #9 0x08077fdd in strcpy () #10 0x08089acd in strcpy () #11 0x080657ee in strcpy () #12 0x40182a21 in __libc_start_main () from /lib/libc.so.6 (gdb) c Continuing. Fatal signal: Broken Pipe (SDL Parachute Deployed) Program received signal SIG32, Real-time event 32. 0x40193e85 in sigsuspend () from /lib/libc.so.6 (gdb) bt #0 0x40193e85 in sigsuspend () from /lib/libc.so.6 #1 0x4039c5ff in pthread_getconcurrency () from /lib/libpthread.so.0 #2 0x403997fc in pthread_join () from /lib/libpthread.so.0 #3 0x40087dc3 in SDL_SYS_WaitThread () from /usr/X11R6/lib/libSDL-1.2.so.0 #4 0x40087b87 in SDL_WaitThread () from /usr/X11R6/lib/libSDL-1.2.so.0 #5 0x400491c0 in SDL_AudioQuit () from /usr/X11R6/lib/libSDL-1.2.so.0 #6 0x4004881d in SDL_QuitSubSystem () from /usr/X11R6/lib/libSDL-1.2.so.0 #7 0x40048893 in SDL_Quit () from /usr/X11R6/lib/libSDL-1.2.so.0 #8 0x40047d57 in SDL_UnloadObject () from /usr/X11R6/lib/libSDL-1.2.so.0 #9 0x4039c9b4 in pthread_kill () from /lib/libpthread.so.0 #10 0x40193d68 in sigaction () from /lib/libc.so.6 #11 0x0806f871 in strcpy () #12 0x0805681c in strcpy () #13 0x0805a642 in strcpy () #14 0x08074db0 in strcpy () #15 0x08074ca8 in strcpy () #16 0x08089f0e in strcpy () #17 0x0808aea6 in strcpy () #18 0x08077fdd in strcpy () #19 0x08089acd in strcpy () #20 0x080657ee in strcpy () #21 0x40182a21 in __libc_start_main () from /lib/libc.so.6 (gdb) q The program is running. Exit anyway? (y or n)
Index: pl.tmpl =================================================================== RCS file: /home/cvspsrv/cvsroot/games/crimson/locale/pl.tmpl,v retrieving revision 1.15 diff -u -r1.15 pl.tmpl --- pl.tmpl 20 Nov 2006 17:24:40 -0000 1.15 +++ pl.tmpl 20 Nov 2006 21:58:22 -0000 @@ -1,5 +1,5 @@ # polish language file for Crimson Fields -# Based on en.tmpl revision 1.16 +# Based on en.tmpl revision 1.17 language=polski id=pl @@ -169,9 +169,9 @@ # MSG_NET_WAITING Czekanie na drugiego gracza... # MSG_NET_WAITING_CLIENT -Waiting for client... +Czekanie na klienta... # MSG_NET_CONNECTING -Connecting... +ÅÄczenie... # MSG_NET_CONFIG_SERVER Konfiguracja serwera # MSG_NET_CONFIG_CLIENT
Attachment:
pgp9Fg9OrE6Ws.pgp
Description: PGP signature