Bug 1911703 Comment 2 Edit History

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

Capturing the stack trace:

```
[task 2024-08-05T22:58:28.691Z] 22:58:28     INFO -       r15 = 0x0000000000000000    rip = 0x000076154b307197
[task 2024-08-05T22:58:28.691Z] 22:58:28     INFO -      Found by: call frame info
[task 2024-08-05T22:58:28.691Z] 22:58:28     INFO -  14  libxul.so!nsThread::ProcessNextEvent(bool, bool*) [nsThread.cpp:b7131a95dd254929f23ef852f5e34ae7cd67e37f : 1198 + 0x5]
[task 2024-08-05T22:58:28.691Z] 22:58:28     INFO -       rbx = 0x0000761553ba6fc0    rbp = 0x0000761553db20a0
[task 2024-08-05T22:58:28.691Z] 22:58:28     INFO -       rsp = 0x0000761553db1f80    r12 = 0x0000006c7835b666
[task 2024-08-05T22:58:28.691Z] 22:58:28     INFO -       r13 = 0xaaaaaaaaaaaaaaaa    r14 = 0x0000000000000000
[task 2024-08-05T22:58:28.691Z] 22:58:28     INFO -       r15 = 0x0000000000000000    rip = 0x000076154a92404b
[task 2024-08-05T22:58:28.691Z] 22:58:28     INFO -      Found by: call frame info
[task 2024-08-05T22:58:28.692Z] 22:58:28     INFO -  15  libxul.so!NS_ProcessNextEvent(nsIThread*, bool) [nsThreadUtils.cpp:b7131a95dd254929f23ef852f5e34ae7cd67e37f : 480 + 0xf]
[task 2024-08-05T22:58:28.692Z] 22:58:28     INFO -       rbx = 0x0000000000000000    rbp = 0x0000761553db20d0
[task 2024-08-05T22:58:28.692Z] 22:58:28     INFO -       rsp = 0x0000761553db20b0    r12 = 0x0000000000000001
[task 2024-08-05T22:58:28.692Z] 22:58:28     INFO -       r13 = 0x000076153eb8a2a0    r14 = 0x0000761553db2180
[task 2024-08-05T22:58:28.692Z] 22:58:28     INFO -       r15 = 0x0000761553ba6fc0    rip = 0x000076154a92b240
[task 2024-08-05T22:58:28.692Z] 22:58:28     INFO -      Found by: call frame info
```
Capturing the stack trace:

