does not exit on 'q' due to SDL_WaitThread

« netrek-client-cow project page

When user types 'q' to quit, the message "You Quit" is shown, but the client does not quit, and the server slot remains present.

Workaround: add "sound: off" to ~/.xtrekrc

Occurs with or without metaserver window.

Occurs on Ubuntu Jaunty as of 2009-04-06, package version 3.2.9-1.

Does not occur on Debian Squeeze as of 2009-04-06, package version 3.2.10-1.

gdb backtrace at the time of the hang shows:

#0 0xb7f9c430 in __kernel_vsyscall () #1 0xb790abe7 in pthread_join () from /lib/tls/i686/cmov/libpthread.so.0 #2 0xb7dab598 in ?? () from /usr/lib/libSDL-1.2.so.0 #3 0xb7d5d99c in SDL_WaitThread () from /usr/lib/libSDL-1.2.so.0 #4 0xb7d55341 in SDL_AudioQuit () from /usr/lib/libSDL-1.2.so.0 #5 0xb7d547c5 in SDL_QuitSubSystem () from /usr/lib/libSDL-1.2.so.0 #6 0xb7d5483e in SDL_Quit () from /usr/lib/libSDL-1.2.so.0 #7 0xb7ab2bb9 in exit () from /lib/tls/i686/cmov/libc.so.6 #8 0x0809c0fe in ?? () #9 0xb7a9a775 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6 #10 0x0804bd41 in ?? ()

a gdb core dump is available.

Details

Id: c42a03cab6af30875bf7d1cb0498aafc71a6e380
Type: bugfix
Creation time: 2009-04-08 06:14 GMT
Creator: James Cameron <quozl@...>
Release: unassigned
Component: netrek-client-cow
Status: closed: fixed fixed

Issue log

2009-06-16 09:01 GMT James Cameron <quozl@...> closed with disposition fixed
new process model should have fixed this, and it is not reproducible
2009-05-09 06:48 GMT James Cameron <quozl@...> commented
Cannot reproduce on Ubuntu Jaunty. -- Quozl.
2009-04-08 06:14 GMT James Cameron <quozl@...> created