Closed
Bug 352640
Opened 18 years ago
Closed 18 years ago
Crash [@ js_LexicalLookup] with do..while, with, let
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: jruderman, Unassigned)
Details
(Keywords: crash, testcase)
Crash Data
js> new Function("do { with({}) let x; let b; } while( 1 );") Assertion failure: scopeStmt, at jsparse.c:3570 js> new Function("do { with({}) let x; var b; } while( 1 );") Crash [@ js_LexicalLookup] js> new Function("do { with({}) let x; [2 for each (b in [])]; } while( 1 );") Crash [@ js_LexicalLookup]
Reporter | ||
Comment 1•18 years ago
|
||
Also: js> new Function("switch(w) { case 2: with({}) let y; case 3: }")
Reporter | ||
Comment 2•18 years ago
|
||
Seems like a null deref in opt builds. Odd that the second one in comment 0 crashes in debug but not in opt, though.
Reporter | ||
Comment 3•18 years ago
|
||
WFM on trunk (even without the "destructuring decompilation" (v5d) patch from bug 346642).
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → WORKSFORME
Updated•16 years ago
|
Flags: in-testsuite?
Comment 4•16 years ago
|
||
/cvsroot/mozilla/js/tests/js1_7/regress/regress-352640-01.js,v <-- regress-352640-01.js initial revision: 1.1 /cvsroot/mozilla/js/tests/js1_7/regress/regress-352640-02.js,v <-- regress-352640-02.js initial revision: 1.1 /cvsroot/mozilla/js/tests/js1_7/regress/regress-352640-03.js,v <-- regress-352640-03.js initial revision: 1.1 /cvsroot/mozilla/js/tests/js1_7/regress/regress-352640-04.js,v <-- regress-352640-04.js initial revision: 1.1
Flags: in-testsuite? → in-testsuite+
Updated•13 years ago
|
Crash Signature: [@ js_LexicalLookup]
You need to log in
before you can comment on or make changes to this bug.
Description
•