startup Crash in [@ nsAppShellInit]
Categories
(Core :: Widget: Win32, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr102 | --- | unaffected |
firefox114 | --- | wontfix |
firefox115 | --- | wontfix |
firefox116 | --- | wontfix |
People
(Reporter: aryx, Unassigned)
References
Details
(Keywords: crash)
Crash Data
1000-1500 crashes per release cycle, almost all reports on Windows (different OS versions)
Crash report: https://crash-stats.mozilla.org/report/index/991bc689-3a9d-4339-a598-5d7450230614
MOZ_CRASH Reason: MOZ_RELEASE_ASSERT(((bool)(__builtin_expect(!!(!NS_FAILED_impl(rv)), 1))))
Top 10 frames of crashing thread:
0 xul.dll nsAppShellInit widget/nsAppShellSingleton.h:47
0 xul.dll nsWidgetWindowsModuleCtor widget/windows/nsWidgetFactory.cpp:49
1 xul.dll mozilla::xpcom::CallInitFunc xpcom/components/StaticComponents.cpp:9675
1 xul.dll mozilla::xpcom::CreateInstanceImpl xpcom/components/StaticComponents.cpp:10730
2 xul.dll mozilla::xpcom::StaticModule::CreateInstance const xpcom/components/StaticComponents.cpp:13348
2 xul.dll xpcom/components/nsComponentManager.cpp:184
2 xul.dll nsComponentManagerImpl::GetServiceLocked xpcom/components/nsComponentManager.cpp:971
3 xul.dll nsComponentManagerImpl::GetService xpcom/components/nsComponentManager.cpp:1025
4 xul.dll CallGetService xpcom/components/nsComponentManagerUtils.cpp:51
4 xul.dll nsGetServiceByCIDWithError::operator const xpcom/components/nsComponentManagerUtils.cpp:227
Reporter | ||
Comment 1•1 year ago
|
||
Stephen, could you check what's causing the startup crashes? Thanks in advance.
Comment 2•1 year ago
|
||
This seems to be a continuation of the conversation in bug 1545381. n-i the folks who were involved in the discussion there.
Comment 3•1 year ago
|
||
(In reply to Stephen A Pohl [:spohl] from comment #2)
This seems to be a continuation of the conversation in bug 1545381. n-i the folks who were involved in the discussion there.
I don't think this is related. That crash was in nsWidgetWindowsModuleDtor
when we shut down in the middle of startup. This is in nsWidgetWindowsModuleCtor
, when nsAppShellInit
fails. I'm not sure why that's happening. We should maybe just release assert success in the app shell init rather than returning failure and asserting success later. But that isn't really my area.
Also clearing Nathan's NI. He doesn't work here anymore.
Comment 4•1 year ago
|
||
It looks like this is the same issue as bug 1571516.
A diagnostic patch in that bug added a diagnostic assert:
MOZ_DIAGNOSTIC_ASSERT(mEventWnd, "CreateWindowW for EventWindow failed");
We'd crash like the crash in this bug if that failed, and I don't see any crashes with this signature on Nightly, so I think it is the same issue.
Updated•1 year ago
|
Description
•