A lot of assertions with threaded JS on 1.7 branch

RESOLVED INCOMPLETE

Status

()

Core
XPConnect
RESOLVED INCOMPLETE
13 years ago
4 months ago

People

(Reporter: Biesinger, Unassigned)

Tracking

({assertion})

1.7 Branch
x86
All
assertion
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(2 attachments)

Situation:
- A js component that creates threads and executes code there
- Chrome code that instantiates the component and calls a function on it,
passing objects there
- The component tries very carefully to stay away from DOM Stuff, especially
global windows

Starting in 1.7.7, that causes an extreme amount of assertions about lack of
threadsafety of nsGlobalWindowImpl.
Created attachment 182896 [details] [diff] [review]
possible patch?

this patch avoids the assertions...
Created attachment 182898 [details]
example of an assertion stack

this is an example of the stack of this assertion (an nsDocument in this
case... also happens with a window though)
Assignee: dbradley → nobody
QA Contact: pschwartau → xpconnect
Hopefully singlethreaded XPConnect means that this isn't an issue any more...
Status: NEW → RESOLVED
Last Resolved: 4 months ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.