Closed
Bug 534341
Opened 14 years ago
Closed 14 years ago
XPConnect should not unroot globals of non-main thread contexts
Categories
(Core :: XPConnect, defect)
Core
XPConnect
Tracking
()
RESOLVED
FIXED
mozilla1.9.2
Tracking | Status | |
---|---|---|
status1.9.2 | --- | final-fixed |
blocking1.9.1 | --- | .8+ |
status1.9.1 | --- | .8-fixed |
People
(Reporter: peterv, Assigned: peterv)
Details
Attachments
(1 file, 1 obsolete file)
735 bytes,
patch
|
peterv
:
review+
peterv
:
superreview+
dveditz
:
approval1.9.1.8+
|
Details | Diff | Splinter Review |
Since we don't cycle collect contexts that are not on the main thread. We found this while running the test in bug 531225. Bent says this causes crashes (I killed it before it crashed).
Flags: blocking1.9.2?
Attachment #417203 -
Flags: superreview?(jst)
Attachment #417203 -
Flags: review?(bent.mozilla)
Updated•14 years ago
|
Attachment #417203 -
Flags: review?(bent.mozilla) → review+
Assignee | ||
Comment 1•14 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/8f6bdbf8e701
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Updated•14 years ago
|
blocking1.9.1: ? → .7+
status1.9.1:
--- → wanted
Comment 2•14 years ago
|
||
Comment on attachment 417203 [details] [diff] [review] v1 + static inline JSBool IsMainThreadContext(JSContext *cx) + { + return cx->thread == sMainJSThread; + } We already have IsMainThread(JSContext *cx), maybe just use that? :) sr=jst with that.
Attachment #417203 -
Flags: superreview?(jst) → superreview+
Updated•14 years ago
|
Flags: blocking1.9.2? → blocking1.9.2+
Whiteboard: [has patch][can land 1.9.2]
Assignee | ||
Comment 3•14 years ago
|
||
http://hg.mozilla.org/releases/mozilla-1.9.2/rev/9cda2f6b9bb0
status1.9.2:
--- → final-fixed
Whiteboard: [has patch][can land 1.9.2]
Assignee | ||
Comment 4•14 years ago
|
||
Attachment #417203 -
Attachment is obsolete: true
Attachment #417945 -
Flags: superreview+
Attachment #417945 -
Flags: review+
Attachment #417945 -
Flags: approval1.9.1.7?
Comment 5•14 years ago
|
||
Comment on attachment 417945 [details] [diff] [review] v1 Approved for 1.9.1.7, a=dveditz for release-drivers
Attachment #417945 -
Flags: approval1.9.1.7? → approval1.9.1.7+
Assignee | ||
Comment 6•14 years ago
|
||
http://hg.mozilla.org/releases/mozilla-1.9.1/rev/505f78dd66a4
Comment 7•14 years ago
|
||
Peter, any chance for QA to test this fix with a 3.5.8pre build? Do we have automated tests which cover code lines around the given patch and we can trust?
You need to log in
before you can comment on or make changes to this bug.
Description
•