Closed Bug 875765 Opened 12 years ago Closed 11 years ago

Assertion failure: index < natoms, at ../jsscript.h:772 or Crash [@ range]

Categories

(Core :: JavaScript Engine, defect)

x86_64
Linux
defect
Not set
critical

Tracking

()

RESOLVED FIXED
mozilla24

People

(Reporter: decoder, Assigned: bhackett1024)

References

Details

(4 keywords, Whiteboard: [jsbugmon:update,ignore])

Crash Data

Attachments

(2 files, 1 obsolete file)

The following testcase asserts on mozilla-central revision df526497d949 (run with --ion-eager): eval("(function() { \ var f = '';\ var flags = new Array(); \ flags[2] = 'm';\ flags[3] = undefined;\ test();\ function test() {\ for (j in flags)\ f = flags[j];\ }\ " + " })();");
S-s because this is a dangerous range assertion and it non-deterministically crashes in opt builds.
Crash Signature: [@ range]
Keywords: crash
Whiteboard: [jsbugmon:update,bisect]
Attachment #753772 - Attachment is obsolete: true
This can also lead to heap crashes with random address not covered by the machine-readable signature here.
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: 132759:b9beff192aa2 user: Brian Hackett date: Thu May 23 05:59:53 2013 -0600 summary: Bug 864218 - Improve performance when accessing variables defined in run-once closures, r=luke,jandem. This iteration took 322.733 seconds to run.
Brian, can you take a look based on comment 5? Thanks.
Flags: needinfo?(bhackett1024)
Whiteboard: [jsbugmon:update] → [jsbugmon:update,ignore]
JSBugMon: The testcase found in this bug no longer reproduces (tried revision 7a2f7a45819a).
Blocks: 864218
Keywords: regression
Looks like it went away when bug 864218 was backed out.
Attached patch patchSplinter Review
Assignee: general → bhackett1024
Attachment #754882 - Flags: review?(jdemooij)
Flags: needinfo?(bhackett1024)
Opening this up since 864218 is no longer in the tree.
Group: core-security
Attachment #754882 - Flags: review?(jdemooij) → review+
(Nice, it looks like this bug caused the DoTypeUpdateFallback topcrash, bug 875757.)
Fix landed as part of bug 864218.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
No longer blocks: 864218
Depends on: 864218
Target Milestone: --- → mozilla24
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: