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

RESOLVED WONTFIX

Status

()

Core
JavaScript Engine
--
critical
RESOLVED WONTFIX
11 years ago
2 years ago

People

(Reporter: Jesse Ruderman, Unassigned)

Tracking

(Blocks: 1 bug, {crash, testcase})

1.8 Branch
x86
Mac OS X
crash, testcase
Points:
---
Bug Flags:
in-testsuite +

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

11 years ago
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
(Reporter)

Comment 1

11 years ago
WFM (Mac trunk debug jsshell).
Status: NEW → RESOLVED
Last Resolved: 11 years ago
Flags: in-testsuite?
Resolution: --- → WORKSFORME
(Reporter)

Updated

11 years ago
No longer blocks: 349611
(Reporter)

Updated

11 years ago
Blocks: 349611

Comment 2

10 years ago
/cvsroot/mozilla/js/tests/js1_7/regress/regress-373828.js,v  <--  regress-373828.js
initial revision: 1.1
Flags: in-testsuite? → in-testsuite+

Comment 3

9 years ago
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?
(Reporter)

Comment 5

9 years ago
1.8.x is over.
Status: REOPENED → RESOLVED
Last Resolved: 11 years ago9 years ago
Resolution: --- → WONTFIX

Updated

2 years ago
Flags: wanted1.8.1.x?
You need to log in before you can comment on or make changes to this bug.