Crash [@ XPCJSContext::Initialize()] due to InitSelfHostedCode failed
Categories
(Core :: JavaScript Engine, defect, P1)
Tracking
()
People
(Reporter: pascalc, Assigned: tcampbell)
References
Details
(Keywords: crash, regression)
Crash Data
Attachments
(2 files)
+++ This bug was initially created as a clone of Bug #1608690 +++
This crash was initially filed as a non-frequent intermittent failure. The crash history shows that this crash exploded with the release of 72 with about 70 startup crashes per day since we shipped 72.
These startup crashes are still visible in 73 beta and 74 nightly.
Comment 1•5 years ago
|
||
The crash reason for these crashes is MOZ_RELEASE_ASSERT(JS::InitSelfHostedCode(cx)) (InitSelfHostedCode failed)
This is a failure somewhere inside the JS engine, so I'm going to move it over there. I remember seeing some previous reports for very early crashes like this, but I don't recall the specifics.
Comment 2•5 years ago
|
||
It looks like about half of these are content process crashes, and the other half are main process crashes at startup.
Assignee | ||
Comment 4•5 years ago
|
||
Bug 1567902 is the past occurrance of this. I'll see what happens if I set the extra warnings flag locally.
Comment 5•5 years ago
|
||
(In reply to Ted Campbell [:tcampbell] from comment #4)
Bug 1567902 is the past occurrance of this. I'll see what happens if I set the extra warnings flag locally.
Note that bug 1568546 enabled extraWarnings unconditionally for self-hosting code so that pref should no longer make a difference.
Assignee | ||
Comment 6•5 years ago
|
||
This started in 72 when Bug 1579367 added the release asserts. Previously the crash was Bug 1567902 which had a mix of bugs and OOM.
I'll add a diagnostic patch to separate the crash reason of OOM from other things.
Assignee | ||
Comment 7•5 years ago
|
||
Depends on D61777
Updated•5 years ago
|
Assignee | ||
Comment 8•5 years ago
|
||
The browser is unable to start if this operation fails, but we should track
the difference between OOM and other forms of failure. This should now
classify OOM errors correctly in crash stats.
Depends on D61778
Comment 10•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/379e31437615
https://hg.mozilla.org/mozilla-central/rev/301e3381a8e8
Updated•5 years ago
|
Comment hidden (Intermittent Failures Robot) |
Assignee | ||
Comment 12•5 years ago
|
||
On nightly, the patch seems to have turned the crashes into ooms which is what the theory was.
See signature: [@ OOM | unknown | NS_ABORT_OOM | XPCJSContext::Initialize ]
Once this has made it to Beta for a few days, we can take a look at if non-OOM crashes remain. Otherwise there isn't much to do here.
Updated•5 years ago
|
Assignee | ||
Comment 13•5 years ago
|
||
There are a couple of non-OOM crashes with this signature on beta, but they seem to be bizarre JIT crashes that might just be memory errors.
Description
•