Closed Bug 1815261 Opened 2 years ago Closed 2 years ago

Intermittent mozilla/tests/webdriver/send_alert_text.py | application crashed [@ mozilla::dom::ContentParent::AssertAlive]

Categories

(Core :: DOM: Content Processes, defect)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1811746

People

(Reporter: intermittent-bug-filer, Unassigned)

Details

(Keywords: crash, intermittent-failure)

Crash Data

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


task 2023-02-06T15:29:02.347Z] 15:29:02     INFO - mozcrash Copy/paste: /opt/worker/tasks/task_167569612283575/fetches/minidump-stackwalk/minidump-stackwalk --symbols-url=https://symbols.mozilla.org/ --cyborg=/var/folders/wq/chw748g50ds4104qggrq41pc000014/T/tmpagp98ela/488BB217-9F0B-42A9-907F-9FC2AD1EA8F9.trace /var/folders/wq/chw748g50ds4104qggrq41pc000014/T/tmpikdry_bh.mozrunner/minidumps/488BB217-9F0B-42A9-907F-9FC2AD1EA8F9.dmp /var/folders/wq/chw748g50ds4104qggrq41pc000014/T/tmpz7jset_o
[task 2023-02-06T15:29:09.896Z] 15:29:09     INFO - mozcrash Saved minidump as /opt/worker/tasks/task_167569612283575/build/blobber_upload_dir/488BB217-9F0B-42A9-907F-9FC2AD1EA8F9.dmp
[task 2023-02-06T15:29:09.897Z] 15:29:09     INFO - mozcrash Saved app info as /opt/worker/tasks/task_167569612283575/build/blobber_upload_dir/488BB217-9F0B-42A9-907F-9FC2AD1EA8F9.extra
[task 2023-02-06T15:29:10.314Z] 15:29:10     INFO - PROCESS-CRASH | /_mozilla/webdriver/send_alert_text.py | application crashed [@ mozilla::dom::ContentParent::AssertAlive()]
[task 2023-02-06T15:29:10.314Z] 15:29:10     INFO - Mozilla crash reason: MOZ_DIAGNOSTIC_ASSERT(!mIsSignaledImpendingShutdown)
[task 2023-02-06T15:29:10.314Z] 15:29:10     INFO - Crash dump filename: /var/folders/wq/chw748g50ds4104qggrq41pc000014/T/tmpikdry_bh.mozrunner/minidumps/488BB217-9F0B-42A9-907F-9FC2AD1EA8F9.dmp
[task 2023-02-06T15:29:10.314Z] 15:29:10     INFO - Operating system: Mac OS X
[task 2023-02-06T15:29:10.314Z] 15:29:10     INFO -                   10.15.7 19H524
[task 2023-02-06T15:29:10.314Z] 15:29:10     INFO - CPU: amd64
[task 2023-02-06T15:29:10.314Z] 15:29:10     INFO -      family 6 model 158 stepping 10
[task 2023-02-06T15:29:10.314Z] 15:29:10     INFO -      12 CPUs
[task 2023-02-06T15:29:10.314Z] 15:29:10     INFO - 
[task 2023-02-06T15:29:10.314Z] 15:29:10     INFO - Crash reason:  EXC_BAD_ACCESS / KERN_INVALID_ADDRESS
[task 2023-02-06T15:29:10.314Z] 15:29:10     INFO - Crash address: 0x0
[task 2023-02-06T15:29:10.314Z] 15:29:10     INFO - Crashing instruction: `mov dword [0x0], 0x7c8`
[task 2023-02-06T15:29:10.314Z] 15:29:10     INFO - Memory accessed by instruction:
[task 2023-02-06T15:29:10.314Z] 15:29:10     INFO -   0. Address: 0x0000000000000000
[task 2023-02-06T15:29:10.315Z] 15:29:10     INFO -      Size: 4
[task 2023-02-06T15:29:10.315Z] 15:29:10     INFO - Mac Crash Info:
[task 2023-02-06T15:29:10.315Z] 15:29:10     INFO - 
[task 2023-02-06T15:29:10.315Z] 15:29:10     INFO - Process uptime: 1 seconds
[task 2023-02-06T15:29:10.315Z] 15:29:10     INFO - 
[task 2023-02-06T15:29:10.315Z] 15:29:10     INFO - Thread 0 MainThread (crashed)
[task 2023-02-06T15:29:10.315Z] 15:29:10     INFO -  0  XUL!mozilla::dom::ContentParent::AssertAlive() [ContentParent.cpp:6c8d58d8f7485cc1f73aa58e00d5f027d97eb711 : 1992 + 0x0]
[task 2023-02-06T15:29:10.315Z] 15:29:10     INFO -      rax = 0x000000010c76c03e    rdx = 0x000000000000001c
[task 2023-02-06T15:29:10.315Z] 15:29:10     INFO -      rcx = 0x0000000104d3f4d0    rbx = 0x00007ffeeaf54e68
[task 2023-02-06T15:29:10.315Z] 15:29:10     INFO -      rsi = 0x000000014f244800    rdi = 0x000000014f244800
[task 2023-02-06T15:29:10.315Z] 15:29:10     INFO -      rbp = 0x00007ffeeaf54e30    rsp = 0x00007ffeeaf54e30
[task 2023-02-06T15:29:10.315Z] 15:29:10     INFO -       r8 = 0x0000000000000061     r9 = 0x00007ffeeaf551b8
[task 2023-02-06T15:29:10.315Z] 15:29:10     INFO -      r10 = 0x00000000c285f0b4    r11 = 0x0000000000000007
[task 2023-02-06T15:29:10.315Z] 15:29:10     INFO -      r12 = 0x0000000000000000    r13 = 0x0000000129805df0
[task 2023-02-06T15:29:10.315Z] 15:29:10     INFO -      r14 = 0x0000000000000004    r15 = 0x0000000123ac9590
[task 2023-02-06T15:29:10.315Z] 15:29:10     INFO -      rip = 0x000000010608d3c3
[task 2023-02-06T15:29:10.315Z] 15:29:10     INFO -     Found by: given as instruction pointer in context
[task 2023-02-06T15:29:10.315Z] 15:29:10     INFO -  1  XUL!mozilla::dom::ContentParent::GetNewOrUsedLaunchingBrowserProcess(nsTSubstring<char> const&, mozilla::dom::BrowsingContextGroup*, mozilla::hal::ProcessPriority, bool) [ContentParent.cpp:6c8d58d8f7485cc1f73aa58e00d5f027d97eb711 : 1069 + 0x4]
[task 2023-02-06T15:29:10.315Z] 15:29:10     INFO -      rbx = 0x00007ffeeaf54e68    rbp = 0x00007ffeeaf54f90
[task 2023-02-06T15:29:10.315Z] 15:29:10     INFO -      rsp = 0x00007ffeeaf54e40    r12 = 0x0000000000000000
[task 2023-02-06T15:29:10.315Z] 15:29:10     INFO -      r13 = 0x0000000129805df0    r14 = 0x0000000000000004
[task 2023-02-06T15:29:10.316Z] 15:29:10     INFO -      r15 = 0x0000000123ac9590    rip = 0x000000010608da5f
[task 2023-02-06T15:29:10.316Z] 15:29:10     INFO -     Found by: call frame info
[task 2023-02-06T15:29:10.316Z] 15:29:10     INFO -  2  XUL!mozilla::dom::ContentParent::GetNewOrUsedBrowserProcess(nsTSubstring<char> const&, mozilla::dom::BrowsingContextGroup*, mozilla::hal::ProcessPriority, bool) [ContentParent.cpp:6c8d58d8f7485cc1f73aa58e00d5f027d97eb711 : 1139 + 0x4]
[task 2023-02-06T15:29:10.316Z] 15:29:10     INFO -      rbx = 0x00007ffeeaf551b8    rbp = 0x00007ffeeaf54fb0
[task 2023-02-06T15:29:10.316Z] 15:29:10     INFO -      rsp = 0x00007ffeeaf54fa0    r12 = 0x000000012a7c9c00
[task 2023-02-06T15:29:10.316Z] 15:29:10     INFO -      r13 = 0x0000000129805df0    r14 = 0x0000000000000004
[task 2023-02-06T15:29:10.316Z] 15:29:10     INFO -      r15 = 0x0000000123ac9590    rip = 0x000000010608f35f
[task 2023-02-06T15:29:10.316Z] 15:29:10     INFO -     Found by: call frame info
[task 2023-02-06T15:29:10.316Z] 15:29:10     INFO -  3  XUL!mozilla::dom::ContentParent::CreateBrowser(mozilla::dom::TabContext const&, mozilla::dom::Element*, nsTSubstring<char> const&, mozilla::dom::BrowsingContext*, mozilla::dom::ContentParent*) [ContentParent.cpp:6c8d58d8f7485cc1f73aa58e00d5f027d97eb711 : 1492 + 0xb]
[task 2023-02-06T15:29:10.316Z] 15:29:10     INFO -      rbx = 0x00007ffeeaf551b8    rbp = 0x00007ffeeaf55240
[task 2023-02-06T15:29:10.316Z] 15:29:10     INFO -      rsp = 0x00007ffeeaf54fc0    r12 = 0x000000012a7c9c00
[task 2023-02-06T15:29:10.316Z] 15:29:10     INFO -      r13 = 0x0000000129805df0    r14 = 0x000000014f244800
[task 2023-02-06T15:29:10.316Z] 15:29:10     INFO -      r15 = 0x0000000123ac9590    rip = 0x0000000106091a1d
[task 2023-02-06T15:29:10.316Z] 15:29:10     INFO -     Found by: call frame info
[task 2023-02-06T15:29:10.316Z] 15:29:10     INFO -  4  XUL!nsFrameLoader::TryRemoteBrowserInternal() [nsFrameLoader.cpp:6c8d58d8f7485cc1f73aa58e00d5f027d97eb711 : 2758 + 0x7]
[task 2023-02-06T15:29:10.316Z] 15:29:10     INFO -      rbx = 0x00007ffeeaf552b8    rbp = 0x00007ffeeaf553d0
[task 2023-02-06T15:29:10.316Z] 15:29:10     INFO -      rsp = 0x00007ffeeaf55250    r12 = 0x0000000123a51500
[task 2023-02-06T15:29:10.316Z] 15:29:10     INFO -      r13 = 0x0000000129805df0    r14 = 0x000000000000000d
[task 2023-02-06T15:29:10.316Z] 15:29:10     INFO -      r15 = 0x0000000129f05f00    rip = 0x0000000105cb6f7a
[task 2023-02-06T15:29:10.316Z] 15:29:10     INFO -     Found by: call frame info
[task 2023-02-06T15:29:10.316Z] 15:29:10     INFO -  5  XUL!nsFrameLoader::TryRemoteBrowser() [nsFrameLoader.cpp:6c8d58d8f7485cc1f73aa58e00d5f027d97eb711 : 2828]
[task 2023-02-06T15:29:10.316Z] 15:29:10     INFO -     Found by: inlining
[task 2023-02-06T15:29:10.316Z] 15:29:10     INFO -  6  XUL!nsFrameLoader::EnsureRemoteBrowser() [nsFrameLoader.cpp:6c8d58d8f7485cc1f73aa58e00d5f027d97eb711 : 2555]
[task 2023-02-06T15:29:10.316Z] 15:29:10     INFO -     Found by: inlining
[task 2023-02-06T15:29:10.316Z] 15:29:10     INFO -  7  XUL!nsFrameLoader::ShowRemoteFrame(mozilla::gfx::IntSizeTyped<mozilla::ScreenPixel> const&, nsSubDocumentFrame*) [nsFrameLoader.cpp:6c8d58d8f7485cc1f73aa58e00d5f027d97eb711 : 1097 + 0x1f]
[task 2023-02-06T15:29:10.317Z] 15:29:10     INFO -      rbx = 0x0000000104f82200    rbp = 0x00007ffeeaf55450
[task 2023-02-06T15:29:10.317Z] 15:29:10     INFO -      rsp = 0x00007ffeeaf553e0    r12 = 0x000000014eef1520
[task 2023-02-06T15:29:10.317Z] 15:29:10     INFO -      r13 = 0x000000000000000c    r14 = 0x00007ffeeaf554a8
[task 2023-02-06T15:29:10.317Z] 15:29:10     INFO -      r15 = 0x0000000129f05f00    rip = 0x0000000105cb26c5
[task 2023-02-06T15:29:10.317Z] 15:29:10     INFO -     Found by: call frame info
[task 2023-02-06T15:29:10.317Z] 15:29:10     INFO -  8  XUL!nsFrameLoader::Show(nsSubDocumentFrame*) [nsFrameLoader.cpp:6c8d58d8f7485cc1f73aa58e00d5f027d97eb711 : 974 + 0xa]
[task 2023-02-06T15:29:10.317Z] 15:29:10     INFO -      rbx = 0x000000014eef1520    rbp = 0x00007ffeeaf55590
[task 2023-02-06T15:29:10.317Z] 15:29:10     INFO -      rsp = 0x00007ffeeaf55460    r12 = 0x0000000129f05f00
[task 2023-02-06T15:29:10.317Z] 15:29:10     INFO -      r13 = 0x000000012a7c9c00    r14 = 0x000000014eef1520
[task 2023-02-06T15:29:10.317Z] 15:29:10     INFO -      r15 = 0x00007ffeeaf555a0    rip = 0x0000000105cb39f6
[task 2023-02-06T15:29:10.317Z] 15:29:10     INFO -     Found by: call frame info
[task 2023-02-06T15:29:10.317Z] 15:29:10     INFO -  9  XUL!nsSubDocumentFrame::ShowViewer() [nsSubDocumentFrame.cpp:6c8d58d8f7485cc1f73aa58e00d5f027d97eb711 : 202 + 0xa]
[task 2023-02-06T15:29:10.317Z] 15:29:10     INFO -      rbx = 0x000000014eef1520    rbp = 0x00007ffeeaf555e0
[task 2023-02-06T15:29:10.317Z] 15:29:10     INFO -      rsp = 0x00007ffeeaf555a0    r12 = 0x0000000129805df0
[task 2023-02-06T15:29:10.317Z] 15:29:10     INFO -      r13 = 0x000000012a7c9c00    r14 = 0x0000000129f05f00
[task 2023-02-06T15:29:10.317Z] 15:29:10     INFO -      r15 = 0x00007ffeeaf555a0    rip = 0x0000000106441b56
[task 2023-02-06T15:29:10.317Z] 15:29:10     INFO -     Found by: call frame info
[task 2023-02-06T15:29:10.317Z] 15:29:10     INFO - 10  XUL!AsyncFrameInit::Run() [nsSubDocumentFrame.cpp:6c8d58d8f7485cc1f73aa58e00d5f027d97eb711 : 96 + 0x4]
[task 2023-02-06T15:29:10.317Z] 15:29:10     INFO -      rbx = 0x0000000104f82200    rbp = 0x00007ffeeaf55620
[task 2023-02-06T15:29:10.317Z] 15:29:10     INFO -      rsp = 0x00007ffeeaf555f0    r12 = 0x0000000129805df0
[task 2023-02-06T15:29:10.317Z] 15:29:10     INFO -      r13 = 0x000000012a7c9c00    r14 = 0x000000011f977260
[task 2023-02-06T15:29:10.317Z] 15:29:10     INFO -      r15 = 0x000000000000000b    rip = 0x000000010646272e
[task 2023-02-06T15:29:10.317Z] 15:29:10     INFO -     Found by: call frame info
[task 2023-02-06T15:29:10.318Z] 15:29:10     INFO - 11  XUL!nsContentUtils::AddScriptRunner(already_AddRefed<nsIRunnable>) [nsContentUtils.cpp:6c8d58d8f7485cc1f73aa58e00d5f027d97eb711 : 6015]
[task 2023-02-06T15:29:10.318Z] 15:29:10     INFO -     Found by: inlining
[task 2023-02-06T15:29:10.318Z] 15:29:10     INFO - 12  XUL!nsContentUtils::AddScriptRunner(nsIRunnable*) [nsContentUtils.cpp:6c8d58d8f7485cc1f73aa58e00d5f027d97eb711 : 6021 + 0x11]
[task 2023-02-06T15:29:10.318Z] 15:29:10     INFO -      rbx = 0x000000011f977260    rbp = 0x00007ffeeaf55640
[task 2023-02-06T15:29:10.318Z] 15:29:10     INFO -      rsp = 0x00007ffeeaf55630    r12 = 0x0000000129805df0
[task 2023-02-06T15:29:10.318Z] 15:29:10     INFO -      r13 = 0x000000012a7c9c00    r14 = 0x0000000129805e70
[task 2023-02-06T15:29:10.318Z] 15:29:10     INFO -      r15 = 0x0000000000000000    rip = 0x0000000105b8f167
[task 2023-02-06T15:29:10.318Z] 15:29:10     INFO -     Found by: call frame info
[task 2023-02-06T15:29:10.318Z] 15:29:10     INFO - 13  XUL!nsFrameLoaderOwner::ChangeFrameLoaderCommon(mozilla::dom::Element*, bool) [nsFrameLoaderOwner.cpp:6c8d58d8f7485cc1f73aa58e00d5f027d97eb711 : 210 + 0x8]
[task 2023-02-06T15:29:10.318Z] 15:29:10     INFO -      rbx = 0x0000000129805df0    rbp = 0x00007ffeeaf55680
[task 2023-02-06T15:29:10.318Z] 15:29:10     INFO -      rsp = 0x00007ffeeaf55650    r12 = 0x0000000129805df0
[task 2023-02-06T15:29:10.318Z] 15:29:10     INFO -      r13 = 0x000000012a7c9c00    r14 = 0x0000000129805e70
[task 2023-02-06T15:29:10.318Z] 15:29:10     INFO -      r15 = 0x0000000000000000    rip = 0x0000000107ec65f3
[task 2023-02-06T15:29:10.318Z] 15:29:10     INFO -     Found by: call frame info
[task 2023-02-06T15:29:10.318Z] 15:29:10     INFO - 14  XUL!nsFrameLoaderOwner::ChangeRemotenessCommon(nsFrameLoaderOwner::ChangeRemotenessContextType const&, mozilla::dom::NavigationIsolationOptions const&, bool, bool, mozilla::dom::BrowsingContextGroup*, std::__1::function<void ()>&, mozilla::ErrorResult&) [nsFrameLoaderOwner.cpp:6c8d58d8f7485cc1f73aa58e00d5f027d97eb711 : 198 + 0xf]
[task 2023-02-06T15:29:10.318Z] 15:29:10     INFO -      rbx = 0x0000000000000000    rbp = 0x00007ffeeaf55720
[task 2023-02-06T15:29:10.318Z] 15:29:10     INFO -      rsp = 0x00007ffeeaf55690    r12 = 0x0000000129805df0
[task 2023-02-06T15:29:10.318Z] 15:29:10     INFO -      r13 = 0x000000012a7c9c00    r14 = 0x0000000129805e78
[task 2023-02-06T15:29:10.318Z] 15:29:10     INFO -      r15 = 0x0000000000000000    rip = 0x0000000107ec6284
[task 2023-02-06T15:29:10.318Z] 15:29:10     INFO -     Found by: call frame info
[task 2023-02-06T15:29:10.318Z] 15:29:10     INFO - 15  XUL!nsFrameLoaderOwner::ChangeRemotenessToProcess(mozilla::dom::ContentParent*, mozilla::dom::NavigationIsolationOptions const&, mozilla::dom::BrowsingContextGroup*, mozilla::ErrorResult&) [nsFrameLoaderOwner.cpp:6c8d58d8f7485cc1f73aa58e00d5f027d97eb711 : 317 + 0x16]
[task 2023-02-06T15:29:10.318Z] 15:29:10     INFO -      rbx = 0x00007ffeeaf55760    rbp = 0x00007ffeeaf557c0
[task 2023-02-06T15:29:10.318Z] 15:29:10     INFO -      rsp = 0x00007ffeeaf55730    r12 = 0x000000015603f2a8
[task 2023-02-06T15:29:10.318Z] 15:29:10     INFO -      r13 = 0x0000000129805e70    r14 = 0x00007ffeeaf55757
[task 2023-02-06T15:29:10.319Z] 15:29:10     INFO -      r15 = 0x0000000000000000    rip = 0x0000000107ec69cf
[task 2023-02-06T15:29:10.319Z] 15:29:10     INFO -     Found by: call frame info
[task 2023-02-06T15:29:10.319Z] 15:29:10     INFO - 16  XUL!mozilla::dom::CanonicalBrowsingContext::PendingRemotenessChange::FinishTopContent() [CanonicalBrowsingContext.cpp:6c8d58d8f7485cc1f73aa58e00d5f027d97eb711 : 1671 + 0x7]
[task 2023-02-06T15:29:10.319Z] 15:29:10     INFO -      rbx = 0x000000012a7c9c00    rbp = 0x00007ffeeaf55850
[task 2023-02-06T15:29:10.319Z] 15:29:10     INFO -      rsp = 0x00007ffeeaf557d0    r12 = 0x00007ffeeaf55810
[task 2023-02-06T15:29:10.319Z] 15:29:10     INFO -      r13 = 0x00007ffeeaf55810    r14 = 0x0000000153431100
[task 2023-02-06T15:29:10.319Z] 15:29:10     INFO -      r15 = 0x000000015603f270    rip = 0x0000000109ef069e
[task 2023-02-06T15:29:10.319Z] 15:29:10     INFO -     Found by: call frame info
[task 2023-02-06T15:29:10.319Z] 15:29:10     INFO - 17  XUL!mozilla::dom::CanonicalBrowsingContext::PendingRemotenessChange::MaybeFinish() [CanonicalBrowsingContext.cpp:6c8d58d8f7485cc1f73aa58e00d5f027d97eb711 : 1596 + 0x9]
[task 2023-02-06T15:29:10.319Z] 15:29:10     INFO -      rbx = 0x000000015603f270    rbp = 0x00007ffeeaf55880
[task 2023-02-06T15:29:10.319Z] 15:29:10     INFO -      rsp = 0x00007ffeeaf55860    r12 = 0x0000000000000000
[task 2023-02-06T15:29:10.319Z] 15:29:10     INFO -      r13 = 0x0000000000000000    r14 = 0x000000011808c8e0
[task 2023-02-06T15:29:10.319Z] 15:29:10     INFO -      r15 = 0x0000000154e0cbe0    rip = 0x0000000109ef0443
[task 2023-02-06T15:29:10.319Z] 15:29:10     INFO -     Found by: call frame info
[task 2023-02-06T15:29:10.319Z] 15:29:10     INFO - 18  XUL!mozilla::dom::CanonicalBrowsingContext::ChangeRemoteness(mozilla::dom::NavigationIsolationOptions const&, unsigned long long)::$_39::operator()(mozilla::dom::ContentParent*) const [CanonicalBrowsingContext.cpp:6c8d58d8f7485cc1f73aa58e00d5f027d97eb711 : 2089]
[task 2023-02-06T15:29:10.319Z] 15:29:10     INFO -     Found by: inlining
[task 2023-02-06T15:29:10.319Z] 15:29:10     INFO - 19  XUL!mozilla::MozPromise<RefPtr<mozilla::dom::ContentParent>, mozilla::ipc::LaunchError, false>::InvokeMethod<mozilla::dom::CanonicalBrowsingContext::ChangeRemoteness(mozilla::dom::NavigationIsolationOptions const&, unsigned long long)::$_39, void (mozilla::dom::CanonicalBrowsingContext::ChangeRemoteness(mozilla::dom::NavigationIsolationOptions const&, unsigned long long)::$_39::*)(mozilla::dom::ContentParent*) const, RefPtr<mozilla::dom::ContentParent> const&>(mozilla::dom::CanonicalBrowsingContext::ChangeRemoteness(mozilla::dom::NavigationIsolationOptions const&, unsigned long long)::$_39*, void (mozilla::dom::CanonicalBrowsingContext::ChangeRemoteness(mozilla::dom::NavigationIsolationOptions const&, unsigned long long)::$_39::*)(mozilla::dom::ContentParent*) const, RefPtr<mozilla::dom::ContentParent> const&) [MozPromise.h:6c8d58d8f7485cc1f73aa58e00d5f027d97eb711 : 632]
[task 2023-02-06T15:29:10.319Z] 15:29:10     INFO -     Found by: inlining
[task 2023-02-06T15:29:10.319Z] 15:29:10     INFO - 20  XUL!mozilla::MozPromise<RefPtr<mozilla::dom::ContentParent>, mozilla::ipc::LaunchError, false>::InvokeCallbackMethod<false, mozilla::dom::CanonicalBrowsingContext::ChangeRemoteness(mozilla::dom::NavigationIsolationOptions const&, unsigned long long)::$_39, void (mozilla::dom::CanonicalBrowsingContext::ChangeRemoteness(mozilla::dom::NavigationIsolationOptions const&, unsigned long long)::$_39::*)(mozilla::dom::ContentParent*) const, RefPtr<mozilla::dom::ContentParent> const&, RefPtr<mozilla::MozPromise<RefPtr<mozilla::dom::ContentParent>, mozilla::ipc::LaunchError, false>::Private> >(mozilla::dom::CanonicalBrowsingContext::ChangeRemoteness(mozilla::dom::NavigationIsolationOptions const&, unsigned long long)::$_39*, void (mozilla::dom::CanonicalBrowsingContext::ChangeRemoteness(mozilla::dom::NavigationIsolationOptions const&, unsigned long long)::$_39::*)(mozilla::dom::ContentParent*) const, RefPtr<mozilla::dom::ContentParent> const&, RefPtr<mozilla::MozPromise<RefPtr<mozilla::dom::ContentParent>, mozilla::ipc::LaunchError, false>::Private>&&) [MozPromise.h:6c8d58d8f7485cc1f73aa58e00d5f027d97eb711 : 663]
[task 2023-02-06T15:29:10.319Z] 15:29:10     INFO -     Found by: inlining
[task 2023-02-06T15:29:10.319Z] 15:29:10     INFO - 21  XUL!mozilla::MozPromise<RefPtr<mozilla::dom::ContentParent>, mozilla::ipc::LaunchError, false>::ThenValue<mozilla::dom::CanonicalBrowsingContext::ChangeRemoteness(mozilla::dom::NavigationIsolationOptions const&, unsigned long long)::$_39, mozilla::dom::CanonicalBrowsingContext::ChangeRemoteness(mozilla::dom::NavigationIsolationOptions const&, unsigned long long)::$_40>::DoResolveOrRejectInternal(mozilla::MozPromise<RefPtr<mozilla::dom::ContentParent>, mozilla::ipc::LaunchError, false>::ResolveOrRejectValue&) [MozPromise.h:6c8d58d8f7485cc1f73aa58e00d5f027d97eb711 : 848 + 0xf]
[task 2023-02-06T15:29:10.319Z] 15:29:10     INFO -      rbx = 0x0000000154515700    rbp = 0x00007ffeeaf558b0
[task 2023-02-06T15:29:10.320Z] 15:29:10     INFO -      rsp = 0x00007ffeeaf55890    r12 = 0x0000000000000000
[task 2023-02-06T15:29:10.320Z] 15:29:10     INFO -      r13 = 0x0000000000000000    r14 = 0x000000011808c8e0
[task 2023-02-06T15:29:10.320Z] 15:29:10     INFO -      r15 = 0x0000000154e0cbe0    rip = 0x0000000109f11cad
[task 2023-02-06T15:29:10.320Z] 15:29:10     INFO -     Found by: call frame info

