ASSERTION: nsWindowWatcher not thread-safe (was: Re: Problems using trunk (1.9) XULRunner/JavaXPCOM)
Christopher Rued <[email protected]> Thu, 24 Jan 2008 18:28:52 -0500
| Newsgroups | gmane.comp.mozilla.devel.java |
|---|---|
| Organization | XSB, Inc. |
| Message-ID | <[email protected]> |
Hi Michal, Michal Ceresna wrote: > On Wednesday 23 January 2008, Christopher Rued wrote: > Hello Chris, > > >> Which causes an assertion error: >> >> ###!!! ASSERTION: nsWindowWatcher not thread-safe: >> '_mOwningThread.GetThread() == PR_GetCurrentThread()', file >> c:/dev/xulrunner/mozilla/embedding/components/windowwatcher/src/nsWindowWat >> cher.cpp, line 325 >> >> Am I not creating the proxy properly? Any idea what's wrong? Good >> documentation to read? >> > Shouldn't you create the proxy on the second thread instead > of the main thread? I think this the problem. > Thanks for the reply. I tried that, but it just caused the assertion error sooner (during the creation of the proxy). :-( --Chris