Closed Bug 743099 Opened 14 years ago Closed 14 years ago

IonMonkey: Assertion failure: isLowered(), at js/src/ion/MIR.h:429 or Crash [@ js::ion::VirtualRegister::getInterval]

Categories

(Core :: JavaScript Engine, defect)

Other Branch
x86_64
Linux
defect
Not set
major

Tracking

()

RESOLVED FIXED

People

(Reporter: decoder, Unassigned)

References

Details

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

Crash Data

Attachments

(1 file)

The following testcase asserts on ionmonkey revision a9a18824b4c1 (run with --ion -n -m --ion-eager): function Day( t ) {} function WeekDay( t ) { var weekday = (Day(t)+4) % 7; return( weekday < 0 ? 7 + weekday : weekday ); } var expect = 'No Error'; for (var i = 0; i < 2; i++) { var [] = expect ? WeekDay( i.a ) : isXMLName.anonymous(i), uneval; }
The first bad revision is: changeset: 5108b08c2d54 user: Sean Stangl date: Wed Mar 21 17:25:43 2012 -0700 summary: Bug 723333 - Handle JSOP_NEW without callVM(). r=dvander
Crash Signature: [@ js::ion::VirtualRegister::getInterval]
Summary: IonMonkey: Assertion failure: isLowered(), at js/src/ion/MIR.h:429 → IonMonkey: Assertion failure: isLowered(), at js/src/ion/MIR.h:429 or Crash [@ js::ion::VirtualRegister::getInterval]
JSBugMon: The testcase found in this bug no longer reproduces (tried revision de015aff650d).
Whiteboard: [jsbugmon:update] → [jsbugmon:update,ignore]
Whiteboard: [jsbugmon:update,ignore] → [jsbugmon:update,reconfirm]
JSBugMon: This bug has been automatically confirmed to be still valid (reproduced on revision bc1833f2111e).
Whiteboard: [jsbugmon:update,reconfirm] → [jsbugmon:update,reconfirm,ignore]
The logic for preserving MPhis of |this| is just wrong -- it arbitrarily preserves the final |this| MPhi, but since it makes that decision too late, the dependencies of that MPhi may have already been removed. The fix is just to add the |this| MPhi to the observable set.
Attachment #620481 - Flags: review?(dvander)
Attachment #620481 - Flags: review?(dvander) → review+
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
A testcase for this bug was automatically identified at js/src/jit-test/tests/ion/bug743099.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: