Closed Bug 699166 Opened 8 years ago Closed 8 years ago

TI: "Assertion failure: hasSlot() && !hasMissingSlot(),"

Categories

(Core :: JavaScript Engine, defect, critical)

x86
Linux
defect
Not set
critical

Tracking

()

RESOLVED FIXED

People

(Reporter: gkw, Unassigned)

References

Details

(Keywords: assertion, regression, testcase)

Attachments

(1 file)

a = "".__proto__
b = uneval().__proto__
for (var i = 0; i < 2; i++) {
    a.__defineSetter__("valueOf", function() {})
    a + ""
    delete b.valueOf
}

asserts js debug shell on JM changeset f951e9151626 without any CLI flags at Assertion failure: hasSlot() && !hasMissingSlot(),

autoBisect shows this is probably related to the following changeset:

The first bad revision is:
changeset:   77570:ff51ddfdf5d1
user:        Brian Hackett
date:        Wed Sep 28 15:04:55 2011 -0700
summary:     Remove shape numbers and Shape::slotSpan, factor Shape getter/setter into BaseShape, bug 684505.
Incorrect fix from bug 698074, HasDataProperty is looking for a slotful native property on an object but did not test the result of nativeLookup correctly.

https://hg.mozilla.org/projects/jaegermonkey/rev/0a4e7fe9b62f
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Attached patch patchSplinter Review
Attachment #573249 - Flags: review?(luke)
Attachment #573249 - Flags: review?(luke) → review+
A testcase for this bug was automatically identified at js/src/jit-test/tests/basic/bug699166.js.
Flags: in-testsuite+
You need to log in before you can comment on or make changes to this bug.