Closed
Bug 349624
Opened 18 years ago
Closed 18 years ago
"let" in initial-value expression for another "let" causes assertion [@ js_Interpret]: "!fp->blockChain || OBJ_GET_PARENT(cx, obj) == fp->blockChain"
Categories
(Core :: JavaScript Engine, defect, P1)
Core
JavaScript Engine
Tracking
()
VERIFIED
FIXED
mozilla1.8.1
People
(Reporter: jruderman, Assigned: brendan)
References
Details
(Keywords: crash, testcase, verified1.8.1)
Crash Data
Attachments
(1 file)
3.89 KB,
patch
|
mrbkap
:
review+
beltzner
:
approval1.8.1+
|
Details | Diff | Splinter Review |
Steps to reproduce:
javascript:let(y = let (x) 4) 3
Result:
Assertion failure: !fp->blockChain || OBJ_GET_PARENT(cx, obj) == fp->blockChain, at /Users/admin/trunk/mozilla/js/src/jsinterp.c:5920
Assignee | ||
Comment 1•18 years ago
|
||
Dup of bug 349605. We can't nest scopes and pop the scope chain at compile time without doing the same at runtime. But, we shouldn't open the outer scope early when there's no need to nest the inner one at runtime.
/be
*** This bug has been marked as a duplicate of 349605 ***
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → DUPLICATE
Reporter | ||
Comment 2•18 years ago
|
||
Reopening: bug 349605 is fixed but this still asserts.
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
Reporter | ||
Updated•18 years ago
|
Summary: "let" in initial-value expression for another "let" causes assertion [@ js_Interpret] → "let" in initial-value expression for another "let" causes assertion [@ js_Interpret]: "!fp->blockChain || OBJ_GET_PARENT(cx, obj) == fp->blockChain"
Assignee | ||
Comment 3•18 years ago
|
||
Updated•18 years ago
|
Attachment #236181 -
Flags: review?(mrbkap) → review+
Assignee | ||
Updated•18 years ago
|
Flags: blocking1.8.1?
OS: Mac OS X 10.4 → All
Priority: -- → P1
Hardware: Macintosh → All
Target Milestone: --- → mozilla1.8.1
Assignee | ||
Updated•18 years ago
|
Attachment #236181 -
Flags: approval1.8.1?
Assignee | ||
Comment 4•18 years ago
|
||
Fixed on trunk.
/be
Status: ASSIGNED → RESOLVED
Closed: 18 years ago → 18 years ago
Resolution: --- → FIXED
Comment 5•18 years ago
|
||
Checking in regress-349624.js;
/cvsroot/mozilla/js/tests/js1_7/expressions/regress-349624.js,v <-- regress-349624.js
initial revision: 1.1
Flags: in-testsuite+
Comment 7•18 years ago
|
||
Comment on attachment 236181 [details] [diff] [review]
fix
a=beltzner on behalf of 181drivers
Attachment #236181 -
Flags: approval1.8.1? → approval1.8.1+
Updated•18 years ago
|
Flags: blocking1.8.1? → blocking1.8.1+
Comment 9•18 years ago
|
||
verified fixed 1.8 2006090118 windows/mac*/linux
Keywords: fixed1.8.1 → verified1.8.1
Updated•14 years ago
|
Crash Signature: [@ js_Interpret]
You need to log in
before you can comment on or make changes to this bug.
Description
•