Closed Bug 52622 Opened 26 years ago Closed 26 years ago

nsURILoader not thread-safe

Categories

(Core :: Networking, defect, P3)

x86
Linux
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: alla, Assigned: mscott)

Details

Ok. When running a lot of stuff (10 mozilla instances) on my SMP machine i got a few of these warnings: ###!!! ASSERTION: nsURILoader not thread-safe: 'owningThread == NS_CurrentThread()', file /export/alex/mozilla/xpcom/base/nsDebug.cpp, line 490 ###!!! Break: at file /export/alex/mozilla/xpcom/base/nsDebug.cpp, line 490 I suppose nsURILoader needs a threadsave QI.
->mscott
Assignee: gagan → mscott
The URILoader should never be invoked from a thread other than the UI thread. If you ever get a full stack trace when you hit this assertion I'd love to see whose calling us. Thanks!
This was caused because PSM was invoking the uriloader from the wrong thread. They have since fixed this.
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
verified
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.