[Freeswitch-users] Crash with latest trunk

Jonas Gauffin jonas.gauffin at gmail.com
Sat May 12 01:32:07 PDT 2007


I hangup during a JS session.

Logs:

2007-05-12 10:30:05 [INFO] switch_core_session.c:349
switch_core_session_receive_message() Kill
sofia/192.168.0.138/jonas at 192.168.0.138:5060 [BREAK]
2007-05-12 10:30:05 [NOTICE] mod_spidermonkey.c:1468 session_answer()
Channel [sofia/192.168.0.138/jonas at 192.168.0.138:5060] has been
answered
2007-05-12 10:30:05 [NOTICE] main.js:56 console_log() Playing ivrMenu.
2007-05-12 10:30:05 [ERR] mod_sndfile.c:145 sndfile_file_open() Error
Opening File [sound\en\ivrMenu.wav] [System error : Det gÕr inte att
hitta s÷kvõgen.
]
2007-05-12 10:30:05 [NOTICE] main.js:56 console_log() Main menu...
2007-05-12 10:30:05 [NOTICE] main.js:56 console_log() maxAtempts: 3
2007-05-12 10:30:05 [DEBUG] sofia.c:992 sofia_handle_sip_i_state()
Channel sofia/192.168.0.138/jonas at 192.168.0.138:5060 entering state
[completed]
2007-05-12 10:30:05 [DEBUG] sofia.c:992 sofia_handle_sip_i_state()
Channel sofia/192.168.0.138/jonas at 192.168.0.138:5060 entering state
[ready]
2007-05-12 10:30:11 [DEBUG] sofia.c:992 sofia_handle_sip_i_state()
Channel sofia/192.168.0.138/jonas at 192.168.0.138:5060 entering state
[terminated]
2007-05-12 10:30:11 [NOTICE] sofia.c:1281 sofia_handle_sip_i_state()
Hangup sofia/192.168.0.138/jonas at 192.168.0.138:5060 [CS_EXECUTE]
[NORMAL_CLEARING]
2007-05-12 10:30:11 [INFO] switch_channel.c:1055
switch_channel_perform_hangup() Kill
sofia/192.168.0.138/jonas at 192.168.0.138:5060 [KILL]
Assertion failure: me == CurrentThreadId(), at ..\..\js\src\jslock.c:1001
2007-05-12 10:30:17 [DEBUG] main.js:56 console_log() [digits] Did not
get all digits, returning cache:
2007-05-12 10:30:17 [NOTICE] main.js:56 console_log() notice
2007-05-12 10:30:17 [NOTICE] main.js:56 console_log() Playing digit_timeout.
2007-05-12 10:30:17 [ERR] mod_spidermonkey.c:1188 session_streamfile()
Session is not active!
2007-05-12 10:30:17 [ERR] mod_spidermonkey.c:1391 session_get_digits()
Session is not active!
2007-05-12 10:30:17 [DEBUG] main.js:56 console_log() [digits] Got our digits: f
2007-05-12 10:30:17 [NOTICE] main.js:56 console_log() notice
2007-05-12 10:30:17 [NOTICE] main.js:56 console_log() Playing digit_error.
2007-05-12 10:30:17 [ERR] mod_spidermonkey.c:1188 session_streamfile()
Session is not active!
2007-05-12 10:30:17 [DEBUG] main.js:56 console_log() [digits] Had
digits in cache, using them: a
2007-05-12 10:30:17 [NOTICE] main.js:56 console_log() notice
2007-05-12 10:30:17 [NOTICE] main.js:56 console_log() Playing digit_error.
2007-05-12 10:30:18 [ERR] mod_spidermonkey.c:1188 session_streamfile()
Session is not active!
2007-05-12 10:30:18 [NOTICE] main.js:56 console_log() Playing digit_maxattempts.
2007-05-12 10:30:18 [ERR] mod_spidermonkey.c:1188 session_streamfile()
Session is not active!
2007-05-12 10:30:18 [ERR] mod_spidermonkey.c:1733 session_hangup()
Session is not active!


Here is the callstack:


>	msvcr80d.dll!_NMSG_WRITE(int rterrnum=10)  Line 198	C
 	msvcr80d.dll!abort()  Line 59 + 0x7 bytes	C
 	js32.dll!JS_Assert(const char * s=0x02102c24, const char *
file=0x02102c3c, int ln=1001)  Line 64	C
 	js32.dll!js_Lock(JSThinLock * tl=0x00e6f368, long me=15313096)  Line
