The default bug view has changed. See this FAQ.

[IncrementalGC] Assertion failure: numSavedRoots < NROOTS, at jsgc.cpp:1077

RESOLVED FIXED

Status

()

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

People

(Reporter: decoder, Assigned: billm)

Tracking

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

Other Branch
x86_64
Linux
assertion, testcase
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

5 years ago
The following test asserts on larch branch (incremental GC) revision af4c75977447 (options -m -n):


var FAILED = " FAILED! ";
function reportFailure (msg)
{
  var lines = msg.split ("\n");
  var funcName = currentFunc();
  var prefix = (funcName) ? "[reported from " + funcName + "] ": "";
  for (var i=0; i<lines.length; i++)
    print (FAILED + prefix + lines[i]);
}
function reportCompare (expected, actual, description) {
  var expected_t = typeof expected;
  var actual_t = typeof actual;
  var output = "";
    output += "Type mismatch, expected type " + expected_t +
      ", actual type " + actual_t + " ";
      reportFailure (description + " : " + output);
}
function currentFunc() {}
var status = 'Testing scope after changing obj.__proto__';
var expect= '';
var actual = '';
test();
function test() {
  reportCompare (  ) ;
  reportCompare (expect, actual, status);
  reportCompare (new test == false, false);
}
(Assignee)

Comment 1

5 years ago
There's no longer a limit on saved roots, so this should now be fixed. When I run it now, it just iloops.
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.