Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] Abort from "new_js_dtmf" in &qu


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
jens at nha.co.za
Guest





PostPosted: Mon Nov 10, 2008 3:26 am    Post subject: [Freeswitch-users] Abort from "new_js_dtmf" in &qu Reply with quote

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
Back to top
anthony.minessale at g...
Guest





PostPosted: Mon Nov 10, 2008 5:35 pm    Post subject: [Freeswitch-users] Abort from "new_js_dtmf" in &qu Reply with quote

what does the script look like? and what platform are you running it on and how many calls at a time do you have executing it?



On Mon, Nov 10, 2008 at 2:22 AM, Jens von Bülow <jens@nha.co.za (jens@nha.co.za)> wrote:
Quote:

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




_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org




--
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/

AIM: anthm
MSN:anthony_minessale@hotmail.com ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services