Subj : Crashing in JS_EvaluateScript(). Any insight? To : netscape.public.mozilla.jseng From : J.P. Date : Wed Sep 08 2004 12:26 pm I built the JS engine with JS_THREADSAFE using VC6. Now, when I call JS_EvaluateScript(), it will ocasionally crash. The call stack shows that the program crashes at OBJ_SET_REQUIRED_SLOT(cx, obj, slot, v), because obj->map->ops->setRequiredSlot is not a valid pointer, with value 0xcdcdcdcd. Actually other funtion pointers such as getAttributes(), setAttributes(), deleteProperty()... have the same value too. I just don't know where to start to fix it. Any hint? Thanks. .