Closed
Bug 524264
Opened 15 years ago
Closed 15 years ago
"Assertion failure: 0, at ../jsopcode.cpp" with uneval, yield, Function, do...while
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
VERIFIED
FIXED
People
(Reporter: gkw, Assigned: jorendorff)
References
Details
(Keywords: assertion, regression, testcase, Whiteboard: fixed-in-tracemonkey)
Attachments
(1 file)
(deleted),
patch
|
dvander
:
review+
|
Details | Diff | Splinter Review |
uneval(Function("\
do {\
for each(y in []) {\
yield\
}\
}\
while(x)\
"))
asserts js debug shell without -j on TM tip at Assertion failure: 0, at ../jsopcode.cpp:3312. This seems to occur frequently.
Reporter | ||
Comment 1•15 years ago
|
||
autoBisect shows this is probably related to bug 522624:
The first bad revision is:
changeset: 34070:5ab2276549b1
user: David Anderson
date: Fri Oct 23 14:28:35 2009 -0700
summary: Fixed decompiler assertion related to JSOP_TRACE (bug 522624, r=brendan).
Blocks: 522624
Summary: "Assertion failure: 0, at ../jsopcode.cpp" → "Assertion failure: 0, at ../jsopcode.cpp" with uneval, yield, Function, do...while
I can't win against this thing.
Assignee | ||
Comment 3•15 years ago
|
||
Smaller test case:
uneval(function () { do yield; while (0); });
dvander and I figured this out on IRC. js_DecompileFunction is fixing up pc to skip a JSOP_TRACE opcode that isn't there for generators.
Assignee | ||
Comment 4•15 years ago
|
||
Updated•15 years ago
|
Attachment #409181 -
Flags: review?(dvander) → review+
Assignee | ||
Comment 5•15 years ago
|
||
Whiteboard: fixed-in-tracemonkey
Comment 6•15 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Comment 7•12 years ago
|
||
A testcase for this bug was automatically identified at js/src/tests/js1_8_1/regress/regress-524264.js.
Flags: in-testsuite+
Reporter | ||
Comment 8•12 years ago
|
||
Testcases have been landed by virtue of being marked in-testsuite+ -> VERIFIED as well.
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•