(gdb) info threads 19 Thread 4522002 (LWP 16435) 0x401e6fa2 in poll () from /lib/libc.so.6 18 Thread 4571153 (LWP 16438) 0x401e6fa2 in poll () from /lib/libc.so.6 17 Thread 4489232 (LWP 16433) 0x401e6fa2 in poll () from /lib/libc.so.6 16 Thread 4046863 (LWP 16394) 0x401e6fa2 in poll () from /lib/libc.so.6 15 Thread 4538382 (LWP 16436) 0x401e6fa2 in poll () from /lib/libc.so.6 14 Thread 4014093 (LWP 16389) 0x4013bd61 in sigsuspend () from /lib/libc.so.6 13 Thread 3948556 (LWP 16385) 0x401e6fa2 in poll () from /lib/libc.so.6 12 Thread 3964939 (LWP 16386) 0x4013bd61 in sigsuspend () from /lib/libc.so.6 11 Thread 163850 (LWP 15433) 0x401c0361 in nanosleep () from /lib/libc.so.6 10 Thread 147465 (LWP 15432) 0x401c0361 in nanosleep () from /lib/libc.so.6 9 Thread 131080 (LWP 15431) 0x401e6fa2 in poll () from /lib/libc.so.6 8 Thread 114695 (LWP 15430) 0x401e6fa2 in poll () from /lib/libc.so.6 7 Thread 98310 (LWP 15429) 0x401e944e in select () from /lib/libc.so.6 6 Thread 81925 (LWP 15427) 0x401e19b4 in read () from /lib/libc.so.6 5 Thread 65540 (LWP 15425) 0x401e19b4 in read () from /lib/libc.so.6 4 Thread 49155 (LWP 15424) 0x401f06c2 in accept () from /lib/libc.so.6 3 Thread 32770 (LWP 15423) 0x401e6fa2 in poll () from /lib/libc.so.6 2 Thread 32769 (LWP 15421) 0x401e6fa2 in poll () from /lib/libc.so.6 1 Thread 16384 (LWP 15420) 0x401e19b4 in read () from /lib/libc.so.6 (gdb) thread apply all bt Thread 19 (Thread 4522002 (LWP 16435)): #0 0x401e6fa2 in poll () from /lib/libc.so.6 #1 0x0805c521 in ast_waitfor_nandfds (c=0xbd7fa02c, n=2, fds=0x0, nfds=0, exception=0x0, outfd=0x0, ms=0xbd7fa018) at channel.c:979 #2 0x0805ca4d in ast_waitfor_n (c=0xfffffffc, n=-4, ms=0xfffffffc) at channel.c:1048 #3 0x0805e84f in ast_channel_bridge (c0=0x88f30a0, c1=0x882f210, config=0xbd7fad4c, fo=0xbd7fa0b4, rc=0xbd7fa0b8) at channel.c:2595 #4 0x4034ffb4 in ast_bridge_call (chan=0x88f30a0, peer=0x882f210, config=0xbd7fad4c) at res_features.c:253 #5 0x40431958 in dial_exec (chan=0x88f30a0, data=0x882f210) at app_dial.c:937 #6 0x0806c652 in pbx_exec (c=0x88f30a0, app=0x80ec930, data=0xbd7fd35c, newstack=3) at pbx.c:467 #7 0x0806e82c in pbx_extension_helper (c=0x88f30a0, context=0xbd7fd35c "Local/2207@extensions/n", exten=0x88f32ec "2207", priority=3, callerid=0x0, action=-1115696452) at pbx.c:1262 #8 0x08074aa7 in ast_pbx_run (c=0xbd7fd2bc) at pbx.c:1805 #9 0x403c0767 in ss_thread (data=0x88f30a0) at chan_zap.c:5148 #10 0x40025463 in pthread_start_thread () from /lib/libpthread.so.0 #11 0x400254df in pthread_start_thread_event () from /lib/libpthread.so.0 Thread 18 (Thread 4571153 (LWP 16438)): #0 0x401e6fa2 in poll () from /lib/libc.so.6 #1 0x0805c521 in ast_waitfor_nandfds (c=0xbd9f573c, n=2, fds=0x0, nfds=0, exception=0x0, outfd=0x0, ms=0xbd9f5738) at channel.c:979 #2 0x0805ca4d in ast_waitfor_n (c=0xfffffffc, n=-4, ms=0xfffffffc) at channel.c:1048 #3 0x403b8a70 in zt_bridge (c0=0x89c8128, c1=0x89d0808, flags=0, fo=0xbd9f5874, rc=0xbd9f5878) at chan_zap.c:2745 #4 0x0805ea25 in ast_channel_bridge (c0=0x8137acc, c1=0x89d0808, config=0xbd9f650c, fo=0xbd9f5874, rc=0xbd9f5878) at channel.c:2563 #5 0x4034ffb4 in ast_bridge_call (chan=0x89c8128, peer=0x89d0808, config=0xbd9f650c) at res_features.c:253 #6 0x40431958 in dial_exec (chan=0x89c8128, data=0x89d0808) at app_dial.c:937 #7 0x0806c652 in pbx_exec (c=0x89c8128, app=0x80ec930, data=0xbd9f8b1c, newstack=4) at pbx.c:467 #8 0x0806e82c in pbx_extension_helper (c=0x89c8128, context=0xbd9f8b1c "Zap/g0/4258866@inbound-ldcp", exten=0x89c8374 "s", priority=2, callerid=0x882df18 "\"Vivi Wang\" <2201>", action=-1113617796) at pbx.c:1262 #9 0x4047936a in macro_exec (chan=0x89c8128, data=0x80d900c) at app_macro.c:141 #10 0x0806c652 in pbx_exec (c=0x89c8128, app=0x8184800, data=0xbd9fd35c, newstack=4) at pbx.c:467 #11 0x0806e82c in pbx_extension_helper (c=0x89c8128, context=0xbd9fd35c "dialexternal|4258866", exten=0x89c8374 "s", priority=1, callerid=0x882df18 "\"Vivi Wang\" <2201>", action=-1113599300) at pbx.c:1262 #12 0x08074aa7 in ast_pbx_run (c=0xbd9fd2bc) at pbx.c:1805 #13 0x403c2a3c in ss_thread (data=0x89c8128) at chan_zap.c:4788 #14 0x40025463 in pthread_start_thread () from /lib/libpthread.so.0 #15 0x400254df in pthread_start_thread_event () from /lib/libpthread.so.0 Thread 17 (Thread 4489232 (LWP 16433)): #0 0x401e6fa2 in poll () from /lib/libc.so.6 #1 0x0805c521 in ast_waitfor_nandfds (c=0xbdbf573c, n=2, fds=0x0, nfds=0, exception=0x0, outfd=0x0, ms=0xbdbf5738) at channel.c:979 #2 0x0805ca4d in ast_waitfor_n (c=0xfffffffc, n=-4, ms=0xfffffffc) at channel.c:1048 #3 0x403b8a70 in zt_bridge (c0=0x88dd118, c1=0x8859cb8, flags=0, fo=0xbdbf5874, rc=0xbdbf5878) at chan_zap.c:2745 #4 0x0805ea25 in ast_channel_bridge (c0=0x8138aec, c1=0x8859cb8, config=0xbdbf650c, fo=0xbdbf5874, rc=0xbdbf5878) at channel.c:2563 #5 0x4034ffb4 in ast_bridge_call (chan=0x88dd118, peer=0x8859cb8, config=0xbdbf650c) at res_features.c:253 ---Type to continue, or q to quit--- #6 0x40431958 in dial_exec (chan=0x88dd118, data=0x8859cb8) at app_dial.c:937 #7 0x0806c652 in pbx_exec (c=0x88dd118, app=0x80ec930, data=0xbdbf8b1c, newstack=4) at pbx.c:467 #8 0x0806e82c in pbx_extension_helper (c=0x88dd118, context=0xbdbf8b1c "Zap/g0/4882688@inbound-ldcp", exten=0x88dd364 "s", priority=2, callerid=0x817c168 "\"Hellen Lee\" <4214>", action=-1111520644) at pbx.c:1262 #9 0x4047936a in macro_exec (chan=0x88dd118, data=0x80d900c) at app_macro.c:141 #10 0x0806c652 in pbx_exec (c=0x88dd118, app=0x8184800, data=0xbdbfd35c, newstack=4) at pbx.c:467 #11 0x0806e82c in pbx_extension_helper (c=0x88dd118, context=0xbdbfd35c "dialexternal|4882688", exten=0x88dd364 "s", priority=1, callerid=0x817c168 "\"Hellen Lee\" <4214>", action=-1111502148) at pbx.c:1262 #12 0x08074aa7 in ast_pbx_run (c=0xbdbfd2bc) at pbx.c:1805 #13 0x403c2a3c in ss_thread (data=0x88dd118) at chan_zap.c:4788 #14 0x40025463 in pthread_start_thread () from /lib/libpthread.so.0 #15 0x400254df in pthread_start_thread_event () from /lib/libpthread.so.0 Thread 16 (Thread 4046863 (LWP 16394)): #0 0x401e6fa2 in poll () from /lib/libc.so.6 #1 0x08089130 in netconsole (vconsole=0xbddff7ac) at asterisk.c:259 #2 0x40025463 in pthread_start_thread () from /lib/libpthread.so.0 #3 0x400254df in pthread_start_thread_event () from /lib/libpthread.so.0 Thread 15 (Thread 4538382 (LWP 16436)): #0 0x401e6fa2 in poll () from /lib/libc.so.6 #1 0x0805c521 in ast_waitfor_nandfds (c=0xbdff5cec, n=2, fds=0x0, nfds=0, exception=0x0, outfd=0x0, ms=0xbdff5cd8) at channel.c:979 #2 0x0805ca4d in ast_waitfor_n (c=0xfffffffc, n=-4, ms=0xfffffffc) at channel.c:1048 #3 0x0805e84f in ast_channel_bridge (c0=0x88526b8, c1=0x8997900, config=0xbdff6a0c, fo=0xbdff5d74, rc=0xbdff5d78) at channel.c:2595 #4 0x4034ffb4 in ast_bridge_call (chan=0x88526b8, peer=0x8997900, config=0xbdff6a0c) at res_features.c:253 #5 0x40431958 in dial_exec (chan=0x88526b8, data=0x8997900) at app_dial.c:937 #6 0x0806c652 in pbx_exec (c=0x88526b8, app=0x80ec930, data=0xbdff901c, newstack=3) at pbx.c:467 #7 0x0806e82c in pbx_extension_helper (c=0x88526b8, context=0xbdff901c "Zap/6r1|25|tr", exten=0x8852904 "s", priority=1, callerid=0x0, action=-1107325060) at pbx.c:1262 #8 0x4047936a in macro_exec (chan=0x88526b8, data=0x80d900c) at app_macro.c:141 #9 0x0806c652 in pbx_exec (c=0x88526b8, app=0x8184800, data=0xbdffd85c, newstack=3) at pbx.c:467 #10 0x0806e82c in pbx_extension_helper (c=0x88526b8, context=0xbdffd85c "dialinternal|Zap/6", exten=0x8852904 "s", priority=1, callerid=0x0, action=-1107306564) at pbx.c:1262 #11 0x08074aa7 in ast_pbx_run (c=0xbdffd7bc) at pbx.c:1805 #12 0x08075bfe in pbx_thread (data=0xfffffffc) at pbx.c:1969 #13 0x40025463 in pthread_start_thread () from /lib/libpthread.so.0 Thread 14 (Thread 4014093 (LWP 16389)): #0 0x4013bd61 in sigsuspend () from /lib/libc.so.6 #1 0x40028128 in __pthread_wait_for_restart_signal () from /lib/libpthread.so.0 #2 0x4002a068 in __pthread_lock () from /lib/libpthread.so.0 #3 0x400264b8 in pthread_mutex_lock () from /lib/libpthread.so.0 #4 0x0805d963 in ast_channel_masquerade (original=0xbe1ffbe0, clone=0x87f07b8) at channel.c:2116 #5 0x403bd44f in __zt_exception (ast=0x87a5ad0) at chan_zap.c:2867 #6 0x403bfe27 in zt_exception (ast=0xbe1ffbe0) at chan_zap.c:3705 #7 0x0805bd47 in ast_read (chan=0xbe1ffbe0) at channel.c:1268 #8 0x0805e5d7 in ast_channel_bridge (c0=0x8147800, c1=0x87f07b8, config=0xbe1f652c, fo=0xbe1f5894, rc=0xbe1f5898) ---Type to continue, or q to quit--- at channel.c:2600 #9 0x4034ffb4 in ast_bridge_call (chan=0x881db28, peer=0x87f07b8, config=0xbe1f652c) at res_features.c:253 #10 0x40431958 in dial_exec (chan=0x881db28, data=0x87f07b8) at app_dial.c:937 #11 0x0806c652 in pbx_exec (c=0x881db28, app=0x80ec930, data=0xbe1f8b3c, newstack=8) at pbx.c:467 #12 0x0806e82c in pbx_extension_helper (c=0x881db28, context=0xbe1f8b3c "Zap/18r2|25|tr", exten=0x881dd74 "s", priority=1, callerid=0x87d5890 "\"Jim Kou\" <2218>", action=-1105229156) at pbx.c:1262 #13 0x4047936a in macro_exec (chan=0x881db28, data=0x80d900c) at app_macro.c:141 #14 0x0806c652 in pbx_exec (c=0x881db28, app=0x8184800, data=0xbe1fd37c, newstack=8) at pbx.c:467 #15 0x0806e82c in pbx_extension_helper (c=0x881db28, context=0xbe1fd37c "dialinternal|Zap/18", exten=0x881dd74 "s", priority=1, callerid=0x87d5890 "\"Jim Kou\" <2218>", action=-1105210660) at pbx.c:1262 #16 0x08074aa7 in ast_pbx_run (c=0xbe1fd2dc) at pbx.c:1805 #17 0x403c2a3c in ss_thread (data=0x881db28) at chan_zap.c:4788 #18 0x40025463 in pthread_start_thread () from /lib/libpthread.so.0 Thread 13 (Thread 3948556 (LWP 16385)): #0 0x401e6fa2 in poll () from /lib/libc.so.6 #1 0x0805c521 in ast_waitfor_nandfds (c=0xbe3fa02c, n=2, fds=0x0, nfds=0, exception=0x0, outfd=0x0, ms=0xbe3fa018) at channel.c:979 #2 0x0805ca4d in ast_waitfor_n (c=0xfffffffc, n=-4, ms=0xfffffffc) at channel.c:1048 #3 0x0805e84f in ast_channel_bridge (c0=0x830e550, c1=0x8749ba0, config=0xbe3fad4c, fo=0xbe3fa0b4, rc=0xbe3fa0b8) at channel.c:2595 #4 0x4034ffb4 in ast_bridge_call (chan=0x830e550, peer=0x8749ba0, config=0xbe3fad4c) at res_features.c:253 #5 0x40431958 in dial_exec (chan=0x830e550, data=0x8749ba0) at app_dial.c:937 #6 0x0806c652 in pbx_exec (c=0x830e550, app=0x80ec930, data=0xbe3fd35c, newstack=3) at pbx.c:467 #7 0x0806e82c in pbx_extension_helper (c=0x830e550, context=0xbe3fd35c "Local/4202@extensions/n", exten=0x830e79c "4202", priority=3, callerid=0x0, action=-1103113540) at pbx.c:1262 #8 0x08074aa7 in ast_pbx_run (c=0xbe3fd2bc) at pbx.c:1805 #9 0x403c0767 in ss_thread (data=0x830e550) at chan_zap.c:5148 #10 0x40025463 in pthread_start_thread () from /lib/libpthread.so.0 #11 0x400254df in pthread_start_thread_event () from /lib/libpthread.so.0 Thread 12 (Thread 3964939 (LWP 16386)): #0 0x4013bd61 in sigsuspend () from /lib/libc.so.6 #1 0x40028128 in __pthread_wait_for_restart_signal () from /lib/libpthread.so.0 #2 0x4002a068 in __pthread_lock () from /lib/libpthread.so.0 #3 0x400264b8 in pthread_mutex_lock () from /lib/libpthread.so.0 #4 0x403ba6c4 in zt_write (ast=0x8147800, frame=0x87a73c8) at chan_zap.c:4057 #5 0x0805b594 in ast_write (chan=0x40030ba8, fr=0x87a73c8) at channel.c:1593 #6 0x0805e9f1 in ast_channel_bridge (c0=0x8147800, c1=0x87a59f8, config=0xbe5f6a0c, fo=0xbe5f5d74, rc=0xbe5f5d78) at channel.c:2657 #7 0x4034ffb4 in ast_bridge_call (chan=0x8457b70, peer=0x87a59f8, config=0xbe5f6a0c) at res_features.c:253 #8 0x40431958 in dial_exec (chan=0x8457b70, data=0x87a59f8) at app_dial.c:937 #9 0x0806c652 in pbx_exec (c=0x8457b70, app=0x80ec930, data=0xbe5f901c, newstack=8) at pbx.c:467 #10 0x0806e82c in pbx_extension_helper (c=0x8457b70, context=0xbe5f901c "Zap/27r1|25|tr", exten=0x8457dbc "s", priority=1, callerid=0x0, action=-1101033604) at pbx.c:1262 #11 0x4047936a in macro_exec (chan=0x8457b70, data=0x80d900c) at app_macro.c:141 #12 0x0806c652 in pbx_exec (c=0x8457b70, app=0x8184800, data=0xbe5fd85c, newstack=8) at pbx.c:467 #13 0x0806e82c in pbx_extension_helper (c=0x8457b70, context=0xbe5fd85c "dialinternal|Zap/27", exten=0x8457dbc "s", priority=1, callerid=0x0, action=-1101015108) at pbx.c:1262 ---Type to continue, or q to quit--- #14 0x08074aa7 in ast_pbx_run (c=0xbe5fd7bc) at pbx.c:1805 #15 0x08075bfe in pbx_thread (data=0xfffffffc) at pbx.c:1969 #16 0x40025463 in pthread_start_thread () from /lib/libpthread.so.0 Thread 11 (Thread 163850 (LWP 15433)): #0 0x401c0361 in nanosleep () from /lib/libc.so.6 #1 0x4002abfc in nanosleep () from /lib/libpthread.so.0 #2 0x401c0239 in sleep () from /lib/libc.so.6 #3 0x40457535 in qcall (ignore=0x0) at app_qcall.c:166 #4 0x40025463 in pthread_start_thread () from /lib/libpthread.so.0 Thread 10 (Thread 147465 (LWP 15432)): #0 0x401c0361 in nanosleep () from /lib/libc.so.6 #1 0x4002abfc in nanosleep () from /lib/libpthread.so.0 #2 0x401c0239 in sleep () from /lib/libc.so.6 #3 0x403f6790 in scan_thread (unused=0x0) at pbx_spool.c:325 #4 0x40025463 in pthread_start_thread () from /lib/libpthread.so.0 Thread 9 (Thread 131080 (LWP 15431)): #0 0x401e6fa2 in poll () from /lib/libc.so.6 #1 0x403c3c44 in do_monitor (data=0x0) at chan_zap.c:5448 #2 0x40025463 in pthread_start_thread () from /lib/libpthread.so.0 Thread 8 (Thread 114695 (LWP 15430)): #0 0x401e6fa2 in poll () from /lib/libc.so.6 #1 0x080523ec in ast_io_wait (ioc=0x3e8, howlong=-4) at io.c:254 #2 0x4038b2bd in do_monitor (data=0x0) at chan_sip.c:7564 #3 0x40025463 in pthread_start_thread () from /lib/libpthread.so.0 Thread 7 (Thread 98310 (LWP 15429)): #0 0x401e944e in select () from /lib/libc.so.6 #1 0x40353b9c in __dso_handle () from /usr/lib/asterisk/modules/res_features.so #2 0x40025463 in pthread_start_thread () from /lib/libpthread.so.0 Thread 6 (Thread 81925 (LWP 15427)): #0 0x401e19b4 in read () from /lib/libc.so.6 #1 0x40030ba8 in __JCR_LIST__ () from /lib/libpthread.so.0 #2 0x40344418 in monmp3thread (data=0x80f81b8) at res_musiconhold.c:265 #3 0x40025463 in pthread_start_thread () from /lib/libpthread.so.0 Thread 5 (Thread 65540 (LWP 15425)): #0 0x401e19b4 in read () from /lib/libc.so.6 #1 0x40030ba8 in __JCR_LIST__ () from /lib/libpthread.so.0 #2 0x40344418 in monmp3thread (data=0x80f7ed8) at res_musiconhold.c:265 #3 0x40025463 in pthread_start_thread () from /lib/libpthread.so.0 Thread 4 (Thread 49155 (LWP 15424)): #0 0x401f06c2 in accept () from /lib/libc.so.6 #1 0x4002b1e3 in accept () from /lib/libpthread.so.0 ---Type to continue, or q to quit--- #2 0x08088014 in accept_thread (ignore=0x0) at manager.c:1161 #3 0x40025463 in pthread_start_thread () from /lib/libpthread.so.0 Thread 3 (Thread 32770 (LWP 15423)): #0 0x401e6fa2 in poll () from /lib/libc.so.6 #1 0x08089325 in listener (unused=0x0) at asterisk.c:310 #2 0x40025463 in pthread_start_thread () from /lib/libpthread.so.0 Thread 2 (Thread 32769 (LWP 15421)): #0 0x401e6fa2 in poll () from /lib/libc.so.6 #1 0x4002516e in __pthread_manager () from /lib/libpthread.so.0 Thread 1 (Thread 16384 (LWP 15420)): #0 0x401e19b4 in read () from /lib/libc.so.6 #1 0x40030ba8 in __JCR_LIST__ () from /lib/libpthread.so.0 #2 0x0809ea9c in read_char (el=0x80e3e20, cp=0xbffff69b "¢{") at read.c:301 #3 0x0809eb38 in el_getc (el=0x80e3e20, cp=0xbffff69b "¢{") at read.c:347 #4 0x0809e99f in read_getcmd (el=0x80e3e20, cmdnum=0xfffffe00
, ch=0xbffff69b "¢{") at read.c:243 #5 0x0809ec91 in el_gets (el=0x80e3e20, nread=0xbffff6f0) at read.c:443 #6 0x0808c996 in main (argc=-1073744128, argv=0xbffff6f0) at asterisk.c:1823 #7 0x40127bb4 in __libc_start_main () from /lib/libc.so.6 #0 0x401c0361 in nanosleep () from /lib/libc.so.6 (gdb) q