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?<br><br><br><br><div class="gmail_quote">On Mon, Nov 10, 2008 at 2:22 AM, Jens von Bülow <span dir="ltr"><<a href="mailto:jens@nha.co.za">jens@nha.co.za</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div link="blue" vlink="purple" lang="EN-ZA">
<div>
<p>Hi All,</p>
<p> </p>
<p>We have developed a relatively simple IVR application that
uses mod_spidermonkey. </p>
<p> </p>
<p>From time to time..... freeswitch aborts with the following "backtrace"....</p>
<p> </p>
<p><snip></p>
<p>Core was generated by
`/usr/local/freeswitch/bin/freeswitch'.</p>
<p>Program terminated with signal 6, Aborted.</p>
<p>#0 0x0000003eb5830155 in raise () from /lib64/libc.so.6</p>
<p>(gdb) bt</p>
<p>#0 0x0000003eb5830155 in raise () from /lib64/libc.so.6</p>
<p>#1 0x0000003eb5831bf0 in abort () from /lib64/libc.so.6</p>
<p><b>#2 0x00002aaab6fbadd9 in new_js_dtmf (dtmf=<value
optimized out>, name=0x2aaab6fe3e88 "_XX_DTMF_XX_",
cx=0x2aaab0006500, obj=0x2aaac00e5780) at mod_spidermonkey.c:1082</b></p>
<p>#3 0x00002aaab6fbf76b in js_common_callback
(session=0x2aaac01233a8, input=0x40a067c0, itype=SWITCH_INPUT_TYPE_DTMF,
buf=<value optimized out>, buflen=<value optimized out>)</p>
<p> at mod_spidermonkey.c:1132</p>
<p>#4 0x00002aaab6fbf8ae in js_collect_input_callback
(session=0x6f0c, input=0x1a6d, itype=6, buf=0xffffffffffffffff,
buflen=4294967295) at mod_spidermonkey.c:1316</p>
<p>#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</p>
<p>#6 0x00002aded0442572 in switch_ivr_phrase_macro
(session=0x2aaac01233a8, macro_name=0x2aaaac1bf560 "LibcareIVR34",
data=0x2aaaac1bf580 "1230#*", lang=<value optimized out>,</p>
<p> args=0x40a07290) at src/switch_ivr_play_say.c:272</p>
<p>#7 0x00002aaab6fbec1c in session_sayphrase
(cx=0x2aaab0006500, obj=<value optimized out>, argc=<value optimized
out>, argv=0x2aaab0569d58, rval=0x40a073c0)</p>
<p> at mod_spidermonkey.c:1560</p>
<p>#8 0x00002aaab74874bc in js_Invoke () from
/usr/local/freeswitch/lib/libjs.so.1</p>
<p>#9 0x00002aaab747c764 in js_Interpret () from
/usr/local/freeswitch/lib/libjs.so.1</p>
<p>#10 0x00002aaab7486c2f in js_Execute () from
/usr/local/freeswitch/lib/libjs.so.1</p>
<p>#11 0x00002aaab74488fe in JS_ExecuteScript () from
/usr/local/freeswitch/lib/libjs.so.1</p>
<p>#12 0x00002aaab6fbbda2 in eval_some_js (code=<value
optimized out>, cx=0x2aaab0006500, obj=0x2aaac00e3a20, rval=0x40a08d78) at
mod_spidermonkey.h:103</p>
<p>#13 0x00002aaab6fbc24b in js_parse_and_execute
(session=0x2aaac01233a8, input_code=0x2aaab030fe70
"MedWareIVRLHMS.js", ro=0x0) at mod_spidermonkey.c:3550</p>
<p>#14 0x00002aded0417301 in switch_core_session_exec
(session=0x2aaac01233a8, application_interface=0x3b45de8, arg=0x2aaab030fe70
"xxxxxxxxxx.js")</p>
<p> at src/switch_core_session.c:1147</p>
<p>#15 0x00002aded04194ae in
switch_core_session_execute_application (session=0x2aaac01233a8,
app=0x2aaab030fe60 "javascript", arg=0x2aaab030fe70 "xxxxxxxxxx.js")</p>
<p> at src/switch_core_session.c:1098</p>
<p>#16 0x00002aded041b33a in switch_core_session_run
(session=0x2aaac01233a8) at src/switch_core_state_machine.c:147</p>
<p>#17 0x00002aded04190f0 in switch_core_session_thread
(thread=<value optimized out>, obj=0x1a6d) at
src/switch_core_session.c:813</p>
<p>#18 0x0000003eb6006307 in start_thread () from
/lib64/libpthread.so.0</p>
<p>#19 0x0000003eb58d1ded in clone () from /lib64/libc.so.6</p>
<p>(gdb)</p>
<p></snip></p>
<p> </p>
<p>Has anyone seen this "Abort" and hopefully have
a simple fix for this... Otherwise we enter a length and offline debugging exercise.</p>
<p> </p>
<p>I look forward to any and all pointers.</p>
<p> </p>
<p>Thanks & Regards</p>
<p>Jens</p>
<p> </p>
<p> </p>
</div>
</div>
<br>_______________________________________________<br>
Freeswitch-users mailing list<br>
<a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
<br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br><a href="http://iax:guest@conference.freeswitch.org/888">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:213-799-1400<br>