<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:courier,monaco,monospace,sans-serif;font-size:12pt">Can you post your offending script(s) to <br><span><a target="_blank" href="http://pastebin.freeswitch.org">http://pastebin.freeswitch.org</a></span><br><br>and send me the url.<br><br><div>&nbsp;</div><div>Anthony Minessale II<br><br><span>FreeSWITCH <a target="_blank" href="http://www.freeswitch.org/">http://www.freeswitch.org/</a></span><br><span>ClueCon <a target="_blank" href="http://www.cluecon.com/">http://www.cluecon.com/</a></span><br><br>AIM: anthm<br>MSN:anthony_minessale@hotmail.com<br>JABBER:anthony.minessale@gmail.com<br>IRC: irc.freenode.net #freeswitch</div><div><br>FreeSWITCH Developer Conference<br>sip:888@conference.freeswitch.org<br>iax:guest@conference.freeswitch.org/888<br>googletalk:conf+888@conference.freeswitch.org<br>pstn:213-799-1400</div><div style="font-family:
 courier,monaco,monospace,sans-serif; font-size: 12pt;"><br><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">----- Original Message ----<br>From: Jonas Gauffin &lt;jonas.gauffin@gmail.com&gt;<br>To: freeswitch-users@lists.freeswitch.org<br>Sent: Saturday, May 12, 2007 3:32:07 AM<br>Subject: [Freeswitch-users] Crash with latest trunk<br><br><div>I hangup during a JS session.<br><br>Logs:<br><br>2007-05-12 10:30:05 [INFO] switch_core_session.c:349<br>switch_core_session_receive_message() Kill<br>sofia/192.168.0.138/jonas@192.168.0.138:5060 [BREAK]<br>2007-05-12 10:30:05 [NOTICE] mod_spidermonkey.c:1468 session_answer()<br>Channel [sofia/192.168.0.138/jonas@192.168.0.138:5060] has been<br>answered<br>2007-05-12 10:30:05 [NOTICE] main.js:56 console_log() Playing ivrMenu.<br>2007-05-12 10:30:05 [ERR] mod_sndfile.c:145 sndfile_file_open() Error<br>Opening File [sound\en\ivrMenu.wav] [System error : Det gÕr inte att<br>hitta
 s÷kvõgen.<br>]<br>2007-05-12 10:30:05 [NOTICE] main.js:56 console_log() Main menu...<br>2007-05-12 10:30:05 [NOTICE] main.js:56 console_log() maxAtempts: 3<br>2007-05-12 10:30:05 [DEBUG] sofia.c:992 sofia_handle_sip_i_state()<br>Channel sofia/192.168.0.138/jonas@192.168.0.138:5060 entering state<br>[completed]<br>2007-05-12 10:30:05 [DEBUG] sofia.c:992 sofia_handle_sip_i_state()<br>Channel sofia/192.168.0.138/jonas@192.168.0.138:5060 entering state<br>[ready]<br>2007-05-12 10:30:11 [DEBUG] sofia.c:992 sofia_handle_sip_i_state()<br>Channel sofia/192.168.0.138/jonas@192.168.0.138:5060 entering state<br>[terminated]<br>2007-05-12 10:30:11 [NOTICE] sofia.c:1281 sofia_handle_sip_i_state()<br>Hangup sofia/192.168.0.138/jonas@192.168.0.138:5060 [CS_EXECUTE]<br>[NORMAL_CLEARING]<br>2007-05-12 10:30:11 [INFO] switch_channel.c:1055<br>switch_channel_perform_hangup() Kill<br>sofia/192.168.0.138/jonas@192.168.0.138:5060 [KILL]<br>Assertion failure: me == CurrentThreadId(), at
 ..\..\js\src\jslock.c:1001<br>2007-05-12 10:30:17 [DEBUG] main.js:56 console_log() [digits] Did not<br>get all digits, returning cache:<br>2007-05-12 10:30:17 [NOTICE] main.js:56 console_log() notice<br>2007-05-12 10:30:17 [NOTICE] main.js:56 console_log() Playing digit_timeout.<br>2007-05-12 10:30:17 [ERR] mod_spidermonkey.c:1188 session_streamfile()<br>Session is not active!<br>2007-05-12 10:30:17 [ERR] mod_spidermonkey.c:1391 session_get_digits()<br>Session is not active!<br>2007-05-12 10:30:17 [DEBUG] main.js:56 console_log() [digits] Got our digits: f<br>2007-05-12 10:30:17 [NOTICE] main.js:56 console_log() notice<br>2007-05-12 10:30:17 [NOTICE] main.js:56 console_log() Playing digit_error.<br>2007-05-12 10:30:17 [ERR] mod_spidermonkey.c:1188 session_streamfile()<br>Session is not active!<br>2007-05-12 10:30:17 [DEBUG] main.js:56 console_log() [digits] Had<br>digits in cache, using them: a<br>2007-05-12 10:30:17 [NOTICE] main.js:56 console_log() notice<br>2007-05-12
 10:30:17 [NOTICE] main.js:56 console_log() Playing digit_error.<br>2007-05-12 10:30:18 [ERR] mod_spidermonkey.c:1188 session_streamfile()<br>Session is not active!<br>2007-05-12 10:30:18 [NOTICE] main.js:56 console_log() Playing digit_maxattempts.<br>2007-05-12 10:30:18 [ERR] mod_spidermonkey.c:1188 session_streamfile()<br>Session is not active!<br>2007-05-12 10:30:18 [ERR] mod_spidermonkey.c:1733 session_hangup()<br>Session is not active!<br><br><br>Here is the callstack:<br><br><br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;msvcr80d.dll!_NMSG_WRITE(int rterrnum=10)&nbsp;&nbsp;Line 198&nbsp;&nbsp;&nbsp;&nbsp;C<br> &nbsp;&nbsp;&nbsp;&nbsp;msvcr80d.dll!abort()&nbsp;&nbsp;Line 59 + 0x7 bytes&nbsp;&nbsp;&nbsp;&nbsp;C<br> &nbsp;&nbsp;&nbsp;&nbsp;js32.dll!JS_Assert(const char * s=0x02102c24, const char *<br>file=0x02102c3c, int ln=1001)&nbsp;&nbsp;Line 64&nbsp;&nbsp;&nbsp;&nbsp;C<br> &nbsp;&nbsp;&nbsp;&nbsp;js32.dll!js_Lock(JSThinLock * tl=0x00e6f368, long me=15313096)&nbsp;&nbsp;Line<br>1001
 + 0x20 bytes&nbsp;&nbsp;&nbsp;&nbsp;C<br> &nbsp;&nbsp;&nbsp;&nbsp;js32.dll!js_AtomizeString(JSContext * cx=0x00e9a650, JSString *<br>str=0x01c6ee68, unsigned int flags=128)&nbsp;&nbsp;Line 667 + 0x19 bytes&nbsp;&nbsp;&nbsp;&nbsp;C<br> &nbsp;&nbsp;&nbsp;&nbsp;js32.dll!js_Atomize(JSContext * cx=0x00e9a650, const char *<br>bytes=0x020dc8d8, unsigned int length=14, unsigned int flags=0)&nbsp;&nbsp;Line<br>752 + 0x16 bytes&nbsp;&nbsp;&nbsp;&nbsp;C<br> &nbsp;&nbsp;&nbsp;&nbsp;js32.dll!js_FindConstructor(JSContext * cx=0x00e9a650, JSObject *<br>start=0x00000000, const char * name=0x020dc8d8, long * vp=0x01c6ef28)<br>Line 2050 + 0x1c bytes&nbsp;&nbsp;&nbsp;&nbsp;C<br> &nbsp;&nbsp;&nbsp;&nbsp;js32.dll!GetClassPrototype(JSContext * cx=0x00e9a650, JSObject *<br>scope=0x00000000, const char * name=0x020dc8d8, JSObject * *<br>protop=0x01c6ef68)&nbsp;&nbsp;Line 3833 + 0x15 bytes&nbsp;&nbsp;&nbsp;&nbsp;C<br> &nbsp;&nbsp;&nbsp;&nbsp;js32.dll!js_GetClassPrototype(JSContext * cx=0x00e9a650,
 const char<br>* name=0x020dc8d8, JSObject * * protop=0x01c6ef68)&nbsp;&nbsp;Line 3823 + 0x13<br>bytes&nbsp;&nbsp;&nbsp;&nbsp;C<br> &nbsp;&nbsp;&nbsp;&nbsp;js32.dll!js_ErrorToException(JSContext * cx=0x00e9a650, const char *<br>message=0x00ecf5e8, JSErrorReport * reportp=0x01c6efcc)&nbsp;&nbsp;Line 992 +<br>0x1a bytes&nbsp;&nbsp;&nbsp;&nbsp;C<br> &nbsp;&nbsp;&nbsp;&nbsp;js32.dll!ReportError(JSContext * cx=0x00e9a650, const char *<br>message=0x00ecf5e8, JSErrorReport * reportp=0x01c6efcc)&nbsp;&nbsp;Line 699 +<br>0x11 bytes&nbsp;&nbsp;&nbsp;&nbsp;C<br> &nbsp;&nbsp;&nbsp;&nbsp;js32.dll!js_ReportErrorNumberVA(JSContext * cx=0x00e9a650, unsigned<br>int flags=0, const JSErrorFormatString * (void *, const char *, const<br>unsigned int)* callback=0x0201abc0, void * userRef=0x00000000, const<br>unsigned int errorNumber=1, int charArgs=1, char * ap=0x01c6f034)<br>Line 1004 + 0x11 bytes&nbsp;&nbsp;&nbsp;&nbsp;C<br> &nbsp;&nbsp;&nbsp;&nbsp;js32.dll!JS_ReportErrorNumber(JSContext *
 cx=0x00e9a650, const<br>JSErrorFormatString * (void *, const char *, const unsigned int)*<br>errorCallback=0x0201abc0, void * userRef=0x00000000, const unsigned<br>int errorNumber=1, ...)&nbsp;&nbsp;Line 4490 + 0x1d bytes&nbsp;&nbsp;&nbsp;&nbsp;C<br> &nbsp;&nbsp;&nbsp;&nbsp;js32.dll!js_ReportIsNotDefined(JSContext * cx=0x00e9a650, const char<br>* name=0x00e856e0)&nbsp;&nbsp;Line 1060 + 0x16 bytes&nbsp;&nbsp;&nbsp;&nbsp;C<br> &nbsp;&nbsp;&nbsp;&nbsp;js32.dll!js_Interpret(JSContext * cx=0x00e9a650, unsigned char *<br>pc=0x00ed05a7, long * result=0x01c6fa88)&nbsp;&nbsp;Line 5504 + 0x10 bytes&nbsp;&nbsp;&nbsp;&nbsp;C<br> &nbsp;&nbsp;&nbsp;&nbsp;js32.dll!js_Invoke(JSContext * cx=0x00e9a650, unsigned int argc=2,<br>unsigned int flags=2)&nbsp;&nbsp;Line 1201 + 0x13 bytes&nbsp;&nbsp;&nbsp;&nbsp;C<br> &nbsp;&nbsp;&nbsp;&nbsp;js32.dll!js_InternalInvoke(JSContext * cx=0x00e9a650, JSObject *<br>obj=0x00e93bb8, long fval=15285488, unsigned int flags=0, unsigned int<br>argc=2, long *
 argv=0x01c6fb7c, long * rval=0x01c6fb6c)&nbsp;&nbsp;Line 1278 +<br>0x14 bytes&nbsp;&nbsp;&nbsp;&nbsp;C<br> &nbsp;&nbsp;&nbsp;&nbsp;js32.dll!JS_CallFunction(JSContext * cx=0x00e9a650, JSObject *<br>obj=0x00e93bb8, JSFunction * fun=0x00ebb740, unsigned int argc=2, long<br>* argv=0x01c6fb7c, long * rval=0x01c6fb6c)&nbsp;&nbsp;Line 4153 + 0x22 bytes&nbsp;&nbsp;&nbsp;&nbsp;C<br> &nbsp;&nbsp;&nbsp;&nbsp;mod_spidermonkey.dll!check_hangup_hook(js_session * jss=0x028af1b4)<br>Line 1115 + 0x26 bytes&nbsp;&nbsp;&nbsp;&nbsp;C<br> &nbsp;&nbsp;&nbsp;&nbsp;mod_spidermonkey.dll!hanguphook(switch_core_session *<br>session=0x00e88560)&nbsp;&nbsp;Line 1133 + 0x9 bytes&nbsp;&nbsp;&nbsp;&nbsp;C<br> &nbsp;&nbsp;&nbsp;&nbsp;FreeSwitch.dll!switch_core_session_signal_state_change(switch_core_session<br>* session=0x00e88560)&nbsp;&nbsp;Line 641 + 0xd bytes&nbsp;&nbsp;&nbsp;&nbsp;C<br> &nbsp;&nbsp;&nbsp;&nbsp;FreeSwitch.dll!switch_channel_perform_hangup(switch_channel *<br>channel=0x00e8c760, const
 char * file=0x01ae794c, const char *<br>func=0x01ae7930, int line=1281, switch_call_cause_t<br>hangup_cause=SWITCH_CAUSE_NORMAL_CLEARING)&nbsp;&nbsp;Line 1059&nbsp;&nbsp;&nbsp;&nbsp;C<br> &nbsp;&nbsp;&nbsp;&nbsp;mod_sofia.dll!sofia_handle_sip_i_state(switch_core_session *<br>session=0x00e88560, int status=200, const char * phrase=0x00ed480c,<br>nua_s * nua=0x00e41df0, sofia_profile * profile=0x00e3b208,<br>nua_handle_s * nh=0x00e76880, sofia_private *<br>sofia_private=0x00e8f408, const sip_s * sip=0x00000000, tagi_t *<br>tags=0x00ed47fc)&nbsp;&nbsp;Line 1281 + 0x28 bytes&nbsp;&nbsp;&nbsp;&nbsp;C<br> &nbsp;&nbsp;&nbsp;&nbsp;mod_sofia.dll!sofia_event_callback(nua_event_e event=nua_i_state,<br>int status=200, const char * phrase=0x00ed480c, nua_s *<br>nua=0x00e41df0, sofia_profile * profile=0x00e3b208, nua_handle_s *<br>nh=0x00e76880, sofia_private * sofia_private=0x00e8f408, const sip_s *<br>sip=0x00000000, tagi_t * tags=0x00ed47fc)&nbsp;&nbsp;Line 153 + 0x29
 bytes&nbsp;&nbsp;&nbsp;&nbsp;C<br> &nbsp;&nbsp;&nbsp;&nbsp;mod_sofia.dll!nua_event(nua_s * root_magic=0x00000000, su_msg_s * *<br>sumsg=0x01c6fe90, event_s * e=0x00ed47e8)&nbsp;&nbsp;Line 1024 + 0x7a bytes&nbsp;&nbsp;&nbsp;&nbsp;C<br> &nbsp;&nbsp;&nbsp;&nbsp;mod_sofia.dll!su_base_port_execute_msgs(su_msg_s * queue=0x00ed4860)<br> Line 253 + 0x32 bytes&nbsp;&nbsp;&nbsp;&nbsp;C<br> &nbsp;&nbsp;&nbsp;&nbsp;mod_sofia.dll!su_base_port_getmsgs(su_port_s * self=0x00e36918)<br>Line 179 + 0x9 bytes&nbsp;&nbsp;&nbsp;&nbsp;C<br> &nbsp;&nbsp;&nbsp;&nbsp;mod_sofia.dll!su_base_port_step(su_port_s * self=0x00e36918, long<br>tout=0)&nbsp;&nbsp;Line 429 + 0x11 bytes&nbsp;&nbsp;&nbsp;&nbsp;C<br> &nbsp;&nbsp;&nbsp;&nbsp;mod_sofia.dll!su_port_step(su_port_s * self=0x00e36918, long<br>tout=1000)&nbsp;&nbsp;Line 330 + 0x15 bytes&nbsp;&nbsp;&nbsp;&nbsp;C<br> &nbsp;&nbsp;&nbsp;&nbsp;mod_sofia.dll!su_root_step(su_root_s * self=0x00c4fb78, long<br>tout=1000)&nbsp;&nbsp;Line 720 + 0x10
 bytes&nbsp;&nbsp;&nbsp;&nbsp;C<br> &nbsp;&nbsp;&nbsp;&nbsp;mod_sofia.dll!sofia_profile_thread_run(apr_thread_t *<br>thread=0x00e3b450, void * obj=0x00e3b208)&nbsp;&nbsp;Line 363 + 0x11 bytes&nbsp;&nbsp;&nbsp;&nbsp;C<br> &nbsp;&nbsp;&nbsp;&nbsp;libapr.dll!dummy_worker(void * opaque=0x00e3b450)&nbsp;&nbsp;Line 80&nbsp;&nbsp;&nbsp;&nbsp;C<br> &nbsp;&nbsp;&nbsp;&nbsp;msvcr80d.dll!_callthreadstartex()&nbsp;&nbsp;Line 348 + 0xf bytes&nbsp;&nbsp;&nbsp;&nbsp;C<br> &nbsp;&nbsp;&nbsp;&nbsp;msvcr80d.dll!_threadstartex(void * ptd=0x00c4cbe0)&nbsp;&nbsp;Line 331&nbsp;&nbsp;&nbsp;&nbsp;C<br> &nbsp;&nbsp;&nbsp;&nbsp;kernel32.dll!7c80b683() &nbsp;&nbsp;&nbsp;&nbsp;<br> &nbsp;&nbsp;&nbsp;&nbsp;[Frames below may be incorrect and/or missing, no symbols loaded for<br>kernel32.dll]<br><br>_______________________________________________<br>Freeswitch-users mailing list<br>Freeswitch-users@lists.freeswitch.org<br><a target="_blank"
 href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>UNSUBSCRIBE:<a target="_blank" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br><a target="_blank" href="http://www.freeswitch.org">http://www.freeswitch.org</a><br></div></div><br></div></div><br>

<hr size=1><a href="http://us.rd.yahoo.com/evt=49935/*http://games.yahoo.com">Bored stiff?</a> Loosen up...<br><a href="http://us.rd.yahoo.com/evt=49935/*http://games.yahoo.com">Download and play hundreds of games for free</a> on Yahoo! Games.</body></html>