Fri Jan 14 14:34:03 EST 2011 ======================================================================= === Currently Held Locks ============================================== ======================================================================= === === (): (times locked) === === Thread ID: 26243072 (do_monitor started at [24408] chan_sip.c restart_monitor()) === ---> Lock #0 (chan_sip.c): MUTEX 23902 handle_request_do &netlock 0x30fb034 (1) === ---> Lock #1 (chan_sip.c): MUTEX 7464 find_call sip_pvt_ptr 0x18f6e00 (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 16145. Reading symbols for shared libraries ..+......................................................................................................................................................................................... done 0x00197c9c in ast_xml_node_get_next (node=0x1408970) at xml.c:301 301 { (gdb) #0 0x00197c9c in ast_xml_node_get_next (node=0x1408970) at xml.c:301 #1 0x00197a34 in ast_xml_find_element (root_node=0x120a910, name=0x1ec5c8 "function", attrname=0x1d43d4 "name", attrvalue=0x3714ae4 "LEN") at xml.c:225 #2 0x00199110 in xmldoc_get_node (type=0x1ec5c8 "function", name=0x3714ae4 "LEN", language=0x22a384 "en_US") at xmldoc.c:496 #3 0x0019d1b0 in xmldoc_build_field (type=0x1ec5c8 "function", name=0x3714ae4 "LEN", var=0x1d78d4 "description", raw=0) at xmldoc.c:1786 #4 0x0019d398 in ast_xmldoc_build_description (type=0x1ec5c8 "function", name=0x3714ae4 "LEN") at xmldoc.c:1816 #5 0x001239f8 in acf_retrieve_docs (acf=0x37152f0) at pbx.c:3389 #6 0x001240dc in __ast_custom_function_register (acf=0x37152f0, mod=0x1698830) at pbx.c:3428 #7 0x037138fc in load_module () at func_strings.c:1693 #8 0x000f3418 in start_resource (mod=0x1698830) at loader.c:785 #9 0x000f404c in load_resource_list (load_order=0xbfffe470, global_symbols=0, mod_count=0xbfffe47c) at loader.c:973 #10 0x000f4888 in load_modules (preload_only=0) at loader.c:1126 #11 0x00034880 in main (argc=2, argv=0xbffffa80) at asterisk.c:3797 (gdb) #0 0x00197c9c in ast_xml_node_get_next (node=0x1408970) at xml.c:301 No locals. #1 0x00197a34 in ast_xml_find_element (root_node=0x120a910, name=0x1ec5c8 "function", attrname=0x1d43d4 "name", attrvalue=0x3714ae4 "LEN") at xml.c:225 cur = (struct ast_xml_node *) 0x1408970 attr = 0x4c5dfd0 "" #2 0x00199110 in xmldoc_get_node (type=0x1ec5c8 "function", name=0x3714ae4 "LEN", language=0x22a384 "en_US") at xmldoc.c:496 node = (struct ast_xml_node *) 0x120a8b0 doctree = (struct documentation_tree *) 0x120a6e0 lang = 0x0 __PRETTY_FUNCTION__ = "xmldoc_get_node" #3 0x0019d1b0 in xmldoc_build_field (type=0x1ec5c8 "function", name=0x3714ae4 "LEN", var=0x1d78d4 "description", raw=0) at xmldoc.c:1786 node = (struct ast_xml_node *) 0x1491800 ret = 0x0 formatted = (struct ast_str *) 0xbfffdfd0 __PRETTY_FUNCTION__ = "xmldoc_build_field" #4 0x0019d398 in ast_xmldoc_build_description (type=0x1ec5c8 "function", name=0x3714ae4 "LEN") at xmldoc.c:1816 No locals. #5 0x001239f8 in acf_retrieve_docs (acf=0x37152f0) at pbx.c:3389 tmpxml = 0x4c5ae00 "" __PRETTY_FUNCTION__ = "acf_retrieve_docs" #6 0x001240dc in __ast_custom_function_register (acf=0x37152f0, mod=0x1698830) at pbx.c:3428 cur = (struct ast_custom_function *) 0x34e3028 tmps = "?\021\000\000\000\017XT`\004k@\000\017Z@\002F`\000\000\000&\000\000\000\000\000!\000\000\000\000\000\036d\000\036[t\000!\004 0\001iҐ\000\000\000\001" __PRETTY_FUNCTION__ = "__ast_custom_function_register" #7 0x037138fc in load_module () at func_strings.c:1693 res = 0 #8 0x000f3418 in start_resource (mod=0x1698830) at loader.c:785 tmp = "\000\000\000\000\001i0\001iy0\000\000\000\002\000\000\000\000\000\000\000\002\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\0000\000\017<\000\000\000\000\000\016D4\000\000\000\000#:\001iy0\001i0", '\0' , "\000\000\000\000\000\000\000\001\000\000\000\003\000\000\000\002?\021\000\000\000\0176\000\000\000\001\000\017<\000\000\000\000\000\016B\000\000\000\025\001i`\000\000\000\000\001e\000\000\000\001\001i0\000!\v", '\0' , "?\021\000\000"... res = -2139095040 __PRETTY_FUNCTION__ = "start_resource" #9 0x000f404c in load_resource_list (load_order=0xbfffe470, global_symbols=0, mod_count=0xbfffe47c) at loader.c:973 resource_heap = (struct ast_heap *) 0x1659790 order = (struct load_order_entry *) 0x0 mod = (struct ast_module *) 0x1698830 count = 115 res = 0 __PRETTY_FUNCTION__ = "load_resource_list" #10 0x000f4888 in load_modules (preload_only=0) at loader.c:1126 cfg = (struct ast_config *) 0x1657bd0 mod = (struct ast_module *) 0x0 order = (struct load_order_entry *) 0x0 v = (struct ast_variable *) 0x0 load_count = 179 load_order = { first = 0x0, last = 0x0 } res = 0 config_flags = { flags = 0 } modulecount = 9 dirent = (struct dirent *) 0x0 dir = (DIR *) 0x1659bb0 __PRETTY_FUNCTION__ = "load_modules" #11 0x00034880 in main (argc=2, argv=0xbffffa80) at asterisk.c:3797 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 32 (process 16145 thread 0x6547): #0 0x9002bfc8 in semaphore_wait_signal_trap () #1 0x90030aac in pthread_cond_wait () #2 0x000f68c8 in __ast_cond_wait (filename=0x1f3864 "taskprocessor.c", lineno=293, func=0x1f3c00 "tps_processing_function", cond_name=0x1f3c7c "&i->poll_cond", mutex_name=0x1f3c64 "&i->taskprocessor_lock", cond=0x1939b14, t=0x1939b34) at lock.c:516 #3 0x0017a85c in tps_processing_function (data=0x1939b10) at taskprocessor.c:293 #4 0x001929d0 in dummy_start (data=0x4c30c40) at utils.c:971 #5 0x9002b908 in _pthread_body () Thread 31 (process 16145 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 0x000a9fdc in ast_search_dns (context=0xf0724a08, dname=0xf0724a7c "_sip._udp.sip.messagenet.it", class=1, type=33, callback=0x16f50c ) at dns.c:268 #10 0x00170074 in ast_get_srv (chan=0x0, host=0xf0724b7c "\001p", hostlen=256, port=0xf0724c7c, service=0xf0724a7c "_sip._udp.sip.messagenet.it") at srv.c:265 #11 0x0000c4cc in ast_get_ip_or_srv (addr=0x18a9794, value=0x18a9942 "sip.messagenet.it", service=0xf07256b8 "_sip._udp") at acl.c:585 #12 0x000aa984 in ast_dnsmgr_lookup (name=0x18a9942 "sip.messagenet.it", result=0x18a9794, dnsmgr=0x18a9790, service=0xf07256b8 "_sip._udp") at dnsmgr.c:137 #13 0x030703c8 in transmit_register (r=0x18a9600, sipmethod=2, auth=0x0, authheader=0x0) at chan_sip.c:12254 #14 0x0306fee8 in __sip_do_register (r=0x18a9600) at chan_sip.c:12159 #15 0x0306fe88 in sip_reregister (data=0x18a9600) at chan_sip.c:12147 #16 0x0016cb20 in ast_sched_runq (con=0x4c2c860) at sched.c:636 #17 0x030b1aa4 in do_monitor (data=0x0) at chan_sip.c:24381 #18 0x001929d0 in dummy_start (data=0x4c30fd0) at utils.c:971 #19 0x9002b908 in _pthread_body () Thread 30 (process 16145 thread 0x6203): #0 0x9001f48c in select () #1 0x00141340 in ast_select (nfds=22, rfds=0xf06e5ce0, wfds=0xf06e6ce0, efds=0xf06e7ce0, tvp=0xf06e8ce0) at /private/var/root/asterisk/asterisk-1.8.1.1/include/asterisk/select.h:88 #2 0x00141248 in ast_internal_poll (pArray=0x1862a00, n_fds=2, timeout=1000) at poll.c:254 #3 0x000edd84 in ast_io_wait (ioc=0x4c23d40, howlong=1000) at io.c:275 #4 0x026cdb28 in network_thread (ignore=0x0) at chan_iax2.c:12075 #5 0x001929d0 in dummy_start (data=0x4c2a360) at utils.c:971 #6 0x9002b908 in _pthread_body () Thread 29 (process 16145 thread 0x6103): #0 0x9002bfc8 in semaphore_wait_signal_trap () #1 0x90030aac in pthread_cond_wait () #2 0x000f68c8 in __ast_cond_wait (filename=0x26e9b80 "chan_iax2.c", lineno=11612, func=0x26ea230 "iax2_process_thread", cond_name=0x26ea1f8 "&thread->cond", mutex_name=0x26ea1e8 "&thread->lock", cond=0x1892594, t=0x1892494) at lock.c:516 #3 0x026cb270 in iax2_process_thread (data=0x1891400) at chan_iax2.c:11612 #4 0x001929d0 in dummy_start (data=0x4c2a280) at utils.c:971 #5 0x9002b908 in _pthread_body () Thread 28 (process 16145 thread 0x6003): #0 0x9002bfc8 in semaphore_wait_signal_trap () #1 0x90030aac in pthread_cond_wait () #2 0x000f68c8 in __ast_cond_wait (filename=0x26e9b80 "chan_iax2.c", lineno=11612, func=0x26ea230 "iax2_process_thread", cond_name=0x26ea1f8 "&thread->cond", mutex_name=0x26ea1e8 "&thread->lock", cond=0x1890394, t=0x1890294) at lock.c:516 #3 0x026cb270 in iax2_process_thread (data=0x188f200) at chan_iax2.c:11612 #4 0x001929d0 in dummy_start (data=0x4c2a1a0) at utils.c:971 #5 0x9002b908 in _pthread_body () Thread 27 (process 16145 thread 0x5f03): #0 0x9002bfc8 in semaphore_wait_signal_trap () #1 0x90030aac in pthread_cond_wait () #2 0x000f68c8 in __ast_cond_wait (filename=0x26e9b80 "chan_iax2.c", lineno=11612, func=0x26ea230 "iax2_process_thread", cond_name=0x26ea1f8 "&thread->cond", mutex_name=0x26ea1e8 "&thread->lock", cond=0x188e194, t=0x188e094) at lock.c:516 #3 0x026cb270 in iax2_process_thread (data=0x188d000) at chan_iax2.c:11612 #4 0x001929d0 in dummy_start (data=0x4c2a0c0) at utils.c:971 #5 0x9002b908 in _pthread_body () Thread 26 (process 16145 thread 0x5e03): #0 0x9002bfc8 in semaphore_wait_signal_trap () #1 0x90030aac in pthread_cond_wait () #2 0x000f68c8 in __ast_cond_wait (filename=0x26e9b80 "chan_iax2.c", lineno=11612, func=0x26ea230 "iax2_process_thread", cond_name=0x26ea1f8 "&thread->cond", mutex_name=0x26ea1e8 "&thread->lock", cond=0x188bf94, t=0x188be94) at lock.c:516 #3 0x026cb270 in iax2_process_thread (data=0x188ae00) at chan_iax2.c:11612 #4 0x001929d0 in dummy_start (data=0x4c264a0) at utils.c:971 #5 0x9002b908 in _pthread_body () Thread 25 (process 16145 thread 0x4c03): #0 0x9002bfc8 in semaphore_wait_signal_trap () #1 0x90030aac in pthread_cond_wait () #2 0x000f68c8 in __ast_cond_wait (filename=0x26e9b80 "chan_iax2.c", lineno=11612, func=0x26ea230 "iax2_process_thread", cond_name=0x26ea1f8 "&thread->cond", mutex_name=0x26ea1e8 "&thread->lock", cond=0x1889d94, t=0x1889c94) at lock.c:516 #3 0x026cb270 in iax2_process_thread (data=0x1888c00) at chan_iax2.c:11612 #4 0x001929d0 in dummy_start (data=0x4c26c70) at utils.c:971 #5 0x9002b908 in _pthread_body () Thread 24 (process 16145 thread 0x4b03): #0 0x9002bfc8 in semaphore_wait_signal_trap () #1 0x90030aac in pthread_cond_wait () #2 0x000f68c8 in __ast_cond_wait (filename=0x26e9b80 "chan_iax2.c", lineno=11612, func=0x26ea230 "iax2_process_thread", cond_name=0x26ea1f8 "&thread->cond", mutex_name=0x26ea1e8 "&thread->lock", cond=0x1887b94, t=0x1887a94) at lock.c:516 #3 0x026cb270 in iax2_process_thread (data=0x1886a00) at chan_iax2.c:11612 #4 0x001929d0 in dummy_start (data=0x4c26490) at utils.c:971 #5 0x9002b908 in _pthread_body () Thread 23 (process 16145 thread 0x4a03): #0 0x9002bfc8 in semaphore_wait_signal_trap () #1 0x90030aac in pthread_cond_wait () #2 0x000f68c8 in __ast_cond_wait (filename=0x26e9b80 "chan_iax2.c", lineno=11612, func=0x26ea230 "iax2_process_thread", cond_name=0x26ea1f8 "&thread->cond", mutex_name=0x26ea1e8 "&thread->lock", cond=0x1885994, t=0x1885894) at lock.c:516 #3 0x026cb270 in iax2_process_thread (data=0x1884800) at chan_iax2.c:11612 #4 0x001929d0 in dummy_start (data=0x4c26480) at utils.c:971 #5 0x9002b908 in _pthread_body () Thread 22 (process 16145 thread 0x4903): #0 0x9002bfc8 in semaphore_wait_signal_trap () #1 0x90030aac in pthread_cond_wait () #2 0x000f68c8 in __ast_cond_wait (filename=0x26e9b80 "chan_iax2.c", lineno=11612, func=0x26ea230 "iax2_process_thread", cond_name=0x26ea1f8 "&thread->cond", mutex_name=0x26ea1e8 "&thread->lock", cond=0x1883794, t=0x1883694) at lock.c:516 #3 0x026cb270 in iax2_process_thread (data=0x1882600) at chan_iax2.c:11612 #4 0x001929d0 in dummy_start (data=0x4c26210) at utils.c:971 #5 0x9002b908 in _pthread_body () Thread 21 (process 16145 thread 0x4803): #0 0x9002bfc8 in semaphore_wait_signal_trap () #1 0x90030aac in pthread_cond_wait () #2 0x000f68c8 in __ast_cond_wait (filename=0x26e9b80 "chan_iax2.c", lineno=11612, func=0x26ea230 "iax2_process_thread", cond_name=0x26ea1f8 "&thread->cond", mutex_name=0x26ea1e8 "&thread->lock", cond=0x1881994, t=0x1881894) at lock.c:516 #3 0x026cb270 in iax2_process_thread (data=0x1880800) at chan_iax2.c:11612 #4 0x001929d0 in dummy_start (data=0x4c26200) at utils.c:971 #5 0x9002b908 in _pthread_body () Thread 20 (process 16145 thread 0x4703): #0 0x9002bfc8 in semaphore_wait_signal_trap () #1 0x90030aac in pthread_cond_wait () #2 0x000f68c8 in __ast_cond_wait (filename=0x26e9b80 "chan_iax2.c", lineno=11612, func=0x26ea230 "iax2_process_thread", cond_name=0x26ea1f8 "&thread->cond", mutex_name=0x26ea1e8 "&thread->lock", cond=0x187fb94, t=0x187fa94) at lock.c:516 #3 0x026cb270 in iax2_process_thread (data=0x187ea00) at chan_iax2.c:11612 #4 0x001929d0 in dummy_start (data=0x4c261f0) at utils.c:971 #5 0x9002b908 in _pthread_body () Thread 19 (process 16145 thread 0x4603): #0 0x90053f88 in semaphore_timedwait_signal_trap () #1 0x90053de4 in pthread_cond_timedwait () #2 0x000f6fb8 in __ast_cond_timedwait (filename=0x1f2798 "sched.c", lineno=112, func=0x1f27b4 "sched_run", cond_name=0x1f27cc "&st->cond", mutex_name=0x1f27c0 "&st->lock", cond=0x4c24754, t=0x4c24654, abstime=0xf0449d40) at lock.c:620 #3 0x0016ab7c in sched_run (data=0x4c24650) at sched.c:112 #4 0x001929d0 in dummy_start (data=0x4c23140) at utils.c:971 #5 0x9002b908 in _pthread_body () Thread 18 (process 16145 thread 0x4503): #0 0x9002bfc8 in semaphore_wait_signal_trap () #1 0x90030aac in pthread_cond_wait () #2 0x000f68c8 in __ast_cond_wait (filename=0x1f3864 "taskprocessor.c", lineno=293, func=0x1f3c00 "tps_processing_function", cond_name=0x1f3c7c "&i->poll_cond", mutex_name=0x1f3c64 "&i->taskprocessor_lock", cond=0x1862714, t=0x1862734) at lock.c:516 #3 0x0017a85c in tps_processing_function (data=0x1862710) at taskprocessor.c:293 #4 0x001929d0 in dummy_start (data=0x4c22f30) at utils.c:971 #5 0x9002b908 in _pthread_body () Thread 17 (process 16145 thread 0x4403): #0 0x9001f48c in select () #1 0x0014149c in ast_select (nfds=17, rfds=0xf03c8cb0, wfds=0xf03c9cb0, efds=0xf03cacb0, tvp=0x0) at /private/var/root/asterisk/asterisk-1.8.1.1/include/asterisk/select.h:101 #2 0x00141248 in ast_internal_poll (pArray=0xf03cfd38, n_fds=1, timeout=-1) at poll.c:254 #3 0x01396cf0 in monmp3thread (data=0x1855310) at res_musiconhold.c:641 #4 0x001929d0 in dummy_start (data=0x1201af0) at utils.c:971 #5 0x9002b908 in _pthread_body () Thread 16 (process 16145 thread 0x4303): #0 0x90053f88 in semaphore_timedwait_signal_trap () #1 0x90053de4 in pthread_cond_timedwait () #2 0x000f6fb8 in __ast_cond_timedwait (filename=0x3920ae0 "res_timing_pthread.c", lineno=463, func=0x3920ce8 "do_timing", cond_name=0x3920b50 "&timing_thread.cond", mutex_name=0x3920b3c "&timing_thread.lock", cond=0x3921244, t=0x3921144, abstime=0xf0392d58) at lock.c:620 #3 0x0391fcd4 in do_timing (arg=0x0) at res_timing_pthread.c:463 #4 0x001929d0 in dummy_start (data=0x1202750) at utils.c:971 #5 0x9002b908 in _pthread_body () Thread 15 (process 16145 thread 0x3103): #0 0x90053f88 in semaphore_timedwait_signal_trap () #1 0x90053de4 in pthread_cond_timedwait () #2 0x000f6fb8 in __ast_cond_timedwait (filename=0x5c7ac0 "res_calendar.c", lineno=1647, func=0x5c8c80 "do_refresh", cond_name=0x5c8318 "&refresh_condition", mutex_name=0x5c81ec "&refreshlock", cond=0x5c979c, t=0x5c969c, abstime=0xf0355d78) at lock.c:620 #3 0x005c6788 in do_refresh (data=0x0) at res_calendar.c:1647 #4 0x001929d0 in dummy_start (data=0x16874c0) at utils.c:971 #5 0x9002b908 in _pthread_body () Thread 14 (process 16145 thread 0x2f03): #0 0x9001f48c in select () #1 0x00141340 in ast_select (nfds=16, rfds=0xf0313c40, wfds=0xf0314c40, efds=0xf0315c40, tvp=0xf0316c40) at /private/var/root/asterisk/asterisk-1.8.1.1/include/asterisk/select.h:88 #2 0x00141248 in ast_internal_poll (pArray=0xf0316ca0, n_fds=1, timeout=1000) at poll.c:254 #3 0x00760430 in aji_io_recv (client=0x183fe00, buffer=0xf0316d0c "", buf_len=4094, timeout=1) at res_jabber.c:1307 #4 0x00760574 in aji_recv (client=0x183fe00, timeout=1) at res_jabber.c:1350 #5 0x00767364 in aji_recv_loop (data=0x183fe00) at res_jabber.c:2728 #6 0x001929d0 in dummy_start (data=0x165c390) at utils.c:971 #7 0x9002b908 in _pthread_body () Thread 13 (process 16145 thread 0x2c03): #0 0x9001f48c in select () #1 0x00141340 in ast_select (nfds=15, rfds=0xf02d6c40, wfds=0xf02d7c40, efds=0xf02d8c40, tvp=0xf02d9c40) at /private/var/root/asterisk/asterisk-1.8.1.1/include/asterisk/select.h:88 #2 0x00141248 in ast_internal_poll (pArray=0xf02d9ca0, n_fds=1, timeout=1000) at poll.c:254 #3 0x00760430 in aji_io_recv (client=0x1841a00, buffer=0xf02d9d0c "", buf_len=4094, timeout=1) at res_jabber.c:1307 #4 0x00760574 in aji_recv (client=0x1841a00, timeout=1) at res_jabber.c:1350 #5 0x00767364 in aji_recv_loop (data=0x1841a00) at res_jabber.c:2728 #6 0x001929d0 in dummy_start (data=0x165ce00) at utils.c:971 #7 0x9002b908 in _pthread_body () Thread 12 (process 16145 thread 0x2b03): #0 0x9002bfc8 in semaphore_wait_signal_trap () #1 0x90030aac in pthread_cond_wait () #2 0x000f68c8 in __ast_cond_wait (filename=0x1f2798 "sched.c", lineno=106, func=0x1f27b4 "sched_run", cond_name=0x1f27cc "&st->cond", mutex_name=0x1f27c0 "&st->lock", cond=0x16589b4, t=0x16588b4) at lock.c:516 #3 0x0016aab0 in sched_run (data=0x16588b0) at sched.c:106 #4 0x001929d0 in dummy_start (data=0x1657e70) at utils.c:971 #5 0x9002b908 in _pthread_body () Thread 11 (process 16145 thread 0x2a03): #0 0x9002bfc8 in semaphore_wait_signal_trap () #1 0x90030aac in pthread_cond_wait () #2 0x000f68c8 in __ast_cond_wait (filename=0x1f3864 "taskprocessor.c", lineno=293, func=0x1f3c00 "tps_processing_function", cond_name=0x1f3c7c "&i->poll_cond", mutex_name=0x1f3c64 "&i->taskprocessor_lock", cond=0x183c114, t=0x183c134) at lock.c:516 #3 0x0017a85c in tps_processing_function (data=0x183c110) at taskprocessor.c:293 #4 0x001929d0 in dummy_start (data=0x1658380) at utils.c:971 #5 0x9002b908 in _pthread_body () Thread 10 (process 16145 thread 0x2903): #0 0x9002bfc8 in semaphore_wait_signal_trap () #1 0x90030aac in pthread_cond_wait () #2 0x000f68c8 in __ast_cond_wait (filename=0x1dc398 "db.c", lineno=749, func=0x1dcbb4 "db_sync_thread", cond_name=0x1dcbac "&dbcond", mutex_name=0x1dc3c0 "&dblock", cond=0x216254, t=0x206d24) at lock.c:516 #3 0x000a2e58 in db_sync_thread (data=0x0) at db.c:749 #4 0x001929d0 in dummy_start (data=0x16569c0) at utils.c:971 #5 0x9002b908 in _pthread_body () Thread 9 (process 16145 thread 0x2803): #0 0x9001f48c in select () #1 0x0014149c in ast_select (nfds=1, rfds=0xf01e4cf0, wfds=0xf01e5cf0, efds=0xf01e6cf0, tvp=0x0) at /private/var/root/asterisk/asterisk-1.8.1.1/include/asterisk/select.h:101 #2 0x00141248 in ast_internal_poll (pArray=0x0, n_fds=0, timeout=-1) at poll.c:254 #3 0x000c9d2c in do_parking_thread (ignore=0x0) at features.c:3913 #4 0x001929d0 in dummy_start (data=0x16566d0) at utils.c:971 #5 0x9002b908 in _pthread_body () Thread 8 (process 16145 thread 0x2703): #0 0x9002bfc8 in semaphore_wait_signal_trap () #1 0x90030aac in pthread_cond_wait () #2 0x000f68c8 in __ast_cond_wait (filename=0x1f3864 "taskprocessor.c", lineno=293, func=0x1f3c00 "tps_processing_function", cond_name=0x1f3c7c "&i->poll_cond", mutex_name=0x1f3c64 "&i->taskprocessor_lock", cond=0x182bb14, t=0x182bb34) at lock.c:516 #3 0x0017a85c in tps_processing_function (data=0x182bb10) at taskprocessor.c:293 #4 0x001929d0 in dummy_start (data=0x163b200) at utils.c:971 #5 0x9002b908 in _pthread_body () Thread 7 (process 16145 thread 0x2603): #0 0x9002bfc8 in semaphore_wait_signal_trap () #1 0x90030aac in pthread_cond_wait () #2 0x000f68c8 in __ast_cond_wait (filename=0x1dcbf4 "devicestate.c", lineno=539, func=0x1dceac "do_devstate_changes", cond_name=0x1dce9c "&change_pending", mutex_name=0x1dcec0 "&state_changes.lock", cond=0x2164d4, t=0x2163d4) at lock.c:516 #3 0x000a454c in do_devstate_changes (data=0x0) at devicestate.c:539 #4 0x001929d0 in dummy_start (data=0x1638db0) at utils.c:971 #5 0x9002b908 in _pthread_body () Thread 6 (process 16145 thread 0x2403): #0 0x9002ec8c in kevent () #1 0x00170b30 in kqueue_daemon (data=0x0) at stdtime/localtime.c:382 #2 0x001929d0 in dummy_start (data=0x163b390) at utils.c:971 #3 0x9002b908 in _pthread_body () Thread 5 (process 16145 thread 0x2303): #0 0x9001f48c in select () #1 0x0014149c in ast_select (nfds=7, rfds=0xf00f0a10, wfds=0xf00f1a10, efds=0xf00f2a10, tvp=0x0) at /private/var/root/asterisk/asterisk-1.8.1.1/include/asterisk/select.h:101 #2 0x00141248 in ast_internal_poll (pArray=0xf00f3d70, n_fds=2, timeout=-1) at poll.c:254 #3 0x0002a224 in netconsole (vconsole=0x2317f0) at asterisk.c:1244 #4 0x001929d0 in dummy_start (data=0x1202210) at utils.c:971 #5 0x9002b908 in _pthread_body () Thread 4 (process 16145 thread 0x2103): #0 0x9002bfc8 in semaphore_wait_signal_trap () #1 0x90030aac in pthread_cond_wait () #2 0x000f68c8 in __ast_cond_wait (filename=0x1e6550 "logger.c", lineno=993, func=0x1e7434 "logger_thread", cond_name=0x1e7444 "&logcond", mutex_name=0x1e7450 "&logmsgs.lock", cond=0x218a6c, t=0x21896c) at lock.c:516 #3 0x000fc1fc in logger_thread (data=0x0) at logger.c:993 #4 0x001929d0 in dummy_start (data=0x1201c30) at utils.c:971 #5 0x9002b908 in _pthread_body () Thread 3 (process 16145 thread 0x2003): #0 0x9001f48c in select () #1 0x0014149c in ast_select (nfds=5, rfds=0xf0076c90, wfds=0xf0077c90, efds=0xf0078c90, tvp=0x0) at /private/var/root/asterisk/asterisk-1.8.1.1/include/asterisk/select.h:101 #2 0x00141248 in ast_internal_poll (pArray=0xf0079d74, n_fds=1, timeout=-1) at poll.c:254 #3 0x0002a5a4 in listener (unused=0x0) at asterisk.c:1297 #4 0x001929d0 in dummy_start (data=0x1201b50) at utils.c:971 #5 0x9002b908 in _pthread_body () Thread 2 (process 16145 thread 0xc07): #0 0x9002bfc8 in semaphore_wait_signal_trap () #1 0x90030aac in pthread_cond_wait () #2 0x000f68c8 in __ast_cond_wait (filename=0x1f3864 "taskprocessor.c", lineno=293, func=0x1f3c00 "tps_processing_function", cond_name=0x1f3c7c "&i->poll_cond", mutex_name=0x1f3c64 "&i->taskprocessor_lock", cond=0x1804714, t=0x1804734) at lock.c:516 #3 0x0017a85c in tps_processing_function (data=0x1804710) at taskprocessor.c:293 #4 0x001929d0 in dummy_start (data=0x1201900) at utils.c:971 #5 0x9002b908 in _pthread_body () Thread 1 (process 16145 thread 0xd03): #0 0x00197c9c in ast_xml_node_get_next (node=0x1408970) at xml.c:301 #1 0x00197a34 in ast_xml_find_element (root_node=0x120a910, name=0x1ec5c8 "function", attrname=0x1d43d4 "name", attrvalue=0x3714ae4 "LEN") at xml.c:225 #2 0x00199110 in xmldoc_get_node (type=0x1ec5c8 "function", name=0x3714ae4 "LEN", language=0x22a384 "en_US") at xmldoc.c:496 #3 0x0019d1b0 in xmldoc_build_field (type=0x1ec5c8 "function", name=0x3714ae4 "LEN", var=0x1d78d4 "description", raw=0) at xmldoc.c:1786 #4 0x0019d398 in ast_xmldoc_build_description (type=0x1ec5c8 "function", name=0x3714ae4 "LEN") at xmldoc.c:1816 #5 0x001239f8 in acf_retrieve_docs (acf=0x37152f0) at pbx.c:3389 #6 0x001240dc in __ast_custom_function_register (acf=0x37152f0, mod=0x1698830) at pbx.c:3428 #7 0x037138fc in load_module () at func_strings.c:1693 #8 0x000f3418 in start_resource (mod=0x1698830) at loader.c:785 #9 0x000f404c in load_resource_list (load_order=0xbfffe470, global_symbols=0, mod_count=0xbfffe47c) at loader.c:973 #10 0x000f4888 in load_modules (preload_only=0) at loader.c:1126 #11 0x00034880 in main (argc=2, argv=0xbffffa80) at asterisk.c:3797 (gdb) Detaching from program: `/usr/sbin/asterisk', process 16145 thread 0xd03.