Closed Bug 870182 Opened 11 years ago Closed 8 years ago

Assertion failure: [barrier verifier] Unmarked edge: method, at gc/Verifier.cpp:614

Categories

(Core :: JavaScript Engine, defect)

x86_64
All
defect
Not set
critical

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: decoder, Unassigned)

Details

(Keywords: assertion, testcase)

Attachments

(1 file)

The following testcase asserts on mozilla-central revision e19d0885977c (run with --ion-eager):


evaluate("\
gcparam(\"maxBytes\", gcparam(\"gcBytes\") + 4*(1));\
gczeal(4);\
(function _2(... b) {})('', ConvertToString.call(Boolean, Boolean.prototype.valueOf()));\
function ConvertToString(obj) {}\
");
Further-reduced version of the destcase in comment 0:

gcparam("maxBytes", gcparam("gcBytes") + 1);
gczeal(4);
function foo(...b) {};
function bar() {};
foo(bar());


Doesn't crash anymore when I remove the rest arg from foo, or don't have a function invocation as the arg (although storing the result of `bar()` into a var and passing that into `foo()` still crashes).

@shu: given that this only happens with --ion-eager, it might be related to bug 867471. OTOH, decoder says that he has a less-reduced testcase without rest-usage that also causes the crash. Only on 32bit, optimized, though, whereas this crashes on 64bit, debug, for me, too.
Flags: needinfo?(shu)
Don't know if it also reproduces on 32bit, but it certainly does under OS X.
OS: Linux → All
I can't reproduce an assert on either test case on 64bit, debug or opt with --enable-root-analysis on my current tip (133304:f0311781c218)
Flags: needinfo?(shu)
This is not with root-analysis :) The first test should work with --enable-debug --enable-optimize --enable-valgrind.
(In reply to Christian Holler (:decoder) from comment #5)
> This is not with root-analysis :) The first test should work with
> --enable-debug --enable-optimize --enable-valgrind.

Ah, okay.

Till, I can't reproduce on current tip. I can reproduce on e19d0885977c, but I don't really see anything related to compiling rest args. For that matter, those patches were pushed on May 21st, this reproduces on a tree from May 8th.
Assignee: general → nobody
3 years old, test WFM with various JIT flags. Please file a new bug if this still shows up!
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: