Closed Bug 714656 Opened 14 years ago Closed 14 years ago

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

Categories

(Core :: JavaScript Engine, defect)

Other Branch
x86_64
Linux
defect
Not set
critical

Tracking

()

RESOLVED FIXED

People

(Reporter: decoder, Assigned: billm)

Details

(Keywords: assertion, testcase)

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); }
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
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.