The default bug view has changed. See this FAQ.

IonMonkey: Crash [@ js::ion::LAllocation::isTagged]

RESOLVED FIXED

Status

()

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

People

(Reporter: decoder, Unassigned)

Tracking

(Blocks: 2 bugs, {crash, testcase})

Other Branch
x86_64
Linux
crash, testcase
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

(crash signature)

(Reporter)

Description

5 years ago
The following testcase crashes on ionmonkey revision d66c148e0756 (run with --ion -n -m), tested on 64 bit:


var AG_CONST = 0.6072529350;
function FIXED(X) {
  return X * 65536.0;
}
var Angles = [ FIXED(45.0), FIXED(26.565), FIXED(14.0362), FIXED(), ];
function cordicsincos() {
    var Y;
    var CurrAngle;
    var Step;
    X = FIXED(AG_CONST);
    CurrAngle = 0;
    for (Step = 0; Step < 12; Step++) {
        if (X  > CurrAngle) {
            NewX = X - (Y >> Step);
            CurrAngle += Angles[Step];
            CurrAngle -= Angles[Step];
        }
    }
}
function cordic( runs ) {
  for ( var i = 0 ; i < runs ; i++ ) {
    actual = cordicsincos();
  }
}
cordic(25000);
This was fixed with another commit a few days ago: http://hg.mozilla.org/projects/ionmonkey/rev/dc65aacb0f4d
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.