Closed Bug 675581 Opened 14 years ago Closed 14 years ago

"Assertion failure: js_CheckForStringIndex(id) == id" with e4x

Categories

(Core :: JavaScript Engine, defect)

x86
macOS
defect
Not set
critical

Tracking

()

VERIFIED FIXED
mozilla8

People

(Reporter: gkw, Assigned: jorendorff)

Details

(Keywords: assertion, regression, testcase)

Attachments

(2 files)

Attached file stack
x=<x/> x.(-0 in x) asserts js debug shell on MI changeset b4165ae3685f without any CLI arguments at Assertion failure: js_CheckForStringIndex(id) == id, autoBisect shows this is probably related to the following changeset: The first bad revision is: changeset: 73438:cad13a541e30 user: Jason Orendorff date: Wed Jul 27 17:44:29 2011 -0500 summary: Bug 651940 - When hashing a jsid, assert that js_CheckForStringIndex(id) == id. r=Waldo.
Whiteboard: js-triage-needed
This invariant is old. Only the assertion is new in that revision. This is probably a very old bug. Removing the bugzilla dependency. Looking into it.
No longer blocks: 651940
Attached patch v1Splinter Review
Here E4X is using a function whose only other caller is JS_Alias*. Whee.
Assignee: general → jorendorff
Attachment #550568 - Flags: review?(jwalden+bmo)
Attachment #550568 - Flags: review?(jwalden+bmo) → review+
Summary: "Assertion failure: js_CheckForStringIndex(id) == id," with e4x → "Assertion failure: js_CheckForStringIndex(id) == id" with e4x
Whiteboard: js-triage-needed → [inbound]
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Whiteboard: [inbound]
Target Milestone: --- → mozilla8
A testcase for this bug was automatically identified at js/src/tests/js1_8_5/regress/regress-675581.js.
Flags: in-testsuite+
Testcases have been landed by virtue of being marked in-testsuite+ -> VERIFIED as well.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: