Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 1080396128 (LWP 20962)] 0x0000000000421b1a in detach_spies (chan=0x3ebf550) at channel.c:1083 Found RIFF Header Warning, flexible rate not heavily tested! 1083 AST_LIST_TRAVERSE(&chan->spies->list, spy, list) { (gdb) bt #0 0x0000000000421b1a in detach_spies (chan=0x3ebf550) at channel.c:1083 #1 0x0000000000422835 in ast_hangup (chan=0x3ebf550) at channel.c:1276 #2 0x0000002a96637f64 in chan_hangup (cx=0x3a3b040, obj=0x38c0940, argc=0, argv=0x3a48d60, rval=0x406508f0) at res_js.c:1015 #3 0x0000002a9668565a in js_Invoke (cx=0x3a3b040, argc=0, flags=0) at jsinterp.c:1280 #4 0x0000002a96696cb0 in js_Interpret (cx=0x3a3b040, result=0x40651220) at jsinterp.c:3372 #5 0x0000002a96686276 in js_Execute (cx=0x3a3b040, chain=0x38bded0, script=0x3a5f730, down=0x0, flags=0, result=0x406518a0) at jsinterp.c:1509 #6 0x0000002a9664d478 in JS_ExecuteScript (cx=0x3a3b040, obj=0x38bded0, script=0x3a5f730, rval=0x406518a0) at jsapi.c:3553 #7 0x0000002a96636f10 in eval_some_js (code=0x40651580 "TeleAuto.js", cx=0x3a3b040, obj=0x38bded0, rval=0x406518a0) at res_js.c:410 #8 0x0000002a9663a52e in js_exec (chan=0x3a35120, data=0x40655b90) at res_js.c:1951 #9 0x0000000000449771 in pbx_exec (c=0x3a35120, app=0x6ba990, data=0x40655b90, newstack=1) at pbx.c:544 #10 0x000000000044df46 in pbx_extension_helper (c=0x3a35120, con=0x0, context=0x3a35418 "from-pstn", exten=0x3a3550c "5034167460", priority=1, label=0x0, callerid=0x0, action=1) at pbx.c:1687 #11 0x000000000044f7b9 in ast_spawn_extension (c=0x3a35120, context=0x3a35418 "from-pstn", exten=0x3a3550c "5034167460", priority=1, callerid=0x0) at pbx.c:2220 #12 0x000000000044fcdd in __ast_pbx_run (c=0x3a35120) at pbx.c:2286 #13 0x0000000000450b6b in pbx_thread (data=0x3a35120) at pbx.c:2507 #14 0x000000322d8060aa in start_thread () from /lib64/tls/libpthread.so.0 #15 0x000000322cfc5b43 in clone () from /lib64/tls/libc.so.6 #16 0x0000000000000000 in ?? () (gdb) print chan->spies $4 = (struct ast_channel_spy_list *) 0x22203a2244492220 (gdb) print chan->spies->list Cannot access memory at address 0x22203a2244492240 (gdb) print *chan->spies Cannot access memory at address 0x22203a2244492220 (gdb) print chan $5 = (struct ast_channel *) 0x3ebf550 (gdb) print *chan $6 = { name = "YK\000\000\000\000\000\000�\017\006\004\000\000\000\000\n\t\tEntry:\n\t\t\tHandle Type = 1\n\t\t\tInput Handle = 0x3ebf550\000 \n\t\t\t", tech = 0x7475626972747441, tech_pvt = 0x5f4c5153203d2065, language = "ATTR_ODBC_VERSION ", type = 0x9090a2020202020
, fds = {1818318345, 1025533301, 863514656, 538976288, 538976288, 538976288, 151587082, 1282569299}, musicclass = "en = 0", '\0' , music_state = 0x0, generatordata = 0x0, generator = 0x0, _bridge = 0x0, masq = 0x0, masqr = 0x0, cdrflags = 0, _softhangup = 0, whentohangup = 0, blocker = 0, lock = { mutex = {__m_reserved = 1, __m_count = 0, __m_owner = 0x1000051e2, __m_kind = 0, __m_lock = {__status = 0, __spinlock = 0}}, file = {0x4c7eb2 "channel.c", 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, lineno = {1274, 0, 0, 0, 0, 0, 0, 0, 0, 0}, reentrancy = 1, func = {0x4c96c5 "ast_hangup", 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, thread = {1080396128, 0, 0, 0, 0, 0, 0, 0, 0, 0}}, blockproc = 0x0, appl = 0x0, data = 0x0, fdno = 0, sched = 0x0, streamid = 0, stream = 0x0, vstreamid = 0, vstream = 0x0, oldwriteformat = 0, timingfd = 0, timingfunc = 0, timingdata = 0x0, _state = 0, rings = 0, nativeformats = 0, readformat = 0, writeformat = 0, cid = {cid_dnid = 0x0, cid_num = 0x0, cid_name = 0x0, cid_ani = 0x0, cid_rdnis = 0x0, cid_pres = 0, cid_ani2 = 0, cid_ton = 0, cid_tns = 0}, context = '\0' , macrocontext = '\0' , macroexten = '\0' , macropriority = 0, exten = '\0' , "\002\000\000\000\003\000\000\000\001\000\000\000\000\000\000\000\001\000\000\000\000\000\000\000\200A\r\004\000\000\000\000\200A\r\004\000\000\000\000\000\000\000", priority = 0, dtmfq = '\0' , "\001\000\000\000\000\000\000\000�E\r\004\000\000\000\000�E\r\004\000\000\000\000P��\003\000\000\000\000\001\000\000\000��\000", dtmff = {frametype = 0, subclass = 0, datalen = 0, samples = 0, mallocd = 0, offset = 0, src = 0x0, data = 0x0, delivery = {tv_sec = 0, tv_usec = 0}, prev = 0x0, next = 0x0}, pbx = 0x0, amaflags = 0, accountcode = '\0' , cdr = 0x0, adsicpe = 0, call_forward = '\0' , zone = 0x0, monitor = 0x0, insmpl = 0, outsmpl = 0, fin = 0, fout = 0, uniqueid = '\0' , hangupcause = 0, varshead = {first = 0x0, last = 0x0}, callgroup = 0, pickupgroup = 0, flags = 67592416, transfercapability = 0, readq = 0x40aa300, alertpipe = {0, 0}, writetrans = 0x231, readtrans = 0x6c7573655222207b, rawreadformat = 975336308, rawwriteformat = 2065718048, spies = 0x22203a2244492220, next = 0x4536333133304142} (gdb)