Am 18.12.2012 um 23:27 schrieb Philip Guenther:

> Since it's threaded, can you get the backtraces for all the threads?

Voilà:
 
---
Program received signal SIGSEGV, Segmentation fault.   TCP       UDP     ICMP 
0x0fceefce in memcpy () from /usr/lib/libc.so.65.0
(gdb) info threads
  6 thread 1017305  0x0fc71a09 in nanosleep () from /usr/lib/libc.so.65.0
  5 thread 1023370  0x0fc79445 in _thread_sys___thrsleep () from 
/usr/lib/libc.so.65.0
  4 thread 1018417  0x0fc71a09 in nanosleep () from /usr/lib/libc.so.65.0
  3 thread 1015951  0x0fc71a09 in nanosleep () from /usr/lib/libc.so.65.0
  2 thread 1023224  0x0fc79445 in _thread_sys___thrsleep () from 
/usr/lib/libc.so.65.0
* 1 thread 1005695  0x0fceefce in memcpy () from /usr/lib/libc.so.65.0
(gdb) thread apply all bt

Thread 6 (thread 1017305):
#0  0x0fc71a09 in nanosleep () from /usr/lib/libc.so.65.0
#1  0x09d4c35b in nanosleep (rqtp=0x80879fb8, rmtp=0x80879fb0) at 
/usr/src/lib/librthread/rthread_cancel.c:274
#2  0x0fcb5897 in sleep (seconds=1) at /usr/src/lib/libc/gen/sleep.c:45
#3  0x1c016ab7 in ?? ()
#4  0x00000001 in ?? ()
#5  0x00000000 in ?? ()

Thread 5 (thread 1023370):
#0  0x0fc79445 in _thread_sys___thrsleep () from /usr/lib/libc.so.65.0
#1  0x09d48668 in pthread_cond_wait (condp=0x3c05e084, mutexp=0x3c05e080) at 
/usr/src/lib/librthread/rthread_sync.c:500
#2  0x1c0089cd in ?? ()
#3  0x3c05e084 in __progname_storage ()
#4  0x3c05e080 in __progname_storage ()
#5  0x17649a9c in ?? ()
#6  0x7d1b65f0 in ?? ()
#7  0x7d1b65f0 in ?? ()
#8  0x09d4ac10 in sigthr_handler (sig=Could not find the frame base for 
"sigthr_handler".
) at /usr/src/lib/librthread/rthread.c:146
#9  0x1c004eea in ?? ()
#10 0x3c05e080 in __progname_storage ()
#11 0x7d1b65f0 in ?? ()
#12 0x00000000 in ?? ()

Thread 4 (thread 1018417):
#0  0x0fc71a09 in nanosleep () from /usr/lib/libc.so.65.0
#1  0x09d4c35b in nanosleep (rqtp=0x89c71fc8, rmtp=0x89c71fc0) at 
/usr/src/lib/librthread/rthread_cancel.c:274
#2  0x0fcb5897 in sleep (seconds=30) at /usr/src/lib/libc/gen/sleep.c:45
#3  0x1c002282 in ?? ()
#4  0x0000001e in ?? ()
#5  0x00000000 in ?? ()

Thread 3 (thread 1015951):
#0  0x0fc71a09 in nanosleep () from /usr/lib/libc.so.65.0
#1  0x09d4c35b in nanosleep (rqtp=0x84726fc8, rmtp=0x84726fc0) at 
/usr/src/lib/librthread/rthread_cancel.c:274
#2  0x0fcb5897 in sleep (seconds=30) at /usr/src/lib/libc/gen/sleep.c:45
#3  0x1c0022e2 in ?? ()
#4  0x0000001e in ?? ()
#5  0x00000000 in ?? ()

Thread 2 (thread 1023224):
#0  0x0fc79445 in _thread_sys___thrsleep () from /usr/lib/libc.so.65.0
---Type <return> to continue, or q <return> to quit---
#1  0x09d48668 in pthread_cond_wait (condp=0x3c05e068, mutexp=0x3c05e064) at 
/usr/src/lib/librthread/rthread_sync.c:500
#2  0x1c0089cd in ?? ()
#3  0x3c05e068 in __progname_storage ()
#4  0x3c05e064 in __progname_storage ()
#5  0x8b376700 in ?? ()
#6  0x7d995f94 in ?? ()
#7  0x7d995f94 in ?? ()
#8  0x7d995f84 in ?? ()
#9  0x7d995fe4 in ?? ()
#10 0x1c007944 in ?? ()
#11 0x3c05e064 in __progname_storage ()
#12 0x7d995f84 in ?? ()
#13 0x7d995f94 in ?? ()
#14 0x00000000 in ?? ()

Thread 1 (thread 1005695):
#0  0x0fceefce in memcpy () from /usr/lib/libc.so.65.0
#1  0x1c0048a1 in ?? ()
#2  0x3c018588 in __progname_storage ()
#3  0x82300fbe in ?? ()
#4  0x00000044 in ?? ()
#5  0x2d05f2dc in ?? () from /usr/lib/libpcap.so.7.0
#6  0x2d05f2dc in ?? () from /usr/lib/libpcap.so.7.0
#7  0x00000012 in ?? ()
#8  0xcfbeffb8 in ?? ()
#9  0x0d05907d in pcap_read (p=0x0, cnt=-2110779476, callback=0x82300fbe, 
user=0xcfbeffd8 "H\t??y=")
    at /usr/src/lib/libpcap/pcap-bpf.c:189
#10 0x0d05907d in pcap_read (p=0x85571800, cnt=-1, callback=0x1c004820 
<_fini+204559424>, user=0x0)
    at /usr/src/lib/libpcap/pcap-bpf.c:189
#11 0x0d0579cd in pcap_dispatch (p=0x85571800, cnt=-1, callback=0x1c004820 
<_fini+204559424>, user=0x0)
    at /usr/src/lib/libpcap/pcap.c:59
#12 0x1c003d79 in ?? ()
#13 0x85571800 in ?? ()
#14 0xffffffff in ?? ()
#15 0x1c004820 in ?? ()
#16 0x00000000 in ?? ()
(gdb) 
---
Axel
---
PGP-Key:29E99DD6  ☀ +49 151 2300 9283  ☀ computing @ chaos claudius

Reply via email to