#0 0x0808e4fc in __ast_read (chan=0x852fde0, dropaudio=0) at channel.c:2248 2248 } else if (chan->tech->read) (gdb) bt full #0 0x0808e4fc in __ast_read (chan=0x852fde0, dropaudio=0) at channel.c:2248 f = (struct ast_frame *) 0x0 blah = 0 prestate = 0 count = 1 __PRETTY_FUNCTION__ = "__ast_read" #1 0x0808f929 in ast_read (chan=0x852fde0) at channel.c:2525 No locals. #2 0x0807c0ee in autoservice_run (ign=0x0) at autoservice.c:97 f = (struct ast_frame *) 0x0 chan = (struct ast_channel *) 0x0 as = (struct asent *) 0x0 ms = 0 mons = {0x0 , 0xb715db9c, 0xb69094bc, 0xb6909384, 0x80, 0x8071086, 0x14000000, 0xb715d908, 0x400000, 0x0, 0x80, 0x8071086, 0x14000000, 0xb715d908, 0x400000, 0x0, 0x0, 0x0, 0x0, 0xb715db9c, 0xb6909504, 0xb69093cc, 0x80, 0x8071086, 0x14000000, 0xb715d908, 0x400000, 0x0 , 0x8071086, 0x14000000, 0xb715d908, 0x400000, 0x0 , 0x8071086, 0x14000000, 0xb715d908, 0x400000, 0x0 , 0xb725dff4, 0xb6909590, 0x17, 0xb690962c, 0xb715d79f, 0x17, 0xb6909590, 0xb6909500, 0x8071086, 0x400000, 0x0 , 0x8071086, 0x14000000, 0xb715d908, 0x400000, 0x0 , 0x14000000, 0xb715d908, 0x0, 0x8071086, 0x400000, 0x0 , 0x10000000, 0xb69098e8, 0xb69098d4, 0x109, 0x1f4, 0xb6909bb0, 0xb690963c, 0x807109f, 0x17, 0x8071086, 0xb6909ad8, 0xb715d908, 0x17, 0x33, 0x0, 0x7b, 0x7b, 0xb6909bb0, 0x1f4, 0xb6909ad8, 0xb6909920, 0x109, 0x19, 0xb6909990, 0x1, 0x0, 0x0, 0xb7fe87a2, 0x73, 0x286, 0xb6909920, 0x7b, 0xb69096a0, 0x8005003, 0x0, 0xffff037f, 0xffff0020, 0xffffffff, 0x8122bc5, 0x35d0073, 0xb694fb48, 0x7b, 0x0 , 0x80000000, 0x3ffe, 0x4000000, 0x40139e34, 0x20, 0x20037f, 0x35d0000, 0x8122bc5, 0x73, 0xb694fb48, 0x7b, 0x1f80, 0xffff, 0x0 , 0x80000000, 0x3ffe...} x = 0 __PRETTY_FUNCTION__ = "autoservice_run" #3 0x0812faef in dummy_start (data=0x824c8a0) at utils.c:857 _buffer = {__routine = 0x806dcea , __arg = 0xb690bba0, __canceltype = 0, __prev = 0x0} ret = (void *) 0x0 a = {start_routine = 0x807bf9c , data = 0x0, name = 0x824c8b0 "autoservice_run started at [ 186] autoservice.c ast_autoservice_start()"} lock_info = (struct thr_lock_info *) 0x824e8b8 mutex_attr = {__mutexkind = 1} #4 0xb7ea93cc in start_thread () from /lib/tls/libpthread.so.0 No symbol table info available. #5 0xb71ff1ae in clone () from /lib/tls/libc.so.6 No symbol table info available. (gdb) thread apply all bt Thread 32 (process 15956): #0 0xb7fe87a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2 #1 0xb71f5364 in poll () from /lib/tls/libc.so.6 #2 0x08075532 in monitor_sig_flags (unused=0x0) at asterisk.c:2640 #3 0x080773d5 in main (argc=3, argv=0xbfffda14) at asterisk.c:3227 #4 0xb714ade3 in __libc_start_main () from /lib/tls/libc.so.6 #5 0x0805bae9 in ?? () Thread 31 (process 15969): #0 0xb7fe87a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2 #1 0xb7eabcf6 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/libpthread.so.0 #2 0x080b5a45 in __ast_cond_wait (filename=0x8171153 "event.c", lineno=764, func=0x8171618 "ast_event_dispatcher", cond_name=0x817145e "&event_thread.cond", mutex_name=0x817144b "&event_thread.lock", cond=0x8198c20, t=0x8198c50) at /usr/src/asterisk/include/asterisk/lock.h:563 #3 0x080b5534 in ast_event_dispatcher (unused=0x0) at event.c:764 #4 0x0812faef in dummy_start (data=0x81beff0) at utils.c:857 #5 0xb7ea93cc in start_thread () from /lib/tls/libpthread.so.0 #6 0xb71ff1ae in clone () from /lib/tls/libc.so.6 Thread 30 (process 15970): #0 0xb7fe87a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2 #1 0xb71f5364 in poll () from /lib/tls/libc.so.6 #2 0x080705d6 in listener (unused=0x0) at asterisk.c:1040 #3 0x0812faef in dummy_start (data=0x81bee98) at utils.c:857 #4 0xb7ea93cc in start_thread () from /lib/tls/libpthread.so.0 #5 0xb71ff1ae in clone () from /lib/tls/libc.so.6 Thread 29 (process 15971): #0 0xb7fe87a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2 #1 0xb7eabcf6 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/libpthread.so.0 #2 0x080d0419 in __ast_cond_wait (filename=0x81765bb "logger.c", lineno=882, func=0x817803a "logger_thread", cond_name=0x8178068 "&logcond", mutex_name=0x817805a "&logmsgs.lock", cond=0x81b1280, t=0x819a508) at /usr/src/asterisk/include/asterisk/lock.h:563 #3 0x080cfd25 in logger_thread (data=0x0) at logger.c:882 #4 0x0812faef in dummy_start (data=0x81bf398) at utils.c:857 #5 0xb7ea93cc in start_thread () from /lib/tls/libpthread.so.0 #6 0xb71ff1ae in clone () from /lib/tls/libc.so.6 Thread 28 (process 15980): #0 0xb7fe87a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2 #1 0xb71f5364 in poll () from /lib/tls/libc.so.6 #2 0x0812fdfa in ast_wait_for_input (fd=8, ms=5000) at utils.c:943 #3 0x080c30b6 in server_root (data=0x819cb60) at http.c:893 #4 0x0812faef in dummy_start (data=0x81d70b8) at utils.c:857 #5 0xb7ea93cc in start_thread () from /lib/tls/libpthread.so.0 #6 0xb71ff1ae in clone () from /lib/tls/libc.so.6 Thread 27 (process 15981): #0 0xb7fe87a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2 #1 0xb71f5364 in poll () from /lib/tls/libc.so.6 #2 0xb7e58667 in __libc_res_nsend () from /lib/libresolv.so.2 ---Type to continue, or q to quit--- #3 0xb7e57116 in __libc_res_nquery () from /lib/libresolv.so.2 #4 0xb7e573e8 in __libc_res_nquerydomain () from /lib/libresolv.so.2 #5 0xb7e5794e in __libc_res_nsearch () from /lib/libresolv.so.2 #6 0xb690e2ce in _nss_dns_gethostbyname3_r () from /lib/libnss_dns.so.2 #7 0xb690e538 in _nss_dns_gethostbyname_r () from /lib/libnss_dns.so.2 #8 0xb72145c4 in gethostbyname_r@@GLIBC_2.1.2 () from /lib/tls/libc.so.6 #9 0x0812e158 in ast_gethostbyname (host=0xb6e6add0 "66.236.204.182-08523c90", hp=0xb6e6ae20) at utils.c:218 #10 0xb6ac7219 in sip_devicestate (data=0xb6e6b284) at chan_sip.c:17332 #11 0x080a735c in ast_device_state (device=0x84f7634 "SIP/66.236.204.182-08523c90") at devicestate.c:328 #12 0x080a7880 in do_state_change (device=0x84f7634 "SIP/66.236.204.182-08523c90") at devicestate.c:428 #13 0x080a7fe6 in do_devstate_changes (data=0x0) at devicestate.c:535 #14 0x0812faef in dummy_start (data=0x81e2758) at utils.c:857 #15 0xb7ea93cc in start_thread () from /lib/tls/libpthread.so.0 #16 0xb71ff1ae in clone () from /lib/tls/libc.so.6 Thread 26 (process 15983): #0 0xb7fe87a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2 #1 0xb7eabcf6 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/libpthread.so.0 #2 0x080e6a32 in __ast_cond_wait (filename=0x817b7b3 "pbx.c", lineno=2900, func=0x817fc4b "device_state_thread", cond_name=0x817fc38 "&device_state.cond", mutex_name=0x817fc25 "&device_state.lock", cond=0x819cd00, t=0x819cc28) at /usr/src/asterisk/include/asterisk/lock.h:563 #3 0x080e66d7 in device_state_thread (data=0x0) at pbx.c:2900 #4 0x0812faef in dummy_start (data=0xb6d012a0) at utils.c:857 #5 0xb7ea93cc in start_thread () from /lib/tls/libpthread.so.0 #6 0xb71ff1ae in clone () from /lib/tls/libc.so.6 Thread 25 (process 15988): #0 0xb7fe87a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2 #1 0xb71f7bf1 in ___newselect_nocancel () from /lib/tls/libc.so.6 #2 0xb6cb93ee in ast_select (nfds=0, rfds=0xb6cac270, wfds=0x0, efds=0xb6cac1f0, tvp=0x0) at /usr/src/asterisk/include/asterisk/channel.h:1503 #3 0xb6cb93ab in do_parking_thread (ignore=0x0) at res_features.c:2341 #4 0x0812faef in dummy_start (data=0xb6d00c48) at utils.c:857 #5 0xb7ea93cc in start_thread () from /lib/tls/libpthread.so.0 #6 0xb71ff1ae in clone () from /lib/tls/libc.so.6 Thread 24 (process 15992): #0 0xb7fe87a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2 #1 0xb7eabcf6 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/libpthread.so.0 #2 0xb764ef5e in PSyncPoint::Wait () from /root/pwlib/lib/libpt_linux_x86_r.so.1.10.3 #3 0xb7bc8e8a in H323ConnectionsCleaner::Main () from /root/openh323/lib/libh323_linux_x86_r.so.1.18.0 #4 0xb764cb87 in PThread::PX_ThreadStart () from /root/pwlib/lib/libpt_linux_x86_r.so.1.10.3 #5 0xb7ea93cc in start_thread () from /lib/tls/libpthread.so.0 #6 0xb71ff1ae in clone () from /lib/tls/libc.so.6 Thread 23 (process 15993): #0 0xb7fe87a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2 #1 0xb71f7bf1 in ___newselect_nocancel () from /lib/tls/libc.so.6 #2 0xb764cdd6 in PThread::PXBlockOnIO () from /root/pwlib/lib/libpt_linux_x86_r.so.1.10.3 #3 0xb763a893 in PChannel::PXSetIOBlock () from /root/pwlib/lib/libpt_linux_x86_r.so.1.10.3 #4 0xb76319cd in PSocket::os_accept () from /root/pwlib/lib/libpt_linux_x86_r.so.1.10.3 #5 0xb765b4a3 in PTCPSocket::Accept () from /root/pwlib/lib/libpt_linux_x86_r.so.1.10.3 ---Type to continue, or q to quit--- #6 0xb7c14f1f in H323ListenerTCP::Accept () from /root/openh323/lib/libh323_linux_x86_r.so.1.18.0 #7 0xb7c1144a in H323ListenerTCP::Main () from /root/openh323/lib/libh323_linux_x86_r.so.1.18.0 #8 0xb764cb87 in PThread::PX_ThreadStart () from /root/pwlib/lib/libpt_linux_x86_r.so.1.10.3 #9 0xb7ea93cc in start_thread () from /lib/tls/libpthread.so.0 #10 0xb71ff1ae in clone () from /lib/tls/libc.so.6 Thread 22 (process 15996): #0 0xb7fe87a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2 #1 0xb71f5364 in poll () from /lib/tls/libc.so.6 #2 0x080c7390 in ast_io_wait (ioc=0xb6d047a0, howlong=1000) at io.c:275 #3 0xb6c33c6a in do_monitor (data=0x0) at chan_h323.c:2578 #4 0x0812faef in dummy_start (data=0xb6d06368) at utils.c:857 #5 0xb7ea93cc in start_thread () from /lib/tls/libpthread.so.0 #6 0xb71ff1ae in clone () from /lib/tls/libc.so.6 Thread 21 (process 16057): #0 0xb7fe87a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2 #1 0xb71f5364 in poll () from /lib/tls/libc.so.6 #2 0x080c7390 in ast_io_wait (ioc=0xb6d18950, howlong=1000) at io.c:275 #3 0xb6ac636f in do_monitor (data=0x0) at chan_sip.c:17106 #4 0x0812faef in dummy_start (data=0xb6d1a790) at utils.c:857 #5 0xb7ea93cc in start_thread () from /lib/tls/libpthread.so.0 #6 0xb71ff1ae in clone () from /lib/tls/libc.so.6 Thread 20 (process 32163): #0 0xb7fe87a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2 #1 0xb71f7bf1 in ___newselect_nocancel () from /lib/tls/libc.so.6 #2 0xb764baab in PHouseKeepingThread::Main () from /root/pwlib/lib/libpt_linux_x86_r.so.1.10.3 #3 0xb764cb87 in PThread::PX_ThreadStart () from /root/pwlib/lib/libpt_linux_x86_r.so.1.10.3 #4 0xb7ea93cc in start_thread () from /lib/tls/libpthread.so.0 #5 0xb71ff1ae in clone () from /lib/tls/libc.so.6 Thread 19 (process 26148): #0 0xb7fe87a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2 #1 0xb71ff82e in epoll_wait () from /lib/tls/libc.so.6 #2 0x0808d266 in ast_waitfor_nandfds_complex (c=0xb6815eb0, n=2, ms=0xb6815f10) at channel.c:1896 #3 0x0808d617 in ast_waitfor_nandfds (c=0xb6815eb0, n=2, fds=0x0, nfds=0, exception=0x0, outfd=0x0, ms=0xb6815f10) at channel.c:1961 #4 0x0808d65e in ast_waitfor_n (c=0xb6815eb0, n=2, ms=0xb6815f10) at channel.c:1967 #5 0x08100ab9 in bridge_native_loop (c0=0x8280eb8, c1=0x8447318, p0=0x853e8a0, p1=0x84f1a80, vp0=0x0, vp1=0x0, tp0=0x0, tp1=0x0, pr0=0xb6ae6270, pr1=0xb6ae6270, codec0=260, codec1=256, timeoutms=-1, flags=0, fo=0xb681631c, rc=0xb6816318, pvt0=0x868cf50, pvt1=0x84f0400) at rtp.c:3316 #6 0x08102977 in ast_rtp_bridge (c0=0x8280eb8, c1=0x8447318, flags=0, fo=0xb681631c, rc=0xb6816318, timeoutms=-1) at rtp.c:3824 #7 0x08095a87 in ast_channel_bridge (c0=0x8280eb8, c1=0x8447318, config=0xb6816be0, fo=0xb681631c, rc=0xb6816318) at channel.c:4234 #8 0xb6cb7561 in ast_bridge_call (chan=0x8280eb8, peer=0x8447318, config=0xb6816be0) at res_features.c:1952 #9 0xb69b4606 in dial_exec_full (chan=0x8280eb8, data=0xb6818f50, peerflags=0xb6816df8, continue_exec=0x0) at app_dial.c:1833 #10 0xb69b5431 in dial_exec (chan=0x8280eb8, data=0xb6818f50) at app_dial.c:1904 #11 0x080e0340 in pbx_exec (c=0x8280eb8, app=0xb6d1edf8, data=0xb6818f50) at pbx.c:722 #12 0x080e5c94 in pbx_extension_helper (c=0x8280eb8, con=0x0, context=0x82810fc "default", exten=0x828114c "19197927385*207*2*123*180*", priority=16, label=0x0, callerid=0x8389a58 "5049761716", action=E_SPAWN, found=0xb681b32c, combined_find_spawn=1) at pbx.c:2671 #13 0x080e77cc in ast_spawn_extension (c=0x8280eb8, context=0x82810fc "default", exten=0x828114c "19197927385*207*2*123*180*", priority=16, callerid=0x8389a58 "5049761716", found=0xb681b32c, combined_find_spawn=1) at pbx.c:3162 ---Type to continue, or q to quit--- #14 0x080e7d3d in __ast_pbx_run (c=0x8280eb8) at pbx.c:3261 #15 0x080e9107 in pbx_thread (data=0x8280eb8) at pbx.c:3519 #16 0x0812faef in dummy_start (data=0x83e25f0) at utils.c:857 #17 0xb7ea93cc in start_thread () from /lib/tls/libpthread.so.0 #18 0xb71ff1ae in clone () from /lib/tls/libc.so.6