Subj : Re: SpiderMonkey crashes on invalid JSAtom* To : netscape.public.mozilla.jseng From : "itaj sherman" Date : Mon Feb 24 2003 06:13 pm i tried a few things but it always seems to crash randomly on one of the threads after running for a while. the threads that execute the scripts don't run the GC (because i implemented the GCCallback, only the GC thread does). i looked in the code of js_GC and it seems that if the callback returns false then the thread won't execute the GC and won't let any other thread do it. so at first thought i expected the GC thread to have to wait till the other threads got out of the JS_Begin/EndRequest scope, that wraps the evaluation of the scripts. i looked more into the code, and am i right to say that the only other option for the GC to run while the other threads evaluate scripts is because they suspend the request while they're in ClaimScope() ? if so, could i somehow force the GC to be posponed till after the end of the evaluation? even just for the purpose of checking if it would stop the crash. thanks itaj .