The default bug view has changed. See this FAQ.

Assertion failure: cx->isExceptionPending() runing testcase from bug 1269755 with --ion-eager

NEW
Unassigned

Status

()

Core
JavaScript Engine: JIT
P3
normal
6 months ago
6 months ago

People

(Reporter: jonco, Unassigned)

Tracking

(Blocks: 1 bug)

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

6 months ago
The following testcase fails when run with: --ion-eager --ion-offthread-compile=off

oomTest(function() { eval(`
   for (y = 0; y < 3; y++ ) {
    SignedRightShift(y );
  }
function Mask( b, n ) {
  b = ToUint32BitString( b );
  b = b.substring( b.length - n );
  b = "0" + b;
}
function ToUint32BitString( n ) {
  var b = "";
  for ( var p = 0; p < 29; p++ ) {
      b += "0";
  }
  return b;
}
function SignedRightShift(a ) {
  a = Mask( a, 5 );
}
`)});

For some reason it seems to depend on the path of the testcase, with an longer absolute path failing every time, but a relative path not:

~/clone/dev/js/src$ ./optdebug-build/shell --ion-eager --ion-offthread-compile=off testcase.js
~/clone/dev/js/src$ ./optdebug-build/shell --ion-eager --ion-offthread-compile=off /home/jon/clone/dev/js/src/testcase.js
Assertion failure: cx->isExceptionPending() (Thunk execution failed but no exception was raised - missing call to js::ReportOutOfMemory()?), at /home/jon/clone/dev/js/src/builtin/TestingFunctions.cpp:1373
Segmentation fault (core dumped)
(Reporter)

Updated

6 months ago
Priority: -- → P3
(Reporter)

Updated

6 months ago
OS: Unspecified → Linux
Hardware: Unspecified → x86_64
You need to log in before you can comment on or make changes to this bug.