Subj : Re: JS_ASSERT in js_MarkScriptFilename() To : Edward Chan From : Brendan Eich Date : Thu Feb 19 2004 11:16 am Edward Chan wrote: >script->filename is pointing to freed memory, but the script object itself >still looks valid. > > You have run the GC while holding onto an unrooted script. Does the script have an object (script->object, set by JS_NewScriptObject, which you should call, and whose return value you should store in a rooted pointer)? Check your data structures for raw JSScript * members. /be .