Thu Feb 3 12:20:10 EST 2011 System uptime: 21 hours, 54 minutes, 54 seconds Last reload: 21 hours, 54 minutes, 54 seconds ======================================================================= === Currently Held Locks ============================================== ======================================================================= === === (): (times locked) === === Thread ID: 26231808 (do_monitor started at [24487] chan_sip.c restart_monitor()) === ---> Lock #0 (chan_sip.c): MUTEX 24459 do_monitor &monlock 0x30cc134 (1) === ------------------------------------------------------------------- === ======================================================================= GNU gdb 6.3.50-20050815 (Apple version gdb-696) (Sat Oct 20 18:20:28 GMT 2007) Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "powerpc-apple-darwin"...Reading symbols for shared libraries ......... done Attaching to program: `/usr/sbin/asterisk', process 4959. Reading symbols for shared libraries ..+........................................................................................................................................................................................ done 0x900144a4 in read () (gdb) #0 0x900144a4 in read () #1 0x00031210 in monitor_sig_flags (unused=0x0) at asterisk.c:3089 #2 0x000340f0 in main (argc=2, argv=0xbffffa80) at asterisk.c:3880 (gdb) #0 0x900144a4 in read () No symbol table info available. #1 0x00031210 in monitor_sig_flags (unused=0x0) at asterisk.c:3089 p = { fd = 23, events = 1, revents = 0 } a = 26 #2 0x000340f0 in main (argc=2, argv=0xbffffa80) at asterisk.c:3880 c = -1 filename = "/var/root/.asterisk_history", '\0' hostname = "asterisk.covert.org", '\0' tmp = '\0' xarg = 0x0 x = 2 f = (FILE *) 0xa000db34 sigs = 134238211 num = 0 isroot = 1 rundir_exists = 1 buf = 0x0 runuser = 0x0 rungroup = 0x0 remotesock = 0x0 moduleresult = 0 l = { rlim_cur = 256, rlim_max = 9223372036854775807 } __PRETTY_FUNCTION__ = "main" __FUNCTION__ = "main" (gdb) Thread 37 (process 4959 thread 0x29c13): #0 0x9001f48c in select () #1 0x001412cc in ast_select (nfds=59, rfds=0xf0d113a0, wfds=0xf0d123a0, efds=0xf0d133a0, tvp=0x0) at /private/var/root/asterisk/asterisk-1.8.2.1/include/asterisk/select.h:101 #2 0x00141078 in ast_internal_poll (pArray=0xf0d144c0, n_fds=6, timeout=-1) at poll.c:254 #3 0x0006bd00 in ast_waitfor_nandfds (c=0xf0d14750, n=2, fds=0x0, nfds=0, exception=0x0, outfd=0x0, ms=0xf0d1475c) at channel.c:3105 #4 0x0006c218 in ast_waitfor_n (c=0xf0d14750, n=2, ms=0xf0d1475c) at channel.c:3362 #5 0x0007a578 in ast_generic_bridge (c0=0x85b2b10, c1=0x868d910, config=0xf0d155f4, fo=0xf0d14c40, rc=0xf0d14c44) at channel.c:6802 #6 0x0007cb84 in ast_channel_bridge (c0=0x85b2b10, c1=0x868d910, config=0xf0d155f4, fo=0xf0d14c40, rc=0xf0d14c44) at channel.c:7250 #7 0x000c6d44 in ast_bridge_call (chan=0x85b2b10, peer=0x868d910, config=0xf0d155f4) at features.c:3256 #8 0x01711c80 in dial_exec_full (chan=0x85b2b10, data=0xf0d167fc "SIP/x21&SIP/x22&SIP/x23&SIP/x28&IAX2/x29&SIP/x33,120,m(5xbring)tM(whoanswered)", peerflags=0xf0d164a8, continue_exec=0x0) at app_dial.c:2641 #9 0x01712580 in dial_exec (chan=0x85b2b10, data=0xf0d167fc "SIP/x21&SIP/x22&SIP/x23&SIP/x28&IAX2/x29&SIP/x33,120,m(5xbring)tM(whoanswered)") at app_dial.c:2741 #10 0x0011ae2c in pbx_exec (c=0x85b2b10, app=0x4cf98f0, data=0xf0d167fc "SIP/x21&SIP/x22&SIP/x23&SIP/x28&IAX2/x29&SIP/x33,120,m(5xbring)tM(whoanswered)") at pbx.c:1407 #11 0x0012686c in pbx_extension_helper (c=0x85b2b10, con=0x0, context=0x85b2e7c "inbound-ringall", exten=0x85b2ecc "990", priority=20, label=0x0, callerid=0x58666e0 "7135335136", action=E_SPAWN, found=0xf0d1aa74, combined_find_spawn=1) at pbx.c:4086 #12 0x0012898c in ast_spawn_extension (c=0x85b2b10, context=0x85b2e7c "inbound-ringall", exten=0x85b2ecc "990", priority=20, callerid=0x58666e0 "7135335136", found=0xf0d1aa74, combined_find_spawn=1) at pbx.c:4605 #13 0x001294ac in __ast_pbx_run (c=0x85b2b10, args=0x0) at pbx.c:4703 #14 0x0012b21c in pbx_thread (data=0x85b2b10) at pbx.c:5014 #15 0x0019281c in dummy_start (data=0x6ded4b0) at utils.c:971 #16 0x9002b908 in _pthread_body () Thread 36 (process 4959 thread 0x6c07): #0 0x9002bfc8 in semaphore_wait_signal_trap () #1 0x90030aac in pthread_cond_wait () #2 0x000f668c in __ast_cond_wait (filename=0x1ce1b0 "autoservice.c", lineno=97, func=0x1ce208 "autoservice_run", cond_name=0x1ce218 "&as_cond", mutex_name=0x1ce224 "&aslist.lock", cond=0x2165e4, t=0x2164e4) at lock.c:516 #3 0x0003b3c0 in autoservice_run (ign=0x0) at autoservice.c:97 #4 0x0019281c in dummy_start (data=0x4ca1a20) at utils.c:971 #5 0x9002b908 in _pthread_body () Thread 35 (process 4959 thread 0x6803): #0 0x9002bfc8 in semaphore_wait_signal_trap () #1 0x90030aac in pthread_cond_wait () #2 0x000f668c in __ast_cond_wait (filename=0x1f38c0 "taskprocessor.c", lineno=293, func=0x1f3c5c "tps_processing_function", cond_name=0x1f3cd8 "&i->poll_cond", mutex_name=0x1f3cc0 "&i->taskprocessor_lock", cond=0x19f1b14, t=0x19f1b34) at lock.c:516 #3 0x0017a6a8 in tps_processing_function (data=0x19f1b10) at taskprocessor.c:293 #4 0x0019281c in dummy_start (data=0x4ce9d90) at utils.c:971 #5 0x9002b908 in _pthread_body () Thread 34 (process 4959 thread 0x6703): #0 0x90040df8 in mach_wait_until () #1 0x90040bc4 in nanosleep () #2 0x037a67bc in scan_thread (unused=0x0) at pbx_spool.c:704 #3 0x0019281c in dummy_start (data=0x4ce4d80) at utils.c:971 #4 0x9002b908 in _pthread_body () Thread 33 (process 4959 thread 0x667f): #0 0x90040df8 in mach_wait_until () #1 0x90040bc4 in nanosleep () #2 0x035cf0fc in lock_broker (unused=0x0) at func_lock.c:192 #3 0x0019281c in dummy_start (data=0x4cdf8e0) at utils.c:971 #4 0x9002b908 in _pthread_body () Thread 32 (process 4959 thread 0x6527): #0 0x9002bfc8 in semaphore_wait_signal_trap () #1 0x90030aac in pthread_cond_wait () #2 0x000f668c in __ast_cond_wait (filename=0x1f38c0 "taskprocessor.c", lineno=293, func=0x1f3c5c "tps_processing_function", cond_name=0x1f3cd8 "&i->poll_cond", mutex_name=0x1f3cc0 "&i->taskprocessor_lock", cond=0x193a314, t=0x193a334) at lock.c:516 #3 0x0017a6a8 in tps_processing_function (data=0x193a310) at taskprocessor.c:293 #4 0x0019281c in dummy_start (data=0x4c52b90) at utils.c:971 #5 0x9002b908 in _pthread_body () Thread 31 (process 4959 thread 0x6383): #0 0x9001f48c in select () #1 0x9002e858 in pselect () #2 0x9509ced0 in send_dg () #3 0x9509c158 in res_9_nsend_2 () #4 0x9509aad0 in res_nquery_2 () #5 0x9509ad5c in res_nquerydomain_2 () #6 0x9509ad94 in res_9_nquerydomain () #7 0x9509aee8 in res_nsearch_2 () #8 0x9509b3fc in res_9_nsearch () #9 0x000a959c in ast_search_dns (context=0xf0724a08, dname=0xf0724a7c "_sip._udp.free1.voipgateway.org", class=1, type=33, callback=0x16f358 ) at dns.c:268 #10 0x0016fec0 in ast_get_srv (chan=0x0, host=0xf0724b7c "", hostlen=256, port=0xf0724c7c, service=0xf0724a7c "_sip._udp.free1.voipgateway.org") at srv.c:265 #11 0x0000b854 in ast_get_ip_or_srv (addr=0x1898194, value=0x1898343 "free1.voipgateway.org", service=0xf07256b8 "_sip._udp") at acl.c:585 #12 0x000a9f44 in ast_dnsmgr_lookup (name=0x1898343 "free1.voipgateway.org", result=0x1898194, dnsmgr=0x1898190, service=0xf07256b8 "_sip._udp") at dnsmgr.c:137 #13 0x03040f04 in transmit_register (r=0x1898000, sipmethod=2, auth=0x0, authheader=0x0) at chan_sip.c:12272 #14 0x03040a24 in __sip_do_register (r=0x1898000) at chan_sip.c:12177 #15 0x030409c4 in sip_reregister (data=0x1898000) at chan_sip.c:12165 #16 0x0016c96c in ast_sched_runq (con=0x4c2a770) at sched.c:636 #17 0x030829cc in do_monitor (data=0x0) at chan_sip.c:24460 #18 0x0019281c in dummy_start (data=0x4c2ed70) at utils.c:971 #19 0x9002b908 in _pthread_body () Thread 30 (process 4959 thread 0x6203): #0 0x9001f48c in select () #1 0x00141170 in ast_select (nfds=22, rfds=0xf06e5ce0, wfds=0xf06e6ce0, efds=0xf06e7ce0, tvp=0xf06e8ce0) at /private/var/root/asterisk/asterisk-1.8.2.1/include/asterisk/select.h:88 #2 0x00141078 in ast_internal_poll (pArray=0x1865400, n_fds=2, timeout=1000) at poll.c:254 #3 0x000edb48 in ast_io_wait (ioc=0x4c1ff00, howlong=1000) at io.c:275 #4 0x0269ea0c in network_thread (ignore=0x0) at chan_iax2.c:12078 #5 0x0019281c in dummy_start (data=0x4c22070) at utils.c:971 #6 0x9002b908 in _pthread_body () Thread 29 (process 4959 thread 0x6103): #0 0x9002bfc8 in semaphore_wait_signal_trap () #1 0x90030aac in pthread_cond_wait () #2 0x000f668c in __ast_cond_wait (filename=0x26bab60 "chan_iax2.c", lineno=11615, func=0x26bb210 "iax2_process_thread", cond_name=0x26bb1d8 "&thread->cond", mutex_name=0x26bb1c8 "&thread->lock", cond=0x188cd94, t=0x188cc94) at lock.c:516 #3 0x0269c154 in iax2_process_thread (data=0x188bc00) at chan_iax2.c:11615 #4 0x0019281c in dummy_start (data=0x4c22060) at utils.c:971 #5 0x9002b908 in _pthread_body () Thread 28 (process 4959 thread 0x6003): #0 0x9002bfc8 in semaphore_wait_signal_trap () #1 0x90030aac in pthread_cond_wait () #2 0x000f668c in __ast_cond_wait (filename=0x26bab60 "chan_iax2.c", lineno=11615, func=0x26bb210 "iax2_process_thread", cond_name=0x26bb1d8 "&thread->cond", mutex_name=0x26bb1c8 "&thread->lock", cond=0x188ab94, t=0x188aa94) at lock.c:516 #3 0x0269c154 in iax2_process_thread (data=0x1889a00) at chan_iax2.c:11615 #4 0x0019281c in dummy_start (data=0x4c22050) at utils.c:971 #5 0x9002b908 in _pthread_body () Thread 27 (process 4959 thread 0x5f03): #0 0x9002bfc8 in semaphore_wait_signal_trap () #1 0x90030aac in pthread_cond_wait () #2 0x000f668c in __ast_cond_wait (filename=0x26bab60 "chan_iax2.c", lineno=11615, func=0x26bb210 "iax2_process_thread", cond_name=0x26bb1d8 "&thread->cond", mutex_name=0x26bb1c8 "&thread->lock", cond=0x1888994, t=0x1888894) at lock.c:516 #3 0x0269c154 in iax2_process_thread (data=0x1887800) at chan_iax2.c:11615 #4 0x0019281c in dummy_start (data=0x4c22040) at utils.c:971 #5 0x9002b908 in _pthread_body () Thread 26 (process 4959 thread 0x5e03): #0 0x9002bfc8 in semaphore_wait_signal_trap () #1 0x90030aac in pthread_cond_wait () #2 0x000f668c in __ast_cond_wait (filename=0x26bab60 "chan_iax2.c", lineno=11615, func=0x26bb210 "iax2_process_thread", cond_name=0x26bb1d8 "&thread->cond", mutex_name=0x26bb1c8 "&thread->lock", cond=0x1886794, t=0x1886694) at lock.c:516 #3 0x0269c154 in iax2_process_thread (data=0x1885600) at chan_iax2.c:11615 #4 0x0019281c in dummy_start (data=0x4c22030) at utils.c:971 #5 0x9002b908 in _pthread_body () Thread 25 (process 4959 thread 0x4c03): #0 0x9002bfc8 in semaphore_wait_signal_trap () #1 0x90030aac in pthread_cond_wait () #2 0x000f668c in __ast_cond_wait (filename=0x26bab60 "chan_iax2.c", lineno=11615, func=0x26bb210 "iax2_process_thread", cond_name=0x26bb1d8 "&thread->cond", mutex_name=0x26bb1c8 "&thread->lock", cond=0x1884594, t=0x1884494) at lock.c:516 #3 0x0269c154 in iax2_process_thread (data=0x1883400) at chan_iax2.c:11615 #4 0x0019281c in dummy_start (data=0x4c21650) at utils.c:971 #5 0x9002b908 in _pthread_body () Thread 24 (process 4959 thread 0x4b03): #0 0x9002bfc8 in semaphore_wait_signal_trap () #1 0x90030aac in pthread_cond_wait () #2 0x000f668c in __ast_cond_wait (filename=0x26bab60 "chan_iax2.c", lineno=11615, func=0x26bb210 "iax2_process_thread", cond_name=0x26bb1d8 "&thread->cond", mutex_name=0x26bb1c8 "&thread->lock", cond=0x1882394, t=0x1882294) at lock.c:516 #3 0x0269c154 in iax2_process_thread (data=0x1881200) at chan_iax2.c:11615 #4 0x0019281c in dummy_start (data=0x4c21640) at utils.c:971 #5 0x9002b908 in _pthread_body () Thread 23 (process 4959 thread 0x4a03): #0 0x9002bfc8 in semaphore_wait_signal_trap () #1 0x90030aac in pthread_cond_wait () #2 0x000f668c in __ast_cond_wait (filename=0x26bab60 "chan_iax2.c", lineno=11615, func=0x26bb210 "iax2_process_thread", cond_name=0x26bb1d8 "&thread->cond", mutex_name=0x26bb1c8 "&thread->lock", cond=0x1880194, t=0x1880094) at lock.c:516 #3 0x0269c154 in iax2_process_thread (data=0x187f000) at chan_iax2.c:11615 #4 0x0019281c in dummy_start (data=0x4c21630) at utils.c:971 #5 0x9002b908 in _pthread_body () Thread 22 (process 4959 thread 0x4903): #0 0x9002bfc8 in semaphore_wait_signal_trap () #1 0x90030aac in pthread_cond_wait () #2 0x000f668c in __ast_cond_wait (filename=0x26bab60 "chan_iax2.c", lineno=11615, func=0x26bb210 "iax2_process_thread", cond_name=0x26bb1d8 "&thread->cond", mutex_name=0x26bb1c8 "&thread->lock", cond=0x187df94, t=0x187de94) at lock.c:516 #3 0x0269c154 in iax2_process_thread (data=0x187ce00) at chan_iax2.c:11615 #4 0x0019281c in dummy_start (data=0x4c213c0) at utils.c:971 #5 0x9002b908 in _pthread_body () Thread 21 (process 4959 thread 0x4803): #0 0x9002bfc8 in semaphore_wait_signal_trap () #1 0x90030aac in pthread_cond_wait () #2 0x000f668c in __ast_cond_wait (filename=0x26bab60 "chan_iax2.c", lineno=11615, func=0x26bb210 "iax2_process_thread", cond_name=0x26bb1d8 "&thread->cond", mutex_name=0x26bb1c8 "&thread->lock", cond=0x187c194, t=0x187c094) at lock.c:516 #3 0x0269c154 in iax2_process_thread (data=0x187b000) at chan_iax2.c:11615 #4 0x0019281c in dummy_start (data=0x4c213b0) at utils.c:971 #5 0x9002b908 in _pthread_body () Thread 20 (process 4959 thread 0x4703): #0 0x9002bfc8 in semaphore_wait_signal_trap () #1 0x90030aac in pthread_cond_wait () #2 0x000f668c in __ast_cond_wait (filename=0x26bab60 "chan_iax2.c", lineno=11615, func=0x26bb210 "iax2_process_thread", cond_name=0x26bb1d8 "&thread->cond", mutex_name=0x26bb1c8 "&thread->lock", cond=0x187a394, t=0x187a294) at lock.c:516 #3 0x0269c154 in iax2_process_thread (data=0x1879200) at chan_iax2.c:11615 #4 0x0019281c in dummy_start (data=0x4c213a0) at utils.c:971 #5 0x9002b908 in _pthread_body () Thread 19 (process 4959 thread 0x4603): #0 0x90053f88 in semaphore_timedwait_signal_trap () #1 0x90053de4 in pthread_cond_timedwait () #2 0x000f6d7c in __ast_cond_timedwait (filename=0x1f27f4 "sched.c", lineno=112, func=0x1f2810 "sched_run", cond_name=0x1f2828 "&st->cond", mutex_name=0x1f281c "&st->lock", cond=0x4c1f984, t=0x4c1f884, abstime=0xf0449d40) at lock.c:620 #3 0x0016a9c8 in sched_run (data=0x4c1f880) at sched.c:112 #4 0x0019281c in dummy_start (data=0x4c1fe20) at utils.c:971 #5 0x9002b908 in _pthread_body () Thread 18 (process 4959 thread 0x4503): #0 0x9002bfc8 in semaphore_wait_signal_trap () #1 0x90030aac in pthread_cond_wait () #2 0x000f668c in __ast_cond_wait (filename=0x1f38c0 "taskprocessor.c", lineno=293, func=0x1f3c5c "tps_processing_function", cond_name=0x1f3cd8 "&i->poll_cond", mutex_name=0x1f3cc0 "&i->taskprocessor_lock", cond=0x1863114, t=0x1863134) at lock.c:516 #3 0x0017a6a8 in tps_processing_function (data=0x1863110) at taskprocessor.c:293 #4 0x0019281c in dummy_start (data=0x4c1f7f0) at utils.c:971 #5 0x9002b908 in _pthread_body () Thread 17 (process 4959 thread 0x4403): #0 0x9001f48c in select () #1 0x001412cc in ast_select (nfds=17, rfds=0xf03c8cb0, wfds=0xf03c9cb0, efds=0xf03cacb0, tvp=0x0) at /private/var/root/asterisk/asterisk-1.8.2.1/include/asterisk/select.h:101 #2 0x00141078 in ast_internal_poll (pArray=0xf03cfd38, n_fds=1, timeout=-1) at poll.c:254 #3 0x01396cf0 in monmp3thread (data=0x184eb10) at res_musiconhold.c:641 #4 0x0019281c in dummy_start (data=0x1201f40) at utils.c:971 #5 0x9002b908 in _pthread_body () Thread 16 (process 4959 thread 0x4303): #0 0x90053f88 in semaphore_timedwait_signal_trap () #1 0x90053de4 in pthread_cond_timedwait () #2 0x000f6d7c in __ast_cond_timedwait (filename=0x38f8ae0 "res_timing_pthread.c", lineno=463, func=0x38f8ce8 "do_timing", cond_name=0x38f8b50 "&timing_thread.cond", mutex_name=0x38f8b3c "&timing_thread.lock", cond=0x38f9244, t=0x38f9144, abstime=0xf0392d58) at lock.c:620 #3 0x038f7cd4 in do_timing (arg=0x0) at res_timing_pthread.c:463 #4 0x0019281c in dummy_start (data=0x1202790) at utils.c:971 #5 0x9002b908 in _pthread_body () Thread 15 (process 4959 thread 0x3103): #0 0x90053f88 in semaphore_timedwait_signal_trap () #1 0x90053de4 in pthread_cond_timedwait () #2 0x000f6d7c in __ast_cond_timedwait (filename=0x5caac0 "res_calendar.c", lineno=1647, func=0x5cbc80 "do_refresh", cond_name=0x5cb318 "&refresh_condition", mutex_name=0x5cb1ec "&refreshlock", cond=0x5cc79c, t=0x5cc69c, abstime=0xf0355d78) at lock.c:620 #3 0x005c9788 in do_refresh (data=0x0) at res_calendar.c:1647 #4 0x0019281c in dummy_start (data=0x1688800) at utils.c:971 #5 0x9002b908 in _pthread_body () Thread 14 (process 4959 thread 0x2f03): #0 0x9001f48c in select () #1 0x00141170 in ast_select (nfds=16, rfds=0xf0313c40, wfds=0xf0314c40, efds=0xf0315c40, tvp=0xf0316c40) at /private/var/root/asterisk/asterisk-1.8.2.1/include/asterisk/select.h:88 #2 0x00141078 in ast_internal_poll (pArray=0xf0316ca0, n_fds=1, timeout=1000) at poll.c:254 #3 0x00762490 in aji_io_recv (client=0x183fe00, buffer=0xf0316d0c "", buf_len=4094, timeout=1) at res_jabber.c:1307 #4 0x007625d4 in aji_recv (client=0x183fe00, timeout=1) at res_jabber.c:1350 #5 0x007693c4 in aji_recv_loop (data=0x183fe00) at res_jabber.c:2728 #6 0x0019281c in dummy_start (data=0x165b7e0) at utils.c:971 #7 0x9002b908 in _pthread_body () Thread 13 (process 4959 thread 0x2c03): #0 0x9001f48c in select () #1 0x00141170 in ast_select (nfds=15, rfds=0xf02d6c40, wfds=0xf02d7c40, efds=0xf02d8c40, tvp=0xf02d9c40) at /private/var/root/asterisk/asterisk-1.8.2.1/include/asterisk/select.h:88 #2 0x00141078 in ast_internal_poll (pArray=0xf02d9ca0, n_fds=1, timeout=1000) at poll.c:254 #3 0x00762490 in aji_io_recv (client=0x1841a00, buffer=0xf02d9d0c "", buf_len=4094, timeout=1) at res_jabber.c:1307 #4 0x007625d4 in aji_recv (client=0x1841a00, timeout=1) at res_jabber.c:1350 #5 0x007693c4 in aji_recv_loop (data=0x1841a00) at res_jabber.c:2728 #6 0x0019281c in dummy_start (data=0x165c2b0) at utils.c:971 #7 0x9002b908 in _pthread_body () Thread 12 (process 4959 thread 0x2b03): #0 0x9002bfc8 in semaphore_wait_signal_trap () #1 0x90030aac in pthread_cond_wait () #2 0x000f668c in __ast_cond_wait (filename=0x1f27f4 "sched.c", lineno=106, func=0x1f2810 "sched_run", cond_name=0x1f2828 "&st->cond", mutex_name=0x1f281c "&st->lock", cond=0x16589f4, t=0x16588f4) at lock.c:516 #3 0x0016a8fc in sched_run (data=0x16588f0) at sched.c:106 #4 0x0019281c in dummy_start (data=0x1657eb0) at utils.c:971 #5 0x9002b908 in _pthread_body () Thread 11 (process 4959 thread 0x2a03): #0 0x9002bfc8 in semaphore_wait_signal_trap () #1 0x90030aac in pthread_cond_wait () #2 0x000f668c in __ast_cond_wait (filename=0x1f38c0 "taskprocessor.c", lineno=293, func=0x1f3c5c "tps_processing_function", cond_name=0x1f3cd8 "&i->poll_cond", mutex_name=0x1f3cc0 "&i->taskprocessor_lock", cond=0x183c114, t=0x183c134) at lock.c:516 #3 0x0017a6a8 in tps_processing_function (data=0x183c110) at taskprocessor.c:293 #4 0x0019281c in dummy_start (data=0x16583c0) at utils.c:971 #5 0x9002b908 in _pthread_body () Thread 10 (process 4959 thread 0x2903): #0 0x9002bfc8 in semaphore_wait_signal_trap () #1 0x90030aac in pthread_cond_wait () #2 0x000f668c in __ast_cond_wait (filename=0x1dc1e8 "db.c", lineno=749, func=0x1dca04 "db_sync_thread", cond_name=0x1dc9fc "&dbcond", mutex_name=0x1dc210 "&dblock", cond=0x2172cc, t=0x207d24) at lock.c:516 #3 0x000a2418 in db_sync_thread (data=0x0) at db.c:749 #4 0x0019281c in dummy_start (data=0x1656a00) at utils.c:971 #5 0x9002b908 in _pthread_body () Thread 9 (process 4959 thread 0x2803): #0 0x9001f48c in select () #1 0x001412cc in ast_select (nfds=1, rfds=0xf01e4cf0, wfds=0xf01e5cf0, efds=0xf01e6cf0, tvp=0x0) at /private/var/root/asterisk/asterisk-1.8.2.1/include/asterisk/select.h:101 #2 0x00141078 in ast_internal_poll (pArray=0x0, n_fds=0, timeout=-1) at poll.c:254 #3 0x000c9af0 in do_parking_thread (ignore=0x0) at features.c:3913 #4 0x0019281c in dummy_start (data=0x1656710) at utils.c:971 #5 0x9002b908 in _pthread_body () Thread 8 (process 4959 thread 0x2703): #0 0x9002bfc8 in semaphore_wait_signal_trap () #1 0x90030aac in pthread_cond_wait () #2 0x000f668c in __ast_cond_wait (filename=0x1f38c0 "taskprocessor.c", lineno=293, func=0x1f3c5c "tps_processing_function", cond_name=0x1f3cd8 "&i->poll_cond", mutex_name=0x1f3cc0 "&i->taskprocessor_lock", cond=0x182bb14, t=0x182bb34) at lock.c:516 #3 0x0017a6a8 in tps_processing_function (data=0x182bb10) at taskprocessor.c:293 #4 0x0019281c in dummy_start (data=0x163b240) at utils.c:971 #5 0x9002b908 in _pthread_body () Thread 7 (process 4959 thread 0x2603): #0 0x9002bfc8 in semaphore_wait_signal_trap () #1 0x90030aac in pthread_cond_wait () #2 0x000f668c in __ast_cond_wait (filename=0x1dca44 "devicestate.c", lineno=539, func=0x1dccfc "do_devstate_changes", cond_name=0x1dccec "&change_pending", mutex_name=0x1dcd10 "&state_changes.lock", cond=0x21754c, t=0x21744c) at lock.c:516 #3 0x000a3b0c in do_devstate_changes (data=0x0) at devicestate.c:539 #4 0x0019281c in dummy_start (data=0x1638df0) at utils.c:971 #5 0x9002b908 in _pthread_body () Thread 6 (process 4959 thread 0x2403): #0 0x9002ec8c in kevent () #1 0x0017097c in kqueue_daemon (data=0x0) at stdtime/localtime.c:382 #2 0x0019281c in dummy_start (data=0x163b3d0) at utils.c:971 #3 0x9002b908 in _pthread_body () Thread 5 (process 4959 thread 0x2303): #0 0x9001f48c in select () #1 0x001412cc in ast_select (nfds=8, rfds=0xf00f0a10, wfds=0xf00f1a10, efds=0xf00f2a10, tvp=0x0) at /private/var/root/asterisk/asterisk-1.8.2.1/include/asterisk/select.h:101 #2 0x00141078 in ast_internal_poll (pArray=0xf00f3d70, n_fds=2, timeout=-1) at poll.c:254 #3 0x000295ac in netconsole (vconsole=0x232860) at asterisk.c:1250 #4 0x0019281c in dummy_start (data=0x1201cc0) at utils.c:971 #5 0x9002b908 in _pthread_body () Thread 4 (process 4959 thread 0x1003): #0 0x9002bfc8 in semaphore_wait_signal_trap () #1 0x90030aac in pthread_cond_wait () #2 0x000f668c in __ast_cond_wait (filename=0x1e6584 "logger.c", lineno=993, func=0x1e7468 "logger_thread", cond_name=0x1e7478 "&logcond", mutex_name=0x1e7484 "&logmsgs.lock", cond=0x219ae4, t=0x2199e4) at lock.c:516 #3 0x000fbfc0 in logger_thread (data=0x0) at logger.c:993 #4 0x0019281c in dummy_start (data=0x1201b80) at utils.c:971 #5 0x9002b908 in _pthread_body () Thread 3 (process 4959 thread 0xf03): #0 0x9001f48c in select () #1 0x001412cc in ast_select (nfds=5, rfds=0xf0076c90, wfds=0xf0077c90, efds=0xf0078c90, tvp=0x0) at /private/var/root/asterisk/asterisk-1.8.2.1/include/asterisk/select.h:101 #2 0x00141078 in ast_internal_poll (pArray=0xf0079d74, n_fds=1, timeout=-1) at poll.c:254 #3 0x0002992c in listener (unused=0x0) at asterisk.c:1303 #4 0x0019281c in dummy_start (data=0x1201af0) at utils.c:971 #5 0x9002b908 in _pthread_body () Thread 2 (process 4959 thread 0xc07): #0 0x9002bfc8 in semaphore_wait_signal_trap () #1 0x90030aac in pthread_cond_wait () #2 0x000f668c in __ast_cond_wait (filename=0x1f38c0 "taskprocessor.c", lineno=293, func=0x1f3c5c "tps_processing_function", cond_name=0x1f3cd8 "&i->poll_cond", mutex_name=0x1f3cc0 "&i->taskprocessor_lock", cond=0x1804714, t=0x1804734) at lock.c:516 #3 0x0017a6a8 in tps_processing_function (data=0x1804710) at taskprocessor.c:293 #4 0x0019281c in dummy_start (data=0x1201900) at utils.c:971 #5 0x9002b908 in _pthread_body () Thread 1 (process 4959 thread 0xd03): #0 0x900144a4 in read () #1 0x00031210 in monitor_sig_flags (unused=0x0) at asterisk.c:3089 #2 0x000340f0 in main (argc=2, argv=0xbffffa80) at asterisk.c:3880 (gdb) Detaching from program: `/usr/sbin/asterisk', process 4959 thread 0xd03.