IM: Assertion failure: GlobalIonContext, at ion/Ion.cpp:126

RESOLVED FIXED

Status

()

Core
JavaScript Engine
--
major
RESOLVED FIXED
6 years ago
5 years ago

People

(Reporter: decoder, Assigned: dvander)

Tracking

(Blocks: 1 bug, {assertion, testcase})

Other Branch
x86_64
Linux
assertion, testcase
Points:
---
Bug Flags:
in-testsuite +

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

6 years ago
The following testcase asserts on ionmonkey revision acf3c1fb7c94 (run with --ion-eager), tested on 64 bit:


function bitsinbyte(b) {
    while(m<0x100) {    }
}
function TimeFunc(func) {
    for(var y=0; y<256; y++) func(y);
}
function nestedExit2() {
    TimeFunc(bitsinbyte);
}
assertEq(nestedExit2(), "ok");
Created attachment 566328 [details] [diff] [review]
fix

Another test failure.
Assignee: general → dvander
Status: NEW → ASSIGNED
Attachment #566328 - Flags: review?(cdleary)
Attachment #566328 - Flags: review?(cdleary) → review+
dvander explained that it was the bailout thunk-to-interpreter that was handling the false value returned from the interpreter and thus was calling into js::ion::HandleException.
http://hg.mozilla.org/projects/ionmonkey/rev/71e491bda9a6
Status: ASSIGNED → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
Duplicate of this bug: 685377
(Reporter)

Comment 5

5 years ago
A testcase for this bug was automatically identified at js/src/jit-test/tests/ion/bug691603.js.
Flags: in-testsuite+
You need to log in before you can comment on or make changes to this bug.