(gdb) thread apply all bt Thread 11 (process 9630): #0 0xb7f9c0fb in read () from /lib/libpthread.so.0 #1 0x00000000 in ?? () #2 0x00000000 in ?? () #3 0x080d96eb in read_char (el=0x812ba50, cp=0xbffff4db "") at read.c:301 #4 0x080d978c in el_getc (el=0x812ba50, cp=0xbffff4db "") at read.c:347 #5 0x080d95f6 in read_getcmd (el=0x812ba50, cmdnum=0xfffffe00
, ch=0xbffff4db "") at read.c:243 #6 0x080d98bb in el_gets (el=0x812ba50, nread=0xbffff544) at read.c:443 #7 0x080b88ca in main (argc=135471368, argv=0xbffff8b4) at asterisk.c:2396 Thread 10 (process 9631): #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 9 (process 9633): #0 0xb7e813b1 in loser_poll () from /lib/libc.so.6 #1 0xb7e81339 in poll () from /lib/libc.so.6 #2 0x080bd376 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 8 (process 9634): #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 0x080ccf45 in do_devstate_changes (data=0x0) at lock.h:618 #4 0xb7f9673e in pthread_start_thread () from /lib/libpthread.so.0 #5 0xb7e8a08a in clone () from /lib/libc.so.6 Thread 7 (process 9635): #0 0xb7e83861 in select () from /lib/libc.so.6 #1 0xb7c48b6c in ?? () from /opt/asterisk_svn/usr/lib/asterisk/modules/res_features.so #2 0x00000000 in ?? () #3 0x00000000 in ?? () #4 0x00000000 in ?? () #5 0xb7c43391 in do_parking_thread (ignore=0x0) at channel.h:1154 #6 0xb7f9673e in pthread_start_thread () from /lib/libpthread.so.0 #7 0xb7e8a08a in clone () from /lib/libc.so.6 Thread 6 (process 9636): #0 0xb7f9c0fb in read () from /lib/libpthread.so.0 #1 0xb7c352c4 in ?? () from /opt/asterisk_svn/usr/lib/asterisk/modules/res_musiconhold.so #2 0x00000000 in ?? () #3 0xb7c32436 in monmp3thread (data=0x81380f0) 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 5 (process 9637): #0 0xb7e813b1 in loser_poll () from /lib/libc.so.6 #1 0xb7e81339 in poll () from /lib/libc.so.6 #2 0xb7bb3ec8 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 4 (process 9640): #0 0xb7e58986 in nanosleep () from /lib/libc.so.6 #1 0x00000000 in ?? () #2 0xb7e587cf in sleep () from /lib/libc.so.6 #3 0xb7aa727c 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 3 (process 9757): #0 0xb7e813b1 in loser_poll () from /lib/libc.so.6 #1 0xb7e81339 in poll () from /lib/libc.so.6 #2 0x08061497 in ast_waitfor_nandfds (c=0xbe5ff6d4, n=0, fds=0x0, nfds=0, exception=0x0, outfd=0x0, ms=0xbe5ff6d0) at channel.c:1548 #3 0x08067127 in ast_waitfor_n (c=0xfffffffc, n=-4, ms=0xfffffffc) at channel.c:1625 #4 0x080c1ce5 in autoservice_run (ign=0x0) at autoservice.c:88 #5 0xb7f9673e in pthread_start_thread () from /lib/libpthread.so.0 #6 0xb7e8a08a in clone () from /lib/libc.so.6 Thread 2 (process 9788): #0 0xb7e813b1 in loser_poll () from /lib/libc.so.6 #1 0xb7e81339 in poll () from /lib/libc.so.6 #2 0x08061497 in ast_waitfor_nandfds (c=0xbe9f8804, n=2, fds=0x0, nfds=0, exception=0x0, outfd=0x0, ms=0xbe9f87f8) at channel.c:1548 #3 0x08069aed in ast_generic_bridge (c0=0x8136598, c1=0x81833a8, config=0xbe9f8ec4, fo=0xbe9f899c, rc=0xbe9f89a0, bridge_end={tv_sec = 0, tv_usec = 0}) at channel.c:1625 #4 0x080652ed in ast_channel_bridge (c0=0x8136598, c1=0x81833a8, config=0xbe9f8ec4, fo=0xbe9f899c, rc=0xbe9f89a0) at channel.c:3522 #5 0xb7c40b6b in ast_bridge_call (chan=0x8136598, peer=0x81833a8, config=0xbe9f8ec4) at res_features.c:1301 #6 0xb7bf20ec in dial_exec_full (chan=0x8136598, data=0x8136598, peerflags=0xbe9f957c) at app_dial.c:1568 #7 0xb7bf0c15 in dial_exec (chan=0xfffffffc, data=0xfffffffc) at app_dial.c:1611 #8 0x0808df4f in pbx_extension_helper (c=0x8136598, con=0xfffffffc, context=0x81366e8 "sip_local", exten=0x81367dc "13", priority=1, label=0x0, callerid=0x0, action=0) at pbx.c:484 #9 0x0808ec3f in __ast_pbx_run (c=0x8136598) at pbx.c:2063 #10 0x0808f92f in pbx_thread (data=0xfffffffc) at pbx.c:2349 #11 0xb7f9673e in pthread_start_thread () from /lib/libpthread.so.0 #12 0xb7e8a08a in clone () from /lib/libc.so.6 Thread 1 (process 9638): #0 0xb7e31f89 in free () from /lib/libc.so.6 #1 0xb7b383be in __sip_destroy (p=0x1528, lockowner=1) at chan_sip.c:2097 #2 0xb7b2d539 in sip_destroy (p=0x1520) at chan_sip.c:2270 #3 0xb7b36bed in __sip_autodestruct (data=0x818fd68) at chan_sip.c:1332 #4 0x08056858 in ast_sched_runq (con=0x814e5c0) at sched.c:374 #5 0xb7b425ca 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)