Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1282114672 (LWP 10342)] 0xb2f91c90 in ?? () (gdb) thread apply all bt Thread 6 (Thread -1292493936 (LWP 10345)): #0 0xffffe410 in __kernel_vsyscall () #1 0xb77848fc in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0 #2 0xb78b2123 in ?? () from /usr/lib/libgthread-2.0.so.0 #3 0x081c86e8 in ?? () #4 0x08183a00 in ?? () #5 0xb2f61308 in ?? () #6 0xb78b2275 in ?? () from /usr/lib/libgthread-2.0.so.0 #7 0x081c86e8 in ?? () #8 0x00000000 in ?? () Thread 3 (Thread -1282114672 (LWP 10342)): #0 0xb2f91c90 in ?? () #1 0xb777fba0 in __nptl_deallocate_tsd () from /lib/tls/i686/cmov/libpthread.so.0 #2 0xb7780479 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #3 0xb77046de in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 2 (Thread -1240548464 (LWP 9984)): #0 0xffffe410 in __kernel_vsyscall () #1 0xb76fa5e7 in poll () from /lib/tls/i686/cmov/libc.so.6 ---Type to continue, or q to quit---