Closed Bug 722028 Opened 13 years ago Closed 13 years ago

Assertion failure: static_cast<Cell *>(thing)->isMarked(), at jsgc.cpp:3670

Categories

(Core :: JavaScript Engine, defect)

x86_64
Linux
defect
Not set
critical

Tracking

()

RESOLVED FIXED
mozilla13

People

(Reporter: decoder, Assigned: billm)

Details

(Keywords: assertion, testcase)

Attachments

(1 file)

The following test asserts on mozilla-central revision 8a59519e137e (options -m -n): gczeal(4); var BUGNUMBER = 668024; var summary = print(BUGNUMBER + ": " + summary); var arr = [0, 1, 2, 3, 4, 5, , 7]; var seen = []; for (var p in arr) { if (seen.indexOf(unescape) >= 0) {} arr.splice(2, 3); seen.push(p); } Seems related to incremental GC, so not security relevant for now.
Attached patch patchSplinter Review
Looks like this has been missing since write barriers landed. Oops.
Attachment #592799 - Flags: review?(bhackett1024)
Attachment #592799 - Flags: review?(bhackett1024) → review+
Backed out in https://hg.mozilla.org/integration/mozilla-inbound/rev/71f5bf4df2f6 - one of the six in that push was crashing in js::gc::Mark<JSString>
Target Milestone: mozilla13 → ---
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
A testcase for this bug was automatically identified at js/src/jit-test/tests/basic/bug722028.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: