Open Bug 2014972 Opened 5 months ago Updated 4 months ago

[526] Hit MOZ_CRASH(Shutdown hanging at step AppShutdownConfirmed. Something is blocking the main-thread.) at /builds/worker/checkouts/gecko/toolkit/components/terminator/nsTerminator.cpp:240

Categories

(Enterprise Products :: Firefox, defect)

x86_64
Linux
defect

Tracking

(Not tracked)

People

(Reporter: gerard-majax, Assigned: gerard-majax)

References

Details

(Whiteboard: [size=2])

https://firefox-ci-tc.services.mozilla.com/tasks/groups/dc6HvBwfQOCMdmZNBSfGew

Looking at the failures, none of the enterprise tests on any platforms works:

console.debug: WebExtensions: 
  FeltExtension: FeltParent:FirefoxStarting handling ...
console.debug: WebExtensions: 
  FeltExtension: makeBackgroundProcess? false
console.debug: "Felt: sanitizePrefs() devtools.browsertoolbox.scope => \"devtools.browsertoolbox.scope\")"
console.debug: "Felt: sanitizePrefs() marionette.port => \"marionette.port\")"
console.debug: "Felt: sanitizePrefs() enterprise.console.test_float => \"enterprise.console.test_float\")"
console.debug: "Felt: sanitizePrefs() enterprise.console.test_bool => \"enterprise.console.test_bool\")"
[Child 403, Main Thread] WARNING: IPC message 'PContent::Msg_StoreUserInteractionAsPermission' discarded: actor cannot send: file /builds/worker/checkouts/gecko/ipc/glue/ProtocolUtils.cpp:511
[Child 403, Main Thread] WARNING: NS_ENSURE_TRUE(aWindowContext) failed: file /builds/worker/checkouts/gecko/toolkit/components/antitracking/bouncetrackingprotection/BounceTrackingProtection.cpp:476
[526, Main Thread] WARNING: Checking for FELT: file /builds/worker/checkouts/gecko/toolkit/xre/nsAppRunner.cpp:6137
*** You are running in chaos test mode. See ChaosMode.h. ***
*** You are running in headless mode.
console.debug: "Felt: Services.felt(browser.sessionstore.restore_on_demand, false)"
console.debug: "Felt: Services.felt(browser.sessionstore.resume_from_crash, false)"
console.debug: "Felt: Services.felt(browser.policies.live_polling.frequency, 500)"
console.debug: "Felt: Services.felt(identity.sync.tokenserver.uri, https://ent-dev-tokenserver.sync.nonprod.webservices.mozgcp.net/1.0/sync/1.5)"
console.debug: "firefox: waiting on proc PID 526" ({id:0, worker:{listeners:{}, pendingResponses:{}, shutdown:function bound() {
    [native code]
}, signalFd:98}, pid:526, exitCode:null, exitPromise:{}, stdin:{id:0, fd:0, processId:0, worker:{listeners:{}, pendingResponses:{}, shutdown:function bound() {
    [native code]
}, signalFd:98}, closed:false, encoder:{}}, stdout:{id:1, fd:1, processId:0, worker:{listeners:{}, pendingResponses:{}, shutdown:function bound() {
    [native code]
}, signalFd:98}, closed:false, buffers:[], dataAvailable:0, decoder:{}, pendingReads:[], _pendingBufferRead:{}}})
[Parent 526, Main Thread] WARNING: Checking for FELT: start thread: file /builds/worker/checkouts/gecko/toolkit/xre/nsAppRunner.cpp:5746
[Parent 526, Main Thread] WARNING: Failed to connect to client: Error calling StartServiceByName for org.freedesktop.timedate1: Launch helper exited with unknown return code 1
: file /builds/worker/checkouts/gecko/widget/gtk/nsAppShell.cpp:264
[Parent 526, Main Thread] WARNING: Failed to connect to client: Error calling StartServiceByName for org.freedesktop.login1: Launch helper exited with unknown return code 1
: file /builds/worker/checkouts/gecko/widget/gtk/nsAppShell.cpp:264
[Parent 526, Main Thread] WARNING: Failed to register host application for portals
: file /builds/worker/checkouts/gecko/widget/gtk/WidgetUtilsGtk.cpp:203
[Parent 526, Main Thread] WARNING: 'mIndex >= Count()', file /builds/worker/checkouts/gecko/xpcom/ds/nsStringEnumerator.cpp:201
console.debug: "FeltExtension: ParentProcess: Received felt-extension-ready"
console.debug: "FeltExtension: Notifying felt-firefox-window-ready"
[Parent 526, GMPThread] WARNING: Failed to delete GMP storage directory: file /builds/worker/checkouts/gecko/dom/media/gmp/GMPServiceParent.cpp:1879
[Parent 526, Main Thread] WARNING: NS_ENSURE_TRUE(inst) failed: file StaticComponents.cpp:13764
[Parent 526, Main Thread] WARNING: NS_ENSURE_TRUE(inst) failed: file StaticComponents.cpp:11707
[Parent 526, Main Thread] WARNING: NS_ENSURE_TRUE(inst) failed: file StaticComponents.cpp:13764
[Parent 526, Main Thread] WARNING: NS_ENSURE_TRUE(inst) failed: file StaticComponents.cpp:11707
[Child 639, Main Thread] WARNING: 'NS_FAILED(rv)', file /builds/worker/checkouts/gecko/modules/libjar/nsJARChannel.cpp:379
JavaScript error: resource:///modules/enterprise/ConsoleClient.sys.mjs, line 422: Error: Fetch POST /api/browser/account failed (404): 
[Parent 526, Main Thread] WARNING: NS_ENSURE_TRUE(inst) failed: file StaticComponents.cpp:13764
[Parent 526, Main Thread] WARNING: NS_ENSURE_TRUE(inst) failed: file StaticComponents.cpp:11707
[Parent 526, Main Thread] WARNING: NS_ENSURE_TRUE(inst) failed: file StaticComponents.cpp:13764
[Parent 526, Main Thread] WARNING: NS_ENSURE_TRUE(inst) failed: file StaticComponents.cpp:11707
[Parent 526, Main Thread] WARNING: NS_ENSURE_TRUE(inst) failed: file StaticComponents.cpp:13764
[Parent 526, Main Thread] WARNING: NS_ENSURE_TRUE(inst) failed: file StaticComponents.cpp:11707
[Parent 526, Main Thread] WARNING: NS_ENSURE_TRUE(inst) failed: file StaticComponents.cpp:13764
[Parent 526, Main Thread] WARNING: NS_ENSURE_TRUE(inst) failed: file StaticComponents.cpp:11707
[Parent 526, Main Thread] WARNING: Failed to retarget HTML data delivery to the parser thread.: file /builds/worker/checkouts/gecko/parser/html/nsHtml5StreamParser.cpp:1227
[Parent 526, Main Thread] WARNING: NS_ENSURE_TRUE(mNameHashtable.Get(aName, &index)) failed: file /builds/worker/checkouts/gecko/storage/mozStorageRow.cpp:91
[Parent 526, Main Thread] WARNING: 'mIndex >= Count()', file /builds/worker/checkouts/gecko/xpcom/ds/nsStringEnumerator.cpp:201
[Parent 526, Main Thread] WARNING: NS_ENSURE_TRUE(inst) failed: file StaticComponents.cpp:13764
[Parent 526, Main Thread] WARNING: NS_ENSURE_TRUE(inst) failed: file StaticComponents.cpp:11707
[Parent 526, Main Thread] WARNING: NS_ENSURE_TRUE(inst) failed: file StaticComponents.cpp:13764
[Parent 526, Main Thread] WARNING: NS_ENSURE_TRUE(inst) failed: file StaticComponents.cpp:11707
JavaScript error: chrome://remote/content/shared/RemoteError.sys.mjs, line 8: JavaScriptError: Document was unloaded
JavaScript error: moz-src:///toolkit/components/search/SearchService.sys.mjs, line 1618: Error: Abandoning search service init due to shutting down
JavaScript error: moz-src:///toolkit/components/search/SearchService.sys.mjs, line 1618: Error: Abandoning search service init due to shutting down
[Parent 140, Main Thread] WARNING: Failed to retarget HTML data delivery to the parser thread.: file /builds/worker/checkouts/gecko/parser/html/nsHtml5StreamParser.cpp:1227
[Parent 140, Main Thread] WARNING: NS_ENSURE_TRUE(mNameHashtable.Get(aName, &index)) failed: file /builds/worker/checkouts/gecko/storage/mozStorageRow.cpp:91
[Parent 140, Main Thread] WARNING: 'mIndex >= Count()', file /builds/worker/checkouts/gecko/xpcom/ds/nsStringEnumerator.cpp:201
RunWatchdog: Mainthread nested event loops during hang: 
 --- AsyncShutdown Spinner for quit-application
