Closed Bug 819794 Opened 13 years ago Closed 13 years ago

IonMonkey: Crash [@ js::ion::Range::isLowerInfinite] or [@ js::ion::LIRGenerator::visitAbs] with --ion-range-analysis=off

Categories

(Core :: JavaScript Engine, defect)

x86_64
All
defect
Not set
critical

Tracking

()

VERIFIED FIXED
mozilla20
Tracking Status
firefox17 --- unaffected
firefox18 --- unaffected
firefox19 --- unaffected
firefox20 - fixed
firefox-esr10 --- unaffected
firefox-esr17 --- unaffected

People

(Reporter: gkw, Assigned: h4writer)

References

Details

(Keywords: crash, regression, testcase)

Crash Data

Attachments

(2 files)

Attached file stack
x = []; x[2] = 1; x.unshift(0); x.unshift(0); x.sort(function() { return Math.abs(4) }) crashes js opt shell on IonMonkey changeset 725eb8792d27 with --ion-eager and --ion-range-analysis=off at js::ion::Range::isLowerInfinite Although this seems like a null deref, I'm setting s-s and sec-moderate just-in-case, because I'm not sure of the meaning of --ion-range-analysis=off yet. autoBisect shows this is probably related to the following changeset: The first bad revision is: changeset: 114092:89e5db8cf62f user: Brian Hackett date: Fri Nov 23 23:23:03 2012 -0500 summary: Add symbolic range analysis for loop induction variables, bug 766592. r=mjrosenb
js::ion::LIRGenerator::visitAbs is also on the stack.
Crash Signature: [@ js::ion::Range::isLowerInfinite] → [@ js::ion::Range::isLowerInfinite] [@ js::ion::LIRGenerator::visitAbs]
Summary: IonMonkey: Crash [@ js::ion::Range::isLowerInfinite] → IonMonkey: Crash [@ js::ion::Range::isLowerInfinite] or [@ js::ion::LIRGenerator::visitAbs]
Debug shells also crash with virtually identical stacks.
I think we first wanted to land ion with range analysis disabled, but eventually it got enabled in all releases we ship ion. Now I think the chance that it will get disabled ever is very very low.
Assignee: general → hv1989
Attachment #690240 - Flags: review?(bhackett1024)
Attachment #690240 - Flags: review?(bhackett1024) → review+
NULL deref in a configuration we don't ship, not s-s.
Group: core-security
Testcase can land with the patch.
Flags: in-testsuite?
Keywords: checkin-needed
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Summary: IonMonkey: Crash [@ js::ion::Range::isLowerInfinite] or [@ js::ion::LIRGenerator::visitAbs] → IonMonkey: Crash [@ js::ion::Range::isLowerInfinite] or [@ js::ion::LIRGenerator::visitAbs] with --ion-range-analysis=off
Testcase was landed -> VERIFIED
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: