Closed Bug 885769 Opened 11 years ago Closed 11 years ago

Assertion failure: cxArg, at dist/include/js/RootingAPI.h

Categories

(Core :: JavaScript Engine, defect)

x86_64
macOS
defect
Not set
critical

Tracking

()

RESOLVED FIXED

People

(Reporter: gkw, Assigned: shu)

References

Details

(Keywords: assertion, regression, testcase, Whiteboard: [fuzzblocker])

Attachments

(1 file)

Attached file stack
ParallelArray(4277, (function() {}))

asserts a threadsafe js debug shell on m-c changeset 61c3c8b85563 with --ion-parallel-compile=on at Assertion failure: cxArg, at dist/include/js/RootingAPI.h
autoBisect shows this is probably related to the following changeset:

The first bad revision is:
changeset:   http://hg.mozilla.org/mozilla-central/rev/ce7085b63b2b
user:        Bobby Holley
date:        Thu Jun 20 11:05:34 2013 -0700
summary:     Bug 883450 - Assert that we're in a request whenever we create a Rooted<T>. r=terrence
Blocks: 883450
Flags: needinfo?(bobbyholley+bmo)
Hardly.
Flags: needinfo?(bobbyholley+bmo) → needinfo?(nmatsakis)
Due to its simplicity, actually this is causing a lot of trouble (assorted crash signatures, etc.) in jsfunfuzz.
Whiteboard: [fuzzblocker]
It looks like the PJS code is passing null to the Rooted Constructor.
This is more than a simple unrooting, in that right now we assume that there is a JSContext available for use inside ParallelArrayAnalysis for operations such as making new template objects while replacing MIR nodes.

I'm working on a patch to separate ParallelArrayAnalysis into 2 phases, one that might potentially need a JSContext, and one that doesn't.

If I can't get that patch done by tonight I'll post a temporary patch for this bug.
Flags: needinfo?(nmatsakis)
Depends on: 886632
Depends on: 887002
If fixes for bug 886632 and bug 887002 stick, this will be fixed.
Assignee: general → shu
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: