Closed Bug 373828 Opened 15 years ago Closed 12 years ago

[1.8 branch] "Assertion failure: op == JSOP_LEAVEBLOCKEXPR ? ..." with let that binds nothing

Categories

(Core :: JavaScript Engine, defect)

1.8 Branch
x86
macOS
defect
Not set
critical

Tracking

()

RESOLVED WONTFIX

People

(Reporter: jruderman, Unassigned)

Details

(Keywords: crash, testcase)

js> for(let y in [5,6]) let([] = [1]) (function(){ })
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:5869

This can cause a null deref in opt:

js> for(let y in [5,6]) let([] = [1]) (function(){ }); d;
Bus error
WFM (Mac trunk debug jsshell).
Status: NEW → RESOLVED
Closed: 14 years ago
Flags: in-testsuite?
Resolution: --- → WORKSFORME
/cvsroot/mozilla/js/tests/js1_7/regress/regress-373828.js,v  <--  regress-373828.js
initial revision: 1.1
Flags: in-testsuite? → in-testsuite+
morphing bug for 1.8.1
Status: RESOLVED → REOPENED
Flags: wanted1.8.1.x?
Resolution: WORKSFORME → ---
Summary: "Assertion failure: op == JSOP_LEAVEBLOCKEXPR ? ..." with let that binds nothing → [1.8 branch] "Assertion failure: op == JSOP_LEAVEBLOCKEXPR ? ..." with let that binds nothing
Version: Trunk → 1.8 Branch
Would resolving WFM be a better option?
1.8.x is over.
Status: REOPENED → RESOLVED
Closed: 14 years ago12 years ago
Resolution: --- → WONTFIX
Flags: wanted1.8.1.x?
You need to log in before you can comment on or make changes to this bug.