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

RESOLVED FIXED

Status

()

Core
JavaScript Engine
--
critical
RESOLVED FIXED
6 years ago
5 years ago

People

(Reporter: gkw, Unassigned)

Tracking

({assertion, regression, testcase})

Trunk
x86
Linux
assertion, regression, testcase
Points:
---
Dependency tree / graph
Bug Flags:
in-testsuite +

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

6 years ago
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
Last Resolved: 6 years ago
Resolution: --- → FIXED
Created attachment 573249 [details] [diff] [review]
patch
Attachment #573249 - Flags: review?(luke)

Updated

6 years ago
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.