Closed
Bug 353079
Opened 18 years ago
Closed 18 years ago
"Assertion failure: op == JSOP_LEAVEBLOCKEXPR ? ..." with WAY_TOO_MUCH_GC
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
VERIFIED
FIXED
People
(Reporter: jruderman, Assigned: igor)
Details
(Keywords: crash, testcase, verified1.8.1, Whiteboard: [sg:critical?] js1.7)
Attachments
(2 files, 1 obsolete file)
2.40 KB,
patch
|
igor
:
review+
mrbkap
:
review+
mtschrep
:
approval1.8.1+
|
Details | Diff | Splinter Review |
2.38 KB,
text/plain
|
Details |
This is with "prep patch for plan A, v7b" from bug 346642. You must have WAY_TOO_MUCH_GC enabled to see the bug. js> for (let a in [1]) let (x) { for(let y in ((function(id2) { return id2; })( '' ))) { } } Assertion failure: op == JSOP_LEAVEBLOCKEXPR ? fp->spbase + OBJ_BLOCK_DEPTH(cx, obj) == sp - 1 : fp->spbase + OBJ_BLOCK_DEPTH(cx, obj) == sp, at jsinterp.c:6031
Assignee | ||
Updated•18 years ago
|
Assignee: general → igor.bukanov
Comment 1•18 years ago
|
||
I've diagnosed this, Igor is on it. Should fix for 1.8.1. /be
Flags: blocking1.8.1?
Assignee | ||
Comment 2•18 years ago
|
||
The fix. It is the minimal version since it also moved parent checks, but it is easy to comment what is going on in this way.
Attachment #241501 -
Flags: review?(brendan)
Assignee | ||
Updated•18 years ago
|
Attachment #241501 -
Flags: review?(mrbkap)
Comment 3•18 years ago
|
||
Comment on attachment 241501 [details] [diff] [review] Fix v1 r=me, please land ASAP. The branch will need a different patch without JS_PUSH_TEMP_ROOT_OBJECT. /be
Attachment #241501 -
Flags: review?(brendan) → review+
Updated•18 years ago
|
OS: Mac OS X 10.4 → All
Hardware: Macintosh → All
Assignee | ||
Comment 4•18 years ago
|
||
A patch to commit that does not use the object form of tvr root to saty compatible with 1.8.1 branch.
Attachment #241501 -
Attachment is obsolete: true
Attachment #241510 -
Flags: review+
Attachment #241501 -
Flags: review?(mrbkap)
Updated•18 years ago
|
Attachment #241510 -
Flags: approval1.8.1?
Assignee | ||
Updated•18 years ago
|
Attachment #241510 -
Flags: review?(mrbkap)
Assignee | ||
Comment 5•18 years ago
|
||
I committed the patch from comment 4 to the trunk: Checking in jsinterp.c; /cvsroot/mozilla/js/src/jsinterp.c,v <-- jsinterp.c new revision: 3.297; previous revision: 3.296 done
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Updated•18 years ago
|
Attachment #241510 -
Flags: review?(mrbkap) → review+
Comment 6•18 years ago
|
||
Updated•18 years ago
|
Flags: in-testsuite+
Comment 7•18 years ago
|
||
Comment on attachment 241510 [details] [diff] [review] Fix v2 Approved for RC3.
Attachment #241510 -
Flags: approval1.8.1? → approval1.8.1+
Updated•18 years ago
|
Flags: blocking1.8.1? → blocking1.8.1+
Assignee | ||
Comment 8•18 years ago
|
||
I committed the patch from comment 4 to MOZILLA_1_8_BRANCH: Checking in jsinterp.c; /cvsroot/mozilla/js/src/jsinterp.c,v <-- jsinterp.c new revision: 3.181.2.68; previous revision: 3.181.2.67 done
Assignee | ||
Updated•18 years ago
|
Keywords: fixed1.8.1
Updated•18 years ago
|
Whiteboard: [sg:critical?] js1.7
Comment 9•18 years ago
|
||
verified fixed 1.8 20061011 dbg way too much gc builds on windows/macppc/linux
Keywords: fixed1.8.1 → verified1.8.1
Updated•18 years ago
|
Group: security
Comment 11•18 years ago
|
||
/cvsroot/mozilla/js/tests/js1_7/regress/regress-353079.js,v <-- regress-353079.js
You need to log in
before you can comment on or make changes to this bug.
Description
•