This is a deep, interesting stack.

  • nsAppStartup::Quit is notifiying quit-application-granted
  • Some observer of quit-application-granted (aka ShutdownPhase::AppShutdownConfirmed) (yet to be identified) is doing a nsThreadPool::ShutdownWithTimeout that spins an event loop, waiting for a pool
  • While in that loop, we get a CanonicalBrowsingContext::ChangeRemoteness event that will ask for a nsFrameLoader::EnsureRemoteBrowser that will make ContentParent::GetNewOrUsedLaunchingBrowserProcess fail

So we actually started parent shutdown and apparently we already notified ShutdownPhase::AppShutdown while on top of the nested event loop, which caused our child processes to start shutdown. Several things come to my mind:

  1. We might want to check the path that starts from CanonicalBrowsingContext::ChangeRemoteness if we miss some shutdown check.
  2. We probably want to find the cause for nsThreadPool::ShutdownWithTimeout during quit-application-granted and avoid it (moving it probably to the next phase). To help diagnose the cause, we could add the pool's name to the SpinEventLoopUntil annotation inside nsThreadPool::ShutdownWithTimeout (which would be nice to have in any case, I'd say).
Crash Signature: [@ mozilla::dom::ContentParent::AssertAlive()] → [@ mozilla::dom::ContentParent::AssertAlive]
Summary: Intermittent mozilla/tests/webdriver/send_alert_text.py | application crashed [@ mozilla::dom::ContentParent::AssertAlive()] → Intermittent mozilla/tests/webdriver/send_alert_text.py | application crashed [@ mozilla::dom::ContentParent::AssertAlive]
Status: NEW → RESOLVED
Closed: 2 years ago
Duplicate of bug: 1811746
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.