(gdb) thread apply all bt Thread 27 (process 4721): #0 0x0065c7a2 in ?? () #1 0x007346a4 in poll () from /lib/tls/libc.so.6 #2 0x080bf1be in main (argc=3, argv=0xfee57964) at asterisk.c:2429 Thread 26 (process 4723): #0 0x0065c7a2 in ?? () #1 0x007346a4 in poll () from /lib/tls/libc.so.6 #2 0x080ba936 in listener (unused=0x0) at asterisk.c:585 #3 0x008bd1d5 in start_thread () from /lib/tls/libpthread.so.0 #4 0x0073e2da in clone () from /lib/tls/libc.so.6 Thread 25 (process 4724): #0 0x0065c7a2 in ?? () #1 0x008c26e8 in accept () from /lib/tls/libpthread.so.0 #2 0x080b8387 in accept_thread (ignore=0x0) at manager.c:1446 #3 0x008bd1d5 in start_thread () from /lib/tls/libpthread.so.0 #4 0x0073e2da in clone () from /lib/tls/libc.so.6 Thread 24 (process 4725): #0 0x0065c7a2 in ?? () ---Type to continue, or q to quit--- ---Type to continue, or q to quit--- Thread 23 (process 4726): #0 0x0065c7a2 in ?? () #1 0x008c24db in __read_nocancel () from /lib/tls/libpthread.so.0 #2 0xf6f10137 in monmp3thread (data=0xa0c1a88) at res_musiconhold.c:495 #3 0x008bd1d5 in start_thread () from /lib/tls/libpthread.so.0 #4 0x0073e2da in clone () from /lib/tls/libc.so.6 Thread 22 (process 4727): #0 0x0065c7a2 in ?? () #1 0x008c24db in __read_nocancel () from /lib/tls/libpthread.so.0 #2 0xf6f10137 in monmp3thread (data=0xa0d1d18) at res_musiconhold.c:495 #3 0x008bd1d5 in start_thread () from /lib/tls/libpthread.so.0 #4 0x0073e2da in clone () from /lib/tls/libc.so.6 Thread 21 (process 4728): #0 0x0065c7a2 in ?? () #1 0x008c24db in __read_nocancel () from /lib/tls/libpthread.so.0 #2 0xf6f10137 in monmp3thread (data=0xa0e1fa8) at res_musiconhold.c:495 #3 0x008bd1d5 in start_thread () from /lib/tls/libpthread.so.0 #4 0x0073e2da in clone () from /lib/tls/libc.so.6 Thread 20 (process 4730): #0 0x0065c7a2 in ?? () ---Type to continue, or q to quit--- #1 0x00736d31 in ___newselect_nocancel () from /lib/tls/libc.so.6 #2 0xf6e443cc in do_parking_thread (ignore=0x0) at channel.h:1146 #3 0x008bd1d5 in start_thread () from /lib/tls/libpthread.so.0 #4 0x0073e2da in clone () from /lib/tls/libc.so.6 Thread 19 (process 4733): #0 0x0065c7a2 in ?? () #1 0x007346a4 in poll () from /lib/tls/libc.so.6 #2 0x080559a4 in ast_io_wait (ioc=0xa106e00, howlong=-4) at io.c:271 #3 0xf6da0b7d in network_thread (ignore=0x0) at pbx_dundi.c:2106 #4 0x008bd1d5 in start_thread () from /lib/tls/libpthread.so.0 #5 0x0073e2da in clone () from /lib/tls/libc.so.6 Thread 18 (process 4734): #0 0x0065c7a2 in ?? () #1 0x00702136 in __nanosleep_nocancel () from /lib/tls/libc.so.6 #2 0x00701f33 in sleep () from /lib/tls/libc.so.6 #3 0xf6daad5c in process_precache (ign=0x0) at pbx_dundi.c:2146 #4 0x008bd1d5 in start_thread () from /lib/tls/libpthread.so.0 #5 0x0073e2da in clone () from /lib/tls/libc.so.6 Thread 17 (process 4735): #0 0x0065c7a2 in ?? () ---Type to continue, or q to quit--- #1 0x00702136 in __nanosleep_nocancel () from /lib/tls/libc.so.6 #2 0x00701f33 in sleep () from /lib/tls/libc.so.6 #3 0xf6cff7c1 in scan_thread (unused=0x0) at pbx_spool.c:365 #4 0x008bd1d5 in start_thread () from /lib/tls/libpthread.so.0 #5 0x0073e2da in clone () from /lib/tls/libc.so.6 Thread 16 (process 4736): #0 0x0065c7a2 in ?? () #1 0x00736d31 in ___newselect_nocancel () from /lib/tls/libc.so.6 #2 0xf6c98dbc in sound_thread (arg=0xa11daf0) at channel.h:1146 #3 0x008bd1d5 in start_thread () from /lib/tls/libpthread.so.0 #4 0x0073e2da in clone () from /lib/tls/libc.so.6 Thread 15 (process 4737): #0 0x0065c7a2 in ?? () Thread 14 (process 4738): #0 0x0065c7a2 in ?? () #1 0x007346a4 in poll () from /lib/tls/libc.so.6 #2 0xf6bdb6ff in pri_dchannel (vpri=0xf6bf4780) at chan_zap.c:8182 #3 0x008bd1d5 in start_thread () from /lib/tls/libpthread.so.0 #4 0x0073e2da in clone () from /lib/tls/libc.so.6 ---Type to continue, or q to quit--- Thread 13 (process 4740): #0 0x0065c7a2 in ?? () #1 0x007346a4 in poll () from /lib/tls/libc.so.6 #2 0xf6bd64c8 in do_monitor (data=0x0) at chan_zap.c:6488 #3 0x008bd1d5 in start_thread () from /lib/tls/libpthread.so.0 #4 0x0073e2da in clone () from /lib/tls/libc.so.6 Thread 12 (process 4741): #0 0x0065c7a2 in ?? () #1 0x007346a4 in poll () from /lib/tls/libc.so.6 #2 0x080559a4 in ast_io_wait (ioc=0xa1364a0, howlong=-4) at io.c:271 #3 0xf6a874e6 in do_monitor (data=0x0) at chan_mgcp.c:3460 #4 0x008bd1d5 in start_thread () from /lib/tls/libpthread.so.0 #5 0x0073e2da in clone () from /lib/tls/libc.so.6 Thread 11 (process 4742): #0 0x0065c7a2 in ?? () #1 0x007346a4 in poll () from /lib/tls/libc.so.6 #2 0x080559a4 in ast_io_wait (ioc=0xa126e18, howlong=-4) at io.c:271 #3 0xf68f2c9f in network_thread (ignore=0x0) at chan_iax2.c:7971 #4 0x008bd1d5 in start_thread () from /lib/tls/libpthread.so.0 #5 0x0073e2da in clone () from /lib/tls/libc.so.6 ---Type to continue, or q to quit--- Thread 10 (process 4743): #0 0x0065c7a2 in ?? () #1 0x008c26e8 in accept () from /lib/tls/libpthread.so.0 #2 0xf6893167 in accept_thread (ignore=0x0) at chan_skinny.c:2961 #3 0x008bd1d5 in start_thread () from /lib/tls/libpthread.so.0 #4 0x0073e2da in clone () from /lib/tls/libc.so.6 Thread 9 (process 4744): #0 0x0065c7a2 in ?? () #1 0x007346a4 in poll () from /lib/tls/libc.so.6 #2 0x080559a4 in ast_io_wait (ioc=0xa15fbf0, howlong=-4) at io.c:271 #3 0xf6893482 in do_monitor (data=0x0) at chan_skinny.c:3011 #4 0x008bd1d5 in start_thread () from /lib/tls/libpthread.so.0 #5 0x0073e2da in clone () from /lib/tls/libc.so.6 Thread 8 (process 4745): #0 0x0065c7a2 in ?? () #1 0x007346a4 in poll () from /lib/tls/libc.so.6 #2 0x080559a4 in ast_io_wait (ioc=0xa12cc68, howlong=-4) at io.c:271 #3 0xf67f556b in do_monitor (data=0x0) at chan_sip.c:11284 #4 0x008bd1d5 in start_thread () from /lib/tls/libpthread.so.0 #5 0x0073e2da in clone () from /lib/tls/libc.so.6 ---Type to continue, or q to quit--- Thread 7 (process 9550): #0 0x0065c7a2 in ?? () #1 0x007346a4 in poll () from /lib/tls/libc.so.6 #2 0x080ba753 in netconsole (vconsole=0x81280f0) at asterisk.c:534 #3 0x008bd1d5 in start_thread () from /lib/tls/libpthread.so.0 #4 0x0073e2da in clone () from /lib/tls/libc.so.6 Thread 6 (process 9614): #0 0x0065c7a2 in ?? () #1 0x007346a4 in poll () from /lib/tls/libc.so.6 #2 0x080ba753 in netconsole (vconsole=0x8128100) at asterisk.c:534 #3 0x008bd1d5 in start_thread () from /lib/tls/libpthread.so.0 #4 0x0073e2da in clone () from /lib/tls/libc.so.6 Thread 5 (process 12776): #0 0x0065c7a2 in ?? () #1 0x007346a4 in poll () from /lib/tls/libc.so.6 #2 0x080663a7 in ast_waitfor_nandfds (c=0xf64a1380, n=2, fds=0x0, nfds=0, exception=0x0, outfd=0x0, ms=0xf64a134c) at channel.c:1580 #3 0x08068296 in ast_channel_bridge (c0=0xa120158, c1=0xa123cf0, config=0xf64a1f80, fo=0xf64a1438, rc=0xf64a143c) at channel.c:1657 #4 0xf6e42d35 in ast_bridge_call (chan=0xa120158, peer=0xa123cf0, config=0xf64a1f80) at res_features.c:1316 ---Type to continue, or q to quit--- #5 0xf65b8f3d in dial_exec_full (chan=0xa120158, data=0x50, peerflags=0xf64a2628) at app_dial.c:1559 #6 0xf65bb3ed in dial_exec (chan=0xfffffffc, data=0xffffffff) at app_dial.c:1601 #7 0x0809074d in pbx_extension_helper (c=0xa120158, con=0xf64ad0b0, context=0xa1202a8 "macro-stdexten", exten=0xa12039c "s", priority=6, label=0x0, callerid=0xf64a67f0 "SIP/404|25|rtT", action=168974424) at pbx.c:544 #8 0x08090cfc in ast_spawn_extension (c=0xfffffffc, context=0xffffffff
, exten=0xffffffff
, priority=-1, callerid=0xffffffff
) at pbx.c:2218 #9 0xf676d615 in macro_exec (chan=0xa120158, data=0x8120a54) at app_macro.c:210 #10 0x0809074d in pbx_extension_helper (c=0xa120158, con=0x0, context=0xa1202a8 "macro-stdexten", exten=0xa12039c "s", priority=1, label=0x0, callerid=0xf64ad0b0 "stdexten|404|SIP/404", action=0) at pbx.c:544 #11 0x08091a16 in __ast_pbx_run (c=0xa120158) at pbx.c:2218 #12 0x0809347c in pbx_thread (data=0xfffffffc) at pbx.c:2505 #13 0x008bd1d5 in start_thread () from /lib/tls/libpthread.so.0 #14 0x0073e2da in clone () from /lib/tls/libc.so.6 ---Type to continue, or q to quit--- Thread 4 (process 12800): #0 0x0065c7a2 in ?? () #1 0x007346a4 in poll () from /lib/tls/libc.so.6 #2 0x080663a7 in ast_waitfor_nandfds (c=0xf6460258, n=2, fds=0x0, nfds=0, exception=0x0, outfd=0x0, ms=0xf64602a4) at channel.c:1580 #3 0x08066b27 in ast_waitfor_n (c=0xfffffffc, n=-4, ms=0xfffffffc) at channel.c:1657 #4 0xf6bc54eb in zt_bridge (c0=0xa16e680, c1=0xa1800e0, flags=0, fo=0xf6460428, rc=0xf646042c, timeoutms=-1) at chan_zap.c:3225 #5 0x08068104 in ast_channel_bridge (c0=0xa16e680, c1=0xa1800e0, config=0xf6460f80, fo=0xf6460428, rc=0xf646042c) at channel.c:3468 #6 0xf6e42d35 in ast_bridge_call (chan=0xa16e680, peer=0xa1800e0, config=0xf6460f80) at res_features.c:1316 #7 0xf65b8f3d in dial_exec_full (chan=0xa16e680, data=0x50, peerflags=0xf6461628) at app_dial.c:1559 #8 0xf65bb3ed in dial_exec (chan=0xfffffffc, data=0xffffffff) at app_dial.c:1601 #9 0x0809074d in pbx_extension_helper (c=0xa16e680, con=0xf646c0b0, context=0xa16e7d0 "macro-outgoing", exten=0xa16e8c4 "s", priority=5, label=0x0, callerid=0xf64657f0 "Zap/G1/7862938802||r", action=168974424) at pbx.c:544 #10 0x08090cfc in ast_spawn_extension (c=0xfffffffc, context=0xffffffff
, ---Type to continue, or q to quit--- exten=0xffffffff
, priority=-1, callerid=0xffffffff
) at pbx.c:2218 #11 0xf676d615 in macro_exec (chan=0xa16e680, data=0x8120a54) at app_macro.c:210 #12 0x0809074d in pbx_extension_helper (c=0xa16e680, con=0x0, context=0xa16e7d0 "macro-outgoing", exten=0xa16e8c4 "s", priority=1, label=0x0, callerid=0xf646c0b0 "outgoing|Zap/G1|7862938802", action=0) at pbx.c:544 #13 0x08091a16 in __ast_pbx_run (c=0xa16e680) at pbx.c:2218 #14 0x0809347c in pbx_thread (data=0xfffffffc) at pbx.c:2505 #15 0x008bd1d5 in start_thread () from /lib/tls/libpthread.so.0 #16 0x0073e2da in clone () from /lib/tls/libc.so.6 Thread 3 (process 12821): #0 0x0065c7a2 in ?? () #1 0x007346a4 in poll () from /lib/tls/libc.so.6 #2 0x080663a7 in ast_waitfor_nandfds (c=0xf63e4b28, n=2, fds=0x0, nfds=0, exception=0x0, outfd=0x0, ms=0xf63e4b74) at channel.c:1580 #3 0x08066b27 in ast_waitfor_n (c=0xfffffffc, n=-4, ms=0xfffffffc) at channel.c:1657 #4 0xf6bc54eb in zt_bridge (c0=0xf62072a8, c1=0xa0f2a38, flags=0, fo=0xf63e4cf8, rc=0xf63e4cfc, timeoutms=-1) at chan_zap.c:3225 #5 0x08068104 in ast_channel_bridge (c0=0xf62072a8, c1=0xa0f2a38, ---Type to continue, or q to quit--- config=0xf63e5840, fo=0xf63e4cf8, rc=0xf63e4cfc) at channel.c:3468 #6 0xf6e42d35 in ast_bridge_call (chan=0xf62072a8, peer=0xa0f2a38, config=0xf63e5840) at res_features.c:1316 #7 0xf65b8f3d in dial_exec_full (chan=0xf62072a8, data=0x50, peerflags=0xf63e5ee8) at app_dial.c:1559 #8 0xf65bb3ed in dial_exec (chan=0xfffffffc, data=0xffffffff) at app_dial.c:1601 #9 0x0809074d in pbx_extension_helper (c=0xf62072a8, con=0x0, context=0xf62073f8 "incoming", exten=0xf62074ec "3391", prior