Crash in [@ static void mozilla::dom::`anonymous namespace'::QuotaClient::ShutdownWorkThreads::<T>::operator()::<T>::__invoke]
Categories
(Core :: Storage: Quota Manager, defect, P3)
Tracking
()
People
(Reporter: calixte, Unassigned)
References
(Blocks 1 open bug)
Details
(Keywords: crash, regression, topcrash)
This bug is for crash report bp-01101f98-95f5-48d9-80bc-7adfb0191024.
Top 10 frames of crashing thread:
0 xul.dll static void mozilla::dom::`anonymous namespace'::QuotaClient::ShutdownWorkThreads::<unnamed-tag>::operator dom/localstorage/ActorsParent.cpp:9254
1 xul.dll nsTimerImpl::Fire xpcom/threads/nsTimerImpl.cpp:561
2 xul.dll nsTimerEvent::Run xpcom/threads/TimerThread.cpp:260
3 xul.dll nsThread::ProcessNextEvent xpcom/threads/nsThread.cpp:1225
4 xul.dll NS_ProcessNextEvent xpcom/threads/nsThreadUtils.cpp:486
5 xul.dll void mozilla::dom::`anonymous namespace'::QuotaClient::ShutdownWorkThreads dom/localstorage/ActorsParent.cpp:9272
6 xul.dll void mozilla::dom::quota::QuotaManager::Shutdown dom/quota/ActorsParent.cpp:3816
7 xul.dll static void mozilla::dom::quota::QuotaManager::ShutdownInstance dom/quota/ActorsParent.cpp:3403
8 xul.dll mozilla::dom::quota::RecvShutdownQuotaManager dom/quota/ActorsParent.cpp:2661
9 xul.dll mozilla::ipc::BackgroundParentImpl::RecvShutdownQuotaManager ipc/glue/BackgroundParentImpl.cpp:1037
There are 73 crashes (from 73 installations) in 70.0 with buildid 20191016161957. In analyzing the backtrace, the regression may have been introduced by patch [1] to fix bug 1587931.
[1] https://hg.mozilla.org/releases/mozilla-release/rev?node=8b0e6968831f
Comment 1•5 years ago
|
||
No, this is just another signature variant for LS shutdown hangs, bug 1541928.
Updated•5 years ago
|
Comment 2•5 years ago
|
||
tracking in the other bug.
Comment 3•5 years ago
|
||
Jan, actually it might make sense to keep this bug open for now, since bug 1587931 is fixed, and this is a really specific spike on release (that we'll likely see go away after 70.1) What do you think?
Comment 4•5 years ago
|
||
Ok.
Updated•5 years ago
|
Comment 5•5 years ago
|
||
Adding some macOS- and Linux-specific signatures. I noticed that there's other bugs tracking similar signatures such as bug 1593863 and bug 1588498. Should we close all the redundant ones and move the signatures to one of those?
Comment 6•5 years ago
|
||
(In reply to Gabriele Svelto [:gsvelto] from comment #5)
Adding some macOS- and Linux-specific signatures. I noticed that there's other bugs tracking similar signatures such as bug 1593863 and bug 1588498. Should we close all the redundant ones and move the signatures to one of those?
Hi Gabriele, yes, please. Can you proceed with this?
Comment 8•5 years ago
|
||
I consolidated all the signatures here and closed bug 1593863. Also moved the NI? from there.
Updated•5 years ago
|
Updated•5 years ago
|
Comment 9•5 years ago
|
||
Andrew, I moved also your assignment here. Let me know, if you can work on this, though. Thank you!
Updated•5 years ago
|
Comment 11•5 years ago
|
||
Some time ago I split the crashes into individual bugs for IDB and LSNG, but given low frequency at the time I closed those bugs and filed bug 1588498 for remaining issues.
It seems we need to create individual bugs again like bug 1541928 and bug 1541776 to see how given quota clients (modules) behave.
mozilla::dom::(anonymous namespace)::* are shutdown hangs in LSNG
mozilla::dom::indexedDB::(anonymous namespace)::* are shutdown hangs in IDB
Comment 12•5 years ago
•
|
||
So I understand, that:
- the crashes here are the same as those collected in bug 1588498
- we actually want to have two bugs
Do we then want to keep bug 1588498 as meta bug collecting all signatures and create concrete todos as bugs that mitigate single aspects/crashes? This seems to be the current idea behind bug 1588498, AFAICS. So once we know, what we can do about a single crash variant, we file the bug for it. This would mean to just close this as duplicate, as it does not add any information, to my feeling.
Comment 13•5 years ago
|
||
Yeah, we need just two bugs, one for IDB and one for LSNG.
So bug 1588498 needs to be split, including the dependent bugs.
The signatures in this bug should be used in the new bugs. Once the new bugs are filed, this bug can be closed.
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Comment 15•4 years ago
|
||
It seems from the volume that the release of FF84 helped a lot here?
Comment 16•4 years ago
|
||
(In reply to Jens Stutte [:jstutte] from comment #15)
It seems from the volume that the release of FF84 helped a lot here?
Parallel quota client shutdown ?
Updated•4 years ago
|
Comment 17•4 years ago
|
||
(In reply to Jan Varga [:janv] from comment #16)
(In reply to Jens Stutte [:jstutte] from comment #15)
It seems from the volume that the release of FF84 helped a lot here?
Parallel quota client shutdown ?
Possibly, but unfortunately there are so many signature variants (changing between platforms and builds), that it's not trivial to get a reliable overview.
Updated•4 years ago
|
Updated•4 years ago
|
Comment 18•4 years ago
|
||
(In reply to Simon Giesecke [:sg] [he/him] from comment #17)
Possibly, but unfortunately there are so many signature variants (changing between platforms and builds), that it's not trivial to get a reliable overview.
The few uncovered signatures I found now did not add significant volume. But yes, the constantly varying signatures (including thread numbers, it seems?) are a bit annoying here.
Updated•4 years ago
|
Updated•4 years ago
|
Comment 19•4 years ago
|
||
(In reply to Jens Stutte [:jstutte] from comment #18)
(In reply to Simon Giesecke [:sg] [he/him] from comment #17)
Possibly, but unfortunately there are so many signature variants (changing between platforms and builds), that it's not trivial to get a reliable overview.
The few uncovered signatures I found now did not add significant volume.
How did you check that?
But yes, the constantly varying signatures (including thread numbers, it seems?) are a bit annoying here.
I think the number you are referring to, e.g. in mozilla::dom::indexedDB::(anonymous namespace)::QuotaClient::ShutdownWorkThreads::$_91::__invoke
, is the number of the lambda expression in some scope.
Comment 20•4 years ago
|
||
(In reply to Simon Giesecke [:sg] [he/him] from comment #19)
The few uncovered signatures I found now did not add significant volume.
How did you check that?
Looking at the graph here on the bug after adding the signature. Or is there a time lag in reflecting changes to the signatures there?
But yes, the constantly varying signatures (including thread numbers, it seems?) are a bit annoying here.
I think the number you are referring to, e.g. in
mozilla::dom::indexedDB::(anonymous namespace)::QuotaClient::ShutdownWorkThreads::$_91::__invoke
, is the number of the lambda expression in some scope.
Ah ok, that makes more sense, indeed.
Updated•4 years ago
|
Comment 21•4 years ago
|
||
(In reply to Jens Stutte [:jstutte] from comment #20)
(In reply to Simon Giesecke [:sg] [he/him] from comment #19)
The few uncovered signatures I found now did not add significant volume.
How did you check that?
Looking at the graph here on the bug after adding the signature. Or is there a time lag in reflecting changes to the signatures there?
My question was more about "uncovered signatures". I now added another one, which is the most frequent for 84 as it seems. The parallel shutdown is not in 84.
Comment 22•4 years ago
|
||
(In reply to Simon Giesecke [:sg] [he/him] from comment #21)
(In reply to Jens Stutte [:jstutte] from comment #20)
Looking at the graph here on the bug after adding the signature. Or is there a time lag in reflecting changes to the signatures there?
My question was more about "uncovered signatures". I now added another one, which is the most frequent for 84 as it seems.
I just searched for "ShutdownWorkThreads" in crashstats. But I now realized, that I need to widen the date interval to get more of them due to the frequent signature changes.
The parallel shutdown is not in 84.
That is probably good news, because we can still hope it has some effect then here!
(Removing :asuth's old needinfo)
Comment 23•4 years ago
|
||
Just to recap the state of this bug after this longish chat (sorry for the noise):
- In the last months nothing changed significantly (but we need to constantly update the signatures to catch all of them).
- There might be a significant, real drop with the release of FF 85 due to bug 1666214. Until then we will just continue to monitor numbers here, no concrete actions are planned until then.
Tracking the dependency to bug 1666214 also here, in order to remind us to check back.
Comment 24•4 years ago
|
||
I filed bug 1688249 about scrubbing at least some of the integers out of these signatures.
Updated•4 years ago
|
![]() |
||
Updated•4 years ago
|
Comment 26•4 years ago
|
||
Cleaning up signatures after Bug 1688249: The unstable number of the lambda expression is no longer part of the signatures, and the existing crash reports have been reprocessed (apart from 3 I still found, but these few can be ignored).
Comment 27•4 years ago
|
||
(In reply to Simon Giesecke [:sg] [he/him] from comment #26)
Cleaning up signatures after Bug 1688249: The unstable number of the lambda expression is no longer part of the signatures, and the existing crash reports have been reprocessed (apart from 3 I still found, but these few can be ignored).
Thanks, that is really useful, it was becoming really insane.
Updated•4 years ago
|
Updated•4 years ago
|
Comment 28•4 years ago
|
||
Hey Calixte,
Can you still reproduce this issue or should we close it?
Reporter | ||
Comment 29•4 years ago
|
||
I filed the bug based on crash-stats data and mercurial history.
So I've no idea on how to reproduce it or not.
Comment 30•4 years ago
|
||
(In reply to Andrei Purice from comment #28)
Can you still reproduce this issue or should we close it?
If you look at crash stats, this is still happening in recent versions.
Updated•4 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Comment 31•3 years ago
|
||
I'm pretty sure I just saw this on try, if that is useful at all.
![]() |
||
Updated•3 years ago
|
![]() |
||
Updated•3 years ago
|
Updated•2 years ago
|
Comment 32•2 years ago
|
||
Support for inlined frames seems to have created a new signature.
Updated•2 years ago
|
Comment 33•2 years ago
•
|
||
There were quite some moot signatures, too.
There are some recent reports on very old (unsupported) versions, I removed them from the list:
[@ mozilla::dom::indexedDB::(anonymous namespace)::QuotaClient::ShutdownWorkThreads::<T>::__invoke ]
[@ mozilla::dom::indexedDB::(anonymous namespace)::QuotaClient::ShutdownWorkThreads::$::__invoke ]
Comment 34•2 years ago
|
||
On this topic I've asked Marco if they could tweak the bugzilla bots to automatically remove crash signatures that have no corresponding crashes anymore, that should help with this kind of long-running issues.
Comment 35•2 years ago
|
||
(In reply to Gabriele Svelto [:gsvelto] from comment #34)
On this topic I've asked Marco if they could tweak the bugzilla bots to automatically remove crash signatures that have no corresponding crashes anymore, that should help with this kind of long-running issues.
Thanks, we might want to consider also to just not record crash reports for unsupported versions (like everything older than the major number of our oldest ESR version supported) ?
Comment 36•2 years ago
|
||
(In reply to Jens Stutte [:jstutte] from comment #35)
Thanks, we might want to consider also to just not record crash reports for unsupported versions (like everything older than the major number of our oldest ESR version supported) ?
We already do that but I don't know where the cut-off point is. I'll ask and report back.
Comment 37•2 years ago
|
||
FYI the cut-off point is 2 years, basically all crash reports coming from build IDs older than two years get dropped.
Comment 38•2 years ago
|
||
The bug is linked to topcrash signatures, which match the following criteria:
- Top 5 desktop browser crashes on Mac on release
- Top 20 desktop browser crashes on release
- Top 20 desktop browser crashes on beta
- Top 5 desktop browser crashes on Windows on beta
- Top 5 desktop browser crashes on Windows on release
For more information, please visit auto_nag documentation.
Updated•2 years ago
|
Comment 40•2 years ago
|
||
Copying crash signatures from duplicate bugs.
Comment hidden (Intermittent Failures Robot) |
Comment 42•2 years ago
•
|
||
I often get this crash as an intermittent failure on treeherder when running Windows gtest these last few days:
Hit MOZ_CRASH(Quota manager shutdown timed out) at /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:3361
Comment 43•2 years ago
|
||
(In reply to Yannis Juglaret from comment #42)
I often get this crash as an intermittent failure on treeherder when running Windows gtest these last few days:
Hit MOZ_CRASH(Quota manager shutdown timed out) at /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:3361
You probably see bug 1815834. Would you mind to check if your tree contains already the patches from that bug and bug 1815999 ? Thanks!
Comment 44•2 years ago
|
||
Thanks [:jstutte]! My tree was pointing here, so it seems that I already had these patches:
$ hg log --keyword 1815834
changeset: 727571:1b64bebd3967
user: Jari Jalkanen <jjalkanen@mozilla.com>
date: Thu Feb 09 10:57:39 2023 +0000
summary: Bug 1815834 - Remove custom TestFileSystemQuotaClient test cleanup. r=dom-storage-reviewers,janv
$ hg log --keyword 1815999
changeset: 727690:4f32061b6a73
parent: 727681:83ff1b06372e
user: Jan Varga <jvarga@mozilla.com>
date: Fri Feb 10 10:50:39 2023 +0000
summary: Bug 1815999 - Fix FileSystemDataManager::GetOrCreateFileSystemManager to always resolve/reject returned MozPromise; r=dom-storage-reviewers,jari
I'll try with latest central nonetheless to confirm.
Comment 45•2 years ago
|
||
(In reply to Yannis Juglaret from comment #44)
Thanks [:jstutte]! My tree was pointing here, so it seems that I already had these patches:
$ hg log --keyword 1815834 changeset: 727571:1b64bebd3967 user: Jari Jalkanen <jjalkanen@mozilla.com> date: Thu Feb 09 10:57:39 2023 +0000 summary: Bug 1815834 - Remove custom TestFileSystemQuotaClient test cleanup. r=dom-storage-reviewers,janv $ hg log --keyword 1815999 changeset: 727690:4f32061b6a73 parent: 727681:83ff1b06372e user: Jan Varga <jvarga@mozilla.com> date: Fri Feb 10 10:50:39 2023 +0000 summary: Bug 1815999 - Fix FileSystemDataManager::GetOrCreateFileSystemManager to always resolve/reject returned MozPromise; r=dom-storage-reviewers,jari
I'll try with latest central nonetheless to confirm.
Thanks, in case feel free to re-open bug 1815834 (or file a new one). This bug here is kind of a meta-bug.
Comment 46•2 years ago
|
||
It seems all green now with the latest mozilla central. I'll reopen that bug if I encounter the failures again. Thank you!
Comment 47•2 years ago
|
||
By the way, this seems to be the number 1 top crasher for Firefox release these days. Are we aware of it and working on this? Do we understand the underlying problem?
Comment 48•2 years ago
|
||
Yes, we are aware of it and we understand the problem.
Comment hidden (Intermittent Failures Robot) |
Comment 50•2 years ago
|
||
Investigation should be kept in bug 1588498, moving the relevant signatures there.
Description
•