1001 + 0x20 bytes	C
 	js32.dll!js_AtomizeString(JSContext * cx=0x00e9a650, JSString *
str=0x01c6ee68, unsigned int flags=128)  Line 667 + 0x19 bytes	C
 	js32.dll!js_Atomize(JSContext * cx=0x00e9a650, const char *
bytes=0x020dc8d8, unsigned int length=14, unsigned int flags=0)  Line
752 + 0x16 bytes	C
 	js32.dll!js_FindConstructor(JSContext * cx=0x00e9a650, JSObject *
start=0x00000000, const char * name=0x020dc8d8, long * vp=0x01c6ef28)
Line 2050 + 0x1c bytes	C
 	js32.dll!GetClassPrototype(JSContext * cx=0x00e9a650, JSObject *
scope=0x00000000, const char * name=0x020dc8d8, JSObject * *
protop=0x01c6ef68)  Line 3833 + 0x15 bytes	C
 	js32.dll!js_GetClassPrototype(JSContext * cx=0x00e9a650, const char
* name=0x020dc8d8, JSObject * * protop=0x01c6ef68)  Line 3823 + 0x13
bytes	C
 	js32.dll!js_ErrorToException(JSContext * cx=0x00e9a650, const char *
message=0x00ecf5e8, JSErrorReport * reportp=0x01c6efcc)  Line 992 +
0x1a bytes	C
 	js32.dll!ReportError(JSContext * cx=0x00e9a650, const char *
message=0x00ecf5e8, JSErrorReport * reportp=0x01c6efcc)  Line 699 +
0x11 bytes	C
 	js32.dll!js_ReportErrorNumberVA(JSContext * cx=0x00e9a650, unsigned
int flags=0, const JSErrorFormatString * (void *, const char *, const
unsigned int)* callback=0x0201abc0, void * userRef=0x00000000, const
unsigned int errorNumber=1, int charArgs=1, char * ap=0x01c6f034)
Line 1004 + 0x11 bytes	C
 	js32.dll!JS_ReportErrorNumber(JSContext * cx=0x00e9a650, const
JSErrorFormatString * (void *, const char *, const unsigned int)*
errorCallback=0x0201abc0, void * userRef=0x00000000, const unsigned
int errorNumber=1, ...)  Line 4490 + 0x1d bytes	C
 	js32.dll!js_ReportIsNotDefined(JSContext * cx=0x00e9a650, const char
* name=0x00e856e0)  Line 1060 + 0x16 bytes	C
 	js32.dll!js_Interpret(JSContext * cx=0x00e9a650, unsigned char *
pc=0x00ed05a7, long * result=0x01c6fa88)  Line 5504 + 0x10 bytes	C
 	js32.dll!js_Invoke(JSContext * cx=0x00e9a650, unsigned int argc=2,
unsigned int flags=2)  Line 1201 + 0x13 bytes	C
 	js32.dll!js_InternalInvoke(JSContext * cx=0x00e9a650, JSObject *
obj=0x00e93bb8, long fval=15285488, unsigned int flags=0, unsigned int
argc=2, long * argv=0x01c6fb7c, long * rval=0x01c6fb6c)  Line 1278 +
0x14 bytes	C
 	js32.dll!JS_CallFunction(JSContext * cx=0x00e9a650, JSObject *
obj=0x00e93bb8, JSFunction * fun=0x00ebb740, unsigned int argc=2, long
* argv=0x01c6fb7c, long * rval=0x01c6fb6c)  Line 4153 + 0x22 bytes	C
 	mod_spidermonkey.dll!check_hangup_hook(js_session * jss=0x028af1b4)
Line 1115 + 0x26 bytes	C
 	mod_spidermonkey.dll!hanguphook(switch_core_session *
session=0x00e88560)  Line 1133 + 0x9 bytes	C
 	FreeSwitch.dll!switch_core_session_signal_state_change(switch_core_session
* session=0x00e88560)  Line 641 + 0xd bytes	C
 	FreeSwitch.dll!switch_channel_perform_hangup(switch_channel *
channel=0x00e8c760, const char * file=0x01ae794c, const char *
func=0x01ae7930, int line=1281, switch_call_cause_t
hangup_cause=SWITCH_CAUSE_NORMAL_CLEARING)  Line 1059	C
 	mod_sofia.dll!sofia_handle_sip_i_state(switch_core_session *
session=0x00e88560, int status=200, const char * phrase=0x00ed480c,
nua_s * nua=0x00e41df0, sofia_profile * profile=0x00e3b208,
nua_handle_s * nh=0x00e76880, sofia_private *
sofia_private=0x00e8f408, const sip_s * sip=0x00000000, tagi_t *
tags=0x00ed47fc)  Line 1281 + 0x28 bytes	C
 	mod_sofia.dll!sofia_event_callback(nua_event_e event=nua_i_state,
int status=200, const char * phrase=0x00ed480c, nua_s *
nua=0x00e41df0, sofia_profile * profile=0x00e3b208, nua_handle_s *
nh=0x00e76880, sofia_private * sofia_private=0x00e8f408, const sip_s *
sip=0x00000000, tagi_t * tags=0x00ed47fc)  Line 153 + 0x29 bytes	C
 	mod_sofia.dll!nua_event(nua_s * root_magic=0x00000000, su_msg_s * *
sumsg=0x01c6fe90, event_s * e=0x00ed47e8)  Line 1024 + 0x7a bytes	C
 	mod_sofia.dll!su_base_port_execute_msgs(su_msg_s * queue=0x00ed4860)
 Line 253 + 0x32 bytes	C
 	mod_sofia.dll!su_base_port_getmsgs(su_port_s * self=0x00e36918)
Line 179 + 0x9 bytes	C
 	mod_sofia.dll!su_base_port_step(su_port_s * self=0x00e36918, long
tout=0)  Line 429 + 0x11 bytes	C
 	mod_sofia.dll!su_port_step(su_port_s * self=0x00e36918, long
tout=1000)  Line 330 + 0x15 bytes	C
 	mod_sofia.dll!su_root_step(su_root_s * self=0x00c4fb78, long
tout=1000)  Line 720 + 0x10 bytes	C
 	mod_sofia.dll!sofia_profile_thread_run(apr_thread_t *
thread=0x00e3b450, void * obj=0x00e3b208)  Line 363 + 0x11 bytes	C
 	libapr.dll!dummy_worker(void * opaque=0x00e3b450)  Line 80	C
 	msvcr80d.dll!_callthreadstartex()  Line 348 + 0xf bytes	C
 	msvcr80d.dll!_threadstartex(void * ptd=0x00c4cbe0)  Line 331	C
 	kernel32.dll!7c80b683() 	
 	[Frames below may be incorrect and/or missing, no symbols loaded for
kernel32.dll]




More information about the FreeSWITCH-users mailing list