Re: FF 3.5 and JS_GC Crashes

Glenn Boysko <[email protected]> Tue, 28 Jul 2009 06:49:50 -0700 (PDT)
Newsgroups gmane.comp.mozilla.devel.jsdebugger
Organization http://groups.google.com
Message-ID <8d33bc9f-a6df-4f1f-8b33-11cc63c968c2@r25g2000vbn.googlegroups.com>
Thanks for all of your replies. Let me try a different question: what
is the most common way to get crashes due to JS_GC? What are the most
common pitfalls among new extension developers as they relate to
JavaScript GC problems?

You had mentioned that multiple threads can cause problems--how do you
spawn new threads in a Firefox extension?

We also have an observer service running in this extension (routing
messages). Are those all being raised on the main thread?

Thanks for any help you can provide as it relates to highlighting the
causes of JS_GC.