Closed Bug 516263 Opened 15 years ago Closed 15 years ago

"Assertion failure: kind == JSLOCAL_VAR, at ../jsfun.cpp" with eval, for...in

Categories

(Core :: JavaScript Engine, defect, P1)

x86
macOS
defect

Tracking

()

RESOLVED FIXED

People

(Reporter: gkw, Assigned: brendan)

References

Details

(Keywords: assertion, regression, testcase, Whiteboard: fixed-in-tracemonkey)

Attachments

(1 file)

(function () {
    for (w in (eval("eval(\"#1#\",#1=[#1#])"))) 
    function(){}
})()

assert js debug shell on TM tip without -j at Assertion failure: kind == JSLOCAL_VAR, at ../jsfun.cpp:1807

autoBisect shows this is probably related to bug 515815:

The first bad revision is:
changeset:   32229:23c4d4f10fcd
user:        Brendan Eich
date:        Fri Sep 11 10:47:47 2009 -0700
summary:     Bug 515815 - TM: Regression on shell test case regress-452498-224.js (r=igor).
Flags: blocking1.9.2?
Attached patch fixSplinter Review
Assignee: general → brendan
Status: NEW → ASSIGNED
Attachment #400408 - Flags: review?(igor)
Flags: blocking1.9.2? → blocking1.9.2+
Comment on attachment 400408 [details] [diff] [review]
fix

As with the bug 516262, the patch should use a symbolic constant. r+ with that fixed.
Attachment #400408 - Flags: review?(igor)
http://hg.mozilla.org/tracemonkey/rev/3eacc26d9dd0

/be
Whiteboard: fixed-in-tracemonkey
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Priority: -- → P1
Flags: blocking1.9.2+ → blocking1.9.2?
Need a blocking decision here for mozilla-1.9.2.
blocking-, a regression from a patch that didn't land on 1.9.2
Flags: blocking1.9.2? → blocking1.9.2-
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: