Closed Bug 585407 Opened 14 years ago Closed 14 years ago

TM: "Assertion failure: &sprop->methodObject() == &vp->toObject(),"

Categories

(Core :: JavaScript Engine, defect)

x86
macOS
defect
Not set
critical

Tracking

()

RESOLVED DUPLICATE of bug 581785
Tracking Status
blocking2.0 --- beta7+

People

(Reporter: gkw, Unassigned)

References

Details

(Keywords: assertion, regression, testcase)

function z() {
    this.e = function() {};
    this.e = /x/;
    Object.defineProperty(this, "e", {})
}
for (b in [0, 0, 0, 0]) {
    new z()
}

asserts js debug shell on TM changeset 3381eda6b5ae with -j at Assertion failure: &sprop->methodObject() == &vp->toObject(), at ../jsobj.cpp:4662
autoBisect shows this is probably related to the following changeset:

The first bad revision is:
changeset:   37732:6a3c15f34a50
user:        Jeff Walden
date:        Tue Jan 26 18:41:30 2010 -0800
summary:     Bug 540985 - Regression in Peacekeeper string benchmarks due to regexp literals no longer tracing.  A prototype of this patch was by bz.  r=igor
Blocks: 540985
blocking2.0: --- → ?
blocking2.0: ? → beta6+
This looks very very very much like a duplicate of bug 581785, particularly if I rapid-tab between this report and that one and see that the only difference (after renaming) is what's assigned in the middle statement inside the function.  I'm going to mark it as such, and per standard practice when the fix for that bug lands the person doing so should check this bug too to make sure it really was a dup.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
A testcase for this bug was already added in the original bug (bug 581785).
Flags: in-testsuite-
You need to log in before you can comment on or make changes to this bug.