[526] Hit MOZ_CRASH(Shutdown hanging at step AppShutdownConfirmed. Something is blocking the main-thread.) at /builds/worker/checkouts/gecko/toolkit/components/terminator/nsTerminator.cpp:240
#01: ???[/builds/worker/fetches/firefox/libxul.so +0xa4f10e9]
#02: ???[/builds/worker/fetches/firefox/libnspr4.so +0x3b3ad]
#03: ???[/builds/worker/fetches/firefox/firefox-bin +0x6cf6d]
#04: ???[/lib/x86_64-linux-gnu/libc.so.6 +0x9caa4]
#05: __clone[/lib/x86_64-linux-gnu/libc.so.6 +0x129a34]
#06: ??? (???:???)
Assignee: nobody → lissyx+mozillians
Summary: Enterprise tests are all broken → Enterprise tests are all broken from enterprise-release branch

I think in fact the browser works, but we are hitting an async shutdown failure as visible in comment 0, which triggers a restart loop. This loop should be fixed by bug 2012083

See Also: → 2012083
Summary: Enterprise tests are all broken from enterprise-release branch → [526] Hit MOZ_CRASH(Shutdown hanging at step AppShutdownConfirmed. Something is blocking the main-thread.) at /builds/worker/checkouts/gecko/toolkit/components/terminator/nsTerminator.cpp:240
Severity: S1 → S2
Priority: P1 → --
Whiteboard: [size=2]
Component: General → Client
You need to log in before you can comment on or make changes to this bug.