Last Comment Bug 714656 - [IncrementalGC] Assertion failure: numSavedRoots < NROOTS, at jsgc.cpp:1077
: [IncrementalGC] Assertion failure: numSavedRoots < NROOTS, at jsgc.cpp:1077
Status: RESOLVED FIXED
: assertion, testcase
Product: Core
Classification: Components
Component: JavaScript Engine (show other bugs)
: Other Branch
: x86_64 Linux
: -- critical (vote)
: ---
Assigned To: Bill McCloskey (:billm)
:
Mentors:
Depends on:
Blocks: langfuzz
  Show dependency treegraph
 
Reported: 2012-01-02 10:56 PST by Christian Holler (:decoder)
Modified: 2012-01-30 11:42 PST (History)
3 users (show)
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Attachments

Description Christian Holler (:decoder) 2012-01-02 10:56:59 PST
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);
}
Comment 1 Bill McCloskey (:billm) 2012-01-30 11:42:30 PST
There's no longer a limit on saved roots, so this should now be fixed. When I run it now, it just iloops.

Note You need to log in before you can comment on or make changes to this bug.