(gdb) thread apply all bt Thread 12 (process 26463): #0 0x00007f92af7627db in read () from /lib/libpthread.so.0 #1 0x00000000004c179e in read_char (el=0x148f920, cp=0x7fffb7f9510f "") at read.c:298 #2 0x00000000004bc756 in el_getc (el=0x148f920, cp=0x7fffb7f9510f "") at read.c:350 #3 0x00000000004bc9a7 in el_gets (el=0x148f920, nread=0x7fffb7f956cc) at read.c:243 #4 0x000000000042921f in main (argc=, argv=) at asterisk.c:3224 Thread 11 (process 26466): #0 0x00007f92aedf2b66 in poll () from /lib/libc.so.6 #1 0x00000000004257f6 in listener (unused=) at asterisk.c:1010 #2 0x00000000004b6c7c in dummy_start (data=) at utils.c:856 #3 0x00007f92af75bfc7 in start_thread () from /lib/libpthread.so.0 #4 0x00007f92aedfb5ad in clone () from /lib/libc.so.6 #5 0x0000000000000000 in ?? () Thread 10 (process 26468): #0 0x00007f92af75fd29 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x0000000000452ca7 in do_devstate_changes (data=) at /usr/src/asterisk-1.4.30-rc3/include/asterisk/lock.h:791 #2 0x00000000004b6c7c in dummy_start (data=) at utils.c:856 #3 0x00007f92af75bfc7 in start_thread () from /lib/libpthread.so.0 #4 0x00007f92aedfb5ad in clone () from /lib/libc.so.6 #5 0x0000000000000000 in ?? () Thread 9 (process 26469): #0 0x00007f92aedf2b66 in poll () from /lib/libc.so.6 #1 0x00007f92a52ad0bb in shaun_of_the_dead (data=) at res_agi.c:2281 #2 0x00000000004b6c7c in dummy_start (data=) at utils.c:856 #3 0x00007f92af75bfc7 in start_thread () from /lib/libpthread.so.0 #4 0x00007f92aedfb5ad in clone () from /lib/libc.so.6 #5 0x0000000000000000 in ?? () Thread 8 (process 26470): #0 0x00007f92af75fd29 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x00007f92a3873172 in device_state_thread (data=) at /usr/src/asterisk-1.4.30-rc3/include/asterisk/lock.h:791 #2 0x00000000004b6c7c in dummy_start (data=) at utils.c:856 #3 0x00007f92af75bfc7 in start_thread () from /lib/libpthread.so.0 #4 0x00007f92aedfb5ad in clone () from /lib/libc.so.6 #5 0x0000000000000000 in ?? () Thread 7 (process 26471): #0 0x00007f92aedf4ce2 in select () from /lib/libc.so.6 #1 0x00007f92a1815917 in sound_thread (unused=) at /usr/src/asterisk-1.4.30-rc3/include/asterisk/channel.h:1382 #2 0x00000000004b6c7c in dummy_start (data=) at utils.c:856 #3 0x00007f92af75bfc7 in start_thread () from /lib/libpthread.so.0 #4 0x00007f92aedfb5ad in clone () from /lib/libc.so.6 #5 0x0000000000000000 in ?? () Thread 6 (process 26472): #0 ast_rtp_write (rtp=0x31202f2045544956, _f=0x42532f00) at rtp.c:2875 #1 0x00007f9297996952 in sip_write (ast=0x14e6360, frame=0x42532f00) at chan_sip.c:3922 #2 0x00007f9297996c55 in sip_rtp_prod (data=) at chan_sip.c:4650 #3 0x00000000004a92db in ast_sched_runq (con=) at sched.c:363 #4 0x00007f92979800fa in do_monitor (data=) at chan_sip.c:17082 #5 0x00000000004b6c7c in dummy_start (data=) at utils.c:856 #6 0x00007f92af75bfc7 in start_thread () from /lib/libpthread.so.0 #7 0x00007f92aedfb5ad in clone () from /lib/libc.so.6 #8 0x0000000000000000 in ?? () Thread 5 (process 26473): #0 0x00007f92af7630e1 in nanosleep () from /lib/libpthread.so.0 #1 0x00007f9294ce2ebc in scan_thread (unused=) at pbx_spool.c:462 #2 0x00000000004b6c7c in dummy_start (data=) at utils.c:856 #3 0x00007f92af75bfc7 in start_thread () from /lib/libpthread.so.0 #4 0x00007f92aedfb5ad in clone () from /lib/libc.so.6 #5 0x0000000000000000 in ?? () Thread 4 (process 26474): #0 0x00007f92aedf2b66 in poll () from /lib/libc.so.6 #1 0x0000000000425030 in monitor_sig_flags (unused=) at asterisk.c:2679 #2 0x00000000004b6c7c in dummy_start (data=) at utils.c:856 #3 0x00007f92af75bfc7 in start_thread () from /lib/libpthread.so.0 #4 0x00007f92aedfb5ad in clone () from /lib/libc.so.6 #5 0x0000000000000000 in ?? () Thread 3 (process 26476): #0 0x00007f92af75fd29 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x000000000042d7e4 in autoservice_run (ign=) at /usr/src/asterisk-1.4.30-rc3/include/asterisk/lock.h:791 #2 0x00000000004b6c7c in dummy_start (data=) at utils.c:856 #3 0x00007f92af75bfc7 in start_thread () from /lib/libpthread.so.0 #4 0x00007f92aedfb5ad in clone () from /lib/libc.so.6 #5 0x0000000000000000 in ?? () Thread 2 (process 27937): #0 0x00007f92aedf2b66 in poll () from /lib/libc.so.6 #1 0x000000000044072d in ast_waitfor_nandfds (c=0x425a94e0, n=2, fds=0x0, nfds=0, exception=0x0, outfd=0x0, ms=0x425aa93c) at channel.c:1824 #2 0x0000000000440be7 in ast_waitfor_n (c=0x425a9150, n=4, ms=) at channel.c:1886 #3 0x00007f929e3e602d in dial_exec_full (chan=0x14dd860, data=, peerflags=0x425aa990, continue_exec=0x0) at app_dial.c:474 #4 0x00007f929e3e9935 in dial_exec (chan=0x425a9150, data=0x4) at app_dial.c:1919 #5 0x00000000004875c7 in pbx_extension_helper (c=0x14dd860, con=, context=0x14ddab0 "pi_internal_out", exten=0x14ddb00 "201", priority=4, label=0x0, callerid=0x14dcf40 "211", action=E_SPAWN) at pbx.c:536 #6 0x000000000048841a in __ast_pbx_run (c=0x14dd860) at pbx.c:2300 #7 0x0000000000489d59 in pbx_thread (data=0x425a9150) at pbx.c:2621 #8 0x00000000004b6c7c in dummy_start (data=) at utils.c:856 #9 0x00007f92af75bfc7 in start_thread () from /lib/libpthread.so.0 #10 0x00007f92aedfb5ad in clone () from /lib/libc.so.6 #11 0x0000000000000000 in ?? () Thread 1 (process 27938): #0 0x00007f92aedf2b66 in poll () from /lib/libc.so.6 #1 0x000000000044072d in ast_waitfor_nandfds (c=0x417214e0, n=2, fds=0x0, nfds=0, exception=0x0, outfd=0x0, ms=0x4172293c) at channel.c:1824 #2 0x0000000000440be7 in ast_waitfor_n (c=0x41721190, n=4, ms=) at channel.c:1886 #3 0x00007f929e3e602d in dial_exec_full (chan=0x14f4f80, data=, peerflags=0x41722990, continue_exec=0x0) at app_dial.c:474 #4 0x00007f929e3e9935 in dial_exec (chan=0x41721190, data=0x4) at app_dial.c:1919 #5 0x00000000004875c7 in pbx_extension_helper (c=0x14f4f80, con=, context=0x14f51d0 "pi_internal_out_helper", exten=0x14f5220 "511599201", priority=6, label=0x0, callerid=0x14f5580 "211", action=E_SPAWN) at pbx.c:536 #6 0x000000000048841a in __ast_pbx_run (c=0x14f4f80) at pbx.c:2300 #7 0x0000000000489d59 in pbx_thread (data=0x41721190) at pbx.c:2621 #8 0x00000000004b6c7c in dummy_start (data=) at utils.c:856 #9 0x00007f92af75bfc7 in start_thread () from /lib/libpthread.so.0 #10 0x00007f92aedfb5ad in clone () from /lib/libc.so.6 #11 0x0000000000000000 in ?? () 2875 if (!rtp->them.sin_addr.s_addr)