[Freeswitch-users] Abort from "new_js_dtmf" in "mod_spidermonkey.c" at line "1082"
Jens von Bülow
jens at nha.co.za
Mon Nov 10 00:22:23 PST 2008
Hi All,
We have developed a relatively simple IVR application that uses mod_spidermonkey.
>From time to time..... freeswitch aborts with the following "backtrace"....
<snip>
Core was generated by `/usr/local/freeswitch/bin/freeswitch'.
Program terminated with signal 6, Aborted.
#0 0x0000003eb5830155 in raise () from /lib64/libc.so.6
(gdb) bt
#0 0x0000003eb5830155 in raise () from /lib64/libc.so.6
#1 0x0000003eb5831bf0 in abort () from /lib64/libc.so.6
#2 0x00002aaab6fbadd9 in new_js_dtmf (dtmf=<value optimized out>, name=0x2aaab6fe3e88 "_XX_DTMF_XX_", cx=0x2aaab0006500, obj=0x2aaac00e5780) at mod_spidermonkey.c:1082
#3 0x00002aaab6fbf76b in js_common_callback (session=0x2aaac01233a8, input=0x40a067c0, itype=SWITCH_INPUT_TYPE_DTMF, buf=<value optimized out>, buflen=<value optimized out>)
at mod_spidermonkey.c:1132
#4 0x00002aaab6fbf8ae in js_collect_input_callback (session=0x6f0c, input=0x1a6d, itype=6, buf=0xffffffffffffffff, buflen=4294967295) at mod_spidermonkey.c:1316
#5 0x00002aded04404b5 in switch_ivr_play_file (session=0x2aaac01233a8, fh=0x40a065b0, file=<value optimized out>, args=0x40a07290) at src/switch_ivr_play_say.c:1004
#6 0x00002aded0442572 in switch_ivr_phrase_macro (session=0x2aaac01233a8, macro_name=0x2aaaac1bf560 "LibcareIVR34", data=0x2aaaac1bf580 "1230#*", lang=<value optimized out>,
args=0x40a07290) at src/switch_ivr_play_say.c:272
#7 0x00002aaab6fbec1c in session_sayphrase (cx=0x2aaab0006500, obj=<value optimized out>, argc=<value optimized out>, argv=0x2aaab0569d58, rval=0x40a073c0)
at mod_spidermonkey.c:1560
#8 0x00002aaab74874bc in js_Invoke () from /usr/local/freeswitch/lib/libjs.so.1
#9 0x00002aaab747c764 in js_Interpret () from /usr/local/freeswitch/lib/libjs.so.1
#10 0x00002aaab7486c2f in js_Execute () from /usr/local/freeswitch/lib/libjs.so.1
#11 0x00002aaab74488fe in JS_ExecuteScript () from /usr/local/freeswitch/lib/libjs.so.1
#12 0x00002aaab6fbbda2 in eval_some_js (code=<value optimized out>, cx=0x2aaab0006500, obj=0x2aaac00e3a20, rval=0x40a08d78) at mod_spidermonkey.h:103
#13 0x00002aaab6fbc24b in js_parse_and_execute (session=0x2aaac01233a8, input_code=0x2aaab030fe70 "MedWareIVRLHMS.js", ro=0x0) at mod_spidermonkey.c:3550
#14 0x00002aded0417301 in switch_core_session_exec (session=0x2aaac01233a8, application_interface=0x3b45de8, arg=0x2aaab030fe70 "xxxxxxxxxx.js")
at src/switch_core_session.c:1147
#15 0x00002aded04194ae in switch_core_session_execute_application (session=0x2aaac01233a8, app=0x2aaab030fe60 "javascript", arg=0x2aaab030fe70 "xxxxxxxxxx.js")
at src/switch_core_session.c:1098
#16 0x00002aded041b33a in switch_core_session_run (session=0x2aaac01233a8) at src/switch_core_state_machine.c:147
#17 0x00002aded04190f0 in switch_core_session_thread (thread=<value optimized out>, obj=0x1a6d) at src/switch_core_session.c:813
#18 0x0000003eb6006307 in start_thread () from /lib64/libpthread.so.0
#19 0x0000003eb58d1ded in clone () from /lib64/libc.so.6
(gdb)
</snip>
Has anyone seen this "Abort" and hopefully have a simple fix for this... Otherwise we enter a length and offline debugging exercise.
I look forward to any and all pointers.
Thanks & Regards
Jens
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20081110/17857cfb/attachment-0002.html
More information about the FreeSWITCH-users
mailing list