Closed
Bug 948023
Opened 11 years ago
Closed 11 years ago
Refactor ReconstructStackDepth to allow handling of OOM condition
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
FIXED
mozilla29
People
(Reporter: decoder, Assigned: decoder)
References
(Blocks 1 open bug)
Details
(Keywords: assertion, sec-want, Whiteboard: [qa-][adv-main28-])
Attachments
(1 file)
4.19 KB,
patch
|
jandem
:
review+
lsblakk
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
Right now, [@ ReconstructStackDepth] returns false both when an OOM occurs and when the *pc is unreachable. The attached patch refactors the function to return false on OOM and pass the reachable/unreachable part back in a second variable. With this patch, some OOM assertions are fixed that LangFuzz keeps hitting.
Attachment #8344767 -
Flags: review?(jdemooij)
Comment 1•11 years ago
|
||
Comment on attachment 8344767 [details] [diff] [review] js-ReconstructStackDepth-oom.patch Review of attachment 8344767 [details] [diff] [review]: ----------------------------------------------------------------- Thanks.
Attachment #8344767 -
Flags: review?(jdemooij) → review+
Assignee | ||
Comment 2•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/029c51a1a898
Status: NEW → ASSIGNED
https://hg.mozilla.org/mozilla-central/rev/029c51a1a898
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla29
Comment 4•11 years ago
|
||
Christian: should this OOM fix be uplifted to Aurora 28?
Flags: needinfo?(choller)
Assignee | ||
Comment 5•11 years ago
|
||
This isn't a huge refactoring, but it's still more than just adding a null check, so I suggest we just let it ride the trains. No immediate need for this on the branches.
Flags: needinfo?(choller)
Assignee | ||
Comment 6•11 years ago
|
||
gkw just pointed out that Aurora 28 is going to be used as a foundation for the next B2G version. Since OOM crashes are more of an issue to them than regularly, it might be worth uplifting. I'll fill out the form.
Assignee | ||
Comment 7•11 years ago
|
||
Comment on attachment 8344767 [details] [diff] [review] js-ReconstructStackDepth-oom.patch [Approval Request Comment] Bug caused by (feature/regressing bug #): N/A User impact if declined: Crashes in OOM conditions Testing completed (on m-c, etc.): A few days on mozilla-central Risk to taking this patch (and alternatives if risky): Very low, this is just a simple refactoring and adding some return value checks that were previously missing/wrong. String or IDL/UUID changes made by this patch: None
Attachment #8344767 -
Flags: approval-mozilla-aurora?
Updated•11 years ago
|
Attachment #8344767 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Assignee | ||
Comment 8•11 years ago
|
||
https://hg.mozilla.org/releases/mozilla-aurora/rev/c6eb37cebcd9
status-firefox28:
--- → fixed
Updated•11 years ago
|
status-firefox29:
--- → fixed
Updated•10 years ago
|
Whiteboard: [qa-]
Updated•10 years ago
|
Whiteboard: [qa-] → [qa-][adv-main28-]
You need to log in
before you can comment on or make changes to this bug.
Description
•