Closed
Bug 678090
Opened 14 years ago
Closed 14 years ago
Assertion failure: spoff == js_ReconstructStackDepth(cx_, fp_->script(), pc_), at vm/Stack.cpp:1012
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
FIXED
mozilla9
People
(Reporter: decoder, Assigned: luke)
Details
(Keywords: assertion, testcase, Whiteboard: [js-triage-done][inbound])
Attachments
(1 file)
1.74 KB,
patch
|
dvander
:
review+
|
Details | Diff | Splinter Review |
The following code asserts on mozilla-inbound (revision 609f37c36bd7, options -j -m -a):
function toSource(arr) {
for (i=0; i<len; i++) {}
}
test();
function test() {
function gen() {
var c = test;
try {
yield c;
} finally {
this.toSource();
}
}
var iter = gen();
for (i in iter) {
500();
}
}
![]() |
Assignee | |
Updated•14 years ago
|
Assignee: general → luke
Whiteboard: js-triage-needed → js-triage-done
![]() |
Assignee | |
Comment 1•14 years ago
|
||
Looks like there is a bug where the mjit's exception handling doesn't update the current pc to match the updated sp when closing open iterators (which is observable since this can run finalizers). I suspect this is debug-only failure; I can't think of how it would manifest a real problem.
Attachment #552545 -
Flags: review?(dvander)
![]() |
||
Updated•14 years ago
|
Attachment #552545 -
Flags: review?(dvander) → review+
![]() |
Assignee | |
Comment 2•14 years ago
|
||
Whiteboard: js-triage-done → [js-triage-done][inbound]
Comment 3•14 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/5bbc3615e387
the bug number in the changeset is wrong
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla9
Reporter | ||
Comment 4•12 years ago
|
||
Automatically extracted testcase for this bug was committed:
https://hg.mozilla.org/mozilla-central/rev/efaf8960a929
Flags: in-testsuite+
You need to log in
before you can comment on or make changes to this bug.
Description
•