Crash in nsThreadPool::Run
Categories
(Core :: XPCOM, defect)
Tracking
()
People
(Reporter: MatsPalmgren_bugz, Unassigned)
Details
(Keywords: crash, Whiteboard: qa-not-actionable)
Crash Data
| Reporter | ||
Comment 1•7 years ago
|
||
Comment 2•7 years ago
|
||
Comment 3•7 years ago
|
||
Looking at a few crashes, it seems there are many error conditions that don't directly involve the mozglue part of the stack traces in the crashes from comment 0 and comment 1, and the fact that the condvar waiting fails with something else than a timeout, mixed with the other types of crashes with the same signature make me thing there might be some UAF involved here, at an upper level.
Reopening bug since there are crash reports in the last 6 months.
Hi! Just new here. Ok, just founded this thread after seeing the same issue using "about:crashes". Seems like this crash also happens to me when using Instagram and I have three reported bugs reported regarding to the same crash. Other websites don't crash, only on Instagram.
Here's mine, the first one is from today:
Maybe Fission related. (DOMFissionEnabled=1)
Crash report: https://crash-stats.mozilla.org/report/index/5f0380f2-d8ed-49a4-8b3d-814560220422
MOZ_CRASH Reason: MOZ_RELEASE_ASSERT(r == 60)
Top 9 frames of crashing thread:
0 libmozglue.dylib mozilla::detail::ConditionVariableImpl::wait_for mozglue/misc/ConditionVariable_posix.cpp:152
1 XUL nsThreadPool::Run xpcom/threads/nsThreadPool.cpp:285
2 XUL nsThread::ProcessNextEvent xpcom/threads/nsThread.cpp:1167
3 XUL mozilla::ipc::MessagePumpForNonMainThreads::Run ipc/glue/MessagePump.cpp:300
4 XUL MessageLoop::Run ipc/chromium/src/base/message_loop.cc:306
5 XUL nsThread::ThreadFunc xpcom/threads/nsThread.cpp:389
6 libnss3.dylib _pt_root nsprpub/pr/src/pthreads/ptthread.c:201
7 libsystem_pthread.dylib libsystem_pthread.dylib@0x0000000000007268
8 libsystem_pthread.dylib libsystem_pthread.dylib@0x0000000000007268
And here's the second, happened on April 15:
Maybe Fission related. (DOMFissionEnabled=1)
Crash report: https://crash-stats.mozilla.org/report/index/813ab825-525f-42bc-adae-74b790220415
MOZ_CRASH Reason: MOZ_RELEASE_ASSERT(r == 60)
Top 9 frames of crashing thread:
0 libmozglue.dylib mozilla::detail::ConditionVariableImpl::wait_for mozglue/misc/ConditionVariable_posix.cpp:152
1 XUL nsThreadPool::Run xpcom/threads/nsThreadPool.cpp:285
2 XUL nsThread::ProcessNextEvent xpcom/threads/nsThread.cpp:1167
3 XUL mozilla::ipc::MessagePumpForNonMainThreads::Run ipc/glue/MessagePump.cpp:300
4 XUL MessageLoop::Run ipc/chromium/src/base/message_loop.cc:306
5 XUL nsThread::ThreadFunc xpcom/threads/nsThread.cpp:389
6 libnss3.dylib _pt_root nsprpub/pr/src/pthreads/ptthread.c:201
7 libsystem_pthread.dylib libsystem_pthread.dylib@0x0000000000007268
8 libsystem_pthread.dylib libsystem_pthread.dylib@0x0000000000007268
What is the problem with this bug? Is it Instagram's or in the side of Firefox. I see also same reports of this in the recent days, but not sure if its Instagram or other websites. [https://crash-stats.mozilla.org/signature/?product=Firefox&signature=nsThreadPool%3A%3ARun&date=%3E%3D2022-04-15T10%3A48%3A00.000Z&date=%3C2022-04-22T10%3A48%3A00.000Z&_columns=date&_columns=product&_columns=version&_columns=build_id&_columns=platform&_columns=reason&_columns=address&_columns=install_time&_columns=startup_crash&_sort=-date&page=1#reports]
Updated•3 years ago
|
Comment 6•3 years ago
|
||
There appears to be a number of crashes (specifically on macOS) which have the Moz-Crash Reason as MOZ_RELEASE_ASSERT(r == 60), which I am guessing is from this crash: (https://searchfox.org/mozilla-release/rev/7c81015c50c463bcb70f2c469327b18f1a5d5bd5/mozglue/misc/ConditionVariable_posix.cpp#150). This lines up with the other assertion reasons in comment 0.
Not able to find much actionable from this right now, and the volume is fairly low.
Description
•