TI: Assertion failure: hasSlot() && !hasMissingSlot(), at ../../jsscope.h:652

RESOLVED FIXED

Status

()

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

People

(Reporter: decoder, Unassigned)

Tracking

(Blocks: 1 bug, {assertion, regression, testcase})

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

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: js-triage-needed)

(Reporter)

Description

6 years ago
The following test asserts on jaegermonkey revision ff51ddfdf5d1 (options -m -n):


function makeGenerator() {
  yield function generatorClosure() {};
}
var generator = makeGenerator();
findReferences(generator);
Related to bug 698074 ? (The testcase there doesn't involve yield)
This has the same regressing changeset as bug 698074, so fwiw, that bug might just be a dupe of this one.

The flags (-m -n) specified in comment 0 weren't needed either.

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.
Blocks: 684505
Keywords: regression
Hardware: x86_64 → All
As per decoder's request, this does not reproduce on m-c changeset 1c7e1db3645b.
Use of shape->slot() instead of shape->maybeSlot() in some debugging code called under findReferences.

https://hg.mozilla.org/projects/jaegermonkey/rev/e414b516fd92
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
(Reporter)

Comment 5

4 years ago
Automatically extracted testcase for this bug was committed:

https://hg.mozilla.org/mozilla-central/rev/efaf8960a929
Flags: in-testsuite+
You need to log in before you can comment on or make changes to this bug.