diff --git a/src/sbbs3/js_msg_area.c b/src/sbbs3/js_msg_area.c index 145dca6df68e2a433720754eabbb28915aa06f92..a2823aad2c425cceb8c83f004943943a8a8a1b90 100644 --- a/src/sbbs3/js_msg_area.c +++ b/src/sbbs3/js_msg_area.c @@ -461,6 +461,29 @@ JSObject* DLLCALL js_CreateMsgAreaObject(JSContext* cx, JSObject* parent, scfg_t if((subobj=JS_NewObject(cx, &js_sub_class, subobj_proto, NULL))==NULL) return(NULL); +/** Crash ^^^ Here in JSexec/ircd upon recycle/reload of script: + + mozjs185-1.0.dll!62e4a968() + [Frames below may be incorrect and/or missing, no symbols loaded for mozjs185-1.0.dll] + mozjs185-1.0.dll!62eda4b2() + mozjs185-1.0.dll!62e9cd4e() + mozjs185-1.0.dll!62ea3cf0() + mozjs185-1.0.dll!62e4e39e() + mozjs185-1.0.dll!62edd884() + mozjs185-1.0.dll!62e8010f() + mozjs185-1.0.dll!62e5b0c9() + mozjs185-1.0.dll!62e4b1ee() +> sbbs.dll!js_CreateMsgAreaObject(JSContext * cx=0x07b33ce8, JSObject * parent=0x0a37f028, scfg_t * cfg=0x004a2b20, user_t * user=0x00000000, client_t * client=0x00000000, subscan_t * subscan=0x00000000) Line 459 + 0x17 bytes C + sbbs.dll!js_CreateUserObjects(JSContext * cx=0x07b33ce8, JSObject * parent=0x0a37f028, scfg_t * cfg=0x004a2b20, user_t * user=0x00000000, client_t * client=0x00000000, char * html_index_file=0x00000000, subscan_t * subscan=0x00000000) Line 1431 + 0x1d bytes C + sbbs.dll!js_CreateCommonObjects(JSContext * js_cx=0x07b33ce8, scfg_t * cfg=0x004a2b20, scfg_t * node_cfg=0x004a2b20, jsSyncMethodSpec * methods=0x00000000, __int64 uptime=0, char * host_name=0x101bdaa6, char * socklib_desc=0x101bdaa6, js_branch_t * branch=0x019c8f30, js_startup_t * js_startup=0x0012f7cc, client_t * client=0x00000000, unsigned int client_socket=4294967295, js_server_props_t * props=0x00000000) Line 3858 + 0x1b bytes C + sbbs.dll!js_load(JSContext * cx=0x02e36300, unsigned int argc=3, unsigned __int64 * arglist=0x01d700d0) Line 282 + 0x44 bytes C + mozjs185-1.0.dll!62e91dfd() + jsexec.exe!__lock_fhandle(int fh=1240564) Line 467 C + 7ffdf000() + ffff0007() + mozjs185-1.0.dll!62fe9c60() + +*/ if(subscan!=NULL) JS_SetPrivate(cx,subobj,&subscan[d]);