Closed Bug 975448 Opened 11 years ago Closed 11 years ago

Assertion failure: offset + size() <= buffer.byteLength(), at builtin/TypedObject.cpp:1418 with GC

Categories

(Core :: JavaScript Engine, defect)

x86
Linux
defect
Not set
critical

Tracking

()

RESOLVED DUPLICATE of bug 975456
Tracking Status
firefox30 --- affected

People

(Reporter: decoder, Unassigned)

Details

(Keywords: assertion, testcase, Whiteboard: [jsbugmon:update,ignore])

Attachments

(1 file)

The following testcase asserts on mozilla-central revision 7010ab83a06e (run with --fuzzing-safe --ion-eager --ion-compile-try-catch): gczeal(2); var {StructType, uint32, storage} = TypedObject; var S = new StructType({f: uint32, g: uint32}); var A = S.array(10); function readFrom(a) { return a[2].f + a[2].g; } var a = new A(); neuter(storage(a).buffer); for (var i = 0; i < 100; i++) { try { readFrom(a); } catch (e) { } }
Whiteboard: [jsbugmon:update,bisect]
Related to TypedObject, needinfo from nmatsakis :)
Flags: needinfo?(nmatsakis)
Whiteboard: [jsbugmon:update,bisect] → [jsbugmon:update]
JSBugMon: Bisection requested, result: autoBisect shows this is probably related to the following changeset: The first bad revision is: changeset: http://hg.mozilla.org/mozilla-central/rev/f3ad4ab36594 user: Nicholas D. Matsakis date: Wed Feb 12 15:15:47 2014 -0500 summary: Bug 898356 Part 5 -- Use ArrayBufferObjects as the "backing store" for a typed object r=sfink This iteration took 1.007 seconds to run.
Whiteboard: [jsbugmon:update] → [jsbugmon:update,ignore]
JSBugMon: The testcase found in this bug no longer reproduces (tried revision 1507f021ac93).
Likely a dup of bug 975456
Flags: needinfo?(nmatsakis)
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
Group: core-security → core-security-release
Group: core-security-release
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: