(gdb) thread apply all bt Thread 9 (process 21570): #0 0xb7f9c0fb in read () from /lib/libpthread.so.0 #1 0x00000000 in ?? () #2 0x00000000 in ?? () #3 0x080e5143 in read_char (el=0x8138ab8, cp=0xbffff0bb "") at read.c:301 #4 0x080e51e4 in el_getc (el=0x8138ab8, cp=0xbffff0bb "") at read.c:347 #5 0x080e504e in read_getcmd (el=0x8138ab8, cmdnum=0xfffffe00
, ch=0xbffff0bb "") at read.c:243 #6 0x080e5313 in el_gets (el=0x8138ab8, nread=0xbffff23c) at read.c:443 #7 0x080c78c7 in main (argc=3, argv=0xbffff424) at asterisk.c:2396 Thread 8 (process 21571): #0 0xb7e813b1 in loser_poll () from /lib/libc.so.6 #1 0xb7e81339 in poll () from /lib/libc.so.6 #2 0xb7f95be0 in __pthread_manager () from /lib/libpthread.so.0 #3 0xb7e8a08a in clone () from /lib/libc.so.6 Thread 7 (process 21573): #0 0xb7e813b1 in loser_poll () from /lib/libc.so.6 #1 0xb7e81339 in poll () from /lib/libc.so.6 #2 0x080c1e5d in listener (unused=0x0) at asterisk.c:574 #3 0xb7f9673e in pthread_start_thread () from /lib/libpthread.so.0 #4 0xb7e8a08a in clone () from /lib/libc.so.6 Thread 6 (process 21574): #0 0xb7f98bd3 in __pthread_sigsuspend () from /lib/libpthread.so.0 #1 0xb7f98178 in __pthread_wait_for_restart_signal () from /lib/libpthread.so.0 #2 0xb7f94ec8 in pthread_cond_wait@GLIBC_2.0 () from /lib/libpthread.so.0 #3 0x080d95a2 in ast_cond_wait (cond=0x812fc00, t=0x812bda8) at lock.h:618 #4 0x080d9485 in do_devstate_changes (data=0x0) at devicestate.c:265 #5 0xb7f9673e in pthread_start_thread () from /lib/libpthread.so.0 #6 0xb7e8a08a in clone () from /lib/libc.so.6 Thread 5 (process 21575): #0 0xb7e83861 in select () from /lib/libc.so.6 #1 0xb7c2852c in ?? () from /opt/asterisk_svn/usr/lib/asterisk/modules/res_features.so #2 0xbf3ff864 in ?? () #3 0xbf3ff964 in ?? () #4 0x00000000 in ?? () #5 0xb7c258bf in ast_select (nfds=0, rfds=0xbf3ff964, wfds=0x0, efds=0xbf3ff8e4, tvp=0x0) at channel.h:1154 #6 0xb7c23154 in do_parking_thread (ignore=0x0) at res_features.c:1631 #7 0xb7f9673e in pthread_start_thread () from /lib/libpthread.so.0 #8 0xb7e8a08a in clone () from /lib/libc.so.6 Thread 4 (process 21576): #0 0xb7f9c0fb in read () from /lib/libpthread.so.0 #1 0xb7c13c04 in ?? () from /opt/asterisk_svn/usr/lib/asterisk/modules/res_musiconhold.so #2 0x00000000 in ?? () #3 0xb7c0ed6b in monmp3thread (data=0x8146ca0) at res_musiconhold.c:495 #4 0xb7f9673e in pthread_start_thread () from /lib/libpthread.so.0 #5 0xb7e8a08a in clone () from /lib/libc.so.6 Thread 3 (process 21578): #0 0xb7e813b1 in loser_poll () from /lib/libc.so.6 #1 0xb7e81339 in poll () from /lib/libc.so.6 #2 0xb7b8d1e4 in do_monitor (data=0x0) at chan_zap.c:6610 #3 0xb7f9673e in pthread_start_thread () from /lib/libpthread.so.0 #4 0xb7e8a08a in clone () from /lib/libc.so.6 Thread 2 (process 21580): #0 0xb7e58986 in nanosleep () from /lib/libc.so.6 #1 0x00000000 in ?? () #2 0xb7e587cf in sleep () from /lib/libc.so.6 #3 0xb7a6d6a7 in scan_thread (unused=0x0) at pbx_spool.c:364 #4 0xb7f9673e in pthread_start_thread () from /lib/libpthread.so.0 #5 0xb7e8a08a in clone () from /lib/libc.so.6 Thread 1 (process 21579): #0 0xb7e31f89 in free () from /lib/libc.so.6 #1 0xb7b0187f in __sip_destroy (p=0x81a4738, lockowner=1) at chan_sip.c:2097 #2 0xb7b02541 in sip_destroy (p=0x81a4738) at chan_sip.c:2270 #3 0xb7afe14b in __sip_autodestruct (data=0x81a4738) at chan_sip.c:1332 #4 0x0805706e in ast_sched_runq (con=0x8142348) at sched.c:374 #5 0xb7b2c3e4 in do_monitor (data=0x0) at chan_sip.c:11362 #6 0xb7f9673e in pthread_start_thread () from /lib/libpthread.so.0 #7 0xb7e8a08a in clone () from /lib/libc.so.6 (gdb)