Closed
Bug 701764
Opened 14 years ago
Closed 9 years ago
Assertion failure: nesting->activeFrames != 0, at jsinfer.cpp:5392
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: decoder, Assigned: bhackett1024)
References
Details
(Keywords: assertion, testcase, Whiteboard: js-triage-needed)
Attachments
(2 files)
2.74 KB,
application/x-compressed-tar
|
Details | |
952 bytes,
patch
|
luke
:
review-
|
Details | Diff | Splinter Review |
The attached test asserts on mozilla-central revision 50c1bcb49c76 (options -m -n -a, see README for running instructions).
Assignee | ||
Comment 1•14 years ago
|
||
OOM bug during function frame prologues. If we OOM while allocating a call object for the frame, the nesting prologue does not run, and we have an imbalanced active frame count after running the function epilogue to pop the frame (an incorrect count can manifest in incorrect behavior later, but not a crash). The fix bumps the active frame count on the failure path, similar to markFunctionEpilogueDone.
Assignee: general → bhackett1024
Attachment #576059 -
Flags: review?(luke)
![]() |
||
Comment 2•14 years ago
|
||
Comment on attachment 576059 [details] [diff] [review]
patch
I'm thinking this is the wrong fix: functionEpilogue should be able to gracefully handle the case where functionPrologue hasn't been called, not just for this case, but because otherwise we have this subtle requirement: if you pushInlineFrame (from C++ or mjit), you had better call functionPrologue before you do anything else that can fail (causing popInlineFrame). We previously had this sort of constraint with activation object code and it caused all sorts of problems. Surely there is some way that NestingPrologue can determine that it shouldn't do anything?
Attachment #576059 -
Flags: review?(luke) → review-
Comment 3•9 years ago
|
||
All this code was removed a long time ago.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•