<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:p="urn:schemas-microsoft-com:office:powerpoint" xmlns:a="urn:schemas-microsoft-com:office:access" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema" xmlns:b="urn:schemas-microsoft-com:office:publisher" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:c="urn:schemas-microsoft-com:office:component:spreadsheet" xmlns:odc="urn:schemas-microsoft-com:office:odc" xmlns:oa="urn:schemas-microsoft-com:office:activation" xmlns:html="http://www.w3.org/TR/REC-html40" xmlns:q="http://schemas.xmlsoap.org/soap/envelope/" xmlns:D="DAV:" xmlns:x2="http://schemas.microsoft.com/office/excel/2003/xml" xmlns:ois="http://schemas.microsoft.com/sharepoint/soap/ois/" xmlns:dir="http://schemas.microsoft.com/sharepoint/soap/directory/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:dsp="http://schemas.microsoft.com/sharepoint/dsp" xmlns:udc="http://schemas.microsoft.com/data/udc" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:sub="http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/" xmlns:ec="http://www.w3.org/2001/04/xmlenc#" xmlns:sp="http://schemas.microsoft.com/sharepoint/" xmlns:sps="http://schemas.microsoft.com/sharepoint/soap/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:udcxf="http://schemas.microsoft.com/data/udc/xmlfile" xmlns:wf="http://schemas.microsoft.com/sharepoint/soap/workflow/" xmlns:mver="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns:mrels="http://schemas.openxmlformats.org/package/2006/relationships" xmlns:ex12t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:ex12m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:Z="urn:schemas-microsoft-com:" xmlns:st="" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=EN-ZA link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal>Hi All,<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>We have developed a relatively simple IVR application that
uses mod_spidermonkey. <o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>From time to time..... freeswitch aborts with the following “backtrace”....<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><snip><o:p></o:p></p>
<p class=MsoNormal>Core was generated by
`/usr/local/freeswitch/bin/freeswitch'.<o:p></o:p></p>
<p class=MsoNormal>Program terminated with signal 6, Aborted.<o:p></o:p></p>
<p class=MsoNormal>#0 0x0000003eb5830155 in raise () from /lib64/libc.so.6<o:p></o:p></p>
<p class=MsoNormal>(gdb) bt<o:p></o:p></p>
<p class=MsoNormal>#0 0x0000003eb5830155 in raise () from /lib64/libc.so.6<o:p></o:p></p>
<p class=MsoNormal>#1 0x0000003eb5831bf0 in abort () from /lib64/libc.so.6<o:p></o:p></p>
<p class=MsoNormal><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<o:p></o:p></b></p>
<p class=MsoNormal>#3 0x00002aaab6fbf76b in js_common_callback
(session=0x2aaac01233a8, input=0x40a067c0, itype=SWITCH_INPUT_TYPE_DTMF,
buf=<value optimized out>, buflen=<value optimized out>)<o:p></o:p></p>
<p class=MsoNormal> at mod_spidermonkey.c:1132<o:p></o:p></p>
<p class=MsoNormal>#4 0x00002aaab6fbf8ae in js_collect_input_callback
(session=0x6f0c, input=0x1a6d, itype=6, buf=0xffffffffffffffff,
buflen=4294967295) at mod_spidermonkey.c:1316<o:p></o:p></p>
<p class=MsoNormal>#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<o:p></o:p></p>
<p class=MsoNormal>#6 0x00002aded0442572 in switch_ivr_phrase_macro
(session=0x2aaac01233a8, macro_name=0x2aaaac1bf560 "LibcareIVR34",
data=0x2aaaac1bf580 "1230#*", lang=<value optimized out>,<o:p></o:p></p>
<p class=MsoNormal> args=0x40a07290) at src/switch_ivr_play_say.c:272<o:p></o:p></p>
<p class=MsoNormal>#7 0x00002aaab6fbec1c in session_sayphrase
(cx=0x2aaab0006500, obj=<value optimized out>, argc=<value optimized
out>, argv=0x2aaab0569d58, rval=0x40a073c0)<o:p></o:p></p>
<p class=MsoNormal> at mod_spidermonkey.c:1560<o:p></o:p></p>
<p class=MsoNormal>#8 0x00002aaab74874bc in js_Invoke () from
/usr/local/freeswitch/lib/libjs.so.1<o:p></o:p></p>
<p class=MsoNormal>#9 0x00002aaab747c764 in js_Interpret () from
/usr/local/freeswitch/lib/libjs.so.1<o:p></o:p></p>
<p class=MsoNormal>#10 0x00002aaab7486c2f in js_Execute () from
/usr/local/freeswitch/lib/libjs.so.1<o:p></o:p></p>
<p class=MsoNormal>#11 0x00002aaab74488fe in JS_ExecuteScript () from
/usr/local/freeswitch/lib/libjs.so.1<o:p></o:p></p>
<p class=MsoNormal>#12 0x00002aaab6fbbda2 in eval_some_js (code=<value
optimized out>, cx=0x2aaab0006500, obj=0x2aaac00e3a20, rval=0x40a08d78) at
mod_spidermonkey.h:103<o:p></o:p></p>
<p class=MsoNormal>#13 0x00002aaab6fbc24b in js_parse_and_execute
(session=0x2aaac01233a8, input_code=0x2aaab030fe70
"MedWareIVRLHMS.js", ro=0x0) at mod_spidermonkey.c:3550<o:p></o:p></p>
<p class=MsoNormal>#14 0x00002aded0417301 in switch_core_session_exec
(session=0x2aaac01233a8, application_interface=0x3b45de8, arg=0x2aaab030fe70
"xxxxxxxxxx.js")<o:p></o:p></p>
<p class=MsoNormal> at src/switch_core_session.c:1147<o:p></o:p></p>
<p class=MsoNormal>#15 0x00002aded04194ae in
switch_core_session_execute_application (session=0x2aaac01233a8,
app=0x2aaab030fe60 "javascript", arg=0x2aaab030fe70 "xxxxxxxxxx.js")<o:p></o:p></p>
<p class=MsoNormal> at src/switch_core_session.c:1098<o:p></o:p></p>
<p class=MsoNormal>#16 0x00002aded041b33a in switch_core_session_run
(session=0x2aaac01233a8) at src/switch_core_state_machine.c:147<o:p></o:p></p>
<p class=MsoNormal>#17 0x00002aded04190f0 in switch_core_session_thread
(thread=<value optimized out>, obj=0x1a6d) at
src/switch_core_session.c:813<o:p></o:p></p>
<p class=MsoNormal>#18 0x0000003eb6006307 in start_thread () from
/lib64/libpthread.so.0<o:p></o:p></p>
<p class=MsoNormal>#19 0x0000003eb58d1ded in clone () from /lib64/libc.so.6<o:p></o:p></p>
<p class=MsoNormal>(gdb)<o:p></o:p></p>
<p class=MsoNormal></snip><o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>Has anyone seen this “Abort” and hopefully have
a simple fix for this... Otherwise we enter a length and offline debugging exercise.<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>I look forward to any and all pointers.<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>Thanks & Regards<o:p></o:p></p>
<p class=MsoNormal>Jens<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
</div>
</body>
</html>