Bug 1805613 Comment 225 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

Briefly looking at the m-c logs (4):

#### ConnectionProxy problem?

`WorkerShutdownDump` for [a m-c case](https://treeherder.mozilla.org/logviewer?job_id=497993558&repo=mozilla-central&lineNumber=9218):

```
[Child 11938: Main Thread]: D/WorkerShutdownDump Found ActiveWorker (dedicated): navigator_worker.js
[Child 11938: Main Thread]: D/WorkerShutdownDump Principal: https://example.org
[Child 11938: Main Thread]: D/WorkerShutdownDump LoadingPrincipal: https://example.org
[Child 11938: Main Thread]: D/WorkerShutdownDump CrashInfo: IsChromeWorker(false)|ConnectionProxy|WorkerMainThreadRunnable|AutoSyncLoopHolder
```

Where [navigator_worker.js](https://searchfox.org/mozilla-central/rev/d5baa11e35e0186c3c867f4948010f0742198467/dom/workers/test/navigator_worker.js) is a test that checks things on the navigator.  The stack is interesting if a bit sus on the scanning, but the takeaway seems to be that [mozilla::dom::network::ConnectionProxy::Shutdown](https://searchfox.org/mozilla-central/rev/d5baa11e35e0186c3c867f4948010f0742198467/dom/network/ConnectionWorker.cpp#189) is in a syncloop while its WorkerRef is being notified.  But we also expect that to be the normal case  [since the Connection object is retained by WorkerNavigator until the global is shutdown](https://searchfox.org/mozilla-central/rev/d5baa11e35e0186c3c867f4948010f0742198467/dom/workers/WorkerNavigator.cpp#252).

This seems to be a new case.

```
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO - Thread 17 DOM Worker - tid: 12119
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -  0  libpthread.so.0 + 0xd9f3
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -      rax = 0xfffffffffffffe00    rdx = 0x0000000000000000
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -      rcx = 0x00007fe5507db9f3    rbx = 0x00007fe54ff8e890
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -      rsi = 0x0000000000000080    rdi = 0x00007fe54ff8e8bc
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -      rbp = 0x00007fe54ff8e8b4    rsp = 0x00007fe52e9fdda0
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -       r8 = 0x0000000000000001     r9 = 0x0000000000000000
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -      r10 = 0x0000000000000000    r11 = 0x0000000000000246
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -      r12 = 0x00007fe54ff8e8bc    r13 = 0x0000000000000000
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -      r14 = 0x00007fe52ed61f60    r15 = 0x0000000000000013
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -      rip = 0x00007fe5507db9f3
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -     Found by: given as instruction pointer in context
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -  1  libxul.so!mozilla::DeadlockDetector<mozilla::BlockingResourceBase>::PRAutoLock::~PRAutoLock() [DeadlockDetector.h:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 106]
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -     Found by: inlining
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -  2  libxul.so!mozilla::DeadlockDetector<mozilla::BlockingResourceBase>::CheckAcquisition(mozilla::BlockingResourceBase const*, mozilla::BlockingResourceBase const*) [DeadlockDetector.h:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 257 + 0x4]
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -      rbp = 0x00007fe54ff8e8b4    rsp = 0x00007fe52e9fdde0
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -      rip = 0x00007fe53af6b730
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -  3  libpthread.so.0 + 0xd68f
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -      rsp = 0x00007fe52e9fdde8    rip = 0x00007fe5507db690
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -  4  firefox-bin!mozilla::detail::ConditionVariableImpl::wait(mozilla::detail::MutexImpl&) [ConditionVariable_posix.cpp:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 106]
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -     Found by: inlining
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -  5  firefox-bin!mozilla::detail::ConditionVariableImpl::wait_for(mozilla::detail::MutexImpl&, mozilla::BaseTimeDuration<mozilla::TimeDurationValueCalculator> const&) [ConditionVariable_posix.cpp:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 113 + 0xa]
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -      rsp = 0x00007fe52e9fde70    rip = 0x000055f1e5422dec
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -  6  libxul.so!mozilla::OffTheBooksCondVar::Wait(mozilla::BaseTimeDuration<mozilla::TimeDurationValueCalculator>) [BlockingResourceBase.cpp:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 568 + 0x10]
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -      rsp = 0x00007fe52e9fded0    rip = 0x00007fe53af6c0c8
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -  7  libxul.so!mozilla::OffTheBooksCondVar::Wait() [BlockingResourceBase.cpp:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 548 + 0x4]
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -      rsp = 0x00007fe52e9fdf20    rip = 0x00007fe53af6bff3
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -  8  libxul.so!mozilla::dom::WorkerPrivate::WaitForWorkerEvents() [WorkerPrivate.cpp:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 4354 + 0xb]
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -      rsp = 0x00007fe52e9fdf30    rip = 0x00007fe53f684ab1
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -  9  libxul.so!mozilla::dom::WorkerPrivate::RunCurrentSyncLoop() [WorkerPrivate.cpp:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 5049 + 0x7]
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -      rsp = 0x00007fe52e9fdf70    rip = 0x00007fe53f68a9c7
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO - 10  libxul.so!mozilla::dom::AutoSyncLoopHolder::Run() [WorkerPrivate.cpp:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 6794 + 0x7]
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -      rsp = 0x00007fe52e9fdfe0    rip = 0x00007fe53f693aeb
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO - 11  libxul.so!mozilla::dom::WorkerMainThreadRunnable::Dispatch(mozilla::dom::WorkerPrivate*, mozilla::dom::WorkerStatus, mozilla::ErrorResult&) [WorkerRunnable.cpp:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 622 + 0x4]
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -      rsp = 0x00007fe52e9fe000    rip = 0x00007fe53f675006
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO - 12  libxul.so!TraceLogMutex::Unlock() [nsTraceRefcnt.cpp:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 80]
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -     Found by: inlining
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO - 13  libxul.so!AutoTraceLogLock::~AutoTraceLogLock() [nsTraceRefcnt.cpp:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 97]
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -     Found by: inlining
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO - 14  libxul.so!NS_LogAddRef [nsTraceRefcnt.cpp:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 945 + 0xb]
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -      rsp = 0x00007fe52e9fe030    rip = 0x00007fe53aec135c
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO - 15  libxul.so!nsTSubstring<char>::Assign(nsTSubstring<char> const&) [nsTSubstring.cpp:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 477 + 0xb]
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -      rsp = 0x00007fe52e9fe050    rip = 0x00007fe53ae3d365
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO - 16  libnspr4.so!PR_GetCurrentThread [ptthread.c:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 588 + 0xa]
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -      rsp = 0x00007fe52e9fe070    rip = 0x00007fe5516ed020
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO - 17  libxul.so!mozilla::dom::network::ConnectionProxy::Shutdown() [ConnectionWorker.cpp:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 204 + 0xf]
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -      rsp = 0x00007fe52e9fe0b0    rip = 0x00007fe53f25bbab
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO - 18  libxul.so!fu2::abi_400::detail::type_erasure::tables::vtable<fu2::abi_400::detail::property<false, false, void ()> >::invoke<(unsigned long)0, fu2::abi_400::detail::type_erasure::data_accessor*, unsigned long const&>(fu2::abi_400::detail::type_erasure::data_accessor*, unsigned long const&) const [function2.hpp:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 1046]
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -     Found by: inlining
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO - 19  libxul.so!fu2::abi_400::detail::type_erasure::erasure<true, fu2::abi_400::detail::config<true, false, fu2::capacity_fixed<(unsigned long)16, (unsigned long)8> >, fu2::abi_400::detail::property<false, false, void ()> >::invoke<(unsigned long)0, fu2::abi_400::detail::type_erasure::erasure<true, fu2::abi_400::detail::config<true, false, fu2::capacity_fixed<(unsigned long)16, (unsigned long)8> >, fu2::abi_400::detail::property<false, false, void ()> >&, >(fu2::abi_400::detail::type_erasure::erasure<true, fu2::abi_400::detail::config<true, false, fu2::capacity_fixed<(unsigned long)16, (unsigned long)8> >, fu2::abi_400::detail::property<false, false, void ()> >&, &&) [function2.hpp:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 1268]
[task 2025-03-07T04:46:28.804Z] 04:46:28     INFO -     Found by: inlining
[task 2025-03-07T04:46:28.804Z] 04:46:28     INFO - 20  libxul.so!fu2::abi_400::detail::type_erasure::invocation_table::operator_impl<(unsigned long)0, fu2::abi_400::detail::function<fu2::abi_400::detail::config<true, false, fu2::capacity_fixed<(unsigned long)16, (unsigned long)8> >, fu2::abi_400::detail::property<false, false, void ()> >, void ()>::operator()() [function2.hpp:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 826]
[task 2025-03-07T04:46:28.804Z] 04:46:28     INFO -     Found by: inlining
[task 2025-03-07T04:46:28.804Z] 04:46:28     INFO - 21  libxul.so!mozilla::dom::WorkerRef::Notify() [WorkerRef.cpp:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 104 + 0xa]
[task 2025-03-07T04:46:28.804Z] 04:46:28     INFO -      rsp = 0x00007fe52e9fe100    rip = 0x00007fe53f694195
[task 2025-03-07T04:46:28.804Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.804Z] 04:46:28     INFO - 22  libxul.so!<.plt ELF section in libxul.so> + 0x631dbf
[task 2025-03-07T04:46:28.804Z] 04:46:28     INFO -      rsp = 0x00007fe52e9fe140    rip = 0x00007fe544297b50
[task 2025-03-07T04:46:28.804Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.804Z] 04:46:28     INFO - 23  libxul.so!mozilla::dom::WorkerPrivate::NotifyWorkerRefs(mozilla::dom::WorkerStatus) [WorkerPrivate.cpp:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 4702 + 0x9]
[task 2025-03-07T04:46:28.804Z] 04:46:28     INFO -      rsp = 0x00007fe52e9fe150    rip = 0x00007fe53f682e99
[task 2025-03-07T04:46:28.804Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.804Z] 04:46:28     INFO - 24  libxul.so!AssertActivityIsLegal(char const*, char const*) [nsTraceRefcnt.cpp:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 208 + 0xf]
[task 2025-03-07T04:46:28.804Z] 04:46:28     INFO -      rsp = 0x00007fe52e9fe160    rip = 0x00007fe53aed1763
[task 2025-03-07T04:46:28.804Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.804Z] 04:46:28     INFO - 25  libxul.so!nsAtom::Equals(char16_t const*, unsigned int) const [nsAtom.h:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 44]
[task 2025-03-07T04:46:28.804Z] 04:46:28     INFO -     Found by: inlining
[task 2025-03-07T04:46:28.804Z] 04:46:28     INFO - 26  libxul.so!AtomTableMatchKey(PLDHashEntryHdr const*, void const*) [nsAtomTable.cpp:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 311 + 0x14]
[task 2025-03-07T04:46:28.804Z] 04:46:28     INFO -      rsp = 0x00007fe52e9fe190    rip = 0x00007fe53aef249d
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO - 27  libxul.so!nsTSubstring<char16_t>::StartBulkWriteImpl(unsigned long, unsigned long, bool, unsigned long, unsigned long, unsigned long) [nsTSubstring.cpp:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 265 + 0xb]
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -      rsp = 0x00007fe52e9fe1b0    rip = 0x00007fe53ae3e8e1
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO - 28  libxul.so!nsDepCharHashKey::KeyEquals(char const*) const [nsHashKeys.h:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 525]
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -     Found by: inlining
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO - 29  libxul.so!nsTHashtable<nsBaseHashtableET<nsDepCharHashKey, mozilla::UniquePtr<BloatEntry, mozilla::DefaultDelete<BloatEntry> > > >::s_MatchEntry(PLDHashEntryHdr const*, void const*) [nsTHashtable.h:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 703 + 0x7]
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -      rsp = 0x00007fe52e9fe1e0    rip = 0x00007fe53aedb50c
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO - 30  firefox-bin!Mutex::Unlock() [Mutex.h:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 106]
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -     Found by: inlining
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO - 31  firefox-bin!MaybeMutex::Unlock() [Mutex.h:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 210]
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -     Found by: inlining
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO - 32  firefox-bin!AutoLock<MaybeMutex>::~AutoLock() [Mutex.h:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 254]
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -     Found by: inlining
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO - 33  firefox-bin!arena_dalloc(void*, unsigned long, arena_t*) [mozjemalloc.cpp:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 4662 + 0x13]
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -      rsp = 0x00007fe52e9fe210    rip = 0x000055f1e53a12e4
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO - 34  libxul.so!mozilla::detail::HashTable<mozilla::HashMapEntry<void*, mozilla::JSHolderMap::Entry*>, mozilla::HashMap<void*, mozilla::JSHolderMap::Entry*, mozilla::DefaultHasher<void*, void>, InfallibleAllocPolicy>::MapHashPolicy, InfallibleAllocPolicy>::add<void*&, mozilla::JSHolderMap::Entry*>(mozilla::detail::HashTable<mozilla::HashMapEntry<void*, mozilla::JSHolderMap::Entry*>, mozilla::HashMap<void*, mozilla::JSHolderMap::Entry*, mozilla::DefaultHasher<void*, void>, InfallibleAllocPolicy>::MapHashPolicy, InfallibleAllocPolicy>::AddPtr&, void*&, mozilla::JSHolderMap::Entry*) [HashTable.h:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 2207 + 0xe]
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -      rsp = 0x00007fe52e9fe250    rip = 0x00007fe53ae92edb
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO - 35  libxul.so!<.plt ELF section in libxul.so> + 0x62cd47
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -      rsp = 0x00007fe52e9fe260    rip = 0x00007fe544292ad8
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO - 36  libxul.so!mozilla::HashMap<void*, mozilla::JSHolderMap::Entry*, mozilla::DefaultHasher<void*, void>, InfallibleAllocPolicy>::add<void*&, mozilla::JSHolderMap::Entry*>(mozilla::detail::HashTable<mozilla::HashMapEntry<void*, mozilla::JSHolderMap::Entry*>, mozilla::HashMap<void*, mozilla::JSHolderMap::Entry*, mozilla::DefaultHasher<void*, void>, InfallibleAllocPolicy>::MapHashPolicy, InfallibleAllocPolicy>::AddPtr&, void*&, mozilla::JSHolderMap::Entry*&&) [HashTable.h:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 346]
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -     Found by: inlining
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO - 37  libxul.so!mozilla::JSHolderMap::Put(void*, nsScriptObjectTracer*, JS::Zone*) [CycleCollectedJSRuntime.cpp:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 644 + 0x7]
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -      rsp = 0x00007fe52e9fe290    rip = 0x00007fe53ae78f17
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO - 38  libxul.so!<.plt ELF section in libxul.so> + 0x62cd47
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -      rsp = 0x00007fe52e9fe2b0    rip = 0x00007fe544292ad8
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO - 39  libxul.so!js::CurrentThreadCanAccessRuntime(JSRuntime const*) [Runtime.cpp:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 777 + 0xb]
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -      rsp = 0x00007fe52e9fe2c0    rip = 0x00007fe540f0cec9
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO - 40  libxul.so!js::CurrentThreadCanAccessRuntime(JSRuntime const*) [Runtime.cpp:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 777 + 0xb]
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -      rsp = 0x00007fe52e9fe2f0    rip = 0x00007fe540f0cec9
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO - 41  libxul.so!js::CheckContextLocal::check() const [ProtectedData.cpp:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 53 + 0x4]
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -      rsp = 0x00007fe52e9fe310    rip = 0x00007fe540cafd41
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO - 42  libxul.so!js::ProtectedData<js::CheckContextLocal, JS::ExceptionStatus>::ref() const [ProtectedData.h:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 149]
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -     Found by: inlining
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO - 43  libxul.so!js::ProtectedData<js::CheckContextLocal, JS::ExceptionStatus>::operator JS::ExceptionStatus const&() const [ProtectedData.h:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 93]
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -     Found by: inlining
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO - 44  libxul.so!JSContext::isExceptionPending() const [JSContext.h:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 737]
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -     Found by: inlining
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO - 45  libxul.so!JS_IsExceptionPending(JSContext*) [jsapi.cpp:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 3963 + 0x17]
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -      rsp = 0x00007fe52e9fe330    rip = 0x00007fe54119e721
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO - 46  libxul.so!NS_LogAddRef [nsTraceRefcnt.cpp:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 897 + 0xe]
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -      rsp = 0x00007fe52e9fe390    rip = 0x00007fe53aec1189
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO - 47  libxul.so!mozilla::BlockingResourceBase::CheckAcquire() [BlockingResourceBase.cpp:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 255 + 0xe]
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -      rsp = 0x00007fe52e9fe400    rip = 0x00007fe53af6b0ad
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO - 48  libxul.so!<.plt ELF section in libxul.so> + 0xef857
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -      rsp = 0x00007fe52e9fe430    rip = 0x00007fe543d555e8
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO - 49  firefox-bin!MozJemallocPHC::free(void*) [PHC.cpp:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 1796 + 0x4]
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -      rsp = 0x00007fe52e9fe440    rip = 0x000055f1e53a2178
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO - 50  libxul.so!PLDHashTable::EntryStore::~EntryStore() [PLDHashTable.h:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 322]
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -     Found by: inlining
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO - 51  libxul.so!PLDHashTable::~PLDHashTable() [PLDHashTable.cpp:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 300 + 0x9]
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -      rsp = 0x00007fe52e9fe470    rip = 0x00007fe53aee40a3
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO - 52  libxul.so!mozilla::BlockingResourceBase::ResourceChainFront() [BlockingResourceBase.h:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 162]
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -     Found by: inlining
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO - 53  libxul.so!mozilla::BlockingResourceBase::Release() [BlockingResourceBase.cpp:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 316 + 0xb]
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -      rsp = 0x00007fe52e9fe480    rip = 0x00007fe53af6b823
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO - 54  firefox-bin!mozilla::detail::MutexImpl::unlock() [Mutex_posix.cpp:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 119 + 0x4]
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -      rsp = 0x00007fe52e9fe4b0    rip = 0x000055f1e54240cb
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO - 55  libxul.so!mozilla::detail::BaseAutoLock<mozilla::Mutex&>::~BaseAutoLock() [Mutex.h:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 240]
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -     Found by: inlining
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO - 56  libxul.so!mozilla::dom::WorkerPrivate::UpdateCCFlag(mozilla::dom::WorkerPrivate::CCFlag) [WorkerPrivate.cpp:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 0 + 0x7]
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -      rsp = 0x00007fe52e9fe4d0    rip = 0x00007fe53f68685b
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO - 57  libxul.so!mozilla::dom::WorkerPrivate::NotifyInternal(mozilla::dom::WorkerStatus) [WorkerPrivate.cpp:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 5500 + 0xc]
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -      rsp = 0x00007fe52e9fe520    rip = 0x00007fe53f685146
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO - 58  libxul.so!mozilla::dom::WorkerThreadRunnable::Run() [WorkerRunnable.cpp:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 443 + 0x11]
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -      rsp = 0x00007fe52e9fe570    rip = 0x00007fe53f69683b
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO - 59  libxul.so!mozilla::dom::WorkerPrivate::ProcessAllControlRunnablesLocked() [WorkerPrivate.cpp:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 4377 + 0x9]
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -      rsp = 0x00007fe52e9fe6b0    rip = 0x00007fe53f684d3c
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.806Z] 04:46:28     INFO - 60  libxul.so!mozilla::dom::WorkerPrivate::DoRunLoop(JSContext*) [WorkerPrivate.cpp:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 3586 + 0x7]
[task 2025-03-07T04:46:28.806Z] 04:46:28     INFO -      rsp = 0x00007fe52e9fe770    rip = 0x00007fe53f683623
[task 2025-03-07T04:46:28.806Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.806Z] 04:46:28     INFO - 61  libxul.so!mozilla::dom::workerinternals::(anonymous namespace)::WorkerThreadPrimaryRunnable::Run() 
```

#### Another known XHRW Shutdown case

[This log](https://treeherder.mozilla.org/logviewer?job_id=497816295&repo=mozilla-central&lineNumber=74078) is another variant on the XHR hang already discussed in bug 1826222.

```
[Child 14189: Main Thread]: D/WorkerShutdownDump Found ActiveWorker (dedicated): resource://gre/modules/translations/cld-worker.js
[Child 14189: Main Thread]: D/WorkerShutdownDump Principal: [System Principal]
[Child 14189: Main Thread]: D/WorkerShutdownDump LoadingPrincipal: [System Principal]
[Child 14189: Main Thread]: D/WorkerShutdownDump CrashInfo: IsChromeWorker(false)|WorkerMainThreadRunnable|AutoSyncLoopHolder
```

[This other log is the same thing](https://treeherder.mozilla.org/logviewer?job_id=497703293&repo=mozilla-central&lineNumber=72634), as is [the last log](https://treeherder.mozilla.org/logviewer?job_id=497328706&repo=mozilla-central&lineNumber=72128).
Briefly looking at the m-c logs (4):

#### ConnectionProxy problem?

`WorkerShutdownDump` for [a m-c case](https://treeherder.mozilla.org/logviewer?job_id=497993558&repo=mozilla-central&lineNumber=9218):

```
[Child 11938: Main Thread]: D/WorkerShutdownDump Found ActiveWorker (dedicated): navigator_worker.js
[Child 11938: Main Thread]: D/WorkerShutdownDump Principal: https://example.org
[Child 11938: Main Thread]: D/WorkerShutdownDump LoadingPrincipal: https://example.org
[Child 11938: Main Thread]: D/WorkerShutdownDump CrashInfo: IsChromeWorker(false)|ConnectionProxy|WorkerMainThreadRunnable|AutoSyncLoopHolder
```

Where [navigator_worker.js](https://searchfox.org/mozilla-central/rev/d5baa11e35e0186c3c867f4948010f0742198467/dom/workers/test/navigator_worker.js) is a test that checks things on the navigator.  The stack is interesting if a bit sus on the scanning, but the takeaway seems to be that [mozilla::dom::network::ConnectionProxy::Shutdown](https://searchfox.org/mozilla-central/rev/d5baa11e35e0186c3c867f4948010f0742198467/dom/network/ConnectionWorker.cpp#189) is in a syncloop while its WorkerRef is being notified.  But we also expect that to be the normal case  [since the Connection object is retained by WorkerNavigator until the global is shutdown](https://searchfox.org/mozilla-central/rev/d5baa11e35e0186c3c867f4948010f0742198467/dom/workers/WorkerNavigator.cpp#252).

This seems to be a new case.

```
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO - Thread 17 DOM Worker - tid: 12119
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -  0  libpthread.so.0 + 0xd9f3
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -      rax = 0xfffffffffffffe00    rdx = 0x0000000000000000
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -      rcx = 0x00007fe5507db9f3    rbx = 0x00007fe54ff8e890
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -      rsi = 0x0000000000000080    rdi = 0x00007fe54ff8e8bc
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -      rbp = 0x00007fe54ff8e8b4    rsp = 0x00007fe52e9fdda0
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -       r8 = 0x0000000000000001     r9 = 0x0000000000000000
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -      r10 = 0x0000000000000000    r11 = 0x0000000000000246
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -      r12 = 0x00007fe54ff8e8bc    r13 = 0x0000000000000000
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -      r14 = 0x00007fe52ed61f60    r15 = 0x0000000000000013
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -      rip = 0x00007fe5507db9f3
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -     Found by: given as instruction pointer in context
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -  1  libxul.so!mozilla::DeadlockDetector<mozilla::BlockingResourceBase>::PRAutoLock::~PRAutoLock() [DeadlockDetector.h:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 106]
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -     Found by: inlining
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -  2  libxul.so!mozilla::DeadlockDetector<mozilla::BlockingResourceBase>::CheckAcquisition(mozilla::BlockingResourceBase const*, mozilla::BlockingResourceBase const*) [DeadlockDetector.h:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 257 + 0x4]
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -      rbp = 0x00007fe54ff8e8b4    rsp = 0x00007fe52e9fdde0
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -      rip = 0x00007fe53af6b730
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -  3  libpthread.so.0 + 0xd68f
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -      rsp = 0x00007fe52e9fdde8    rip = 0x00007fe5507db690
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -  4  firefox-bin!mozilla::detail::ConditionVariableImpl::wait(mozilla::detail::MutexImpl&) [ConditionVariable_posix.cpp:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 106]
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -     Found by: inlining
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -  5  firefox-bin!mozilla::detail::ConditionVariableImpl::wait_for(mozilla::detail::MutexImpl&, mozilla::BaseTimeDuration<mozilla::TimeDurationValueCalculator> const&) [ConditionVariable_posix.cpp:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 113 + 0xa]
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -      rsp = 0x00007fe52e9fde70    rip = 0x000055f1e5422dec
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -  6  libxul.so!mozilla::OffTheBooksCondVar::Wait(mozilla::BaseTimeDuration<mozilla::TimeDurationValueCalculator>) [BlockingResourceBase.cpp:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 568 + 0x10]
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -      rsp = 0x00007fe52e9fded0    rip = 0x00007fe53af6c0c8
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -  7  libxul.so!mozilla::OffTheBooksCondVar::Wait() [BlockingResourceBase.cpp:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 548 + 0x4]
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -      rsp = 0x00007fe52e9fdf20    rip = 0x00007fe53af6bff3
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -  8  libxul.so!mozilla::dom::WorkerPrivate::WaitForWorkerEvents() [WorkerPrivate.cpp:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 4354 + 0xb]
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -      rsp = 0x00007fe52e9fdf30    rip = 0x00007fe53f684ab1
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -  9  libxul.so!mozilla::dom::WorkerPrivate::RunCurrentSyncLoop() [WorkerPrivate.cpp:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 5049 + 0x7]
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -      rsp = 0x00007fe52e9fdf70    rip = 0x00007fe53f68a9c7
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO - 10  libxul.so!mozilla::dom::AutoSyncLoopHolder::Run() [WorkerPrivate.cpp:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 6794 + 0x7]
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -      rsp = 0x00007fe52e9fdfe0    rip = 0x00007fe53f693aeb
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO - 11  libxul.so!mozilla::dom::WorkerMainThreadRunnable::Dispatch(mozilla::dom::WorkerPrivate*, mozilla::dom::WorkerStatus, mozilla::ErrorResult&) [WorkerRunnable.cpp:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 622 + 0x4]
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -      rsp = 0x00007fe52e9fe000    rip = 0x00007fe53f675006
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO - 12  libxul.so!TraceLogMutex::Unlock() [nsTraceRefcnt.cpp:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 80]
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -     Found by: inlining
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO - 13  libxul.so!AutoTraceLogLock::~AutoTraceLogLock() [nsTraceRefcnt.cpp:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 97]
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -     Found by: inlining
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO - 14  libxul.so!NS_LogAddRef [nsTraceRefcnt.cpp:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 945 + 0xb]
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -      rsp = 0x00007fe52e9fe030    rip = 0x00007fe53aec135c
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO - 15  libxul.so!nsTSubstring<char>::Assign(nsTSubstring<char> const&) [nsTSubstring.cpp:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 477 + 0xb]
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -      rsp = 0x00007fe52e9fe050    rip = 0x00007fe53ae3d365
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO - 16  libnspr4.so!PR_GetCurrentThread [ptthread.c:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 588 + 0xa]
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -      rsp = 0x00007fe52e9fe070    rip = 0x00007fe5516ed020
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO - 17  libxul.so!mozilla::dom::network::ConnectionProxy::Shutdown() [ConnectionWorker.cpp:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 204 + 0xf]
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -      rsp = 0x00007fe52e9fe0b0    rip = 0x00007fe53f25bbab
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO - 18  libxul.so!fu2::abi_400::detail::type_erasure::tables::vtable<fu2::abi_400::detail::property<false, false, void ()> >::invoke<(unsigned long)0, fu2::abi_400::detail::type_erasure::data_accessor*, unsigned long const&>(fu2::abi_400::detail::type_erasure::data_accessor*, unsigned long const&) const [function2.hpp:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 1046]
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -     Found by: inlining
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO - 19  libxul.so!fu2::abi_400::detail::type_erasure::erasure<true, fu2::abi_400::detail::config<true, false, fu2::capacity_fixed<(unsigned long)16, (unsigned long)8> >, fu2::abi_400::detail::property<false, false, void ()> >::invoke<(unsigned long)0, fu2::abi_400::detail::type_erasure::erasure<true, fu2::abi_400::detail::config<true, false, fu2::capacity_fixed<(unsigned long)16, (unsigned long)8> >, fu2::abi_400::detail::property<false, false, void ()> >&, >(fu2::abi_400::detail::type_erasure::erasure<true, fu2::abi_400::detail::config<true, false, fu2::capacity_fixed<(unsigned long)16, (unsigned long)8> >, fu2::abi_400::detail::property<false, false, void ()> >&, &&) [function2.hpp:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 1268]
[task 2025-03-07T04:46:28.804Z] 04:46:28     INFO -     Found by: inlining
[task 2025-03-07T04:46:28.804Z] 04:46:28     INFO - 20  libxul.so!fu2::abi_400::detail::type_erasure::invocation_table::operator_impl<(unsigned long)0, fu2::abi_400::detail::function<fu2::abi_400::detail::config<true, false, fu2::capacity_fixed<(unsigned long)16, (unsigned long)8> >, fu2::abi_400::detail::property<false, false, void ()> >, void ()>::operator()() [function2.hpp:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 826]
[task 2025-03-07T04:46:28.804Z] 04:46:28     INFO -     Found by: inlining
[task 2025-03-07T04:46:28.804Z] 04:46:28     INFO - 21  libxul.so!mozilla::dom::WorkerRef::Notify() [WorkerRef.cpp:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 104 + 0xa]
[task 2025-03-07T04:46:28.804Z] 04:46:28     INFO -      rsp = 0x00007fe52e9fe100    rip = 0x00007fe53f694195
[task 2025-03-07T04:46:28.804Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.804Z] 04:46:28     INFO - 22  libxul.so!<.plt ELF section in libxul.so> + 0x631dbf
[task 2025-03-07T04:46:28.804Z] 04:46:28     INFO -      rsp = 0x00007fe52e9fe140    rip = 0x00007fe544297b50
[task 2025-03-07T04:46:28.804Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.804Z] 04:46:28     INFO - 23  libxul.so!mozilla::dom::WorkerPrivate::NotifyWorkerRefs(mozilla::dom::WorkerStatus) [WorkerPrivate.cpp:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 4702 + 0x9]
[task 2025-03-07T04:46:28.804Z] 04:46:28     INFO -      rsp = 0x00007fe52e9fe150    rip = 0x00007fe53f682e99
[task 2025-03-07T04:46:28.804Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.804Z] 04:46:28     INFO - 24  libxul.so!AssertActivityIsLegal(char const*, char const*) [nsTraceRefcnt.cpp:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 208 + 0xf]
[task 2025-03-07T04:46:28.804Z] 04:46:28     INFO -      rsp = 0x00007fe52e9fe160    rip = 0x00007fe53aed1763
[task 2025-03-07T04:46:28.804Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.804Z] 04:46:28     INFO - 25  libxul.so!nsAtom::Equals(char16_t const*, unsigned int) const [nsAtom.h:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 44]
[task 2025-03-07T04:46:28.804Z] 04:46:28     INFO -     Found by: inlining
[task 2025-03-07T04:46:28.804Z] 04:46:28     INFO - 26  libxul.so!AtomTableMatchKey(PLDHashEntryHdr const*, void const*) [nsAtomTable.cpp:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 311 + 0x14]
[task 2025-03-07T04:46:28.804Z] 04:46:28     INFO -      rsp = 0x00007fe52e9fe190    rip = 0x00007fe53aef249d
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO - 27  libxul.so!nsTSubstring<char16_t>::StartBulkWriteImpl(unsigned long, unsigned long, bool, unsigned long, unsigned long, unsigned long) [nsTSubstring.cpp:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 265 + 0xb]
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -      rsp = 0x00007fe52e9fe1b0    rip = 0x00007fe53ae3e8e1
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO - 28  libxul.so!nsDepCharHashKey::KeyEquals(char const*) const [nsHashKeys.h:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 525]
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -     Found by: inlining
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO - 29  libxul.so!nsTHashtable<nsBaseHashtableET<nsDepCharHashKey, mozilla::UniquePtr<BloatEntry, mozilla::DefaultDelete<BloatEntry> > > >::s_MatchEntry(PLDHashEntryHdr const*, void const*) [nsTHashtable.h:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 703 + 0x7]
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -      rsp = 0x00007fe52e9fe1e0    rip = 0x00007fe53aedb50c
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO - 30  firefox-bin!Mutex::Unlock() [Mutex.h:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 106]
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -     Found by: inlining
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO - 31  firefox-bin!MaybeMutex::Unlock() [Mutex.h:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 210]
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -     Found by: inlining
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO - 32  firefox-bin!AutoLock<MaybeMutex>::~AutoLock() [Mutex.h:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 254]
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -     Found by: inlining
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO - 33  firefox-bin!arena_dalloc(void*, unsigned long, arena_t*) [mozjemalloc.cpp:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 4662 + 0x13]
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -      rsp = 0x00007fe52e9fe210    rip = 0x000055f1e53a12e4
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO - 34  libxul.so!mozilla::detail::HashTable<mozilla::HashMapEntry<void*, mozilla::JSHolderMap::Entry*>, mozilla::HashMap<void*, mozilla::JSHolderMap::Entry*, mozilla::DefaultHasher<void*, void>, InfallibleAllocPolicy>::MapHashPolicy, InfallibleAllocPolicy>::add<void*&, mozilla::JSHolderMap::Entry*>(mozilla::detail::HashTable<mozilla::HashMapEntry<void*, mozilla::JSHolderMap::Entry*>, mozilla::HashMap<void*, mozilla::JSHolderMap::Entry*, mozilla::DefaultHasher<void*, void>, InfallibleAllocPolicy>::MapHashPolicy, InfallibleAllocPolicy>::AddPtr&, void*&, mozilla::JSHolderMap::Entry*) [HashTable.h:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 2207 + 0xe]
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -      rsp = 0x00007fe52e9fe250    rip = 0x00007fe53ae92edb
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO - 35  libxul.so!<.plt ELF section in libxul.so> + 0x62cd47
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -      rsp = 0x00007fe52e9fe260    rip = 0x00007fe544292ad8
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO - 36  libxul.so!mozilla::HashMap<void*, mozilla::JSHolderMap::Entry*, mozilla::DefaultHasher<void*, void>, InfallibleAllocPolicy>::add<void*&, mozilla::JSHolderMap::Entry*>(mozilla::detail::HashTable<mozilla::HashMapEntry<void*, mozilla::JSHolderMap::Entry*>, mozilla::HashMap<void*, mozilla::JSHolderMap::Entry*, mozilla::DefaultHasher<void*, void>, InfallibleAllocPolicy>::MapHashPolicy, InfallibleAllocPolicy>::AddPtr&, void*&, mozilla::JSHolderMap::Entry*&&) [HashTable.h:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 346]
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -     Found by: inlining
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO - 37  libxul.so!mozilla::JSHolderMap::Put(void*, nsScriptObjectTracer*, JS::Zone*) [CycleCollectedJSRuntime.cpp:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 644 + 0x7]
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -      rsp = 0x00007fe52e9fe290    rip = 0x00007fe53ae78f17
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO - 38  libxul.so!<.plt ELF section in libxul.so> + 0x62cd47
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -      rsp = 0x00007fe52e9fe2b0    rip = 0x00007fe544292ad8
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO - 39  libxul.so!js::CurrentThreadCanAccessRuntime(JSRuntime const*) [Runtime.cpp:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 777 + 0xb]
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -      rsp = 0x00007fe52e9fe2c0    rip = 0x00007fe540f0cec9
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO - 40  libxul.so!js::CurrentThreadCanAccessRuntime(JSRuntime const*) [Runtime.cpp:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 777 + 0xb]
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -      rsp = 0x00007fe52e9fe2f0    rip = 0x00007fe540f0cec9
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO - 41  libxul.so!js::CheckContextLocal::check() const [ProtectedData.cpp:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 53 + 0x4]
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -      rsp = 0x00007fe52e9fe310    rip = 0x00007fe540cafd41
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO - 42  libxul.so!js::ProtectedData<js::CheckContextLocal, JS::ExceptionStatus>::ref() const [ProtectedData.h:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 149]
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -     Found by: inlining
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO - 43  libxul.so!js::ProtectedData<js::CheckContextLocal, JS::ExceptionStatus>::operator JS::ExceptionStatus const&() const [ProtectedData.h:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 93]
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -     Found by: inlining
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO - 44  libxul.so!JSContext::isExceptionPending() const [JSContext.h:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 737]
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -     Found by: inlining
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO - 45  libxul.so!JS_IsExceptionPending(JSContext*) [jsapi.cpp:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 3963 + 0x17]
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -      rsp = 0x00007fe52e9fe330    rip = 0x00007fe54119e721
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO - 46  libxul.so!NS_LogAddRef [nsTraceRefcnt.cpp:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 897 + 0xe]
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -      rsp = 0x00007fe52e9fe390    rip = 0x00007fe53aec1189
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO - 47  libxul.so!mozilla::BlockingResourceBase::CheckAcquire() [BlockingResourceBase.cpp:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 255 + 0xe]
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -      rsp = 0x00007fe52e9fe400    rip = 0x00007fe53af6b0ad
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO - 48  libxul.so!<.plt ELF section in libxul.so> + 0xef857
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -      rsp = 0x00007fe52e9fe430    rip = 0x00007fe543d555e8
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO - 49  firefox-bin!MozJemallocPHC::free(void*) [PHC.cpp:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 1796 + 0x4]
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -      rsp = 0x00007fe52e9fe440    rip = 0x000055f1e53a2178
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO - 50  libxul.so!PLDHashTable::EntryStore::~EntryStore() [PLDHashTable.h:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 322]
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -     Found by: inlining
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO - 51  libxul.so!PLDHashTable::~PLDHashTable() [PLDHashTable.cpp:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 300 + 0x9]
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -      rsp = 0x00007fe52e9fe470    rip = 0x00007fe53aee40a3
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO - 52  libxul.so!mozilla::BlockingResourceBase::ResourceChainFront() [BlockingResourceBase.h:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 162]
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -     Found by: inlining
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO - 53  libxul.so!mozilla::BlockingResourceBase::Release() [BlockingResourceBase.cpp:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 316 + 0xb]
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -      rsp = 0x00007fe52e9fe480    rip = 0x00007fe53af6b823
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO - 54  firefox-bin!mozilla::detail::MutexImpl::unlock() [Mutex_posix.cpp:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 119 + 0x4]
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -      rsp = 0x00007fe52e9fe4b0    rip = 0x000055f1e54240cb
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO - 55  libxul.so!mozilla::detail::BaseAutoLock<mozilla::Mutex&>::~BaseAutoLock() [Mutex.h:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 240]
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -     Found by: inlining
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO - 56  libxul.so!mozilla::dom::WorkerPrivate::UpdateCCFlag(mozilla::dom::WorkerPrivate::CCFlag) [WorkerPrivate.cpp:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 0 + 0x7]
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -      rsp = 0x00007fe52e9fe4d0    rip = 0x00007fe53f68685b
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO - 57  libxul.so!mozilla::dom::WorkerPrivate::NotifyInternal(mozilla::dom::WorkerStatus) [WorkerPrivate.cpp:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 5500 + 0xc]
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -      rsp = 0x00007fe52e9fe520    rip = 0x00007fe53f685146
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO - 58  libxul.so!mozilla::dom::WorkerThreadRunnable::Run() [WorkerRunnable.cpp:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 443 + 0x11]
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -      rsp = 0x00007fe52e9fe570    rip = 0x00007fe53f69683b
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO - 59  libxul.so!mozilla::dom::WorkerPrivate::ProcessAllControlRunnablesLocked() [WorkerPrivate.cpp:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 4377 + 0x9]
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -      rsp = 0x00007fe52e9fe6b0    rip = 0x00007fe53f684d3c
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.806Z] 04:46:28     INFO - 60  libxul.so!mozilla::dom::WorkerPrivate::DoRunLoop(JSContext*) [WorkerPrivate.cpp:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 3586 + 0x7]
[task 2025-03-07T04:46:28.806Z] 04:46:28     INFO -      rsp = 0x00007fe52e9fe770    rip = 0x00007fe53f683623
[task 2025-03-07T04:46:28.806Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.806Z] 04:46:28     INFO - 61  libxul.so!mozilla::dom::workerinternals::(anonymous namespace)::WorkerThreadPrimaryRunnable::Run() 
```

#### 3 more known XHRW Shutdown cases for cld-worker.js

[This log](https://treeherder.mozilla.org/logviewer?job_id=497816295&repo=mozilla-central&lineNumber=74078) is another variant on the XHR hang already discussed in bug 1826222.

```
[Child 14189: Main Thread]: D/WorkerShutdownDump Found ActiveWorker (dedicated): resource://gre/modules/translations/cld-worker.js
[Child 14189: Main Thread]: D/WorkerShutdownDump Principal: [System Principal]
[Child 14189: Main Thread]: D/WorkerShutdownDump LoadingPrincipal: [System Principal]
[Child 14189: Main Thread]: D/WorkerShutdownDump CrashInfo: IsChromeWorker(false)|WorkerMainThreadRunnable|AutoSyncLoopHolder
```

[This other log is the same thing](https://treeherder.mozilla.org/logviewer?job_id=497703293&repo=mozilla-central&lineNumber=72634), as is [the last log](https://treeherder.mozilla.org/logviewer?job_id=497328706&repo=mozilla-central&lineNumber=72128).
Briefly looking at the m-c logs (4):

#### ConnectionProxy problem?

`WorkerShutdownDump` for [a m-c case](https://treeherder.mozilla.org/logviewer?job_id=497993558&repo=mozilla-central&lineNumber=9218):

```
[Child 11938: Main Thread]: D/WorkerShutdownDump Found ActiveWorker (dedicated): navigator_worker.js
[Child 11938: Main Thread]: D/WorkerShutdownDump Principal: https://example.org
[Child 11938: Main Thread]: D/WorkerShutdownDump LoadingPrincipal: https://example.org
[Child 11938: Main Thread]: D/WorkerShutdownDump CrashInfo: IsChromeWorker(false)|ConnectionProxy|WorkerMainThreadRunnable|AutoSyncLoopHolder
```

Where [navigator_worker.js](https://searchfox.org/mozilla-central/rev/d5baa11e35e0186c3c867f4948010f0742198467/dom/workers/test/navigator_worker.js) is a test that checks things on the navigator.  The stack is interesting if a bit sus on the scanning, but the takeaway seems to be that [mozilla::dom::network::ConnectionProxy::Shutdown](https://searchfox.org/mozilla-central/rev/d5baa11e35e0186c3c867f4948010f0742198467/dom/network/ConnectionWorker.cpp#189) is in a syncloop while its WorkerRef is being notified.  But we also expect that to be the normal case  [since the Connection object is retained by WorkerNavigator until the global is shutdown](https://searchfox.org/mozilla-central/rev/d5baa11e35e0186c3c867f4948010f0742198467/dom/workers/WorkerNavigator.cpp#252).

This seems to be a novel-ish case (although presumably present in a number of these previously).

```
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO - Thread 17 DOM Worker - tid: 12119
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -  0  libpthread.so.0 + 0xd9f3
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -      rax = 0xfffffffffffffe00    rdx = 0x0000000000000000
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -      rcx = 0x00007fe5507db9f3    rbx = 0x00007fe54ff8e890
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -      rsi = 0x0000000000000080    rdi = 0x00007fe54ff8e8bc
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -      rbp = 0x00007fe54ff8e8b4    rsp = 0x00007fe52e9fdda0
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -       r8 = 0x0000000000000001     r9 = 0x0000000000000000
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -      r10 = 0x0000000000000000    r11 = 0x0000000000000246
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -      r12 = 0x00007fe54ff8e8bc    r13 = 0x0000000000000000
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -      r14 = 0x00007fe52ed61f60    r15 = 0x0000000000000013
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -      rip = 0x00007fe5507db9f3
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -     Found by: given as instruction pointer in context
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -  1  libxul.so!mozilla::DeadlockDetector<mozilla::BlockingResourceBase>::PRAutoLock::~PRAutoLock() [DeadlockDetector.h:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 106]
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -     Found by: inlining
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -  2  libxul.so!mozilla::DeadlockDetector<mozilla::BlockingResourceBase>::CheckAcquisition(mozilla::BlockingResourceBase const*, mozilla::BlockingResourceBase const*) [DeadlockDetector.h:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 257 + 0x4]
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -      rbp = 0x00007fe54ff8e8b4    rsp = 0x00007fe52e9fdde0
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -      rip = 0x00007fe53af6b730
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -  3  libpthread.so.0 + 0xd68f
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -      rsp = 0x00007fe52e9fdde8    rip = 0x00007fe5507db690
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -  4  firefox-bin!mozilla::detail::ConditionVariableImpl::wait(mozilla::detail::MutexImpl&) [ConditionVariable_posix.cpp:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 106]
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -     Found by: inlining
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -  5  firefox-bin!mozilla::detail::ConditionVariableImpl::wait_for(mozilla::detail::MutexImpl&, mozilla::BaseTimeDuration<mozilla::TimeDurationValueCalculator> const&) [ConditionVariable_posix.cpp:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 113 + 0xa]
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -      rsp = 0x00007fe52e9fde70    rip = 0x000055f1e5422dec
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -  6  libxul.so!mozilla::OffTheBooksCondVar::Wait(mozilla::BaseTimeDuration<mozilla::TimeDurationValueCalculator>) [BlockingResourceBase.cpp:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 568 + 0x10]
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -      rsp = 0x00007fe52e9fded0    rip = 0x00007fe53af6c0c8
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -  7  libxul.so!mozilla::OffTheBooksCondVar::Wait() [BlockingResourceBase.cpp:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 548 + 0x4]
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -      rsp = 0x00007fe52e9fdf20    rip = 0x00007fe53af6bff3
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -  8  libxul.so!mozilla::dom::WorkerPrivate::WaitForWorkerEvents() [WorkerPrivate.cpp:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 4354 + 0xb]
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -      rsp = 0x00007fe52e9fdf30    rip = 0x00007fe53f684ab1
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -  9  libxul.so!mozilla::dom::WorkerPrivate::RunCurrentSyncLoop() [WorkerPrivate.cpp:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 5049 + 0x7]
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -      rsp = 0x00007fe52e9fdf70    rip = 0x00007fe53f68a9c7
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO - 10  libxul.so!mozilla::dom::AutoSyncLoopHolder::Run() [WorkerPrivate.cpp:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 6794 + 0x7]
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -      rsp = 0x00007fe52e9fdfe0    rip = 0x00007fe53f693aeb
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO - 11  libxul.so!mozilla::dom::WorkerMainThreadRunnable::Dispatch(mozilla::dom::WorkerPrivate*, mozilla::dom::WorkerStatus, mozilla::ErrorResult&) [WorkerRunnable.cpp:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 622 + 0x4]
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -      rsp = 0x00007fe52e9fe000    rip = 0x00007fe53f675006
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO - 12  libxul.so!TraceLogMutex::Unlock() [nsTraceRefcnt.cpp:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 80]
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -     Found by: inlining
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO - 13  libxul.so!AutoTraceLogLock::~AutoTraceLogLock() [nsTraceRefcnt.cpp:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 97]
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -     Found by: inlining
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO - 14  libxul.so!NS_LogAddRef [nsTraceRefcnt.cpp:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 945 + 0xb]
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -      rsp = 0x00007fe52e9fe030    rip = 0x00007fe53aec135c
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO - 15  libxul.so!nsTSubstring<char>::Assign(nsTSubstring<char> const&) [nsTSubstring.cpp:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 477 + 0xb]
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -      rsp = 0x00007fe52e9fe050    rip = 0x00007fe53ae3d365
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO - 16  libnspr4.so!PR_GetCurrentThread [ptthread.c:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 588 + 0xa]
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -      rsp = 0x00007fe52e9fe070    rip = 0x00007fe5516ed020
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO - 17  libxul.so!mozilla::dom::network::ConnectionProxy::Shutdown() [ConnectionWorker.cpp:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 204 + 0xf]
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -      rsp = 0x00007fe52e9fe0b0    rip = 0x00007fe53f25bbab
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO - 18  libxul.so!fu2::abi_400::detail::type_erasure::tables::vtable<fu2::abi_400::detail::property<false, false, void ()> >::invoke<(unsigned long)0, fu2::abi_400::detail::type_erasure::data_accessor*, unsigned long const&>(fu2::abi_400::detail::type_erasure::data_accessor*, unsigned long const&) const [function2.hpp:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 1046]
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO -     Found by: inlining
[task 2025-03-07T04:46:28.803Z] 04:46:28     INFO - 19  libxul.so!fu2::abi_400::detail::type_erasure::erasure<true, fu2::abi_400::detail::config<true, false, fu2::capacity_fixed<(unsigned long)16, (unsigned long)8> >, fu2::abi_400::detail::property<false, false, void ()> >::invoke<(unsigned long)0, fu2::abi_400::detail::type_erasure::erasure<true, fu2::abi_400::detail::config<true, false, fu2::capacity_fixed<(unsigned long)16, (unsigned long)8> >, fu2::abi_400::detail::property<false, false, void ()> >&, >(fu2::abi_400::detail::type_erasure::erasure<true, fu2::abi_400::detail::config<true, false, fu2::capacity_fixed<(unsigned long)16, (unsigned long)8> >, fu2::abi_400::detail::property<false, false, void ()> >&, &&) [function2.hpp:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 1268]
[task 2025-03-07T04:46:28.804Z] 04:46:28     INFO -     Found by: inlining
[task 2025-03-07T04:46:28.804Z] 04:46:28     INFO - 20  libxul.so!fu2::abi_400::detail::type_erasure::invocation_table::operator_impl<(unsigned long)0, fu2::abi_400::detail::function<fu2::abi_400::detail::config<true, false, fu2::capacity_fixed<(unsigned long)16, (unsigned long)8> >, fu2::abi_400::detail::property<false, false, void ()> >, void ()>::operator()() [function2.hpp:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 826]
[task 2025-03-07T04:46:28.804Z] 04:46:28     INFO -     Found by: inlining
[task 2025-03-07T04:46:28.804Z] 04:46:28     INFO - 21  libxul.so!mozilla::dom::WorkerRef::Notify() [WorkerRef.cpp:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 104 + 0xa]
[task 2025-03-07T04:46:28.804Z] 04:46:28     INFO -      rsp = 0x00007fe52e9fe100    rip = 0x00007fe53f694195
[task 2025-03-07T04:46:28.804Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.804Z] 04:46:28     INFO - 22  libxul.so!<.plt ELF section in libxul.so> + 0x631dbf
[task 2025-03-07T04:46:28.804Z] 04:46:28     INFO -      rsp = 0x00007fe52e9fe140    rip = 0x00007fe544297b50
[task 2025-03-07T04:46:28.804Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.804Z] 04:46:28     INFO - 23  libxul.so!mozilla::dom::WorkerPrivate::NotifyWorkerRefs(mozilla::dom::WorkerStatus) [WorkerPrivate.cpp:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 4702 + 0x9]
[task 2025-03-07T04:46:28.804Z] 04:46:28     INFO -      rsp = 0x00007fe52e9fe150    rip = 0x00007fe53f682e99
[task 2025-03-07T04:46:28.804Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.804Z] 04:46:28     INFO - 24  libxul.so!AssertActivityIsLegal(char const*, char const*) [nsTraceRefcnt.cpp:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 208 + 0xf]
[task 2025-03-07T04:46:28.804Z] 04:46:28     INFO -      rsp = 0x00007fe52e9fe160    rip = 0x00007fe53aed1763
[task 2025-03-07T04:46:28.804Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.804Z] 04:46:28     INFO - 25  libxul.so!nsAtom::Equals(char16_t const*, unsigned int) const [nsAtom.h:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 44]
[task 2025-03-07T04:46:28.804Z] 04:46:28     INFO -     Found by: inlining
[task 2025-03-07T04:46:28.804Z] 04:46:28     INFO - 26  libxul.so!AtomTableMatchKey(PLDHashEntryHdr const*, void const*) [nsAtomTable.cpp:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 311 + 0x14]
[task 2025-03-07T04:46:28.804Z] 04:46:28     INFO -      rsp = 0x00007fe52e9fe190    rip = 0x00007fe53aef249d
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO - 27  libxul.so!nsTSubstring<char16_t>::StartBulkWriteImpl(unsigned long, unsigned long, bool, unsigned long, unsigned long, unsigned long) [nsTSubstring.cpp:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 265 + 0xb]
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -      rsp = 0x00007fe52e9fe1b0    rip = 0x00007fe53ae3e8e1
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO - 28  libxul.so!nsDepCharHashKey::KeyEquals(char const*) const [nsHashKeys.h:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 525]
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -     Found by: inlining
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO - 29  libxul.so!nsTHashtable<nsBaseHashtableET<nsDepCharHashKey, mozilla::UniquePtr<BloatEntry, mozilla::DefaultDelete<BloatEntry> > > >::s_MatchEntry(PLDHashEntryHdr const*, void const*) [nsTHashtable.h:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 703 + 0x7]
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -      rsp = 0x00007fe52e9fe1e0    rip = 0x00007fe53aedb50c
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO - 30  firefox-bin!Mutex::Unlock() [Mutex.h:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 106]
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -     Found by: inlining
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO - 31  firefox-bin!MaybeMutex::Unlock() [Mutex.h:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 210]
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -     Found by: inlining
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO - 32  firefox-bin!AutoLock<MaybeMutex>::~AutoLock() [Mutex.h:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 254]
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -     Found by: inlining
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO - 33  firefox-bin!arena_dalloc(void*, unsigned long, arena_t*) [mozjemalloc.cpp:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 4662 + 0x13]
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -      rsp = 0x00007fe52e9fe210    rip = 0x000055f1e53a12e4
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO - 34  libxul.so!mozilla::detail::HashTable<mozilla::HashMapEntry<void*, mozilla::JSHolderMap::Entry*>, mozilla::HashMap<void*, mozilla::JSHolderMap::Entry*, mozilla::DefaultHasher<void*, void>, InfallibleAllocPolicy>::MapHashPolicy, InfallibleAllocPolicy>::add<void*&, mozilla::JSHolderMap::Entry*>(mozilla::detail::HashTable<mozilla::HashMapEntry<void*, mozilla::JSHolderMap::Entry*>, mozilla::HashMap<void*, mozilla::JSHolderMap::Entry*, mozilla::DefaultHasher<void*, void>, InfallibleAllocPolicy>::MapHashPolicy, InfallibleAllocPolicy>::AddPtr&, void*&, mozilla::JSHolderMap::Entry*) [HashTable.h:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 2207 + 0xe]
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -      rsp = 0x00007fe52e9fe250    rip = 0x00007fe53ae92edb
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO - 35  libxul.so!<.plt ELF section in libxul.so> + 0x62cd47
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -      rsp = 0x00007fe52e9fe260    rip = 0x00007fe544292ad8
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO - 36  libxul.so!mozilla::HashMap<void*, mozilla::JSHolderMap::Entry*, mozilla::DefaultHasher<void*, void>, InfallibleAllocPolicy>::add<void*&, mozilla::JSHolderMap::Entry*>(mozilla::detail::HashTable<mozilla::HashMapEntry<void*, mozilla::JSHolderMap::Entry*>, mozilla::HashMap<void*, mozilla::JSHolderMap::Entry*, mozilla::DefaultHasher<void*, void>, InfallibleAllocPolicy>::MapHashPolicy, InfallibleAllocPolicy>::AddPtr&, void*&, mozilla::JSHolderMap::Entry*&&) [HashTable.h:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 346]
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -     Found by: inlining
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO - 37  libxul.so!mozilla::JSHolderMap::Put(void*, nsScriptObjectTracer*, JS::Zone*) [CycleCollectedJSRuntime.cpp:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 644 + 0x7]
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -      rsp = 0x00007fe52e9fe290    rip = 0x00007fe53ae78f17
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO - 38  libxul.so!<.plt ELF section in libxul.so> + 0x62cd47
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -      rsp = 0x00007fe52e9fe2b0    rip = 0x00007fe544292ad8
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO - 39  libxul.so!js::CurrentThreadCanAccessRuntime(JSRuntime const*) [Runtime.cpp:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 777 + 0xb]
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -      rsp = 0x00007fe52e9fe2c0    rip = 0x00007fe540f0cec9
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO - 40  libxul.so!js::CurrentThreadCanAccessRuntime(JSRuntime const*) [Runtime.cpp:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 777 + 0xb]
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -      rsp = 0x00007fe52e9fe2f0    rip = 0x00007fe540f0cec9
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO - 41  libxul.so!js::CheckContextLocal::check() const [ProtectedData.cpp:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 53 + 0x4]
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -      rsp = 0x00007fe52e9fe310    rip = 0x00007fe540cafd41
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO - 42  libxul.so!js::ProtectedData<js::CheckContextLocal, JS::ExceptionStatus>::ref() const [ProtectedData.h:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 149]
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -     Found by: inlining
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO - 43  libxul.so!js::ProtectedData<js::CheckContextLocal, JS::ExceptionStatus>::operator JS::ExceptionStatus const&() const [ProtectedData.h:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 93]
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -     Found by: inlining
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO - 44  libxul.so!JSContext::isExceptionPending() const [JSContext.h:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 737]
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -     Found by: inlining
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO - 45  libxul.so!JS_IsExceptionPending(JSContext*) [jsapi.cpp:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 3963 + 0x17]
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -      rsp = 0x00007fe52e9fe330    rip = 0x00007fe54119e721
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO - 46  libxul.so!NS_LogAddRef [nsTraceRefcnt.cpp:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 897 + 0xe]
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -      rsp = 0x00007fe52e9fe390    rip = 0x00007fe53aec1189
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO - 47  libxul.so!mozilla::BlockingResourceBase::CheckAcquire() [BlockingResourceBase.cpp:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 255 + 0xe]
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -      rsp = 0x00007fe52e9fe400    rip = 0x00007fe53af6b0ad
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO - 48  libxul.so!<.plt ELF section in libxul.so> + 0xef857
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -      rsp = 0x00007fe52e9fe430    rip = 0x00007fe543d555e8
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO - 49  firefox-bin!MozJemallocPHC::free(void*) [PHC.cpp:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 1796 + 0x4]
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -      rsp = 0x00007fe52e9fe440    rip = 0x000055f1e53a2178
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO - 50  libxul.so!PLDHashTable::EntryStore::~EntryStore() [PLDHashTable.h:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 322]
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -     Found by: inlining
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO - 51  libxul.so!PLDHashTable::~PLDHashTable() [PLDHashTable.cpp:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 300 + 0x9]
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -      rsp = 0x00007fe52e9fe470    rip = 0x00007fe53aee40a3
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO - 52  libxul.so!mozilla::BlockingResourceBase::ResourceChainFront() [BlockingResourceBase.h:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 162]
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -     Found by: inlining
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO - 53  libxul.so!mozilla::BlockingResourceBase::Release() [BlockingResourceBase.cpp:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 316 + 0xb]
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -      rsp = 0x00007fe52e9fe480    rip = 0x00007fe53af6b823
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO - 54  firefox-bin!mozilla::detail::MutexImpl::unlock() [Mutex_posix.cpp:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 119 + 0x4]
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -      rsp = 0x00007fe52e9fe4b0    rip = 0x000055f1e54240cb
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO - 55  libxul.so!mozilla::detail::BaseAutoLock<mozilla::Mutex&>::~BaseAutoLock() [Mutex.h:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 240]
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -     Found by: inlining
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO - 56  libxul.so!mozilla::dom::WorkerPrivate::UpdateCCFlag(mozilla::dom::WorkerPrivate::CCFlag) [WorkerPrivate.cpp:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 0 + 0x7]
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -      rsp = 0x00007fe52e9fe4d0    rip = 0x00007fe53f68685b
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO - 57  libxul.so!mozilla::dom::WorkerPrivate::NotifyInternal(mozilla::dom::WorkerStatus) [WorkerPrivate.cpp:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 5500 + 0xc]
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -      rsp = 0x00007fe52e9fe520    rip = 0x00007fe53f685146
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO - 58  libxul.so!mozilla::dom::WorkerThreadRunnable::Run() [WorkerRunnable.cpp:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 443 + 0x11]
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -      rsp = 0x00007fe52e9fe570    rip = 0x00007fe53f69683b
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO - 59  libxul.so!mozilla::dom::WorkerPrivate::ProcessAllControlRunnablesLocked() [WorkerPrivate.cpp:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 4377 + 0x9]
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -      rsp = 0x00007fe52e9fe6b0    rip = 0x00007fe53f684d3c
[task 2025-03-07T04:46:28.805Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.806Z] 04:46:28     INFO - 60  libxul.so!mozilla::dom::WorkerPrivate::DoRunLoop(JSContext*) [WorkerPrivate.cpp:47503d9b7c977c3461ad96811ae6ae72b3f22e54 : 3586 + 0x7]
[task 2025-03-07T04:46:28.806Z] 04:46:28     INFO -      rsp = 0x00007fe52e9fe770    rip = 0x00007fe53f683623
[task 2025-03-07T04:46:28.806Z] 04:46:28     INFO -     Found by: stack scanning
[task 2025-03-07T04:46:28.806Z] 04:46:28     INFO - 61  libxul.so!mozilla::dom::workerinternals::(anonymous namespace)::WorkerThreadPrimaryRunnable::Run() 
```

#### 3 more known XHRW Shutdown cases for cld-worker.js

[This log](https://treeherder.mozilla.org/logviewer?job_id=497816295&repo=mozilla-central&lineNumber=74078) is another variant on the XHR hang already discussed in bug 1826222.

```
[Child 14189: Main Thread]: D/WorkerShutdownDump Found ActiveWorker (dedicated): resource://gre/modules/translations/cld-worker.js
[Child 14189: Main Thread]: D/WorkerShutdownDump Principal: [System Principal]
[Child 14189: Main Thread]: D/WorkerShutdownDump LoadingPrincipal: [System Principal]
[Child 14189: Main Thread]: D/WorkerShutdownDump CrashInfo: IsChromeWorker(false)|WorkerMainThreadRunnable|AutoSyncLoopHolder
```

[This other log is the same thing](https://treeherder.mozilla.org/logviewer?job_id=497703293&repo=mozilla-central&lineNumber=72634), as is [the last log](https://treeherder.mozilla.org/logviewer?job_id=497328706&repo=mozilla-central&lineNumber=72128).

Back to Bug 1805613 Comment 225