[.. lots of stuff ..] Reading symbols from /usr/lib/asterisk/modules/func_extstate.so...done. Loaded symbols for /usr/lib/asterisk/modules/func_extstate.so Reading symbols from /usr/lib/asterisk/modules/codec_alaw.so...done. Loaded symbols for /usr/lib/asterisk/modules/codec_alaw.so Core was generated by `/usr/sbin/asterisk -f -vvvg -c'. Program terminated with signal 11, Segmentation fault. #0 0xb7eaf7ea in free () from /lib/tls/i686/cmov/libc.so.6 (gdb) bt #0 0xb7eaf7ea in free () from /lib/tls/i686/cmov/libc.so.6 #1 0xb7cae15a in ber_memfree_x (p=0x0, ctx=0x1) at memory.c:152 #2 0xb7cae7c7 in ber_bvfree_x (bv=0x3b305b1b, ctx=0x820185d) at memory.c:380 #3 0xb7cae847 in ber_bvecfree_x (bv=0x81ffd70, ctx=0x0) at memory.c:408 #4 0xb7cae895 in ber_bvecfree (bv=0x81ffd70) at memory.c:417 #5 0xb7ceafa3 in realtime_ldap_entry_to_var (table_config=0x81e2308, ldap_entry=0x82734c0) at res_config_ldap.c:330 #6 0xb7ceb07d in realtime_ldap_result_to_vars (table_config=0x81e2308, ldap_result=0x82734c0, entries_count_ptr=0x0) at res_config_ldap.c:365 #7 0xb7ceccf5 in realtime_ldap_base_ap (entries_count_ptr=0x0, basedn=0xb7786a44 "dc=argentina,dc=mycompany,dc=com", table_name=0xb7786944 "sip", ap=0xb7786ba8 "\0314%\b\200@'\bk\001") at res_config_ldap.c:815 #8 0xb7cecf64 in realtime_ldap (basedn=0xb7786a44 "dc=argentina,dc=mycompany,dc=com", table_name=0xb7786944 "sip", ap=0xb7786b94 "v\t\203·\001mx·S\n\203·K\n\203·") at res_config_ldap.c:904 #9 0x080a7222 in ast_load_realtime_helper (family=0xb7830937 "sippeers", ap=0xb7786b94 "v\t\203·\001mx·S\n\203·K\n\203·") at config.c:2023 #10 0x080a7293 in ast_load_realtime (family=0xb7830937 "sippeers") at config.c:2046 #11 0xb77d0f7a in realtime_peer (newpeername=0xb7786d01 "gservat", sin=0x0) at chan_sip.c:3538 #12 0xb77d1bb4 in find_peer (peer=0xb7786d01 "gservat", sin=0x0, realtime=1) at chan_sip.c:3726 #13 0xb77f3e03 in register_verify (p=0x8273fc8, sin=0xb77882c0, req=0xb7787088, uri=0xb77872b5 "sip:gs.gotdns.org") at chan_sip.c:10234 #14 0xb781bc46 in handle_request_register (p=0x8273fc8, req=0xb7787088, sin=0xb77882c0, e=0xb77872b5 "sip:gs.gotdns.org") at chan_sip.c:17651 #15 0xb781cd9e in handle_incoming (p=0x8273fc8, req=0xb7787088, sin=0xb77882c0, recount=0xb778701c, nounlock=0xb7787018) at chan_sip.c:17870 #16 0xb781d803 in handle_request_do (req=0xb7787088, sin=0xb77882c0) at chan_sip.c:18019 #17 0xb781d292 in sipsock_read (id=0x81eefe0, fd=13, events=1, ignore=0x0) at chan_sip.c:17947 #18 0x080d447d in ast_io_wait (ioc=0x81f7338, howlong=1000) at io.c:287 #19 0xb781e88d in do_monitor (data=0x0) at chan_sip.c:18336 #20 0x08140b42 in dummy_start (data=0x822c190) at utils.c:857 #21 0xb7e2a46b in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #22 0xb7f156de in clone () from /lib/tls/i686/cmov/libc.so.6 (gdb) bt full #0 0xb7eaf7ea in free () from /lib/tls/i686/cmov/libc.so.6 No symbol table info available. #1 0xb7cae15a in ber_memfree_x (p=0x0, ctx=0x1) at memory.c:152 __PRETTY_FUNCTION__ = "ber_memfree_x" #2 0xb7cae7c7 in ber_bvfree_x (bv=0x3b305b1b, ctx=0x820185d) at memory.c:380 No locals. #3 0xb7cae847 in ber_bvecfree_x (bv=0x81ffd70, ctx=0x0) at memory.c:408 i = 1 #4 0xb7cae895 in ber_bvecfree (bv=0x81ffd70) at memory.c:417 No locals. #5 0xb7ceafa3 in realtime_ldap_entry_to_var (table_config=0x81e2308, ldap_entry=0x82734c0) at res_config_ldap.c:330 v = (struct berval **) 0x81ffd74 values = (struct berval **) 0x81ffd70 attribute_name = 0x81e4b80 "md5secret" is_realmed_password_attribute = 1 ber = (BerElement *) 0x8273480 var = (struct ast_variable *) 0x81f9468 prev = (struct ast_variable *) 0x8201880 is_delimited = 0 i = 0 ldap_attribute_name = 0x81ffba8 "userPassword" value = (struct berval *) 0x8253278 pos = 0 __PRETTY_FUNCTION__ = "realtime_ldap_entry_to_var" #6 0xb7ceb07d in realtime_ldap_result_to_vars (table_config=0x81e2308, ldap_result=0x82734c0, entries_count_ptr=0x0) at res_config_ldap.c:365 vars = (struct ast_variable **) 0xb7ce94bc i = 0 tot_count = 0 entry_index = 0 ldap_entry = (LDAPMessage *) 0x82734c0 ber = (BerElement *) 0x0 var = (struct ast_variable *) 0x0 prev = (struct ast_variable *) 0x0 is_delimited = 0 delim_value = 0x0 delim_tot_count = 0 delim_count = 0 __PRETTY_FUNCTION__ = "realtime_ldap_result_to_vars" #7 0xb7ceccf5 in realtime_ldap_base_ap (entries_count_ptr=0x0, basedn=0xb7786a44 "dc=argentina,dc=mycompany,dc=com", table_name=0xb7786944 "sip", ap=0xb7786ba8 "\0314%\b\200@'\bk\001") at res_config_ldap.c:815 vars = (struct ast_variable **) 0x0 newparam = 0x0 newval = 0xb7830a4b "dynamic" table_config = (struct ldap_table_config *) 0x81e2308 clean_basedn = 0x8254cf8 "dc=argentina,dc=mycompany,dc=com" filter = (struct ast_str *) 0x8253588 tries = 0 result = 0 ldap_result = (LDAPMessage *) 0x82734c0 __PRETTY_FUNCTION__ = "realtime_ldap_base_ap" #8 0xb7cecf64 in realtime_ldap (basedn=0xb7786a44 "dc=argentina,dc=mycompany,dc=com", table_name=0xb7786944 "sip", ap=0xb7786b94 "v\t\203·\001mx·S\n\203·K\n\203·") at res_config_ldap.c:904 vars = (struct ast_variable **) 0x81d60d1 var = (struct ast_variable *) 0x0 #9 0x080a7222 in ast_load_realtime_helper (family=0xb7830937 "sippeers", ap=0xb7786b94 "v\t\203·\001mx·S\n\203·K\n\203·") at config.c:2023 eng = (struct ast_config_engine *) 0xb7cf2420 db = "dc=argentina,dc=mycompany,dc=com", '\0' table = "sip", '\0' res = (struct ast_variable *) 0x0 #10 0x080a7293 in ast_load_realtime (family=0xb7830937 "sippeers") at config.c:2046 res = (struct ast_variable *) 0xb7fa4660 cur = (struct ast_variable *) 0x1 prev = (struct ast_variable *) 0x0 freeme = (struct ast_variable *) 0x0 ap = 0xb7786b94 "v\t\203·\001mx·S\n\203·K\n\203·" #11 0xb77d0f7a in realtime_peer (newpeername=0xb7786d01 "gservat", sin=0x0) at chan_sip.c:3538 peer = (struct sip_peer *) 0xb7e2d8ac var = (struct ast_variable *) 0x0 varregs = (struct ast_variable *) 0x0 tmp = (struct ast_variable *) 0x1 peerlist = (struct ast_config *) 0x0 ipaddr = "\030lx·&%ò·\204;\204·\\\036\204·" portstring = "\203·\000lx·" cat = 0x0 portnum = 2074 realtimeregs = 0 __PRETTY_FUNCTION__ = "realtime_peer" #12 0xb77d1bb4 in find_peer (peer=0xb7786d01 "gservat", sin=0x0, realtime=1) at chan_sip.c:3726 p = (struct sip_peer *) 0x0 #13 0xb77f3e03 in register_verify (p=0x8273fc8, sin=0xb77882c0, req=0xb7787088, uri=0xb77872b5 "sip:gs.gotdns.org") at chan_sip.c:10234 res = AUTH_NOT_FOUND peer = (struct sip_peer *) 0xb7f87ff4 tmp = "\"10\", "ë)\203·", '\0' , "Otx·Xtx·Ntxmm\000\000\000\000\000\000\000\\\036\204·\000\000\000\000ÿÿÿÿ\fÜä·X\030ù·Õsx·ÿÿÿÿôÏú·ø\\|·"... name = 0xb7786d01 "gservat" c = 0x0 domain = 0xb7786d09 "gs.gotdns.org" __PRETTY_FUNCTION__ = "register_verify" #14 0xb781bc46 in handle_request_register (p=0x8273fc8, req=0xb7787088, sin=0xb77882c0, e=0xb77872b5 "sip:gs.gotdns.org") at chan_sip.c:17651 res = -1216094933 __PRETTY_FUNCTION__ = "handle_request_register" #15 0xb781cd9e in handle_incoming (p=0x8273fc8, req=0xb7787088, sin=0xb77882c0, recount=0xb778701c, nounlock=0xb7787018) at chan_sip.c:17870 cmd = 0xb77872ac "REGISTER" cseq = 0xb778744e "2 REGISTER" useragent = 0xb77874c4 "Zoiper rev.647" seqno = 2 len = 1 respid = 134547392 res = 0 debug = 0 e = 0xb77872b5 "sip:gs.gotdns.org" error = 0 __PRETTY_FUNCTION__ = "handle_incoming" #16 0xb781d803 in handle_request_do (req=0xb7787088, sin=0xb77882c0) at chan_sip.c:18019 p = (struct sip_pvt *) 0x8273fc8 recount = 0 nounlock = 0 lockretry = 100 __PRETTY_FUNCTION__ = "handle_request_do" #17 0xb781d292 in sipsock_read (id=0x81eefe0, fd=13, events=1, ignore=0x0) at chan_sip.c:17947 req = {rlPart1 = 0xb77872ac "REGISTER", rlPart2 = 0xb77872b5 "sip:gs.gotdns.org", len = 597, headers = 13, method = 2, lines = 0, sdp_start = 0, sdp_end = 0, debug = 0 '\0', has_to_tag = 0 '\0', ignore = 0 '\0', header = {0xb77872ac "REGISTER", 0xb77872de "Via: SIP/2.0/UDP 10.0.2.118:5060;branch=z9hG4bK-d8754z-c017f8ab20ab1652-1---d8754z-;rport", 0xb7787339 "Max-Forwards: 70", 0xb778734b "Contact: ;transport=UDP", 0xb778739c "To: \"10\";transport=UDP", 0xb77873cf "From: \"10\";transport=UDP;tag=2fae5a1d", 0xb7787411 "Call-ID: ZmQ1ZjFjYWM3ZGZjZTJhNTlkYTY5YjJjMDE4NDI3OTg.", 0xb7787448 "CSeq: 2 REGISTER", 0xb778745a "Expires: 70", 0xb7787467 "Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, NOTIFY, REFER, MESSAGE, OPTIONS, INFO", 0xb77874b8 "User-Agent: Zoiper rev.647", 0xb77874d4 "Allow-Events: presence", 0xb77874ec "Content-Length: 0", 0xb77874ff "", 0x0 }, line = {0xb7787501 "", 0x0 }, data = "REGISTER\000sip:gs.gotdns.org\000transport=UDP\000SIP/2.0\000\000Via: SIP/2.0/UDP 10.0.2.118:5060;branch=z9hG4bK-d8754z-c017f8ab20ab1652-1---d8754z-;rport\000\000Max-Forwards: 70\000\000Contact: __cancel_arg = (void *) 0xb7788b90 not_first_call = 0 ret = (void *) 0x0 a = {start_routine = 0xb781e5e3 , data = 0x0, name = 0x822dd98 "do_monitor", ' ' , "started at [18369] chan_sip.c restart_monitor()"} #21 0xb7e2a46b in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 No symbol table info available. #22 0xb7f156de in clone () from /lib/tls/i686/cmov/libc.so.6 No symbol table info available. (gdb) thread apply all bt Thread 33 (process 21278): #0 0xffffe410 in __kernel_vsyscall () #1 0xb7f05c7b in read () from /lib/tls/i686/cmov/libc.so.6 #2 0x08149e3d in read_char (el=0x81d6350, cp=0xbfd73396 "\036") at read.c:296 #3 0x08149f41 in el_getc (el=0x81d6350, cp=0xbfd73396 "\036") at read.c:347 #4 0x08149ce7 in read_getcmd (el=0x81d6350, cmdnum=0xbfd73397 "", ch=0xbfd73396 "\036") at read.c:243 #5 0x0814a18e in el_gets (el=0x81d6350, nread=0xbfd734bc) at read.c:443 #6 0x0807ec3f in main (argc=4, argv=0xbfd737c4) at asterisk.c:3298 #7 0xb7e58050 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6 #8 0x0805e7b1 in ?? () Thread 32 (process 21284): #0 0xffffe410 in __kernel_vsyscall () #1 0xb7e2e676 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0 #2 0xb7f2231d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6 #3 0x080b70ae in ast_cond_wait (cond=0x81b0560, t=0x81b0590) at /home/gservat/asterisk_etc/asterisk-1.6.0-beta4/include/asterisk/lock.h:739 #4 0x080b6e94 in ast_event_dispatcher (unused=0x0) at event.c:762 #5 0x08140b42 in dummy_start (data=0x81dbe10) at utils.c:857 #6 0xb7e2a46b in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #7 0xb7f156de in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 31 (process 21285): #0 0xffffe410 in __kernel_vsyscall () #1 0xb7f0b5e7 in poll () from /lib/tls/i686/cmov/libc.so.6 #2 0x0807760c in listener (unused=0x0) at asterisk.c:1039 #3 0x08140b42 in dummy_start (data=0x81dbe30) at utils.c:857 #4 0xb7e2a46b in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #5 0xb7f156de in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 30 (process 21286): #0 0xffffe410 in __kernel_vsyscall () #1 0xb7e2e676 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0 #2 0xb7f2231d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6 #3 0x080dc123 in ast_cond_wait (cond=0x81c9a80, t=0x81b29e8) at /home/gservat/asterisk_etc/asterisk-1.6.0-beta4/include/asterisk/lock.h:739 #4 0x080dc06b in logger_thread (data=0x0) at logger.c:881 #5 0x08140b42 in dummy_start (data=0x81dbe40) at utils.c:857 #6 0xb7e2a46b in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #7 0xb7f156de in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 29 (process 21287): #0 0xffffe410 in __kernel_vsyscall () #1 0xb7e2e676 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0 #2 0xb7f2231d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6 #3 0x080ab569 in ast_cond_wait (cond=0x81c8f20, t=0x81b0228) at /home/gservat/asterisk_etc/asterisk-1.6.0-beta4/include/asterisk/lock.h:739 #4 0x080ab4f5 in do_devstate_changes (data=0x0) at devicestate.c:527 #5 0x08140b42 in dummy_start (data=0x81f1b78) at utils.c:857 #6 0xb7e2a46b in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #7 0xb7f156de in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 28 (process 21288): #0 0xffffe410 in __kernel_vsyscall () #1 0xb7e2e676 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0 #2 0xb7f2231d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6 #3 0x080f1841 in ast_cond_wait (cond=0x81b50e0, t=0x81b50c8) at /home/gservat/asterisk_etc/asterisk-1.6.0-beta4/include/asterisk/lock.h:739 #4 0x080f1782 in device_state_thread (data=0x0) at pbx.c:2927 #5 0x08140b42 in dummy_start (data=0x81f1b68) at utils.c:857 #6 0xb7e2a46b in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #7 0xb7f156de in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 27 (process 21289): #0 0xffffe410 in __kernel_vsyscall () #1 0xb7f0e2a1 in select () from /lib/tls/i686/cmov/libc.so.6 #2 0x080c01b1 in ast_select (nfds=0, rfds=0xb7c26164, wfds=0x0, efds=0xb7c260e4, tvp=0x0) at /home/gservat/asterisk_etc/asterisk-1.6.0-beta4/include/asterisk/channel.h:1548 #3 0x080c017a in do_parking_thread (ignore=0x0) at features.c:2341 #4 0x08140b42 in dummy_start (data=0x81e38e8) at utils.c:857 #5 0xb7e2a46b in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #6 0xb7f156de in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 26 (process 21290): #0 0xffffe410 in __kernel_vsyscall () #1 0xb7ed4e96 in nanosleep () from /lib/tls/i686/cmov/libc.so.6 #2 0xb7ed4ca7 in sleep () from /lib/tls/i686/cmov/libc.so.6 #3 0xb7ad5cc2 in scan_thread (unused=0x0) at pbx_spool.c:433 #4 0x08140b42 in dummy_start (data=0x821e880) at utils.c:857 #5 0xb7e2a46b in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #6 0xb7f156de in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 25 (process 21291): #0 0xffffe410 in __kernel_vsyscall () #1 0xb7e2e676 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0 #2 0xb7f2231d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6 #3 0xb7a0fa85 in ast_cond_wait (cond=0xb7a1c644, t=0xb7a1c674) at /home/gservat/asterisk_etc/asterisk-1.6.0-beta4/include/asterisk/lock.h:739 #4 0xb7a10e1d in sla_thread (data=0x0) at app_meetme.c:4610 #5 0x08140b42 in dummy_start (data=0x820e160) at utils.c:857 #6 0xb7e2a46b in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #7 0xb7f156de in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 24 (process 21292): #0 0xffffe410 in __kernel_vsyscall () #1 0xb7f163d8 in accept () from /lib/tls/i686/cmov/libc.so.6 #2 0xb795c79e in accept_thread (ignore=0x0) at chan_skinny.c:5605 #3 0x08140b42 in dummy_start (data=0x82302a0) at utils.c:857 #4 0xb7e2a46b in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #5 0xb7f156de in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 23 (process 21293): #0 0xffffe410 in __kernel_vsyscall () #1 0xb7f0b5e7 in poll () from /lib/tls/i686/cmov/libc.so.6 #2 0x080d4357 in ast_io_wait (ioc=0x822f048, howlong=1000) at io.c:275 #3 0xb795c9de in do_monitor (data=0x0) at chan_skinny.c:5651 #4 0x08140b42 in dummy_start (data=0x81f00f0) at utils.c:857 #5 0xb7e2a46b in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #6 0xb7f156de in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 22 (process 21294): #0 0xffffe410 in __kernel_vsyscall () #1 0xb7f0b5e7 in poll () from /lib/tls/i686/cmov/libc.so.6 #2 0x080d4357 in ast_io_wait (ioc=0x822fd88, howlong=1000) at io.c:275 #3 0xb78a3ce0 in do_monitor (data=0x0) at chan_unistim.c:4560 #4 0x08140b42 in dummy_start (data=0x820cbb8) at utils.c:857 #5 0xb7e2a46b in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #6 0xb7f156de in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 21 (process 21295): #0 0xffffe410 in __kernel_vsyscall () #1 0xb7f0b5e7 in poll () from /lib/tls/i686/cmov/libc.so.6 #2 0x08140ef2 in ast_wait_for_input (fd=14, ms=-1) at utils.c:943 #3 0x0813551b in server_root (data=0xb7843320) at tcptls.c:116 #4 0x08140b42 in dummy_start (data=0x81ee5f0) at utils.c:857 #5 0xb7e2a46b in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #6 0xb7f156de in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 20 (process 21297): #0 0xffffe410 in __kernel_vsyscall () #1 0xb7f0b5e7 in poll () from /lib/tls/i686/cmov/libc.so.6 #2 0x080d4357 in ast_io_wait (ioc=0x8229820, howlong=1000) at io.c:275 #3 0xb771c820 in network_thread (ignore=0x0) at pbx_dundi.c:2124 #4 0x08140b42 in dummy_start (data=0x81f4438) at utils.c:857 #5 0xb7e2a46b in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #6 0xb7f156de in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 19 (process 21298): #0 0xffffe410 in __kernel_vsyscall () #1 0xb7ed4e96 in nanosleep () from /lib/tls/i686/cmov/libc.so.6 #2 0xb7ed4ca7 in sleep () from /lib/tls/i686/cmov/libc.so.6 #3 0xb771c9f5 in process_precache (ign=0x0) at pbx_dundi.c:2167 #4 0x08140b42 in dummy_start (data=0x81ef3a0) at utils.c:857 #5 0xb7e2a46b in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #6 0xb7f156de in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 18 (process 21299): #0 0xffffe410 in __kernel_vsyscall () #1 0xb7f0b5e7 in poll () from /lib/tls/i686/cmov/libc.so.6 #2 0xb7662700 in do_monitor (data=0x0) at chan_zap.c:7680 #3 0x08140b42 in dummy_start (data=0x8204b80) at utils.c:857 #4 0xb7e2a46b in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #5 0xb7f156de in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 17 (process 21300): #0 0xffffe410 in __kernel_vsyscall () #1 0xb7e2e676 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0 #2 0xb7f2231d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6 #3 0xb7592d08 in ast_cond_wait (cond=0xb75b27e0, t=0xb75b27c8) at /home/gservat/asterisk_etc/asterisk-1.6.0-beta4/include/asterisk/lock.h:739 #4 0xb7592be8 in device_state_thread (data=0x0) at app_queue.c:780 #5 0x08140b42 in dummy_start (data=0x81f2600) at utils.c:857 #6 0xb7e2a46b in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #7 0xb7f156de in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 16 (process 21301): #0 0xffffe410 in __kernel_vsyscall () #1 0xb7e2e676 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0 #2 0xb7f2231d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6 #3 0xb74070c7 in ast_cond_wait (cond=0x82458b4, t=0x824589c) at /home/gservat/asterisk_etc/asterisk-1.6.0-beta4/include/asterisk/lock.h:739 #4 0xb7406d2e in iax2_process_thread (data=0x8244808) at chan_iax2.c:9252 #5 0x08140b42 in dummy_start (data=0x8211ed0) at utils.c:857 #6 0xb7e2a46b in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #7 0xb7f156de in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 15 (process 21302): #0 0xffffe410 in __kernel_vsyscall () #1 0xb7e2e676 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0 #2 0xb7f2231d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6 #3 0xb74070c7 in ast_cond_wait (cond=0x82469bc, t=0x82469a4) at /home/gservat/asterisk_etc/asterisk-1.6.0-beta4/include/asterisk/lock.h:739 #4 0xb7406d2e in iax2_process_thread (data=0x8245910) at chan_iax2.c:9252 #5 0x08140b42 in dummy_start (data=0x8229a80) at utils.c:857 #6 0xb7e2a46b in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #7 0xb7f156de in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 14 (process 21303): #0 0xffffe410 in __kernel_vsyscall () #1 0xb7e2e676 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0 #2 0xb7f2231d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6 #3 0xb74070c7 in ast_cond_wait (cond=0x8247ac4, t=0x8247aac) at /home/gservat/asterisk_etc/asterisk-1.6.0-beta4/include/asterisk/lock.h:739 #4 0xb7406d2e in iax2_process_thread (data=0x8246a18) at chan_iax2.c:9252 #5 0x08140b42 in dummy_start (data=0x8228430) at utils.c:857 #6 0xb7e2a46b in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #7 0xb7f156de in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 13 (process 21304): #0 0xffffe410 in __kernel_vsyscall () #1 0xb7e2e676 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0 #2 0xb7f2231d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6 #3 0xb74070c7 in ast_cond_wait (cond=0x8248bcc, t=0x8248bb4) at /home/gservat/asterisk_etc/asterisk-1.6.0-beta4/include/asterisk/lock.h:739 #4 0xb7406d2e in iax2_process_thread (data=0x8247b20) at chan_iax2.c:9252 #5 0x08140b42 in dummy_start (data=0x821a728) at utils.c:857 #6 0xb7e2a46b in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #7 0xb7f156de in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 12 (process 21305): #0 0xffffe410 in __kernel_vsyscall () #1 0xb7e2e676 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0 #2 0xb7f2231d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6 #3 0xb74070c7 in ast_cond_wait (cond=0x8249cd4, t=0x8249cbc) at /home/gservat/asterisk_etc/asterisk-1.6.0-beta4/include/asterisk/lock.h:739 #4 0xb7406d2e in iax2_process_thread (data=0x8248c28) at chan_iax2.c:9252 #5 0x08140b42 in dummy_start (data=0x81f8d88) at utils.c:857 #6 0xb7e2a46b in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #7 0xb7f156de in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 11 (process 21306): #0 0xffffe410 in __kernel_vsyscall () #1 0xb7e2e676 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0 #2 0xb7f2231d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6 #3 0xb74070c7 in ast_cond_wait (cond=0x824addc, t=0x824adc4) at /home/gservat/asterisk_etc/asterisk-1.6.0-beta4/include/asterisk/lock.h:739 #4 0xb7406d2e in iax2_process_thread (data=0x8249d30) at chan_iax2.c:9252 #5 0x08140b42 in dummy_start (data=0x81e2f80) at utils.c:857 #6 0xb7e2a46b in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #7 0xb7f156de in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 10 (process 21307): #0 0xffffe410 in __kernel_vsyscall () #1 0xb7e2e676 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0 #2 0xb7f2231d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6 #3 0xb74070c7 in ast_cond_wait (cond=0x824bee4, t=0x824becc) at /home/gservat/asterisk_etc/asterisk-1.6.0-beta4/include/asterisk/lock.h:739 #4 0xb7406d2e in iax2_process_thread (data=0x824ae38) at chan_iax2.c:9252 #5 0x08140b42 in dummy_start (data=0x81ef560) at utils.c:857 #6 0xb7e2a46b in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #7 0xb7f156de in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 9 (process 21308): #0 0xffffe410 in __kernel_vsyscall () #1 0xb7e2e676 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0 #2 0xb7f2231d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6 #3 0xb74070c7 in ast_cond_wait (cond=0x824cfec, t=0x824cfd4) at /home/gservat/asterisk_etc/asterisk-1.6.0-beta4/include/asterisk/lock.h:739 #4 0xb7406d2e in iax2_process_thread (data=0x824bf40) at chan_iax2.c:9252 #5 0x08140b42 in dummy_start (data=0x8219f58) at utils.c:857 #6 0xb7e2a46b in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #7 0xb7f156de in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 8 (process 21309): #0 0xffffe410 in __kernel_vsyscall () #1 0xb7e2e676 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0 #2 0xb7f2231d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6 #3 0xb74070c7 in ast_cond_wait (cond=0x824e0f4, t=0x824e0dc) at /home/gservat/asterisk_etc/asterisk-1.6.0-beta4/include/asterisk/lock.h:739 #4 0xb7406d2e in iax2_process_thread (data=0x824d048) at chan_iax2.c:9252 #5 0x08140b42 in dummy_start (data=0x821e580) at utils.c:857 #6 0xb7e2a46b in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #7 0xb7f156de in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 7 (process 21310): #0 0xffffe410 in __kernel_vsyscall () #1 0xb7e2e676 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0 #2 0xb7f2231d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6 #3 0xb74070c7 in ast_cond_wait (cond=0x824f1fc, t=0x824f1e4) at /home/gservat/asterisk_etc/asterisk-1.6.0-beta4/include/asterisk/lock.h:739 #4 0xb7406d2e in iax2_process_thread (data=0x824e150) at chan_iax2.c:9252 #5 0x08140b42 in dummy_start (data=0x8201750) at utils.c:857 #6 0xb7e2a46b in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #7 0xb7f156de in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 6 (process 21311): #0 0xffffe410 in __kernel_vsyscall () #1 0xb7e2e8fc in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0 #2 0xb7f22374 in pthread_cond_timedwait () from /lib/tls/i686/cmov/libc.so.6 #3 0xb740709d in ast_cond_timedwait (cond=0xb7425e60, t=0xb7424be0, abstime=0xb717e338) at /home/gservat/asterisk_etc/asterisk-1.6.0-beta4/include/asterisk/lock.h:744 #4 0xb7408de6 in sched_thread (ignore=0x0) at chan_iax2.c:9702 #5 0x08140b42 in dummy_start (data=0x81f8d30) at utils.c:857 #6 0xb7e2a46b in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #7 0xb7f156de in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 5 (process 21312): #0 0xffffe410 in __kernel_vsyscall () #1 0xb7f0b5e7 in poll () from /lib/tls/i686/cmov/libc.so.6 #2 0x080d4357 in ast_io_wait (ioc=0x82283d8, howlong=-1) at io.c:275 #3 0xb7409165 in network_thread (ignore=0x0) at chan_iax2.c:9770 #4 0x08140b42 in dummy_start (data=0x8219940) at utils.c:857 #5 0xb7e2a46b in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #6 0xb7f156de in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 4 (process 21313): #0 0xffffe410 in __kernel_vsyscall () #1 0xb7f0b5e7 in poll () from /lib/tls/i686/cmov/libc.so.6 #2 0x080d4357 in ast_io_wait (ioc=0x821a888, howlong=1000) at io.c:275 #3 0xb70ebf62 in do_monitor (data=0x0) at chan_mgcp.c:3485 #4 0x08140b42 in dummy_start (data=0x81e2190) at utils.c:857 #5 0xb7e2a46b in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #6 0xb7f156de in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 3 (process 21314): #0 0xffffe410 in __kernel_vsyscall () #1 0xb7f0e2a1 in select () from /lib/tls/i686/cmov/libc.so.6 #2 0xb708adf2 in ast_select (nfds=0, rfds=0xb70852ac, wfds=0x0, efds=0xb708522c, tvp=0x0) at /home/gservat/asterisk_etc/asterisk-1.6.0-beta4/include/asterisk/channel.h:1548 #3 0xb708abc9 in do_monitor (data=0x0) at chan_phone.c:1073 #4 0x08140b42 in dummy_start (data=0x8255d78) at utils.c:857 #5 0xb7e2a46b in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #6 0xb7f156de in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 2 (process 21315): #0 0xffffe410 in __kernel_vsyscall () #1 0xb7f0b5e7 in poll () from /lib/tls/i686/cmov/libc.so.6 #2 0x0807cc96 in monitor_sig_flags (unused=0x0) at asterisk.c:2705 #3 0x08140b42 in dummy_start (data=0x82734b0) at utils.c:857 #4 0xb7e2a46b in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #5 0xb7f156de in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 1 (process 21296): #0 0xb7eaf7ea in free () from /lib/tls/i686/cmov/libc.so.6 #1 0xb7cae15a in ber_memfree_x (p=0x0, ctx=0x1) at memory.c:152 #2 0xb7cae7c7 in ber_bvfree_x (bv=0x3b305b1b, ctx=0x820185d) at memory.c:380 #3 0xb7cae847 in ber_bvecfree_x (bv=0x81ffd70, ctx=0x0) at memory.c:408 #4 0xb7cae895 in ber_bvecfree (bv=0x81ffd70) at memory.c:417 #5 0xb7ceafa3 in realtime_ldap_entry_to_var (table_config=0x81e2308, ldap_entry=0x82734c0) at res_config_ldap.c:330 #6 0xb7ceb07d in realtime_ldap_result_to_vars (table_config=0x81e2308, ldap_result=0x82734c0, entries_count_ptr=0x0) at res_config_ldap.c:365 #7 0xb7ceccf5 in realtime_ldap_base_ap (entries_count_ptr=0x0, basedn=0xb7786a44 "dc=argentina,dc=mycompany,dc=com", table_name=0xb7786944 "sip", ap=0xb7786ba8 "\0314%\b\200@'\bk\001") at res_config_ldap.c:815 #8 0xb7cecf64 in realtime_ldap (basedn=0xb7786a44 "dc=argentina,dc=mycompany,dc=com", table_name=0xb7786944 "sip", ap=0xb7786b94 "v\t\203·\001mx·S\n\203·K\n\203·") at res_config_ldap.c:904 #9 0x080a7222 in ast_load_realtime_helper (family=0xb7830937 "sippeers", ap=0xb7786b94 "v\t\203·\001mx·S\n\203·K\n\203·") at config.c:2023 #10 0x080a7293 in ast_load_realtime (family=0xb7830937 "sippeers") at config.c:2046 #11 0xb77d0f7a in realtime_peer (newpeername=0xb7786d01 "gservat", sin=0x0) at chan_sip.c:3538 #12 0xb77d1bb4 in find_peer (peer=0xb7786d01 "gservat", sin=0x0, realtime=1) at chan_sip.c:3726 #13 0xb77f3e03 in register_verify (p=0x8273fc8, sin=0xb77882c0, req=0xb7787088, uri=0xb77872b5 "sip:gs.gotdns.org") at chan_sip.c:10234 #14 0xb781bc46 in handle_request_register (p=0x8273fc8, req=0xb7787088, sin=0xb77882c0, e=0xb77872b5 "sip:gs.gotdns.org") at chan_sip.c:17651 #15 0xb781cd9e in handle_incoming (p=0x8273fc8, req=0xb7787088, sin=0xb77882c0, recount=0xb778701c, nounlock=0xb7787018) at chan_sip.c:17870 #16 0xb781d803 in handle_request_do (req=0xb7787088, sin=0xb77882c0) at chan_sip.c:18019 #17 0xb781d292 in sipsock_read (id=0x81eefe0, fd=13, events=1, ignore=0x0) at chan_sip.c:17947 #18 0x080d447d in ast_io_wait (ioc=0x81f7338, howlong=1000) at io.c:287 #19 0xb781e88d in do_monitor (data=0x0) at chan_sip.c:18336 #20 0x08140b42 in dummy_start (data=0x822c190) at utils.c:857 #21 0xb7e2a46b in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #22 0xb7f156de in clone () from /lib/tls/i686/cmov/libc.so.6