Closed Bug 487570 Opened 16 years ago Closed 16 years ago

"Assertion failure: fn->isFunArg(), at ../jsparse.cpp"

Categories

(Core :: JavaScript Engine, defect)

x86
macOS
defect
Not set
critical

Tracking

()

VERIFIED FIXED
mozilla1.9.2a1

People

(Reporter: gkw, Assigned: brendan)

References

Details

(4 keywords, Whiteboard: fixed-in-tracemonkey)

(function(){ for each (var x in new ( (function (){x})() for each (y in []) ) ) {const functional} })() asserts dbg TM tip without -j at Assertion failure: fn->isFunArg(), at ../jsparse.cpp:1716 autoBisect shows this is probably related to bug 487538 or http://hg.mozilla.org/tracemonkey/rev/671b816a0aa9 The first bad revision is: changeset: 27047:671b816a0aa9 user: Brendan Eich date: Wed Apr 08 18:27:44 2009 -0700 summary: Bug 487538 - bug 487271 left three tests broken in its wake (r=mrbkap).
Flags: blocking1.9.1?
Assignee: general → brendan
Flags: blocking1.9.1? → blocking1.9.1+
This will be fixed by the patch in bug 487561. In particular, the JSParseNode::setFunArg is incorrect for definitions that are also used (I think).
Depends on: 487561
Fixed in tm by patch for bug 487561. Could dup, leaving dependent for now. /be
Status: NEW → ASSIGNED
Flags: in-testsuite?
Whiteboard: fixed-in-tracemonkey
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
fixed1.9.1 by Bug 487561
Keywords: fixed1.9.1
Verified fixed with testcase in comment 0 with the following debug builds: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2a1pre) Gecko/20090522 Minefield/3.6a1pre ID:20090522133810 Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1pre) Gecko/20090522 Shiretoko/3.5pre ID:20090522153422
Status: RESOLVED → VERIFIED
Target Milestone: --- → mozilla1.9.2a1
Automatically extracted testcase for this bug was committed: https://hg.mozilla.org/mozilla-central/rev/efaf8960a929
Flags: in-testsuite? → in-testsuite+
You need to log in before you can comment on or make changes to this bug.