Last Comment Bug 708775 - [IncrementalGC] Assertion failure: trc->runtime->gcIncrementalState == NO_GC || trc->runtime->gcIncrementalState == MARK_ROOTS, at jsgcmark.cpp:584
: [IncrementalGC] Assertion failure: trc->runtime->gcIncrementalState == NO_GC ...
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)
:
: Jason Orendorff [:jorendorff]
Mentors:
Depends on:
Blocks: langfuzz
  Show dependency treegraph
 
Reported: 2011-12-08 12:04 PST by Christian Holler (:decoder)
Modified: 2011-12-08 17:59 PST (History)
3 users (show)
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Attachments

Description Christian Holler (:decoder) 2011-12-08 12:04:41 PST
The following test asserts on larch branch (incremental GC) revision 1827c8a8a25c (options -m -n -a):


var lfcode = new Array();
lfcode.push("\
var HEAP, IHEAP, FHEAP;\
var TOTAL_MEMORY = 50 * 1024 * 1024;\
HEAP = IHEAP = new Int32Array(TOTAL_MEMORY);\
var _rng;\
var __str2;\
var __str3;\
    var __stackBase__ = STACKTOP;\
    var $n;\
    var $tmp5 = __stackBase__ + 12;\
    var $tmp6 = $n;\
    var $mul7 = ($tmp6) * 3;\
    var $this1_i24 = $this_addr_i23;\
    var $tmp_i25 = $id_addr_i;\
    var $tmp2_i = $desc_addr_i;\
    var $tmp3_i = $N_addr_i;\
function __Z9makeFastaI10RandomizedEvPKcS2_jRT_($id, $desc, $N, $output) {\
    var $tmp4 = $output_addr;\
    var $this1_i = $this_addr_i;\
    var $tmp5_i = IHEAP[$last4_i];\
    var $conv_i = ($tmp5_i);\
    var $mul6_i = ($tmp3_i) * ($conv_i);\
    var $div_i = ($mul6_i) / 139968;\
}");
lfcode.push("gczeal(4)");
while (true) {
        var file = lfcode.shift(); if (file == undefined) { break; }
                loadFile(file);
}
function loadFile(lfVarx) {
        try {
                if (lfVarx.substr(-3) == ".js") {
                } else if (!isNaN(lfVarx)) {
                } else {
                        eval(lfVarx);
                }
        } catch (lfVare) {
        }
}
Comment 1 Bill McCloskey (:billm) 2011-12-08 17:59:34 PST
https://hg.mozilla.org/projects/larch/rev/e8588c65feca

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