Core was generated by `asterisk -vvvg'. Program terminated with signal 11, Segmentation fault. [New process 3686] [New process 3649] [New process 3645] [New process 3644] [New process 3643] [New process 3642] [New process 3641] [New process 3640] [New process 3639] [New process 3638] [New process 3637] [New process 3635] [New process 3634] [New process 3633] [New process 3632] #0 0x000000000045b23b in __ast_read (chan=0x409433f0, dropaudio=0) at channel.c:2922 2922 } else if (chan->tech->read) #0 0x000000000045b23b in __ast_read (chan=0x409433f0, dropaudio=0) at channel.c:2922 f = (struct ast_frame *) 0x0 blah = 16392 prestate = 0 count = 0 cause = 0 __PRETTY_FUNCTION__ = "__ast_read" #1 0x000000000045cdad in ast_read (chan=0x409433f0) at channel.c:3241 No locals. #2 0x0000000000443c19 in autoservice_run (ign=0x0) at autoservice.c:127 ents = {0xbdc03e0, 0x0 } chan = (struct ast_channel *) 0x409433f0 as = (struct asent *) 0x0 i = 0 ms = 50 mons = {0x409433f0, 0x0 , 0x1700000000, 0x0, 0x381a0302d0, 0x0, 0x0, 0x0, 0x2, 0x0, 0x4135b940, 0x4135b940, 0x4135b9d0, 0x202, 0x0, 0x4135c000, 0x0, 0x1000, 0x3d0f00, 0x4135b220, 0x0, 0x4135b940, 0x4135b9d0, 0x0, 0xffffffffffffffff, 0x4135b220, 0x381a0d3bf1, 0x202, 0x33, 0x0, 0x0, 0x18, 0x0, 0x4135afa0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x8005003, 0x0, 0x0, 0x0, 0x0, 0x0, 0x381a3529e0, 0x0, 0xbe21970, 0xb690, 0x381a3529e0, 0x18, 0x381a07486d, 0x0, 0x0} x = 1 f = (struct ast_frame *) 0x0 defer_frame = (struct ast_frame *) 0x0 hangup_frame = {frametype = AST_FRAME_CONTROL, subclass = 1, datalen = 0, samples = 0, mallocd = 0, mallocd_hdr_len = 0, offset = 0, src = 0x0, data = {ptr = 0x0, uint32 = 0, pad = "\000\000\000\000\000\000\000"}, delivery = {tv_sec = 0, tv_usec = 0}, frame_list = {next = 0x0}, flags = 0, ts = 0, len = 0, seqno = 0} __PRETTY_FUNCTION__ = "autoservice_run" #3 0x000000000052c11a in dummy_start (data=0xbdc0420) at utils.c:967 __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {0, -7376579239112360892, 0, 1094041600, 0, 4096, -7376579239112360700, -7376579240201237083}, __mask_was_saved = 0}}, __pad = {0x4135b1a0, 0x0, 0x0, 0xbe2612aae1c8e841}} __cancel_routine = (void (*)(void *)) 0x434555 __cancel_arg = (void *) 0x4135b940 not_first_call = 0 ret = (void *) 0x3fec83201d3d2c6c a = {start_routine = 0x443ab1 , data = 0x0, name = 0xbe1fb90 "autoservice_run started at [ 215] autoservice.c ast_autoservice_start()"} #4 0x000000381ac06617 in start_thread () from /lib64/libpthread.so.0 No symbol table info available. #5 0x000000381a0d3c2d in clone () from /lib64/libc.so.6 No symbol table info available. Thread 15 (process 3632): #0 0x000000381a0cae46 in poll () from /lib64/libc.so.6 #1 0x000000000043c2a4 in monitor_sig_flags (unused=0x0) at asterisk.c:3070 #2 0x000000000043eadc in main (argc=2, argv=0x7fff27b2d4a8) at asterisk.c:3831 Thread 14 (process 3633): #0 0x000000381ac0ad09 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x000000000051d643 in ast_cond_wait (cond=0xb9cdb60, t=0xb9cdb98) at /usr/src/debug/asterisk-1.6.2.16.1/include/asterisk/lock.h:1778 #2 0x000000000051d4c6 in tps_processing_function (data=0xb9cdb58) at taskprocessor.c:293 #3 0x000000000052c11a in dummy_start (data=0xb9cdc40) at utils.c:967 #4 0x000000381ac06617 in start_thread () from /lib64/libpthread.so.0 #5 0x000000381a0d3c2d in clone () from /lib64/libc.so.6 Thread 13 (process 3634): #0 0x000000381a0cae46 in poll () from /lib64/libc.so.6 #1 0x0000000000436c51 in listener (unused=0x0) at asterisk.c:1294 #2 0x000000000052c11a in dummy_start (data=0xb9cde10) at utils.c:967 #3 0x000000381ac06617 in start_thread () from /lib64/libpthread.so.0 #4 0x000000381a0d3c2d in clone () from /lib64/libc.so.6 Thread 12 (process 3635): #0 0x000000381a0c4f65 in _xstat () from /lib64/libc.so.6 #1 0x000000381a08d64f in __tzfile_read () from /lib64/libc.so.6 #2 0x000000381a08c56f in tzset_internal () from /lib64/libc.so.6 #3 0x000000381a08d010 in tzset () from /lib64/libc.so.6 #4 0x000000381a091934 in strftime_l () from /lib64/libc.so.6 #5 0x000000381a0920c2 in strftime_l () from /lib64/libc.so.6 #6 0x000000381a0cffa1 in __vsyslog_chk () from /lib64/libc.so.6 #7 0x000000381a0d0580 in syslog () from /lib64/libc.so.6 #8 0x00000000004b6819 in ast_log_vsyslog (level=4, file=0xbdfed18 "channel.c", line=2803, function=0xbdfed6c "__ast_read", str=0xbdfedd0 "Alertpipe on channel (null) lost O_NONBLOCK?!!\n", pid=3686) at logger.c:866 #9 0x00000000004b6983 in logger_print_normal (logmsg=0xbdfec10) at logger.c:891 #10 0x00000000004b6f43 in logger_thread (data=0x0) at logger.c:995 #11 0x000000000052c11a in dummy_start (data=0xb9cde80) at utils.c:967 #12 0x000000381ac06617 in start_thread () from /lib64/libpthread.so.0 #13 0x000000381a0d3c2d in clone () from /lib64/libc.so.6 Thread 11 (process 3637): #0 0x000000381a0c5f3b in read () from /lib64/libc.so.6 #1 0x0000000000516f20 in inotify_daemon (data=0x0) at stdtime/localtime.c:259 #2 0x000000000052c11a in dummy_start (data=0xb9f1e70) at utils.c:967 #3 0x000000381ac06617 in start_thread () from /lib64/libpthread.so.0 #4 0x000000381a0d3c2d in clone () from /lib64/libc.so.6 Thread 10 (process 3638): #0 0x000000381a0cae46 in poll () from /lib64/libc.so.6 #1 0x000000000052c48a in ast_wait_for_input (fd=10, ms=5000) at utils.c:1056 #2 0x000000000051e75d in ast_tcptls_server_root (data=0x7c4ce0) at tcptls.c:248 #3 0x000000000052c11a in dummy_start (data=0xbcbf580) at utils.c:967 #4 0x000000381ac06617 in start_thread () from /lib64/libpthread.so.0 #5 0x000000381a0d3c2d in clone () from /lib64/libc.so.6 Thread 9 (process 3639): #0 0x000000381ac0ad09 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x000000000047aaca in ast_cond_wait (cond=0x7d93a0, t=0x7bebf0) at /usr/src/debug/asterisk-1.6.2.16.1/include/asterisk/lock.h:1778 #2 0x000000000047aa4b in do_devstate_changes (data=0x0) at devicestate.c:543 #3 0x000000000052c11a in dummy_start (data=0xbcc1550) at utils.c:967 #4 0x000000381ac06617 in start_thread () from /lib64/libpthread.so.0 #5 0x000000381a0d3c2d in clone () from /lib64/libc.so.6 Thread 8 (process 3640): #0 0x000000381ac0ad09 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x000000000051d643 in ast_cond_wait (cond=0xbcc0470, t=0xbcc04a8) at /usr/src/debug/asterisk-1.6.2.16.1/include/asterisk/lock.h:1778 #2 0x000000000051d4c6 in tps_processing_function (data=0xbcc0468) at taskprocessor.c:293 #3 0x000000000052c11a in dummy_start (data=0xbcc0550) at utils.c:967 #4 0x000000381ac06617 in start_thread () from /lib64/libpthread.so.0 #5 0x000000381a0d3c2d in clone () from /lib64/libc.so.6 Thread 7 (process 3641): #0 0x000000381a0cae46 in poll () from /lib64/libc.so.6 #1 0x0000000000497c5a in do_parking_thread (ignore=0x0) at features.c:3301 #2 0x000000000052c11a in dummy_start (data=0xbcec560) at utils.c:967 #3 0x000000381ac06617 in start_thread () from /lib64/libpthread.so.0 #4 0x000000381a0d3c2d in clone () from /lib64/libc.so.6 Thread 6 (process 3642): #0 0x000000381a0cced2 in select () from /lib64/libc.so.6 #1 0x00002aaab03b9bca in agent_check_and_process () from /usr/lib64/libnetsnmpagent.so.10 #2 0x00002aaaabbb81cd in agent_thread (arg=0x0) at snmp/agent.c:202 #3 0x000000000052c11a in dummy_start (data=0xbd04fd0) at utils.c:967 #4 0x000000381ac06617 in start_thread () from /lib64/libpthread.so.0 #5 0x000000381a0d3c2d in clone () from /lib64/libc.so.6 Thread 5 (process 3643): #0 0x000000381ac0ad09 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x000000000051d643 in ast_cond_wait (cond=0xbd8a4c0, t=0xbd8a4f8) at /usr/src/debug/asterisk-1.6.2.16.1/include/asterisk/lock.h:1778 #2 0x000000000051d4c6 in tps_processing_function (data=0xbd8a4b8) at taskprocessor.c:293 #3 0x000000000052c11a in dummy_start (data=0xbd83990) at utils.c:967 #4 0x000000381ac06617 in start_thread () from /lib64/libpthread.so.0 #5 0x000000381a0d3c2d in clone () from /lib64/libc.so.6 Thread 4 (process 3644): #0 0x000000381a0cae46 in poll () from /lib64/libc.so.6 #1 0x00002aaaaad0559f in ?? () from /usr/lib64/libpq.so.5 #2 0x00002aaaaad056a0 in ?? () from /usr/lib64/libpq.so.5 #3 0x00002aaaaad04412 in PQgetResult () from /usr/lib64/libpq.so.5 #4 0x00002aaaaad044ee in ?? () from /usr/lib64/libpq.so.5 #5 0x00002aaaaaae3c61 in realtime_pgsql (database=0x4093d3e0 "pbxs", tablename=0x4093d2e0 "asterisk_presence_hint", ap=0x4093d510) at res_config_pgsql.c:373 #6 0x0000000000475ba6 in ast_load_realtime_helper (family=0x4093d6e9 "presence_hints", ap=0x4093d510) at config.c:2093 #7 0x0000000000475c8c in ast_load_realtime_all (family=0x4093d6e9 "presence_hints") at config.c:2104 #8 0x00002aaab46f03b9 in function_realtime_read (chan=0x409433f0, cmd=0x4093d6e0 "REALTIME", data=0x4093d6e9 "presence_hints", buf=0x4093d810 "", len=4096) at func_realtime.c:173 #9 0x00000000004cf34b in ast_func_read (chan=0x409433f0, function=0x4093e820 "REALTIME(presence_hints,key,01272b71-ee86-35f9-af63-000100420001:1001,:,:)", workspace=0x4093d810 "", len=4096) at pbx.c:3387 #10 0x00000000004cf928 in pbx_substitute_variables_helper_full (c=0x409433f0, headp=0x409435f0, cp1=0x4093f9f0 "${REALTIME(presence_hints,key,01272b71-ee86-35f9-af63-000100420001:1001,:,:)}", cp2=0x4093fb10 "", count=1023, used=0x4093f9d8) at pbx.c:3522 #11 0x00000000004cff67 in pbx_substitute_variables_helper (c=0x409433f0, cp1=0x4093f9f0 "${REALTIME(presence_hints,key,01272b71-ee86-35f9-af63-000100420001:1001,:,:)}", cp2=0x4093fb10 "", count=1023) at pbx.c:3617 #12 0x00002aaab44ed1af in cut_internal (chan=0x409433f0, data=0x40940024 "REALTIME(presence_hints,key,01272b71-ee86-35f9-af63-000100420001:1001,:,:),:,4", buffer=0x40940160 "", buflen=4096) at func_cut.c:190 #13 0x00002aaab44ed588 in acf_cut_exec (chan=0x409433f0, cmd=0x40940020 "CUT", data=0x40940024 "REALTIME(presence_hints,key,01272b71-ee86-35f9-af63-000100420001:1001,:,:),:,4", buf=0x40940160 "", len=4096) at func_cut.c:275 #14 0x00000000004cf34b in ast_func_read (chan=0x409433f0, function=0x40941170 "CUT(REALTIME(presence_hints,key,01272b71-ee86-35f9-af63-000100420001:1001,:,:),:,4)", workspace=0x40940160 "", len=4096) at pbx.c:3387 #15 0x00000000004cf928 in pbx_substitute_variables_helper_full (c=0x409433f0, headp=0x409435f0, cp1=0xbccd65d "${CUT(REALTIME(presence_hints,key,${CONTEXT}:${EXTEN},:,:),:,4)}", cp2=0x40943da0 "", count=4096, used=0x40943338) at pbx.c:3522 #16 0x00000000004cff67 in pbx_substitute_variables_helper (c=0x409433f0, cp1=0xbccd65d "${CUT(REALTIME(presence_hints,key,${CONTEXT}:${EXTEN},:,:),:,4)}", cp2=0x40943da0 "", count=4096) at pbx.c:3617 #17 0x00000000004dd8f1 in ast_add_extension2_lockopt (con=0xbccd450, replace=0, extension=0xbdfe792 "1001", priority=-1, label=0x0, callerid=0x0, application=0xbccd65d "${CUT(REALTIME(presence_hints,key,${CONTEXT}:${EXTEN},:,:),:,4)}", data=0xbdeb6a0, datad=0x41a5d0 , registrar=0x2aaaab794570 "pbx_config", lockconts=1, lockhints=1) at pbx.c:7734 #18 0x00000000004dd768 in ast_add_extension2 (con=0xbccd450, replace=0, extension=0xbdfe792 "1001", priority=-1, label=0x0, callerid=0x0, application=0xbccd65d "${CUT(REALTIME(presence_hints,key,${CONTEXT}:${EXTEN},:,:),:,4)}", data=0xbdeb6a0, datad=0x41a5d0 , registrar=0x2aaaab794570 "pbx_config") at pbx.c:7695 #19 0x00000000004dcbbe in ast_add_extension (context=0xbccd500 "01272b71-ee86-35f9-af63-000100420001", replace=0, extension=0xbdfe792 "1001", priority=-1, label=0x0, callerid=0x0, application=0xbccd65d "${CUT(REALTIME(presence_hints,key,${CONTEXT}:${EXTEN},:,:),:,4)}", data=0xbdeb6a0, datad=0x41a5d0 , registrar=0x2aaaab794570 "pbx_config") at pbx.c:7379 #20 0x00000000004d1251 in ast_extension_state_add (context=0xbdfe8f4 "01272b71-ee86-35f9-af63-000100420001", exten=0xbdfe792 "1001", callback=0x2aaab5142ca4 , data=0xbdfd4d8) at pbx.c:3993 #21 0x00002aaab516f921 in handle_request_subscribe (p=0xbdfd4d8, req=0x40945540, sin=0x40945530, seqno=39880, e=0xbe1ca52 "sip:1001@10.199.7.2:5060") at chan_sip.c:21715 #22 0x00002aaab5171212 in handle_incoming (p=0xbdfd4d8, req=0x40945540, sin=0x40945530, recount=0x409454ac, nounlock=0x409454a8) at chan_sip.c:22024 #23 0x00002aaab5172102 in handle_request_do (req=0x40945540, sin=0x40945530) at chan_sip.c:22312 #24 0x00002aaab5171a78 in sipsock_read (id=0xbdeab40, fd=17, events=1, ignore=0x0) at chan_sip.c:22209 #25 0x00000000004af878 in ast_io_wait (ioc=0xbd6cb70, howlong=1000) at io.c:288 #26 0x00002aaab5173539 in do_monitor (data=0x0) at chan_sip.c:22771 #27 0x000000000052c11a in dummy_start (data=0xbded450) at utils.c:967 #28 0x000000381ac06617 in start_thread () from /lib64/libpthread.so.0 #29 0x000000381a0d3c2d in clone () from /lib64/libc.so.6 Thread 3 (process 3645): #0 0x000000381ac0ad09 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x000000000051d643 in ast_cond_wait (cond=0xbe16700, t=0xbe16738) at /usr/src/debug/asterisk-1.6.2.16.1/include/asterisk/lock.h:1778 #2 0x000000000051d4c6 in tps_processing_function (data=0xbe166f8) at taskprocessor.c:293 #3 0x000000000052c11a in dummy_start (data=0xbdec9f0) at utils.c:967 #4 0x000000381ac06617 in start_thread () from /lib64/libpthread.so.0 #5 0x000000381a0d3c2d in clone () from /lib64/libc.so.6 Thread 2 (process 3649): #0 0x000000381a0cae46 in poll () from /lib64/libc.so.6 #1 0x0000000000436975 in netconsole (vconsole=0x7e1be0) at asterisk.c:1241 #2 0x000000000052c11a in dummy_start (data=0xbd8aa00) at utils.c:967 #3 0x000000381ac06617 in start_thread () from /lib64/libpthread.so.0 #4 0x000000381a0d3c2d in clone () from /lib64/libc.so.6 Thread 1 (process 3686): #0 0x000000000045b23b in __ast_read (chan=0x409433f0, dropaudio=0) at channel.c:2922 #1 0x000000000045cdad in ast_read (chan=0x409433f0) at channel.c:3241 #2 0x0000000000443c19 in autoservice_run (ign=0x0) at autoservice.c:127 #3 0x000000000052c11a in dummy_start (data=0xbdc0420) at utils.c:967 #4 0x000000381ac06617 in start_thread () from /lib64/libpthread.so.0 #5 0x000000381a0d3c2d in clone () from /lib64/libc.so.6