(gdb) thread apply all bt Thread 30 (Thread -1211397200 (LWP 433)): #0 0xb7d89523 in poll () from /lib/tls/libc.so.6 #1 0x080692af in listener (unused=0x0) at asterisk.c:970 #2 0x080f8d75 in dummy_start (data=0xffffffff) at utils.c:545 #3 0xb7f3fb63 in start_thread () from /lib/tls/libpthread.so.0 #4 0xb7d9218a in clone () from /lib/tls/libc.so.6 Thread 29 (Thread -1211642960 (LWP 434)): #0 0xb7d89523 in poll () from /lib/tls/libc.so.6 #1 0x080b8950 in accept_thread (ignore=0x0) at manager.c:2259 #2 0x080f8d75 in dummy_start (data=0x1388) at utils.c:545 #3 0xb7f3fb63 in start_thread () from /lib/tls/libpthread.so.0 #4 0xb7d9218a in clone () from /lib/tls/libc.so.6 Thread 28 (Thread -1211888720 (LWP 435)): #0 0xb7f42295 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/libpthread.so.0 #1 0x080926c6 in do_devstate_changes (data=0x0) at lock.h:564 #2 0x080f8d75 in dummy_start (data=0x3b2) at utils.c:545 #3 0xb7f3fb63 in start_thread () from /lib/tls/libpthread.so.0 #4 0xb7d9218a in clone () from /lib/tls/libc.so.6 Thread 27 (Thread -1212195920 (LWP 440)): #0 0xb7f446a1 in __read_nocancel () from /lib/tls/libpthread.so.0 #1 0xb7bf86cc in monmp3thread (data=0x817e728) at res_musiconhold.c:517 #2 0x080f8d75 in dummy_start (data=0x2000) at utils.c:545 #3 0xb7f3fb63 in start_thread () from /lib/tls/libpthread.so.0 #4 0xb7d9218a in clone () from /lib/tls/libc.so.6 Thread 26 (Thread -1214395472 (LWP 445)): #0 0xb7d8ba27 in select () from /lib/tls/libc.so.6 #1 0xb79e44b7 in do_parking_thread (ignore=0x0) at channel.h:1282 #2 0x080f8d75 in dummy_start (data=0x0) at utils.c:545 #3 0xb7f3fb63 in start_thread () from /lib/tls/libpthread.so.0 #4 0xb7d9218a in clone () from /lib/tls/libc.so.6 Thread 25 (Thread -1214821456 (LWP 446)): #0 0xb7f42295 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/libpthread.so.0 #1 0xb76cbffa in iax2_process_thread (data=0x8196858) at lock.h:564 #2 0x080f8d75 in dummy_start (data=0x0) at utils.c:545 #3 0xb7f3fb63 in start_thread () from /lib/tls/libpthread.so.0 #4 0xb7d9218a in clone () from /lib/tls/libc.so.6 Thread 24 (Thread -1217774672 (LWP 447)): #0 0xb7f42295 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/libpthread.so.0 #1 0xb76cbffa in iax2_process_thread (data=0x8197930) at lock.h:564 #2 0x080f8d75 in dummy_start (data=0x0) at utils.c:545 #3 0xb7f3fb63 in start_thread () from /lib/tls/libpthread.so.0 #4 0xb7d9218a in clone () from /lib/tls/libc.so.6 Thread 23 (Thread -1218020432 (LWP 448)): #0 0xb7f42295 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/libpthread.so.0 #1 0xb76cbffa in iax2_process_thread (data=0x8198a08) at lock.h:564 #2 0x080f8d75 in dummy_start (data=0x0) at utils.c:545 #3 0xb7f3fb63 in start_thread () from /lib/tls/libpthread.so.0 #4 0xb7d9218a in clone () from /lib/tls/libc.so.6 Thread 22 (Thread -1218266192 (LWP 449)): #0 0xb7f42295 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/libpthread.so.0 #1 0xb76cbffa in iax2_process_thread (data=0x8199ae0) at lock.h:564 #2 0x080f8d75 in dummy_start (data=0x0) at utils.c:545 #3 0xb7f3fb63 in start_thread () from /lib/tls/libpthread.so.0 ---Type to continue, or q to quit---thread apply all bt #4 0xb7d9218a in clone () from /lib/tls/libc.so.6 Thread 21 (Thread -1218511952 (LWP 450)): #0 0xb7f42295 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/libpthread.so.0 #1 0xb76cbffa in iax2_process_thread (data=0x819ac08) at lock.h:564 #2 0x080f8d75 in dummy_start (data=0x0) at utils.c:545 #3 0xb7f3fb63 in start_thread () from /lib/tls/libpthread.so.0 #4 0xb7d9218a in clone () from /lib/tls/libc.so.6 Thread 20 (Thread -1218757712 (LWP 451)): #0 0xb7f42295 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/libpthread.so.0 #1 0xb76cbffa in iax2_process_thread (data=0x819bd98) at lock.h:564 #2 0x080f8d75 in dummy_start (data=0x0) at utils.c:545 #3 0xb7f3fb63 in start_thread () from /lib/tls/libpthread.so.0 #4 0xb7d9218a in clone () from /lib/tls/libc.so.6 Thread 19 (Thread -1219003472 (LWP 452)): #0 0xb7f42295 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/libpthread.so.0 #1 0xb76cbffa in iax2_process_thread (data=0x819cf28) at lock.h:564 #2 0x080f8d75 in dummy_start (data=0x0) at utils.c:545 #3 0xb7f3fb63 in start_thread () from /lib/tls/libpthread.so.0 #4 0xb7d9218a in clone () from /lib/tls/libc.so.6 Thread 18 (Thread -1219249232 (LWP 453)): #0 0xb7f42295 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/libpthread.so.0 #1 0xb76cbffa in iax2_process_thread (data=0x819e0b8) at lock.h:564 #2 0x080f8d75 in dummy_start (data=0x0) at utils.c:545 #3 0xb7f3fb63 in start_thread () from /lib/tls/libpthread.so.0 #4 0xb7d9218a in clone () from /lib/tls/libc.so.6 Thread 17 (Thread -1219494992 (LWP 454)): #0 0xb7f42295 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/libpthread.so.0 #1 0xb76cbffa in iax2_process_thread (data=0x819f248) at lock.h:564 #2 0x080f8d75 in dummy_start (data=0x0) at utils.c:545 #3 0xb7f3fb63 in start_thread () from /lib/tls/libpthread.so.0 #4 0xb7d9218a in clone () from /lib/tls/libc.so.6 Thread 16 (Thread -1219740752 (LWP 455)): #0 0xb7f42295 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/libpthread.so.0 #1 0xb76cbffa in iax2_process_thread (data=0x81a03d8) at lock.h:564 #2 0x080f8d75 in dummy_start (data=0x0) at utils.c:545 #3 0xb7f3fb63 in start_thread () from /lib/tls/libpthread.so.0 #4 0xb7d9218a in clone () from /lib/tls/libc.so.6 Thread 15 (Thread -1219986512 (LWP 456)): #0 0xb7f42440 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/libpthread.so.0 #1 0xb76b5fba in sched_thread (ignore=0x0) at lock.h:569 #2 0x080f8d75 in dummy_start (data=0x354) at utils.c:545 #3 0xb7f3fb63 in start_thread () from /lib/tls/libpthread.so.0 #4 0xb7d9218a in clone () from /lib/tls/libc.so.6 Thread 14 (Thread -1220232272 (LWP 457)): #0 0xb7d89523 in poll () from /lib/tls/libc.so.6 #1 0x080a62e4 in ast_io_wait (ioc=0x8194d78, howlong=-4) at io.c:266 #2 0xb76b616f in network_thread (ignore=0x0) at chan_iax2.c:8158 #3 0x080f8d75 in dummy_start (data=0xffffffff) at utils.c:545 #4 0xb7f3fb63 in start_thread () from /lib/tls/libpthread.so.0 #5 0xb7d9218a in clone () from /lib/tls/libc.so.6 Thread 13 (Thread -1221198928 (LWP 458)): #0 0xb7d8ba27 in select () from /lib/tls/libc.so.6 #1 0xb79259c1 in do_monitor (data=0x0) at channel.h:1282 ---Type to continue, or q to quit--- #2 0x080f8d75 in dummy_start (data=0x0) at utils.c:545 #3 0xb7f3fb63 in start_thread () from /lib/tls/libpthread.so.0 #4 0xb7d9218a in clone () from /lib/tls/libc.so.6 Thread 12 (Thread -1221858384 (LWP 459)): #0 0xb7d89523 in poll () from /lib/tls/libc.so.6 #1 0x080a62e4 in ast_io_wait (ioc=0x817f688, howlong=-4) at io.c:266 #2 0xb73112af in do_monitor (data=0x0) at chan_sip.c:15206 #3 0x080f8d75 in dummy_start (data=0x3e8) at utils.c:545 #4 0xb7f3fb63 in start_thread () from /lib/tls/libpthread.so.0 #5 0xb7d9218a in clone () from /lib/tls/libc.so.6 Thread 11 (Thread -1222800464 (LWP 460)): #0 0xb7d89523 in poll () from /lib/tls/libc.so.6 #1 0xb724ce37 in pri_dchannel (vpri=0xb7269b80) at chan_zap.c:8425 #2 0x080f8d75 in dummy_start (data=0x270b) at utils.c:545 #3 0xb7f3fb63 in start_thread () from /lib/tls/libpthread.so.0 #4 0xb7d9218a in clone () from /lib/tls/libc.so.6 Thread 10 (Thread -1223046224 (LWP 461)): #0 0xb7d89523 in poll () from /lib/tls/libc.so.6 #1 0xb724795e in do_monitor (data=0x0) at chan_zap.c:6802 #2 0x080f8d75 in dummy_start (data=0x3e8) at utils.c:545 #3 0xb7f3fb63 in start_thread () from /lib/tls/libpthread.so.0 #4 0xb7d9218a in clone () from /lib/tls/libc.so.6 Thread 9 (Thread -1223439440 (LWP 462)): #0 0xb7d6399c in nanosleep () from /lib/tls/libc.so.6 #1 0xb7d637af in sleep () from /lib/tls/libc.so.6 #2 0xb713ed7c in scan_thread (unused=0x0) at pbx_spool.c:437 #3 0x080f8d75 in dummy_start (data=0xb7debf40) at utils.c:545 #4 0xb7f3fb63 in start_thread () from /lib/tls/libpthread.so.0 #5 0xb7d9218a in clone () from /lib/tls/libc.so.6 Thread 8 (Thread -1225143376 (LWP 464)): #0 0xb7d89523 in poll () from /lib/tls/libc.so.6 #1 0x0806c64e in monitor_sig_flags (unused=0x0) at asterisk.c:2500 #2 0x080f8d75 in dummy_start (data=0xffffffff) at utils.c:545 #3 0xb7f3fb63 in start_thread () from /lib/tls/libpthread.so.0 #4 0xb7d9218a in clone () from /lib/tls/libc.so.6 Thread 7 (Thread -1227969616 (LWP 918)): #0 0xb7d89523 in poll () from /lib/tls/libc.so.6 #1 0x08083db3 in ast_waitfor_nandfds (c=0xb6cea680, n=0, fds=0x0, nfds=0, exception=0x0, outfd=0x0, ms=0xb6cea67c) at channel.c:1942 #2 0x08084be7 in ast_waitfor_n (c=0xfffffffc, n=-4, ms=0xfffffffc) at channel.c:2004 #3 0x0806f212 in autoservice_run (ign=0x0) at autoservice.c:84 #4 0x080f8d75 in dummy_start (data=0x1f4) at utils.c:545 #5 0xb7f3fb63 in start_thread () from /lib/tls/libpthread.so.0 #6 0xb7d9218a in clone () from /lib/tls/libc.so.6 Thread 6 (Thread -1227723856 (LWP 1145)): #0 0xb7f44436 in __lll_mutex_lock_wait () from /lib/tls/libpthread.so.0 #1 0xb7f4189f in _L_mutex_lock_73 () from /lib/tls/libpthread.so.0 #2 0xb6d1f138 in ?? () #3 0xb7f41a60 in pthread_mutex_unlock () from /lib/tls/libpthread.so.0 #4 0xb79e1f9d in set_config_flags (chan=0xb784e388, peer=0x82373d8, config=0xb6d1f660) at lock.h:532 #5 0xb79e2a2d in ast_bridge_call (chan=0xb784e388, peer=0x82373d8, config=0xb6d1f660) at res_features.c:1371 #6 0xb70d0b94 in dial_exec_full (chan=0xb784e388, data=0x0, peerflags=0xb6d20504, continue_exec=0x0) at app_dial.c:1651 #7 0xb70d37f4 in dial_exec (chan=0xfffffffc, data=0xb7f47b7c) at app_dial.c:1702 #8 0x080c82c1 in pbx_extension_helper (c=0xb784e388, con=0x0, context=0xb784e508 "outRouteGr-1", exten=0xb784e558 "731127994", priority=25, label=0x0, callerid=0x81bfed8 "226066938", action=136336356) at pbx.c:532 #9 0x080c961f in __ast_pbx_run (c=0xb784e388) at pbx.c:2288 ---Type to continue, or q to quit--- #10 0x080cb53e in pbx_thread (data=0xfffffffc) at pbx.c:2601 #11 0x080f8d75 in dummy_start (data=0xb7f47b7c) at utils.c:545 #12 0xb7f3fb63 in start_thread () from /lib/tls/libpthread.so.0 #13 0xb7d9218a in clone () from /lib/tls/libc.so.6 Thread 5 (Thread -1228543056 (LWP 1257)): #0 0xb7f44436 in __lll_mutex_lock_wait () from /lib/tls/libpthread.so.0 #1 0xb7f4189f in _L_mutex_lock_73 () from /lib/tls/libpthread.so.0 #2 0xb6c57138 in ?? () #3 0xb7f41a60 in pthread_mutex_unlock () from /lib/tls/libpthread.so.0 #4 0xb79e1f9d in set_config_flags (chan=0xb7838628, peer=0x82c5e28, config=0xb6c57660) at lock.h:532 #5 0xb79e2a2d in ast_bridge_call (chan=0xb7838628, peer=0x82c5e28, config=0xb6c57660) at res_features.c:1371 #6 0xb70d0b94 in dial_exec_full (chan=0xb7838628, data=0x0, peerflags=0xb6c58504, continue_exec=0x0) at app_dial.c:1651 #7 0xb70d37f4 in dial_exec (chan=0xfffffffc, data=0xb7f47b7c) at app_dial.c:1702 #8 0x080c82c1 in pbx_extension_helper (c=0xb7838628, con=0x0, context=0xb78387a8 "outRouteGr-1", exten=0xb78387f8 "800123456", priority=25, label=0x0, callerid=0x8268700 "226066938", action=136336356) at pbx.c:532 #9 0x080c961f in __ast_pbx_run (c=0xb7838628) at pbx.c:2288 #10 0x080cb53e in pbx_thread (data=0xfffffffc) at pbx.c:2601 #11 0x080f8d75 in dummy_start (data=0xb7f47b7c) at utils.c:545 #12 0xb7f3fb63 in start_thread () from /lib/tls/libpthread.so.0 #13 0xb7d9218a in clone () from /lib/tls/libc.so.6 Thread 4 (Thread -1228215376 (LWP 1304)): #0 0xb7f44436 in __lll_mutex_lock_wait () from /lib/tls/libpthread.so.0 #1 0xb7f4189f in _L_mutex_lock_73 () from /lib/tls/libpthread.so.0 #2 0xb6ca7128 in ?? () #3 0xb7f41a60 in pthread_mutex_unlock () from /lib/tls/libpthread.so.0 #4 0xb79e1f9d in set_config_flags (chan=0xb7848a20, peer=0x81b3918, config=0xb6ca7660) at lock.h:532 #5 0xb79e2a2d in ast_bridge_call (chan=0xb7848a20, peer=0x81b3918, config=0xb6ca7660) at res_features.c:1371 #6 0xb70d0b94 in dial_exec_full (chan=0xb7848a20, data=0x0, peerflags=0xb6ca8504, continue_exec=0x0) at app_dial.c:1651 #7 0xb70d37f4 in dial_exec (chan=0xfffffffc, data=0xb7f47b7c) at app_dial.c:1702 #8 0x080c82c1 in pbx_extension_helper (c=0xb7848a20, con=0x0, context=0xb7848ba0 "outRouteGr-1", exten=0xb7848bf0 "0031650206348", priority=25, label=0x0, callerid=0x81b7d50 "226066729", action=136336356) at pbx.c:532 #9 0x080c961f in __ast_pbx_run (c=0xb7848a20) at pbx.c:2288 #10 0x080cb53e in pbx_thread (data=0xfffffffc) at pbx.c:2601 #11 0x080f8d75 in dummy_start (data=0xb7f47b7c) at utils.c:545 #12 0xb7f3fb63 in start_thread () from /lib/tls/libpthread.so.0 #13 0xb7d9218a in clone () from /lib/tls/libc.so.6 Thread 3 (Thread -1228788816 (LWP 1344)): #0 0xb7f44436 in __lll_mutex_lock_wait () from /lib/tls/libpthread.so.0 #1 0xb7f4189f in _L_mutex_lock_73 () from /lib/tls/libpthread.so.0 #2 0xb6c1b128 in ?? () #3 0xb7f41a60 in pthread_mutex_unlock () from /lib/tls/libpthread.so.0 #4 0xb79e1f9d in set_config_flags (chan=0xb785cb20, peer=0x8232970, config=0xb6c1b660) at lock.h:532 #5 0xb79e2a2d in ast_bridge_call (chan=0xb785cb20, peer=0x8232970, config=0xb6c1b660) at res_features.c:1371 #6 0xb70d0b94 in dial_exec_full (chan=0xb785cb20, data=0x0, peerflags=0xb6c1c504, continue_exec=0x0) at app_dial.c:1651 #7 0xb70d37f4 in dial_exec (chan=0xfffffffc, data=0xb7f47b7c) at app_dial.c:1702 #8 0x080c82c1 in pbx_extension_helper (c=0xb785cb20, con=0x0, context=0xb785cca0 "outRouteGr-1", exten=0xb785ccf0 "0031650206348", priority=25, label=0x0, callerid=0x81b2e08 "226066729", action=136336356) at pbx.c:532 #9 0x080c961f in __ast_pbx_run (c=0xb785cb20) at pbx.c:2288 #10 0x080cb53e in pbx_thread (data=0xfffffffc) at pbx.c:2601 #11 0x080f8d75 in dummy_start (data=0xb7f47b7c) at utils.c:545 #12 0xb7f3fb63 in start_thread () from /lib/tls/libpthread.so.0 #13 0xb7d9218a in clone () from /lib/tls/libc.so.6 Thread 2 (Thread -1229280336 (LWP 1394)): #0 0xb7f44436 in __lll_mutex_lock_wait () from /lib/tls/libpthread.so.0 #1 0xb7f4189f in _L_mutex_lock_73 () from /lib/tls/libpthread.so.0 #2 0xb6ba3128 in ?? () #3 0xb7f41a60 in pthread_mutex_unlock () from /lib/tls/libpthread.so.0 #4 0xb79e1f9d in set_config_flags (chan=0xb783c0c0, peer=0x8291930, config=0xb6ba3660) at lock.h:532 ---Type to continue, or q to quit--- #5 0xb79e2a2d in ast_bridge_call (chan=0xb783c0c0, peer=0x8291930, config=0xb6ba3660) at res_features.c:1371 #6 0xb70d0b94 in dial_exec_full (chan=0xb783c0c0, data=0x0, peerflags=0xb6ba4504, continue_exec=0x0) at app_dial.c:1651 #7 0xb70d37f4 in dial_exec (chan=0xfffffffc, data=0xb7f47b7c) at app_dial.c:1702 #8 0x080c82c1 in pbx_extension_helper (c=0xb783c0c0, con=0x0, context=0xb783c240 "outRouteGr-1", exten=0xb783c290 "0031455414199", priority=25, label=0x0, callerid=0x8226870 "226066729", action=136336356) at pbx.c:532 #9 0x080c961f in __ast_pbx_run (c=0xb783c0c0) at pbx.c:2288 #10 0x080cb53e in pbx_thread (data=0xfffffffc) at pbx.c:2601 #11 0x080f8d75 in dummy_start (data=0xb7f47b7c) at utils.c:545 #12 0xb7f3fb63 in start_thread () from /lib/tls/libpthread.so.0 #13 0xb7d9218a in clone () from /lib/tls/libc.so.6 Thread 1 (Thread -1211395968 (LWP 419)): #0 0xb7f446a1 in __read_nocancel () from /lib/tls/libpthread.so.0 #1 0x080fd7fe in read_char (el=0x8173aa0, cp=0xbf959e3e "\225") at read.c:301 #2 0x0810859f in el_gets (el=0x8173aa0, nread=0xbf95a0fc) at read.c:347 #3 0x0806ee77 in main (argc=4, argv=0xbf95a4c4) at asterisk.c:2954 #4 0xb7ccf974 in __libc_start_main () from /lib/tls/libc.so.6 #5 0x08057991 in ?? () at ../sysdeps/i386/elf/start.S:102 #0 0xb7f446a1 in __read_nocancel () from /lib/tls/libpthread.so.0