Closed Bug 725003 Opened 13 years ago Closed 13 years ago

IonMonkey: Assertion failure: js_CheckForStringIndex(id) == id, at js/src/jsatom.h:107

Categories

(Core :: JavaScript Engine, defect)

Other Branch
x86_64
Linux
defect
Not set
major

Tracking

()

RESOLVED FIXED

People

(Reporter: decoder, Assigned: dvander)

References

Details

(Keywords: assertion, testcase)

Attachments

(1 file)

The following testcase asserts on ionmonkey revision c34398f961e7 (run with --ion -n), tested on 64 bit: function TestCase(n, d, e, a) { this.name = n; this.description = d; this.expect = e; this.actual = a; this.passed = getTestCaseResult(e, a); this.reason = ''; } function getTestCaseResult(expected, actual) {} var obj = new Function(); for (var i = 0; i < 100; i++) { obj['-1'] = new Array(); assertEq(obj['-1'] == null, false); obj = new TestCase(); }
Attached patch fixSplinter Review
Long-term we should probably use lookupProperty but for now this is fine.
Assignee: general → dvander
Status: NEW → ASSIGNED
Attachment #595547 - Flags: review?
Attachment #595547 - Flags: review? → review?(bhackett1024)
Attachment #595547 - Flags: review?(bhackett1024) → review+
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
A testcase for this bug was automatically identified at js/src/jit-test/tests/ion/bug725003.js.
Flags: in-testsuite+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: