Comment 6 for bug 815922

Revision history for this message
Ronald McCollam (fader) wrote :

Thanks for the help, Ulrich! I don't mind providing any information I can. This is also not my main system so I don't mind trying things that are potentially destructive as I can always reinstall.

Here are the backtraces from (I think) the only two threads after empcommand segfaults:

fader@simon:~$ gdb python
GNU gdb (Ubuntu/Linaro 7.2-1ubuntu11) 7.2
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/python...(no debugging symbols found)...done.
(gdb) run /usr/games/empcommand -w -r 800x600
Starting program: /usr/bin/python /usr/games/empcommand -w -r 800x600
[Thread debugging using libthread_db enabled]
[11-08-02 12:33:35.212] APP: Setting resolution to: [800, 600]
/usr/share/games/empcommand/engine.pyc
/usr/share/games/empcommand/fonts
[New Thread 0x5067b70 (LWP 7413)]
[Thread 0x5067b70 (LWP 7413) exited]
[New Thread 0x5067b70 (LWP 7414)]

Program received signal SIGSEGV, Segmentation fault.
0x02850625 in xcb_writev () from /usr/lib/i386-linux-gnu/libxcb.so.1
(gdb) bt
#0 0x02850625 in xcb_writev () from /usr/lib/i386-linux-gnu/libxcb.so.1
#1 0x0219c42b in _XSend () from /usr/lib/i386-linux-gnu/libX11.so.6
#2 0x0219ca5a in _XReply () from /usr/lib/i386-linux-gnu/libX11.so.6
#3 0x021983d7 in XSync () from /usr/lib/i386-linux-gnu/libX11.so.6
#4 0x00f6d5cf in ?? () from /usr/lib/fglrx/libGL.so.1
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
(gdb) info threads
  3 Thread 0x5067b70 (LWP 7414) 0x0012e416 in __kernel_vsyscall ()
* 1 Thread 0xb7feb6c0 (LWP 7408) 0x02850625 in xcb_writev ()
   from /usr/lib/i386-linux-gnu/libxcb.so.1
(gdb) thread 1
[Switching to thread 1 (Thread 0xb7feb6c0 (LWP 7408))]#0 0x02850625 in xcb_writev () from /usr/lib/i386-linux-gnu/libxcb.so.1
(gdb) bt
#0 0x02850625 in xcb_writev () from /usr/lib/i386-linux-gnu/libxcb.so.1
#1 0x0219c42b in _XSend () from /usr/lib/i386-linux-gnu/libX11.so.6
#2 0x0219ca5a in _XReply () from /usr/lib/i386-linux-gnu/libX11.so.6
#3 0x021983d7 in XSync () from /usr/lib/i386-linux-gnu/libX11.so.6
#4 0x00f6d5cf in ?? () from /usr/lib/fglrx/libGL.so.1
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
(gdb) thread 3
[Switching to thread 3 (Thread 0x5067b70 (LWP 7414))]#0 0x0012e416 in __kernel_vsyscall ()
(gdb) bt
#0 0x0012e416 in __kernel_vsyscall ()
#1 0x003e11c9 in ppoll () from /lib/i386-linux-gnu/libc.so.6
#2 0x022b2442 in pa_mainloop_poll () from /usr/lib/libpulse.so.0
#3 0x022b2b84 in pa_mainloop_iterate () from /usr/lib/libpulse.so.0
#4 0x0103af16 in ?? () from /usr/lib/libSDL-1.2.so.0
#5 0x0100c690 in ?? () from /usr/lib/libSDL-1.2.so.0
#6 0x01014e4e in ?? () from /usr/lib/libSDL-1.2.so.0
#7 0x0105c12d in ?? () from /usr/lib/libSDL-1.2.so.0
#8 0x00134e99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#9 0x003ef73e in clone () from /lib/i386-linux-gnu/libc.so.6
(gdb)