Closed
Bug 400322
Opened 17 years ago
Closed 15 years ago
"ASSERTION: nsStandardURL not thread-safe" (nsJARInputThunk marked as threadsafe uses nsJARURI in a non threadsafe manner)
Categories
(Core :: Networking: JAR, defect)
Core
Networking: JAR
Tracking
()
RESOLVED
FIXED
mozilla1.9.2a1
People
(Reporter: jruderman, Assigned: timeless)
References
()
Details
(Keywords: assertion)
Attachments
(1 file, 2 obsolete files)
1.79 KB,
patch
|
timeless
:
review+
Biesinger
:
superreview+
|
Details | Diff | Splinter Review |
I hit this assertion a few hours ago: ###!!! ASSERTION: nsStandardURL not thread-safe: '_mOwningThread.GetThread() == PR_GetCurrentThread()', file /Users/jruderman/trunk/mozilla/netwerk/base/src/nsStandardURL.cpp, line 931 I can't reproduce, but I do have a stack trace, thanks to XPCOM_DEBUG_BREAK=stack and fix-macosx-stack.pl. I think the assertion was triggered by a missing-plugin bar appearing. Maybe that required Firefox to load some extra script or the missing-plugin image from a jar file?
Reporter | ||
Updated•17 years ago
|
Flags: blocking1.9?
Comment 1•17 years ago
|
||
Jesse - why did you nom this for blocking?
Reporter | ||
Comment 2•17 years ago
|
||
Because thread safety violations scare me. (Should they scare me?)
Comment 3•17 years ago
|
||
Minusing - if we get a reproducible test case and/or if we are security concerned please re-nom
Flags: blocking1.9? → blocking1.9-
Summary: "ASSERTION: nsStandardURL not thread-safe" within nsJARURI::~nsJARURI → "ASSERTION: nsStandardURL not thread-safe" (nsJARInputThunk marked as threadsafe uses nsJARURI in a non threadsafe manner)
Target Milestone: --- → psm1.3
Comment 5•16 years ago
|
||
Comment on attachment 336610 [details] [diff] [review] don't hold uris they're for the main thread only + NS_ENSURE_STATE(mJarDirSpec.IsEmpty()); Don't you mean !mJarDirSpec.IsEmpty()?
Attachment #336610 -
Flags: review?(cbiesinger) → review+
Comment 6•16 years ago
|
||
timeless: one little review comment in comment 5 saying you got the patch backward ;) and you need to request sr.
Whiteboard: [timeless: need new patch][timeless: request sr]
Attachment #285405 -
Attachment is obsolete: true
Attachment #336610 -
Attachment is obsolete: true
Attachment #355311 -
Flags: review+
Updated•16 years ago
|
Attachment #355311 -
Flags: superreview?(cbiesinger)
Updated•16 years ago
|
OS: Mac OS X → All
Hardware: x86 → All
Whiteboard: [timeless: need new patch][timeless: request sr] → [timeless: pending-sr]
Target Milestone: mozilla2.0 → mozilla1.9.2a1
Updated•15 years ago
|
Attachment #355311 -
Flags: superreview?(cbiesinger) → superreview+
Comment 8•15 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/4c8363cef88b
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Whiteboard: [timeless: pending-sr]
You need to log in
before you can comment on or make changes to this bug.
Description
•