Re: FF 3.5 and JS_GC Crashes
Glenn Boysko <[email protected]> Fri, 24 Jul 2009 08:45:30 -0700 (PDT)
| Newsgroups | gmane.comp.mozilla.devel.jsdebugger |
|---|---|
| Organization | http://groups.google.com |
| Message-ID | <ffd04002-e8b7-48c1-841a-75154c84257b@g23g2000vbr.googlegroups.com> |
> > We are finding many crashes associated with Firefox 3.5 that we are > > not seeing with FF 3.0.x. The debug stacks seem to indicate failures > > in JS_GC and other JavaScript related APIs. > > Are any of the calls to the JS component on a thread other than the > main thread? I believe that all of the calls to the JS XPCOM component are on the main thread. The JS XPCOM component creates a Timer and updates a series of broadcast elements when the timer is handled. Does that mean that the JS XPCOM component is being called (internally) on another thread if it invoked from a nsITimer? If it was being invoked from another thread (other than the main), what should we do? Are there specially precautions I can take to prevent GC crashes? Thanks, Glenn