Subj : Re: JS_HandleTrap unhandled exception To : netscape.public.mozilla.jseng From : Mike Moening Date : Thu Mar 31 2005 08:42 pm Here's the call stack before the crash: JS_HandleTrap(JSContext * 0x009729d8, JSScript * 0x01225e68, unsigned char * 0x01225ee8, long * 0x0012e5cc) line 212 + 29 bytes js_Interpret(JSContext * 0x009729d8, long * 0x0012e76c) line 3478 + 21 bytes js_Invoke(JSContext * 0x009729d8, unsigned int 0, unsigned int 1) line 958 + 13 bytes js_Interpret(JSContext * 0x009729d8, long * 0x0012f478) line 2585 + 15 bytes js_Execute(JSContext * 0x009729d8, JSObject * 0x00979348, JSScript * 0x01226b90, JSStackFrame * 0x00000000, unsigned int 0, long * 0x0012faa8) line 1159 + 13 bytes The js_Interpret is handling a JSOP_NEW and calling: ok = js_Invoke(cx, argc, JSINVOKE_CONSTRUCT); .