```
[task 2024-08-05T22:58:28.683Z] 22:58:28  WARNING -  PROCESS-CRASH | MOZ_RELEASE_ASSERT(IsOnBackgroundThread()) [@ (anonymous namespace)::ParentImpl::AssertIsOnBackgroundThread] | netwerk/test/unit_ipc/test_simple_wrap.js
[task 2024-08-05T22:58:28.683Z] 22:58:28     INFO -  Process type: main
[task 2024-08-05T22:58:28.683Z] 22:58:28     INFO -  Process pid: 29187
[task 2024-08-05T22:58:28.683Z] 22:58:28     INFO -  Mozilla crash reason: MOZ_RELEASE_ASSERT(IsOnBackgroundThread())
[task 2024-08-05T22:58:28.683Z] 22:58:28     INFO -  Crash dump filename: /tmp/tmpcinx5gov/2cbaab87-570c-f5b9-dc49-a30c11c4ce27.dmp
[task 2024-08-05T22:58:28.683Z] 22:58:28     INFO -  Operating system: Android
[task 2024-08-05T22:58:28.683Z] 22:58:28     INFO -                    0.0.0 Linux 3.10.0+ #260 SMP PREEMPT Fri May 19 12:48:14 PDT 2017 x86_64
[task 2024-08-05T22:58:28.683Z] 22:58:28     INFO -  CPU: amd64
[task 2024-08-05T22:58:28.683Z] 22:58:28     INFO -       family 6 model 6 stepping 3
[task 2024-08-05T22:58:28.683Z] 22:58:28     INFO -       4 CPUs
[task 2024-08-05T22:58:28.684Z] 22:58:28     INFO -  Crash reason:  SIGSEGV / SEGV_MAPERR
[task 2024-08-05T22:58:28.684Z] 22:58:28     INFO -  Crash address: 0x0000000000000000
[task 2024-08-05T22:58:28.684Z] 22:58:28     INFO -  Crashing instruction: `mov dword [0x0], 0xab`
[task 2024-08-05T22:58:28.684Z] 22:58:28     INFO -  Memory accessed by instruction:
[task 2024-08-05T22:58:28.684Z] 22:58:28     INFO -    0. Address: 0x0000000000000000
[task 2024-08-05T22:58:28.684Z] 22:58:28     INFO -       Size: 4
[task 2024-08-05T22:58:28.684Z] 22:58:28     INFO -  Crashing address may be the result of a flipped bit:
[task 2024-08-05T22:58:28.684Z] 22:58:28     INFO -    0. Valid address: 0x0000000040000000 (0.250)
[task 2024-08-05T22:58:28.684Z] 22:58:28     INFO -  Process uptime: not available
[task 2024-08-05T22:58:28.684Z] 22:58:28     INFO -  Thread 16 IPDL Background (crashed)
[task 2024-08-05T22:58:28.684Z] 22:58:28     INFO -   0  libxul.so!(anonymous namespace)::ParentImpl::AssertIsOnBackgroundThread() [BackgroundImpl.cpp:b7131a95dd254929f23ef852f5e34ae7cd67e37f : 171]
[task 2024-08-05T22:58:28.684Z] 22:58:28     INFO -      Found by: inlining
[task 2024-08-05T22:58:28.685Z] 22:58:28     INFO -   1  libxul.so!mozilla::ipc::AssertIsOnBackgroundThread() [BackgroundImpl.cpp:b7131a95dd254929f23ef852f5e34ae7cd67e37f : 643 + 0x29]
[task 2024-08-05T22:58:28.685Z] 22:58:28     INFO -       rax = 0x000076154778d1c8    rdx = 0x0000761553db19f0
[task 2024-08-05T22:58:28.685Z] 22:58:28     INFO -       rcx = 0x0000761566511910    rbx = 0x000076153d7b5f80
[task 2024-08-05T22:58:28.685Z] 22:58:28     INFO -       rsi = 0x0000000000000001    rdi = 0x0000761553db1a70
[task 2024-08-05T22:58:28.685Z] 22:58:28     INFO -       rbp = 0x0000761553db1e20    rsp = 0x0000761553db1e20
[task 2024-08-05T22:58:28.685Z] 22:58:28     INFO -        r8 = 0x00007615663d0a30     r9 = 0x0000761553db1700
[task 2024-08-05T22:58:28.685Z] 22:58:28     INFO -       r10 = 0x00000000ffffff80    r11 = 0x0000000000000246
[task 2024-08-05T22:58:28.685Z] 22:58:28     INFO -       r12 = 0x0000000000000000    r13 = 0x0000000000000000
[task 2024-08-05T22:58:28.685Z] 22:58:28     INFO -       r14 = 0x000076153d7b5f80    r15 = 0x0000000000000004
[task 2024-08-05T22:58:28.685Z] 22:58:28     INFO -       rip = 0x000076154b2accb0
[task 2024-08-05T22:58:28.685Z] 22:58:28     INFO -      Found by: given as instruction pointer in context
[task 2024-08-05T22:58:28.686Z] 22:58:28     INFO -   2  libxul.so!mozilla::dom::RemoteWorkerServiceParent::ActorDestroy(mozilla::ipc::IProtocol::ActorDestroyReason) [RemoteWorkerServiceParent.cpp:b7131a95dd254929f23ef852f5e34ae7cd67e37f : 64 + 0x4]
[task 2024-08-05T22:58:28.686Z] 22:58:28     INFO -       rbx = 0x000076153d7b5f80    rbp = 0x0000761553db1e40
[task 2024-08-05T22:58:28.686Z] 22:58:28     INFO -       rsp = 0x0000761553db1e30    r12 = 0x0000000000000000
[task 2024-08-05T22:58:28.686Z] 22:58:28     INFO -       r13 = 0x0000000000000000    r14 = 0x000076153d7b5f80
[task 2024-08-05T22:58:28.687Z] 22:58:28     INFO -       r15 = 0x0000000000000004    rip = 0x000076154ed0d70e
[task 2024-08-05T22:58:28.687Z] 22:58:28     INFO -      Found by: call frame info
[task 2024-08-05T22:58:28.687Z] 22:58:28     INFO -   3  libxul.so!mozilla::ipc::IProtocol::ActorDisconnected(mozilla::ipc::IProtocol::ActorDestroyReason)::$_0::operator()(mozilla::ipc::IProtocol*, mozilla::ipc::IProtocol::ActorDestroyReason) const [ProtocolUtils.cpp:b7131a95dd254929f23ef852f5e34ae7cd67e37f : 623 + 0xb]
[task 2024-08-05T22:58:28.687Z] 22:58:28     INFO -       rbx = 0x0000761553db1ed0    rbp = 0x0000761553db1ea0
[task 2024-08-05T22:58:28.687Z] 22:58:28     INFO -       rsp = 0x0000761553db1e50    r12 = 0x0000000000000000
[task 2024-08-05T22:58:28.687Z] 22:58:28     INFO -       r13 = 0x0000000000000000    r14 = 0x000076153d7b5f80
[task 2024-08-05T22:58:28.687Z] 22:58:28     INFO -       r15 = 0x0000000000000004    rip = 0x000076154b2fea91
[task 2024-08-05T22:58:28.687Z] 22:58:28     INFO -      Found by: call frame info
[task 2024-08-05T22:58:28.687Z] 22:58:28     INFO -   4  libxul.so!mozilla::ipc::IProtocol::ActorDisconnected(mozilla::ipc::IProtocol::ActorDestroyReason) [ProtocolUtils.cpp:b7131a95dd254929f23ef852f5e34ae7cd67e37f : 650 + 0xa]
[task 2024-08-05T22:58:28.687Z] 22:58:28     INFO -       rbx = 0x0000000000000001    rbp = 0x0000761553db1f10
[task 2024-08-05T22:58:28.688Z] 22:58:28     INFO -       rsp = 0x0000761553db1eb0    r12 = 0x0000761548ac1edc
[task 2024-08-05T22:58:28.688Z] 22:58:28     INFO -       r13 = 0x0000000000000001    r14 = 0x000076153d7b5f80
[task 2024-08-05T22:58:28.688Z] 22:58:28     INFO -       r15 = 0x0000761547a31278    rip = 0x000076154b2fe569
[task 2024-08-05T22:58:28.688Z] 22:58:28     INFO -      Found by: call frame info
[task 2024-08-05T22:58:28.688Z] 22:58:28     INFO -   5  libxul.so!mozilla::ipc::IToplevelProtocol::OnChannelError() [ProtocolUtils.h:b7131a95dd254929f23ef852f5e34ae7cd67e37f : 535]
[task 2024-08-05T22:58:28.688Z] 22:58:28     INFO -      Found by: inlining
[task 2024-08-05T22:58:28.688Z] 22:58:28     INFO -   6  libxul.so!mozilla::ipc::MessageChannel::NotifyMaybeChannelError(mozilla::ReleasableMonitorAutoLock&) [MessageChannel.cpp:b7131a95dd254929f23ef852f5e34ae7cd67e37f : 2070 + 0x10]
[task 2024-08-05T22:58:28.688Z] 22:58:28     INFO -       rbx = 0x000076153d7c28e0    rbp = 0x0000761553db1f30
[task 2024-08-05T22:58:28.688Z] 22:58:28     INFO -       rsp = 0x0000761553db1f20    r12 = 0x0000006c7835b666
[task 2024-08-05T22:58:28.688Z] 22:58:28     INFO -       r13 = 0xaaaaaaaaaaaaaaaa    r14 = 0x000076153d7b5f80
[task 2024-08-05T22:58:28.688Z] 22:58:28     INFO -       r15 = 0x0000000000000000    rip = 0x000076154b2edd70
[task 2024-08-05T22:58:28.688Z] 22:58:28     INFO -      Found by: call frame info
[task 2024-08-05T22:58:28.688Z] 22:58:28     INFO -   7  libxul.so!mozilla::ipc::MessageChannel::OnNotifyMaybeChannelError() [MessageChannel.cpp:b7131a95dd254929f23ef852f5e34ae7cd67e37f : 2096 + 0x7]
[task 2024-08-05T22:58:28.689Z] 22:58:28     INFO -       rbx = 0x000076153d7b6008    rbp = 0x0000761553db1f60
[task 2024-08-05T22:58:28.689Z] 22:58:28     INFO -       rsp = 0x0000761553db1f40    r12 = 0x0000006c7835b666
[task 2024-08-05T22:58:28.689Z] 22:58:28     INFO -       r13 = 0xaaaaaaaaaaaaaaaa    r14 = 0x0000000000000000
[task 2024-08-05T22:58:28.689Z] 22:58:28     INFO -       r15 = 0x0000000000000000    rip = 0x000076154b2ee151
[task 2024-08-05T22:58:28.689Z] 22:58:28     INFO -      Found by: call frame info
[task 2024-08-05T22:58:28.689Z] 22:58:28     INFO -   8  libxul.so!mozilla::detail::RunnableMethodArguments<>::apply<mozilla::ipc::MessageChannel, void (mozilla::ipc::MessageChannel::*)()>(mozilla::ipc::MessageChannel*, void (mozilla::ipc::MessageChannel::*)())::{lambda(auto:1&&)#1}::operator()<>(&&) const [nsThreadUtils.h:b7131a95dd254929f23ef852f5e34ae7cd67e37f : 1085]
[task 2024-08-05T22:58:28.689Z] 22:58:28     INFO -      Found by: inlining
[task 2024-08-05T22:58:28.689Z] 22:58:28     INFO -   9  libxul.so!std::__ndk1::__invoke[abi:nn180000]<mozilla::detail::RunnableMethodArguments<>::apply<std::__ndk1::__invoke[abi:nn180000]::ipc::MessageChannel, void (std::__ndk1::__invoke[abi:nn180000]::ipc::*)()>(std::__ndk1::__invoke[abi:nn180000]::ipc::MessageChannel*, void (std::__ndk1::__invoke[abi:nn180000]::ipc::*)())::{lambda(auto:1&&)#1}, >(void (std::__ndk1::__invoke[abi:nn180000]::ipc::*&&)(), mozilla::detail::RunnableMethodArguments<>::apply<std::__ndk1::__invoke[abi:nn180000]::ipc::MessageChannel, void (std::__ndk1::__invoke[abi:nn180000]::ipc::*)()>(std::__ndk1::__invoke[abi:nn180000]::ipc::MessageChannel*, void (std::__ndk1::__invoke[abi:nn180000]::ipc::*)())::{lambda(auto:1&&)#1}) [invoke.h : 344]
[task 2024-08-05T22:58:28.689Z] 22:58:28     INFO -      Found by: inlining
[task 2024-08-05T22:58:28.690Z] 22:58:28     INFO -  10  libxul.so!_ZNSt6__ndk118__apply_tuple_implB8nn180000IZN7mozilla6detail23RunnableMethodArgumentsIJEE5applyINS1_3ipc14MessageChannelEMS7_FvvEEEDcPT_T0_EUlDpOT_E_RNS_5tupleIJEEETpTnmJEEEDcOSA_OSC_NS_15__tuple_indicesIJXspT1_EEEE [tuple : 1422]
[task 2024-08-05T22:58:28.690Z] 22:58:28     INFO -      Found by: inlining
[task 2024-08-05T22:58:28.690Z] 22:58:28     INFO -  11  libxul.so!std::__ndk1::apply[abi:nn180000]<mozilla::detail::RunnableMethodArguments<>::apply<std::__ndk1::apply[abi:nn180000]::ipc::MessageChannel, void (std::__ndk1::apply[abi:nn180000]::ipc::*)()>(std::__ndk1::apply[abi:nn180000]::ipc::MessageChannel*, void (std::__ndk1::apply[abi:nn180000]::ipc::*)())::{lambda(auto:1&&)#1}, std::__ndk1::tuple<>&>(void (std::__ndk1::apply[abi:nn180000]::ipc::*&&)(), mozilla::detail::RunnableMethodArguments<>::apply<std::__ndk1::apply[abi:nn180000]::ipc::MessageChannel, void (std::__ndk1::apply[abi:nn180000]::ipc::*)()>(std::__ndk1::apply[abi:nn180000]::ipc::MessageChannel*, void (std::__ndk1::apply[abi:nn180000]::ipc::*)())::{lambda(auto:1&&)#1}*&&) [tuple : 1425]
[task 2024-08-05T22:58:28.690Z] 22:58:28     INFO -      Found by: inlining
[task 2024-08-05T22:58:28.690Z] 22:58:28     INFO -  12  libxul.so!mozilla::detail::RunnableMethodArguments<>::apply<mozilla::ipc::MessageChannel, void (mozilla::ipc::MessageChannel::*)()>(mozilla::ipc::MessageChannel*, void (mozilla::ipc::MessageChannel::*)()) [nsThreadUtils.h:b7131a95dd254929f23ef852f5e34ae7cd67e37f : 1083]
[task 2024-08-05T22:58:28.690Z] 22:58:28     INFO -      Found by: inlining
[task 2024-08-05T22:58:28.691Z] 22:58:28     INFO -  13  libxul.so!mozilla::detail::RunnableMethodImpl<mozilla::dom::ServiceWorkerRegistration*, void (mozilla::dom::ServiceWorkerRegistration::*)(), true, (mozilla::RunnableKind)1, >::Run() [nsThreadUtils.h:b7131a95dd254929f23ef852f5e34ae7cd67e37f : 1134 + 0x16]
[task 2024-08-05T22:58:28.691Z] 22:58:28     INFO -       rbx = 0x0000761553ba6fc0    rbp = 0x0000761553db1f70
[task 2024-08-05T22:58:28.691Z] 22:58:28     INFO -       rsp = 0x0000761553db1f70    r12 = 0x0000006c7835b666
[task 2024-08-05T22:58:28.691Z] 22:58:28     INFO -       r13 = 0xaaaaaaaaaaaaaaaa    r14 = 0x0000000000000000
[task 2024-08-05T22:58:28.691Z] 22:58:28     INFO -       r15 = 0x0000000000000000    rip = 0x000076154b307197
[task 2024-08-05T22:58:28.691Z] 22:58:28     INFO -      Found by: call frame info
[task 2024-08-05T22:58:28.691Z] 22:58:28     INFO -  14  libxul.so!nsThread::ProcessNextEvent(bool, bool*) [nsThread.cpp:b7131a95dd254929f23ef852f5e34ae7cd67e37f : 1198 + 0x5]
```

Back to Bug 1911703 Comment 2