Fri Jan 21 14:10:10 EST 2011 System uptime: 2 days, 15 hours, 36 minutes, 39 seconds Last reload: 2 days, 15 hours, 36 minutes, 39 seconds ======================================================================= === Currently Held Locks ============================================== ======================================================================= === === (): (times locked) === === Thread ID: 25290752 (do_devstate_changes started at [ 724] devicestate.c ast_device_state_engine_init()) === ---> Lock #0 (astobj2.c): MUTEX 657 internal_ao2_callback c 0x1811c00 (1) === ---> Waiting for Lock #1 (channel.c): MUTEX 1641 ast_channel_cmp_cb chan 0xfc77000 (1) === --- ---> Locked Here: chan_sip.c line 23995 (handle_request_do) === --- ---> Locked Here: channel.c line 1361 (__ast_queue_frame) === ------------------------------------------------------------------- === === Thread ID: 25501184 (do_timing started at [ 479] res_timing_pthread.c init_timing_thread()) === ---> Lock #0 (astobj2.c): MUTEX 657 internal_ao2_callback c 0x1854200 (1) === ---> Lock #1 (res_timing_pthread.c): MUTEX 437 run_timer timer 0x169cb80 (1) === ------------------------------------------------------------------- === === Thread ID: 26253312 (do_monitor started at [24487] chan_sip.c restart_monitor()) === ---> Lock #0 (chan_sip.c): MUTEX 23981 handle_request_do &netlock 0x314c034 (1) === ---> Lock #1 (chan_sip.c): MUTEX 7474 find_call sip_pvt_ptr 0xfc77a00 (1) === ---> Lock #2 (chan_sip.c): MUTEX 23995 handle_request_do p->owner 0xfc77000 (2) === ---> Waiting for Lock #3 (astobj2.c): MUTEX 657 internal_ao2_callback c 0x1854200 (1) === --- ---> Locked Here: astobj2.c line 657 (internal_ao2_callback) === ------------------------------------------------------------------- === === Thread ID: 264384000 (pbx_thread started at [ 5035] pbx.c ast_pbx_start()) === ---> Waiting for Lock #0 (channel.c): MUTEX 3049 ast_waitfor_nandfds c[x] 0xfc77000 (1) === --- ---> Locked Here: chan_sip.c line 23995 (handle_request_do) === --- ---> Locked Here: channel.c line 1361 (__ast_queue_frame) === ------------------------------------------------------------------- === ======================================================================= 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 939. 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 = 5, events = 1, revents = 0 } a = 7 #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 38 (process 939 thread 0xb7ec7): #0 0x9002bfc8 in semaphore_wait_signal_trap () #1 0x90001810 in pthread_mutex_lock () #2 0x000f56a8 in __ast_pthread_mutex_lock (filename=0x1d41b4 "channel.c", lineno=3049, func=0x1d5b9c "ast_waitfor_nandfds", mutex_name=0x1d5bc4 "c[x]", t=0xfc77000) at lock.c:230 #3 0x00034434 in __ao2_lock (user_data=0xfc77110, file=0x1d41b4 "channel.c", func=0x1d5b9c "ast_waitfor_nandfds", line=3049, var=0x1d5bc4 "c[x]") at astobj2.c:157 #4 0x0006b6b0 in ast_waitfor_nandfds (c=0xf012a750, n=2, fds=0x0, nfds=0, exception=0x0, outfd=0x0, ms=0xf012a75c) at channel.c:3049 #5 0x0006c218 in ast_waitfor_n (c=0xf012a750, n=2, ms=0xf012a75c) at channel.c:3362 #6 0x0007a578 in ast_generic_bridge (c0=0xfc29910, c1=0xfc77110, config=0xf012b5f4, fo=0xf012ac40, rc=0xf012ac44) at channel.c:6802 #7 0x0007cb84 in ast_channel_bridge (c0=0xfc29910, c1=0xfc77110, config=0xf012b5f4, fo=0xf012ac40, rc=0xf012ac44) at channel.c:7250 #8 0x000c6d44 in ast_bridge_call (chan=0xfc29910, peer=0xfc77110, config=0xf012b5f4) at features.c:3256 #9 0x01726c80 in dial_exec_full (chan=0xfc29910, data=0xf012c7fc "SIP/x21&SIP/x22&SIP/x23&SIP/x28&IAX2/x29&SIP/x33,120,m(5xbring)tM(whoanswered)", peerflags=0xf012c4a8, continue_exec=0x0) at app_dial.c:2641 #10 0x01727580 in dial_exec (chan=0xfc29910, data=0xf012c7fc "SIP/x21&SIP/x22&SIP/x23&SIP/x28&IAX2/x29&SIP/x33,120,m(5xbring)tM(whoanswered)") at app_dial.c:2741 #11 0x0011ae2c in pbx_exec (c=0xfc29910, app=0x4d60e70, data=0xf012c7fc "SIP/x21&SIP/x22&SIP/x23&SIP/x28&IAX2/x29&SIP/x33,120,m(5xbring)tM(whoanswered)") at pbx.c:1407 #12 0x0012686c in pbx_extension_helper (c=0xfc29910, con=0x0, context=0xfc29c7c "inbound-ringall", exten=0xfc29ccc "990", priority=20, label=0x0, callerid=0xf6145a0 "3037227209", action=E_SPAWN, found=0xf0130a74, combined_find_spawn=1) at pbx.c:4086 #13 0x0012898c in ast_spawn_extension (c=0xfc29910, context=0xfc29c7c "inbound-ringall", exten=0xfc29ccc "990", priority=20, callerid=0xf6145a0 "3037227209", found=0xf0130a74, combined_find_spawn=1) at pbx.c:4605 #14 0x001294ac in __ast_pbx_run (c=0xfc29910, args=0x0) at pbx.c:4703 #15 0x0012b21c in pbx_thread (data=0xfc29910) at pbx.c:5014 #16 0x0019281c in dummy_start (data=0x7b0a220) at utils.c:971 #17 0x9002b908 in _pthread_body () Thread 37 (process 939 thread 0x240b): #0 0x9001f48c in select () #1 0x001412cc in ast_select (nfds=10, rfds=0x9a7ba10, wfds=0x9a7ca10, efds=0x9a7da10, tvp=0x0) at /private/var/root/asterisk/asterisk-1.8.2.1/include/asterisk/select.h:101 #2 0x00141078 in ast_internal_poll (pArray=0x9a7ed70, 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=0x49812f0) at utils.c:971 #5 0x9002b908 in _pthread_body () Thread 36 (process 939 thread 0xce07): #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=0x5763700) at utils.c:971 #5 0x9002b908 in _pthread_body () Thread 35 (process 939 thread 0x8003): #0 0x9001f48c in select () #1 0x00141170 in ast_select (nfds=25, rfds=0xf0984ce0, wfds=0xf0985ce0, efds=0xf0986ce0, tvp=0xf0987ce0) at /private/var/root/asterisk/asterisk-1.8.2.1/include/asterisk/select.h:88 #2 0x00141078 in ast_internal_poll (pArray=0x1afda00, n_fds=2, timeout=1000) at poll.c:254 #3 0x000edb48 in ast_io_wait (ioc=0x4d893f0, howlong=1000) at io.c:275 #4 0x0271ea0c in network_thread (ignore=0x0) at chan_iax2.c:12078 #5 0x0019281c in dummy_start (data=0x4d21850) at utils.c:971 #6 0x9002b908 in _pthread_body () Thread 34 (process 939 thread 0x6e1f): #0 0x9002bfc8 in semaphore_wait_signal_trap () #1 0x90030aac in pthread_cond_wait () #2 0x000f668c in __ast_cond_wait (filename=0x273ab60 "chan_iax2.c", lineno=11615, func=0x273b210 "iax2_process_thread", cond_name=0x273b1d8 "&thread->cond", mutex_name=0x273b1c8 "&thread->lock", cond=0x197af94, t=0x197ae94) at lock.c:516 #3 0x0271c154 in iax2_process_thread (data=0x1979e00) at chan_iax2.c:11615 #4 0x0019281c in dummy_start (data=0x4d20b10) at utils.c:971 #5 0x9002b908 in _pthread_body () Thread 33 (process 939 thread 0x5207): #0 0x9002bfc8 in semaphore_wait_signal_trap () #1 0x90030aac in pthread_cond_wait () #2 0x000f668c in __ast_cond_wait (filename=0x273ab60 "chan_iax2.c", lineno=11615, func=0x273b210 "iax2_process_thread", cond_name=0x273b1d8 "&thread->cond", mutex_name=0x273b1c8 "&thread->lock", cond=0x1978d94, t=0x1978c94) at lock.c:516 #3 0x0271c154 in iax2_process_thread (data=0x1977c00) at chan_iax2.c:11615 #4 0x0019281c in dummy_start (data=0x4d20a30) at utils.c:971 #5 0x9002b908 in _pthread_body () Thread 32 (process 939 thread 0x5007): #0 0x9002bfc8 in semaphore_wait_signal_trap () #1 0x90030aac in pthread_cond_wait () #2 0x000f668c in __ast_cond_wait (filename=0x273ab60 "chan_iax2.c", lineno=11615, func=0x273b210 "iax2_process_thread", cond_name=0x273b1d8 "&thread->cond", mutex_name=0x273b1c8 "&thread->lock", cond=0x1976b94, t=0x1976a94) at lock.c:516 #3 0x0271c154 in iax2_process_thread (data=0x1975a00) at chan_iax2.c:11615 #4 0x0019281c in dummy_start (data=0x4d20950) at utils.c:971 #5 0x9002b908 in _pthread_body () Thread 31 (process 939 thread 0x4f07): #0 0x9002bfc8 in semaphore_wait_signal_trap () #1 0x90030aac in pthread_cond_wait () #2 0x000f668c in __ast_cond_wait (filename=0x273ab60 "chan_iax2.c", lineno=11615, func=0x273b210 "iax2_process_thread", cond_name=0x273b1d8 "&thread->cond", mutex_name=0x273b1c8 "&thread->lock", cond=0x1974994, t=0x1974894) at lock.c:516 #3 0x0271c154 in iax2_process_thread (data=0x1973800) at chan_iax2.c:11615 #4 0x0019281c in dummy_start (data=0x3b3cd20) at utils.c:971 #5 0x9002b908 in _pthread_body () Thread 30 (process 939 thread 0x5107): #0 0x9002bfc8 in semaphore_wait_signal_trap () #1 0x90030aac in pthread_cond_wait () #2 0x000f668c in __ast_cond_wait (filename=0x273ab60 "chan_iax2.c", lineno=11615, func=0x273b210 "iax2_process_thread", cond_name=0x273b1d8 "&thread->cond", mutex_name=0x273b1c8 "&thread->lock", cond=0x1972b94, t=0x1972a94) at lock.c:516 #3 0x0271c154 in iax2_process_thread (data=0x1971a00) at chan_iax2.c:11615 #4 0x0019281c in dummy_start (data=0x3b3cd10) at utils.c:971 #5 0x9002b908 in _pthread_body () Thread 29 (process 939 thread 0x4807): #0 0x9002bfc8 in semaphore_wait_signal_trap () #1 0x90030aac in pthread_cond_wait () #2 0x000f668c in __ast_cond_wait (filename=0x273ab60 "chan_iax2.c", lineno=11615, func=0x273b210 "iax2_process_thread", cond_name=0x273b1d8 "&thread->cond", mutex_name=0x273b1c8 "&thread->lock", cond=0x1b66994, t=0x1b66894) at lock.c:516 #3 0x0271c154 in iax2_process_thread (data=0x1b65800) at chan_iax2.c:11615 #4 0x0019281c in dummy_start (data=0x3b3cd00) at utils.c:971 #5 0x9002b908 in _pthread_body () Thread 28 (process 939 thread 0x4b07): #0 0x9002bfc8 in semaphore_wait_signal_trap () #1 0x90030aac in pthread_cond_wait () #2 0x000f668c in __ast_cond_wait (filename=0x273ab60 "chan_iax2.c", lineno=11615, func=0x273b210 "iax2_process_thread", cond_name=0x273b1d8 "&thread->cond", mutex_name=0x273b1c8 "&thread->lock", cond=0x1b64b94, t=0x1b64a94) at lock.c:516 #3 0x0271c154 in iax2_process_thread (data=0x1b63a00) at chan_iax2.c:11615 #4 0x0019281c in dummy_start (data=0x3b3cc20) at utils.c:971 #5 0x9002b908 in _pthread_body () Thread 27 (process 939 thread 0x4c07): #0 0x9002bfc8 in semaphore_wait_signal_trap () #1 0x90030aac in pthread_cond_wait () #2 0x000f668c in __ast_cond_wait (filename=0x273ab60 "chan_iax2.c", lineno=11615, func=0x273b210 "iax2_process_thread", cond_name=0x273b1d8 "&thread->cond", mutex_name=0x273b1c8 "&thread->lock", cond=0x1888194, t=0x1888094) at lock.c:516 #3 0x0271c154 in iax2_process_thread (data=0x1887000) at chan_iax2.c:11615 #4 0x0019281c in dummy_start (data=0x3b3cb40) at utils.c:971 #5 0x9002b908 in _pthread_body () Thread 26 (process 939 thread 0x4607): #0 0x9002bfc8 in semaphore_wait_signal_trap () #1 0x90030aac in pthread_cond_wait () #2 0x000f668c in __ast_cond_wait (filename=0x273ab60 "chan_iax2.c", lineno=11615, func=0x273b210 "iax2_process_thread", cond_name=0x273b1d8 "&thread->cond", mutex_name=0x273b1c8 "&thread->lock", cond=0x1886d94, t=0x1886c94) at lock.c:516 #3 0x0271c154 in iax2_process_thread (data=0x1885c00) at chan_iax2.c:11615 #4 0x0019281c in dummy_start (data=0x3b3ca60) at utils.c:971 #5 0x9002b908 in _pthread_body () Thread 25 (process 939 thread 0x4d0b): #0 0x9002bfc8 in semaphore_wait_signal_trap () #1 0x90030aac in pthread_cond_wait () #2 0x000f668c in __ast_cond_wait (filename=0x273ab60 "chan_iax2.c", lineno=11615, func=0x273b210 "iax2_process_thread", cond_name=0x273b1d8 "&thread->cond", mutex_name=0x273b1c8 "&thread->lock", cond=0x1b5d994, t=0x1b5d894) at lock.c:516 #3 0x0271c154 in iax2_process_thread (data=0x1b5c800) at chan_iax2.c:11615 #4 0x0019281c in dummy_start (data=0x3b3c980) at utils.c:971 #5 0x9002b908 in _pthread_body () Thread 24 (process 939 thread 0x4707): #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=0x3b3a8a4, t=0x3b3a7a4, abstime=0xf0486d40) at lock.c:620 #3 0x0016a9c8 in sched_run (data=0x3b3a7a0) at sched.c:112 #4 0x0019281c in dummy_start (data=0x4d3b430) at utils.c:971 #5 0x9002b908 in _pthread_body () Thread 23 (process 939 thread 0x530f): #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=0x1b6f314, t=0x1b6f334) at lock.c:516 #3 0x0017a6a8 in tps_processing_function (data=0x1b6f310) at taskprocessor.c:293 #4 0x0019281c in dummy_start (data=0x3b3a4c0) at utils.c:971 #5 0x9002b908 in _pthread_body () Thread 22 (process 939 thread 0x6607): #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=0x1b15f14, t=0x1b15f34) at lock.c:516 #3 0x0017a6a8 in tps_processing_function (data=0x1b15f10) at taskprocessor.c:293 #4 0x0019281c in dummy_start (data=0x4f02e20) at utils.c:971 #5 0x9002b908 in _pthread_body () Thread 21 (process 939 thread 0x2313): #0 0x90040df8 in mach_wait_until () #1 0x90040bc4 in nanosleep () #2 0x0365e0fc in lock_broker (unused=0x0) at func_lock.c:192 #3 0x0019281c in dummy_start (data=0x1651840) at utils.c:971 #4 0x9002b908 in _pthread_body () Thread 20 (process 939 thread 0x680f): #0 0x90040df8 in mach_wait_until () #1 0x90040bc4 in nanosleep () #2 0x038357bc in scan_thread (unused=0x0) at pbx_spool.c:704 #3 0x0019281c in dummy_start (data=0x4d53260) at utils.c:971 #4 0x9002b908 in _pthread_body () Thread 19 (process 939 thread 0x691f): #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=0x18e4314, t=0x18e4334) at lock.c:516 #3 0x0017a6a8 in tps_processing_function (data=0x18e4310) at taskprocessor.c:293 #4 0x0019281c in dummy_start (data=0x4d35f60) at utils.c:971 #5 0x9002b908 in _pthread_body () Thread 18 (process 939 thread 0x6483): #0 0x9002bfc8 in semaphore_wait_signal_trap () #1 0x90001810 in pthread_mutex_lock () #2 0x000f56a8 in __ast_pthread_mutex_lock (filename=0x1cda4c "astobj2.c", lineno=657, func=0x1cdbc0 "internal_ao2_callback", mutex_name=0x1cdb9c "c", t=0x1854200) at lock.c:230 #3 0x00034434 in __ao2_lock (user_data=0x1854310, file=0x1cda4c "astobj2.c", func=0x1cdbc0 "internal_ao2_callback", line=657, var=0x1cdb9c "c") at astobj2.c:157 #4 0x00035738 in internal_ao2_callback (c=0x1854310, flags=OBJ_POINTER, cb_fn=0x3986580, arg=0xf0761e60, data=0x0, type=DEFAULT, tag=0x0, file=0x0, line=0, funcname=0x0) at astobj2.c:657 #5 0x00035d1c in __ao2_callback (c=0x1854310, flags=OBJ_POINTER, cb_fn=0x3986580 , arg=0xf0761e60) at astobj2.c:765 #6 0x00035ee8 in __ao2_find (c=0x1854310, arg=0xf0761e60, flags=OBJ_POINTER) at astobj2.c:792 #7 0x03986474 in find_timer (handle=60, unlinkobj=0) at res_timing_pthread.c:285 #8 0x03986110 in pthread_timer_enable_continuous (handle=60) at res_timing_pthread.c:210 #9 0x001824e0 in ast_timer_enable_continuous (handle=0x454d2c0) at timing.c:176 #10 0x00065e80 in __ast_queue_frame (chan=0xfc77110, fin=0xf0762098, head=0, after=0x0) at channel.c:1458 #11 0x00065f38 in ast_queue_frame (chan=0xfc77110, fin=0xf0762098) at channel.c:1470 #12 0x00066054 in ast_queue_hangup (chan=0xfc77110) at channel.c:1487 #13 0x030fa6b8 in handle_request_bye (p=0xfc77b10, req=0xf07626ec) at chan_sip.c:22516 #14 0x030ffbb4 in handle_incoming (p=0xfc77b10, req=0xf07626ec, addr=0xf0762c2c, recount=0xf076265c, nounlock=0xf0762660) at chan_sip.c:23745 #15 0x03100ec0 in handle_request_do (req=0xf07626ec, addr=0xf0762c2c) at chan_sip.c:24041 #16 0x03100684 in sipsock_read (id=0x4d3b850, fd=25, events=1, ignore=0x0) at chan_sip.c:23939 #17 0x000edca0 in ast_io_wait (ioc=0x4d2b4a0, howlong=626) at io.c:288 #18 0x031028f8 in do_monitor (data=0x0) at chan_sip.c:24456 #19 0x0019281c in dummy_start (data=0x4d3b770) at utils.c:971 #20 0x9002b908 in _pthread_body () Thread 17 (process 939 thread 0x4a03): #0 0x9002bfc8 in semaphore_wait_signal_trap () #1 0x90030aac in pthread_cond_wait () #2 0x000f668c in __ast_cond_wait (filename=0x273ab60 "chan_iax2.c", lineno=11615, func=0x273b210 "iax2_process_thread", cond_name=0x273b1d8 "&thread->cond", mutex_name=0x273b1c8 "&thread->lock", cond=0x188bd94, t=0x188bc94) at lock.c:516 #3 0x0271c154 in iax2_process_thread (data=0x188ac00) at chan_iax2.c:11615 #4 0x0019281c in dummy_start (data=0x4d21490) at utils.c:971 #5 0x9002b908 in _pthread_body () Thread 16 (process 939 thread 0x4903): #0 0x9002bfc8 in semaphore_wait_signal_trap () #1 0x90030aac in pthread_cond_wait () #2 0x000f668c in __ast_cond_wait (filename=0x273ab60 "chan_iax2.c", lineno=11615, func=0x273b210 "iax2_process_thread", cond_name=0x273b1d8 "&thread->cond", mutex_name=0x273b1c8 "&thread->lock", cond=0x1889f94, t=0x1889e94) at lock.c:516 #3 0x0271c154 in iax2_process_thread (data=0x1888e00) at chan_iax2.c:11615 #4 0x0019281c in dummy_start (data=0x4d21480) at utils.c:971 #5 0x9002b908 in _pthread_body () Thread 15 (process 939 thread 0x4403): #0 0x900147ac in write () #1 0x039869cc in write_byte (timer=0x169cc90) at res_timing_pthread.c:418 #2 0x03986b00 in run_timer (obj=0x169cc90, arg=0x0, flags=2) at res_timing_pthread.c:439 #3 0x0003586c in internal_ao2_callback (c=0x1854310, flags=OBJ_NODATA, cb_fn=0x3986a74, arg=0x0, data=0x0, type=DEFAULT, tag=0x0, file=0x0, line=0, funcname=0x0) at astobj2.c:669 #4 0x00035d1c in __ao2_callback (c=0x1854310, flags=OBJ_NODATA, cb_fn=0x3986a74 , arg=0x0) at astobj2.c:765 #5 0x03986bc4 in do_timing (arg=0x0) at res_timing_pthread.c:453 #6 0x0019281c in dummy_start (data=0x1202860) at utils.c:971 #7 0x9002b908 in _pthread_body () Thread 14 (process 939 thread 0x3203): #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=0xf0392d78) at lock.c:620 #3 0x005c9788 in do_refresh (data=0x0) at res_calendar.c:1647 #4 0x0019281c in dummy_start (data=0x1685710) at utils.c:971 #5 0x9002b908 in _pthread_body () Thread 13 (process 939 thread 0x2e03): #0 0x9001f48c in select () #1 0x00141170 in ast_select (nfds=15, rfds=0xf0350c40, wfds=0xf0351c40, efds=0xf0352c40, tvp=0xf0353c40) at /private/var/root/asterisk/asterisk-1.8.2.1/include/asterisk/select.h:88 #2 0x00141078 in ast_internal_poll (pArray=0xf0353ca0, n_fds=1, timeout=1000) at poll.c:254 #3 0x00762490 in aji_io_recv (client=0x1841000, buffer=0xf0353d0c "", buf_len=4094, timeout=1) at res_jabber.c:1307 #4 0x007625d4 in aji_recv (client=0x1841000, timeout=1) at res_jabber.c:1350 #5 0x007693c4 in aji_recv_loop (data=0x1841000) at res_jabber.c:2728 #6 0x0019281c in dummy_start (data=0x165c570) at utils.c:971 #7 0x9002b908 in _pthread_body () Thread 12 (process 939 thread 0x2d03): #0 0x9001f48c in select () #1 0x00141170 in ast_select (nfds=8, 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=0x1842c00, buffer=0xf0316d0c "", buf_len=4094, timeout=1) at res_jabber.c:1307 #4 0x007625d4 in aji_recv (client=0x1842c00, timeout=1) at res_jabber.c:1350 #5 0x007693c4 in aji_recv_loop (data=0x1842c00) at res_jabber.c:2728 #6 0x0019281c in dummy_start (data=0x165cfe0) at utils.c:971 #7 0x9002b908 in _pthread_body () Thread 11 (process 939 thread 0x2c03): #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=0x1658ac4, t=0x16589c4) at lock.c:516 #3 0x0016a8fc in sched_run (data=0x16589c0) at sched.c:106 #4 0x0019281c in dummy_start (data=0x1657f80) at utils.c:971 #5 0x9002b908 in _pthread_body () Thread 10 (process 939 thread 0x2b03): #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=0x183cf14, t=0x183cf34) at lock.c:516 #3 0x0017a6a8 in tps_processing_function (data=0x183cf10) at taskprocessor.c:293 #4 0x0019281c in dummy_start (data=0x1658490) at utils.c:971 #5 0x9002b908 in _pthread_body () Thread 9 (process 939 thread 0x2a03): #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=0x1656ad0) at utils.c:971 #5 0x9002b908 in _pthread_body () Thread 8 (process 939 thread 0x2903): #0 0x9001f48c in select () #1 0x001412cc in ast_select (nfds=1, rfds=0xf0221cf0, wfds=0xf0222cf0, efds=0xf0223cf0, 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=0x16567e0) at utils.c:971 #5 0x9002b908 in _pthread_body () Thread 7 (process 939 thread 0x2803): #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=0x182c914, t=0x182c934) at lock.c:516 #3 0x0017a6a8 in tps_processing_function (data=0x182c910) at taskprocessor.c:293 #4 0x0019281c in dummy_start (data=0x163b310) at utils.c:971 #5 0x9002b908 in _pthread_body () Thread 6 (process 939 thread 0x2703): #0 0x9002bfc8 in semaphore_wait_signal_trap () #1 0x90001810 in pthread_mutex_lock () #2 0x000f56a8 in __ast_pthread_mutex_lock (filename=0x1d41b4 "channel.c", lineno=1641, func=0x1d5668 "ast_channel_cmp_cb", mutex_name=0x1cdef8 "chan", t=0xfc77000) at lock.c:230 #3 0x00034434 in __ao2_lock (user_data=0xfc77110, file=0x1d41b4 "channel.c", func=0x1d5668 "ast_channel_cmp_cb", line=1641, var=0x1cdef8 "chan") at astobj2.c:157 #4 0x000667d8 in ast_channel_cmp_cb (obj=0xfc77110, arg=0xf01aa1b0, flags=0) at channel.c:1641 #5 0x0003586c in internal_ao2_callback (c=0x1811d10, flags=0, cb_fn=0x66768, arg=0xf01aa1b0, data=0x0, type=DEFAULT, tag=0x0, file=0x0, line=0, funcname=0x0) at astobj2.c:669 #6 0x00035d1c in __ao2_callback (c=0x1811d10, flags=0, cb_fn=0x66768 , arg=0xf01aa1b0) at astobj2.c:765 #7 0x00035ee8 in __ao2_find (c=0x1811d10, arg=0xf01aa1b0, flags=0) at astobj2.c:792 #8 0x00066bdc in ast_channel_get_full (name=0xf01aabd0 "IAX2/x29-", name_len=9, exten=0x0, context=0x0) at channel.c:1691 #9 0x00066cf8 in ast_channel_get_by_name_prefix (name=0xf01aabd0 "IAX2/x29-", name_len=9) at channel.c:1720 #10 0x000a2c00 in ast_parse_device_state (device=0x49669d4 "IAX2/x29") at devicestate.c:273 #11 0x000a3040 in _ast_device_state (device=0x49669d4 "IAX2/x29", check_cache=0) at devicestate.c:353 #12 0x000a36c0 in do_state_change (device=0x49669d4 "IAX2/x29") at devicestate.c:456 #13 0x000a3b88 in do_devstate_changes (data=0x0) at devicestate.c:547 #14 0x0019281c in dummy_start (data=0x1638ec0) at utils.c:971 #15 0x9002b908 in _pthread_body () Thread 5 (process 939 thread 0x2503): #0 0x9002ec8c in kevent () #1 0x0017097c in kqueue_daemon (data=0x0) at stdtime/localtime.c:382 #2 0x0019281c in dummy_start (data=0x163b4a0) at utils.c:971 #3 0x9002b908 in _pthread_body () Thread 4 (process 939 thread 0x2103): #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=0x1201c70) at utils.c:971 #5 0x9002b908 in _pthread_body () Thread 3 (process 939 thread 0x2003): #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=0x1201b90) at utils.c:971 #5 0x9002b908 in _pthread_body () Thread 2 (process 939 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 939 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 939 thread 0xd03.