[IncrementalGC] Assertion failure: trc->runtime->gcIncrementalState == NO_GC || trc->runtime->gcIncrementalState == MARK_ROOTS, at jsgcmark.cpp:584

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 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) {
        }
}
(Assignee)

Comment 1

5 years ago
https://hg.mozilla.org/projects/larch/rev/e8588c65feca
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.