Crash in [@ shutdownhang | mozilla::TaskController::GetRunnableForMTTask | nsThread::Shutdown | mozilla::storage::Connection::shutdownAsyncThread]
Categories
(Core :: SQLite and Embedded Database Bindings, defect, P3)
Tracking
()
People
(Reporter: aryx, Unassigned)
References
(Blocks 1 open bug)
Details
(Keywords: crash, Whiteboard: [tbird crash])
Crash Data
Signature existed before, crash volume seems to have increased with Firefox 83.0 (crash count for previous releases almost reached).
Crash report: https://crash-stats.mozilla.org/report/index/bde44598-bb3b-4293-850e-2451a0201126
MOZ_CRASH Reason: Shutdown hanging at step quit-application. Something is blocking the main-thread.
Top 10 frames of crashing thread:
0 ntdll.dll NtWaitForKeyedEvent
1 ntdll.dll RtlSleepConditionVariableSRW
2 kernel32.dll SleepConditionVariableSRW
3 mozglue.dll mozilla::detail::ConditionVariableImpl::wait mozglue/misc/ConditionVariable_windows.cpp:50
4 xul.dll mozilla::TaskController::GetRunnableForMTTask xpcom/threads/TaskController.cpp:283
5 xul.dll nsThread::ProcessNextEvent xpcom/threads/nsThread.cpp:1143
6 xul.dll nsThread::Shutdown xpcom/threads/nsThread.cpp:898
7 xul.dll mozilla::storage::Connection::shutdownAsyncThread storage/mozStorageConnection.cpp:1080
8 xul.dll mozilla::detail::RunnableMethodImpl< xpcom/threads/nsThreadUtils.h:1240
9 xul.dll mozilla::TaskController::DoExecuteNextTaskOnlyMainThreadInternal xpcom/threads/TaskController.cpp:515
Reporter | ||
Comment 1•4 years ago
•
|
||
Crash signature existed for 81 and before but not for 82.
Reporter | ||
Comment 2•4 years ago
|
||
Is this a signature change and/or an increase in crash volume?
Comment 3•4 years ago
|
||
It seems to be the same as shutdownhang | nsThread::Shutdown | mozilla::storage::Connection::shutdownAsyncThread except for being controlled by a task controller sometimes.
Comment 4•4 years ago
|
||
But very likely signatures will change soon once bug 1672369 landed entirely.
Updated•4 years ago
|
Updated•4 years ago
|
Comment 5•4 years ago
|
||
(In reply to Jens Stutte [:jstutte] from comment #4)
But very likely signatures will change soon once bug 1672369 landed entirely.
This isn't the quota manager/client shutdown hang, so I don't think this will have changed with that bug.
Adding two more Windows-specific signatures, which seem to be related.
Apparently, the behaviour in Nightly is differently, since we have almost no reports for Nightly. Maybe there's an assertion failure instead in Nightly?
Comment 6•4 years ago
|
||
(In reply to Simon Giesecke [:sg] [he/him] from comment #5)
Apparently, the behaviour in Nightly is differently, since we have almost no reports for Nightly. Maybe there's an assertion failure instead in Nightly?
I assume this is due to the fast shutdown being active on nightly, see bug 1606879 and children.
Updated•4 years ago
|
Comment 7•3 years ago
|
||
There's a bunch of underlying consumers of mozStorage all mashed together here (ex: NSS/SSL DataStorage, legacy LocalStorage), but the unifying factor is mozStorage's async thread shutdown call. Moving to Toolkit::Storage. Note that the common cause also does seem to be that code is still actively doing database stuff.
The actionable thing here would be to require all consumers of mozStorage to provide an explicit async shutdown blocker to better attribute errors, but in general it's also a question of doing crash-only shutdown in some cases. (Although not when privacy is involved.)
Comment 8•3 years ago
|
||
Just had a couple crashes with "mozilla::TaskController::GetRunnableForMTTask", and started a new bug. Just an FYI.
Comment 9•3 years ago
|
||
bp-f1469a5c-4049-401a-bac7-ecd0c0211031 - #33 crash for Thunderbird 91.2.1
Updated•3 years ago
|
Comment 10•2 years ago
|
||
The bug is linked to a topcrash signature, which matches the following criterion:
- Top 20 desktop browser crashes on release
:mak, could you consider increasing the severity of this top-crash bug?
For more information, please visit auto_nag documentation.
Comment 11•2 years ago
|
||
Based on the topcrash criteria, the crash signatures linked to this bug are not in the topcrash signatures anymore.
For more information, please visit auto_nag documentation.
Updated•2 years ago
|
Comment 12•2 years ago
|
||
(In reply to Wayne Mery (:wsmwk) from comment #9)
bp-f1469a5c-4049-401a-bac7-ecd0c0211031 - #33 crash for Thunderbird 91.2.1
#34 for Thunderbird 102.4.1
Updated•2 years ago
|
Updated•3 months ago
|
Description
•