Closed Bug 1764181 Opened 2 years ago Closed 2 years ago

Intermittent Assertion failure: sXPCOMShutdownClient, at /builds/worker/checkouts/gecko/dom/ipc/ContentParent.cpp:3589

Categories

(Core :: DOM: Content Processes, defect, P5)

defect

Tracking

()

RESOLVED INCOMPLETE
Tracking Status
firefox-esr91 --- unaffected
firefox99 --- unaffected
firefox100 --- wontfix
firefox101 --- wontfix

People

(Reporter: intermittent-bug-filer, Unassigned)

References

(Regression)

Details

(Keywords: assertion, intermittent-failure, regression)

Filed by: smolnar [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=374116882&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/RAA_qgJcTL2bqfmnus3YPA/runs/0/artifacts/public/logs/live_backing.log


 INFO - GECKO(1626) | [Parent 1626, IPDL Background] WARNING: quota manager shutdown step: '0.169363s: stopCrashBrowserTimer', file /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:3810
[task 2022-04-11T19:22:49.887Z] 19:22:49     INFO - GECKO(1626) | [Parent 1626, Main Thread] WARNING: nsAppShell::Exit() called redundantly: file /builds/worker/checkouts/gecko/widget/cocoa/nsAppShell.mm:823
[task 2022-04-11T19:22:49.923Z] 19:22:49     INFO - GECKO(1626) | SharedThreadPool in xpcom-shutdown-threads. Waiting for pools "IPC Launch"
[task 2022-04-11T19:22:52.947Z] 19:22:52     INFO - GECKO(1626) | ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to /var/folders/q8/l5k22kdd69s5v15m9wdts4jm000014/T/tmpu2rd3_by.mozrunner/runtests_leaks_tab_pid1658.log
[task 2022-04-11T19:22:52.947Z] 19:22:52     INFO - GECKO(1626) | [1658, Main Thread] WARNING: XPCOM_MEM_BLOAT_LOG is set, disabling native allocations.: file /builds/worker/checkouts/gecko/tools/profiler/core/platform.cpp:339
[task 2022-04-11T19:22:52.948Z] 19:22:52     INFO - GECKO(1626) | [Parent 1626, Main Thread] WARNING: failed to initialize child in the parent: file /builds/worker/checkouts/gecko/dom/ipc/ContentParent.cpp:2648
[task 2022-04-11T19:22:52.948Z] 19:22:52     INFO - GECKO(1626) | [Parent 1626, Main Thread] WARNING: failed to launch child in the parent: file /builds/worker/checkouts/gecko/dom/ipc/ContentParent.cpp:2572
[task 2022-04-11T19:22:52.950Z] 19:22:52     INFO - GECKO(1626) | Assertion failure: sXPCOMShutdownClient, at /builds/worker/checkouts/gecko/dom/ipc/ContentParent.cpp:3589
[task 2022-04-11T19:22:52.953Z] 19:22:52     INFO -  Initializing stack-fixing for the first stack frame, this may take a while...
[task 2022-04-11T19:23:00.481Z] 19:23:00     INFO - GECKO(1626) | #01: mozilla::dom::ContentParent::ActorDestroy(mozilla::ipc::IProtocol::ActorDestroyReason) [dom/ipc/ContentParent.cpp:1972]
[task 2022-04-11T19:23:00.482Z] 19:23:00     INFO - GECKO(1626) | #02: mozilla::ipc::IProtocol::DestroySubtree(mozilla::ipc::IProtocol::ActorDestroyReason) [ipc/glue/ProtocolUtils.cpp:578]
[task 2022-04-11T19:23:00.482Z] 19:23:00     INFO - GECKO(1626) | #03: mozilla::dom::PContentParent::OnChannelClose() [s3:gecko-generated-sources:0911d34c9bd89dd018d697c528559a0373a326db5f3334b1c060330ea5f4cc523b171a61ea456d73e7749bc94cd76e38d17a9aa29e6c5e53208186df7ef7e46c/ipc/ipdl/PContentParent.cpp::16739]
[task 2022-04-11T19:23:00.482Z] 19:23:00     INFO - GECKO(1626) | #04: mozilla::ipc::MessageChannel::Close() [ipc/glue/MessageChannel.cpp:2085]
[task 2022-04-11T19:23:00.483Z] 19:23:00     INFO - GECKO(1626) | #05: mozilla::ThreadEventQueue::RunShutdownTasks() [xpcom/threads/ThreadEventQueue.cpp:315]
[task 2022-04-11T19:23:00.483Z] 19:23:00     INFO - GECKO(1626) | #06: nsThreadManager::Shutdown() [xpcom/threads/nsThreadManager.cpp:371]
[task 2022-04-11T19:23:00.483Z] 19:23:00     INFO - GECKO(1626) | #07: mozilla::ShutdownXPCOM(nsIServiceManager*) [xpcom/build/XPCOMInit.cpp:671]
[task 2022-04-11T19:23:00.484Z] 19:23:00     INFO - GECKO(1626) | #08: ScopedXPCOMStartup::~ScopedXPCOMStartup() [toolkit/xre/nsAppRunner.cpp:2056]
[task 2022-04-11T19:23:00.484Z] 19:23:00     INFO - GECKO(1626) | #09: XREMain::XRE_main(int, char**, mozilla::BootstrapConfig const&) [toolkit/xre/nsAppRunner.cpp:5958]
[task 2022-04-11T19:23:00.484Z] 19:23:00     INFO - GECKO(1626) | #10: XRE_main(int, char**, mozilla::BootstrapConfig const&) [toolkit/xre/nsAppRunner.cpp:5996]
[task 2022-04-11T19:23:00.484Z] 19:23:00     INFO - GECKO(1626) | #11: main [browser/app/nsBrowserApp.cpp:395]
[task 2022-04-11T19:23:00.485Z] 19:23:00     INFO - GECKO(1626) | Couldn't convert chrome URL: chrome://branding/locale/brand.properties
[task 2022-04-11T19:23:00.485Z] 19:23:00     INFO - GECKO(1626) | [Child 1658, Main Thread] WARNING: Could not get the program name for a cubeb stream.: 'NS_SUCCEEDED(rv)', file /builds/worker/checkouts/gecko/dom/media/CubebUtils.cpp:413
[task 2022-04-11T19:23:14.504Z] 19:23:14     INFO - GECKO(1626) | Exiting due to channel error.

assertion added in bug 1761182

Regressed by: 1761182

Set release status flags based on info from the regressing bug 1761182

:jstutte, since you are the author of the regressor, bug 1761182, could you take a look?
For more information, please visit auto_nag documentation.

Flags: needinfo?(jstutte)

This assertion is basically a reminder to actually do what we said in bug 1696771 comment 19, bug 1632740 and bug 1762299.

If it is getting too frequent, we could limit it to trigger only when fuzzing. In fact we are mostly interested to trigger a reproducible test case here.

Flags: needinfo?(jstutte)
See Also: → 1696771, 1632740, 1762299
Depends on: 1764251, 1764119
Has Regression Range: --- → yes
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.