Closed
Bug 880392
Opened 11 years ago
Closed 11 years ago
GC: fix exact rooting in XPCShell
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
mozilla24
People
(Reporter: terrence, Assigned: terrence)
References
Details
Attachments
(1 file)
(deleted),
patch
|
sfink
:
review+
|
Details | Diff | Splinter Review |
XPCShell's main function has code like:
{
Rooted<> envobj(cx, ...);
...
JS_DestroyContext(cx);
}
Naturally, when ~envobj fires, |stack| is dead because the cx has been destroyed.
This is currently preventing debug builds on tbpl from completing because this crashes when generating the stage packages. Opt builds appear to "work" because we don't poison on free() -- it's just a use-after-free.
Assignee | ||
Comment 1•11 years ago
|
||
Updated•11 years ago
|
Attachment #759483 -
Flags: review?(sphink) → review+
Assignee | ||
Comment 2•11 years ago
|
||
Comment 3•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla24
You need to log in
before you can comment on or make changes to this bug.
Description
•