Closed
Bug 1326539
Opened 7 years ago
Closed 3 years ago
Startup crash in nsXPConnect::InitStatics
Categories
(Core :: JavaScript Engine, defect, P3)
Tracking
()
RESOLVED
WORKSFORME
Tracking | Status | |
---|---|---|
thunderbird_esr60 | --- | wontfix |
firefox50 | --- | wontfix |
firefox51 | --- | wontfix |
firefox52 | --- | wontfix |
firefox-esr60 | --- | wontfix |
firefox53 | --- | wontfix |
firefox59 | --- | wontfix |
firefox61 | --- | wontfix |
firefox62 | --- | wontfix |
firefox63 | --- | wontfix |
firefox64 | --- | wontfix |
firefox65 | --- | wontfix |
firefox68 | --- | wontfix |
firefox69 | --- | wontfix |
firefox70 | --- | wontfix |
People
(Reporter: philipp, Unassigned)
References
Details
(Keywords: crash, triage-deferred, Whiteboard: [tbird crash], qa-not-actionable)
Crash Data
This bug was filed from the Socorro interface and is report bp-d26aa77d-4acb-4693-aa13-3373b2161231. ============================================================= Crashing Thread (0) Frame Module Signature Source 0 xul.dll nsXPConnect::InitStatics() js/xpconnect/src/nsXPConnect.cpp:127 1 xul.dll nsComponentManagerImpl::CreateInstanceByContractID(char const*, nsISupports*, nsID const&, void**) xpcom/components/nsComponentManager.cpp:1200 2 xul.dll nsComponentManagerImpl::GetServiceByContractID(char const*, nsID const&, void**) xpcom/components/nsComponentManager.cpp:1559 3 mozglue.dll mozglue.dll@0x294f 4 @0x0 5 xul.dll nsTHashtable<nsBaseHashtableET<nsCStringHashKey, nsFactoryEntry*> >::s_HashKey(void const*) obj-firefox/dist/include/nsTHashtable.h:374 6 ntdll.dll RtlAllocateMemoryZone 7 combase.dll TLSGrowMap() this cross-platform startup crash signature has been around for a while but has visibly risen in volume in firefox 50 and subsequent builds. most of the reports are annotated with MOZ_CRASH(InitSelfHostedCode failed). Correlations for Firefox Release (100.0% in signature vs 02.35% overall) reason = EXCEPTION_BREAKPOINT (77.78% in signature vs 00.00% overall) moz_crash_reason = MOZ_CRASH(InitSelfHostedCode failed)
Updated•7 years ago
|
Component: General → XPConnect
Comment 1•7 years ago
|
||
The line |MOZ_CRASH(InitSelfHostedCode failed)| was added in bug 767938. Could you please take a look at this significant crash? Thanks.
Flags: needinfo?(bzbarsky)
Comment 2•7 years ago
|
||
This is crashing because InitSelfHostedCode is returning false. It looks like this code changed in bug 1279295, which landed in 50. Jan, could you look into this? Thanks.
Comment 3•7 years ago
|
||
(In reply to Andrew McCreight [:mccr8] from comment #2) > This is crashing because InitSelfHostedCode is returning false. It looks > like this code changed in bug 1279295, which landed in 50. Jan, could you > look into this? Thanks. Before that bug, we did this in JS_NewContext and if that failed we crashed in XPCJSContext::InitSafeJSContext: https://crash-stats.mozilla.com/signature/?signature=XPCJSContextStack%3A%3AInitSafeJSContext So I don't think this is anything new, just a signature change.
Reporter | ||
Updated•7 years ago
|
Keywords: regression
Comment 4•7 years ago
|
||
Some of these reports look like OOM crashes, but this one looks like it had enough memory: https://crash-stats.mozilla.com/report/index/bab32e9b-f860-433c-a6fb-f3fbc2170101 Have we seen these startup OOM crashes in other parts of the browser?
Updated•7 years ago
|
Flags: needinfo?(bzbarsky)
Comment 5•7 years ago
|
||
> The line |MOZ_CRASH(InitSelfHostedCode failed)| was added in bug 767938.
No, it wasn't. It was just moved from XPCJSContextStack::InitSafeJSContext (or more precisely, InitSafeJSContext was inlined into nsXPConnect::InitStatics).
Is this crash happening more than the old signatures matching it used to happen?
I wonder whether it's worth putting MOZ_CRASHes in places deeper into JS::InitSelfHostedCode where it would return false, so we have some idea of which of those returns is being taken.
Flags: needinfo?(htsai)
Comment 6•7 years ago
|
||
(In reply to Boris Zbarsky [:bz] (still a bit busy) from comment #5) > > The line |MOZ_CRASH(InitSelfHostedCode failed)| was added in bug 767938. > > No, it wasn't. It was just moved from XPCJSContextStack::InitSafeJSContext > (or more precisely, InitSafeJSContext was inlined into > nsXPConnect::InitStatics). > > Is this crash happening more than the old signatures matching it used to > happen? > Good point! Here's the report for the signature XPCJSContextStack::InitSafeJSContext for the past 6 months https://crash-stats.mozilla.com/signature/?signature=XPCJSContextStack%3A%3AInitSafeJSContext&date=%3E%3D2016-07-04T08%3A57%3A50.000Z&date=%3C2017-01-04T08%3A57%3A50.000Z#graphs this is the one for nsXPConnect::InitStatics https://crash-stats.mozilla.com/signature/?signature=nsXPConnect%3A%3AInitStatics&date=%3E%3D2016-07-04T08%3A57%3A36.000Z&date=%3C2017-01-04T08%3A57%3A36.000Z#graphs Then, no, according to the graphs, this crash doesn't look happening more than the old one.
Flags: needinfo?(htsai)
Updated•7 years ago
|
Flags: needinfo?(jdemooij)
Comment 7•7 years ago
|
||
Too late for firefox 52, mass-wontfix.
Updated•7 years ago
|
Keywords: triage-deferred
Priority: -- → P3
Updated•6 years ago
|
status-firefox59:
--- → affected
Comment 8•6 years ago
|
||
bp-ab50addb-d10c-4e06-b9ac-1f6560180613 (solargrid) TB52.5.2 bp-e6f1f3a5-ad9e-43ab-a537-13fb70180720 (dstraub) TB52.9.1 Many of these thunderbird users also have startup crash signatures of OOM | small Many of these thunderbird users have daily/continuous crashes.
status-firefox61:
--- → affected
status-firefox62:
--- → affected
status-firefox63:
--- → affected
status-thunderbird_esr60:
--- → affected
Whiteboard: [tbird crash]
Updated•6 years ago
|
Comment hidden (Intermittent Failures Robot) |
Comment 10•5 years ago
|
||
This crash signature is visible on nightly over the last 2 days at levels similar to what we see on beta usually.
Comment 11•5 years ago
|
||
Looks as if we had a few spikes in 70 nightly between the 22nd and the 24th of July, but since then there has been only one crash. This maps exactly to the bug we fixed that dveditz references, Bug 1567902.
Comment 12•3 years ago
|
||
Pablo, all the crashes of the past 3 months are from old versions, so this can be closed IMO
Flags: needinfo?(pablo.muir)
Comment 13•3 years ago
|
||
Thanks, i will close it as WFM
regards.
Status: NEW → RESOLVED
Closed: 3 years ago
Flags: needinfo?(pablo.muir)
Resolution: --- → WORKSFORME
Updated•2 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•