Closed Bug 1592336 Opened 5 years ago Closed 2 years ago

Crash in [@ static void mozilla::dom::`anonymous namespace'::QuotaClient::ShutdownWorkThreads::<T>::operator()::<T>::__invoke]

Categories

(Core :: Storage: Quota Manager, defect, P3)

70 Branch
Unspecified
All
defect

Tracking

()

RESOLVED DUPLICATE of bug 1588498
Tracking Status
firefox-esr68 --- unaffected
firefox-esr78 --- wontfix
firefox-esr91 --- fix-optional
firefox70 - wontfix
firefox71 --- wontfix
firefox72 --- wontfix
firefox92 --- wontfix
firefox93 --- wontfix
firefox94 --- wontfix
firefox95 --- wontfix

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

Flags: needinfo?(jvarga)

No, this is just another signature variant for LS shutdown hangs, bug 1541928.

Status: NEW → RESOLVED
Closed: 5 years ago
Flags: needinfo?(jvarga)
Resolution: --- → DUPLICATE
No longer regressed by: 1587931

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?

Flags: needinfo?(jvarga)

Ok.

Status: RESOLVED → REOPENED
Flags: needinfo?(jvarga)
Resolution: DUPLICATE → ---
Component: DOM: Web Storage → DOM: Quota Manager
Priority: -- → P3

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?

Crash Signature: [@ static void mozilla::dom::`anonymous namespace'::QuotaClient::ShutdownWorkThreads::<T>::operator()::<T>::__invoke] → [@ static void mozilla::dom::`anonymous namespace'::QuotaClient::ShutdownWorkThreads::<T>::operator()::<T>::__invoke] [@ mozilla::dom::indexedDB::(anonymous namespace)::QuotaClient::ShutdownWorkThreads::$_36::__invoke] [@ mozilla::dom::indexedDB::(anony…

(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?

Flags: needinfo?(gsvelto)

I consolidated all the signatures here and closed bug 1593863. Also moved the NI? from there.

Crash Signature: [@ static void mozilla::dom::`anonymous namespace'::QuotaClient::ShutdownWorkThreads::<T>::operator()::<T>::__invoke] [@ mozilla::dom::indexedDB::(anonymous namespace)::QuotaClient::ShutdownWorkThreads::$_36::__invoke] [@ mozilla::dom::indexedDB::(anony… → [@ mozilla::dom::`anonymous namespace'::QuotaClient::ShutdownTimedOut] [@ mozilla::dom::(anonymous namespace)::QuotaClient::ShutdownWorkThreads::$_15::__invoke] [@ mozilla::dom::(anonymous namespace)::QuotaClient::ShutdownWorkThreads::$_18::operator() c…
Flags: needinfo?(gsvelto)
Flags: needinfo?(bugmail)

Andrew, I moved also your assignment here. Let me know, if you can work on this, though. Thank you!

Assignee: nobody → bugmail
Crash Signature: namespace'::QuotaClient::ShutdownWorkThreads::<T>::__invoke] [@ QuotaClient::ShutdownTimedOut] [@ static void mozilla::dom::`anonymous namespace'::QuotaClient::ShutdownWorkThreads::<T>::operator()::<T>::__invoke] → namespace'::QuotaClient::ShutdownWorkThreads::<T>::__invoke] [@ QuotaClient::ShutdownTimedOut] [@ static void mozilla::dom::`anonymous namespace'::QuotaClient::ShutdownWorkThreads::<T>::operator()::<T>::__invoke] [@ mozilla::dom::indexedDB::(anonymous…

Jan, probably this is more up your alley?

Flags: needinfo?(jvarga)

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

Flags: needinfo?(jvarga)

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.

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.

Crash Signature: mozilla::dom::indexedDB::(anonymous namespace)::QuotaClient::ShutdownWorkThreads::$_61::__invoke] → mozilla::dom::indexedDB::(anonymous namespace)::QuotaClient::ShutdownWorkThreads::$_61::__invoke] [@ mozilla::dom::indexedDB::(anonymous namespace)::QuotaClient::ShutdownWorkThreads::$_93::__invoke ]
Crash Signature: mozilla::dom::indexedDB::(anonymous namespace)::QuotaClient::ShutdownWorkThreads::$_61::__invoke] [@ mozilla::dom::indexedDB::(anonymous namespace)::QuotaClient::ShutdownWorkThreads::$_93::__invoke ] → mozilla::dom::indexedDB::(anonymous namespace)::QuotaClient::ShutdownWorkThreads::$_61::__invoke] [@ mozilla::dom::indexedDB::(anonymous namespace)::QuotaClient::ShutdownWorkThreads::$_93::__invoke] [@ mozilla::dom::(anonymous namespace)::QuotaClient::…
Crash Signature: namespace)::QuotaClient::ShutdownWorkThreads::$_19::operator() const::{lambda#1}::__invoke] → namespace)::QuotaClient::ShutdownWorkThreads::$_19::operator() const::{lambda#1}::__invoke] [@ mozilla::dom::indexedDB::(anonymous namespace)::QuotaClient::ShutdownWorkThreads::$_146::__invoke]

It seems from the volume that the release of FF84 helped a lot here?

(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 ?

Crash Signature: namespace)::QuotaClient::ShutdownWorkThreads::$_19::operator() const::{lambda#1}::__invoke] [@ mozilla::dom::indexedDB::(anonymous namespace)::QuotaClient::ShutdownWorkThreads::$_146::__invoke] → namespace)::QuotaClient::ShutdownWorkThreads::$_19::operator() const::{lambda#1}::__invoke] [@ mozilla::dom::indexedDB::(anonymous namespace)::QuotaClient::ShutdownWorkThreads::$_146::__invoke] [@ mozilla::dom::quota::QuotaManager::Shutdown::$_10::opera…

(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.

Crash Signature: namespace)::QuotaClient::ShutdownWorkThreads::$_19::operator() const::{lambda#1}::__invoke] [@ mozilla::dom::indexedDB::(anonymous namespace)::QuotaClient::ShutdownWorkThreads::$_146::__invoke] [@ → namespace)::QuotaClient::ShutdownWorkThreads::$_19::operator() const::{lambda#1}::__invoke] [@ mozilla::dom::indexedDB::(anonymous namespace)::QuotaClient::ShutdownWorkThreads::$_146::__invoke] [@
Crash Signature: mozilla::dom::quota::QuotaManager::Shutdown::$_10::operator() const::{lambda#1}::__invoke] → mozilla::dom::quota::QuotaManager::Shutdown::$_10::operator() const::{lambda#1}::__invoke] [@ mozilla::dom::indexedDB::(anonymous namespace)::QuotaClient::ShutdownWorkThreads::<T>::__invoke]
Crash Signature: mozilla::dom::quota::QuotaManager::Shutdown::$_10::operator() const::{lambda#1}::__invoke] [@ mozilla::dom::indexedDB::(anonymous namespace)::QuotaClient::ShutdownWorkThreads::<T>::__invoke] → mozilla::dom::quota::QuotaManager::Shutdown::$_10::operator() const::{lambda#1}::__invoke] [@ mozilla::dom::indexedDB::(anonymous namespace)::QuotaClient::ShutdownWorkThreads::<T>::__invoke] [@ mozilla::dom::indexedDB::(anonymous namespace)::QuotaClien…

(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.

Crash Signature: namespace)::QuotaClient::ShutdownWorkThreads::$_147::__invoke] [@ mozilla::dom::indexedDB::(anonymous namespace)::QuotaClient::ShutdownWorkThreads::$_91::__invoke} → namespace)::QuotaClient::ShutdownWorkThreads::$_147::__invoke] [@ mozilla::dom::indexedDB::(anonymous namespace)::QuotaClient::ShutdownWorkThreads::$_91::__invoke]
Assignee: bugmail → sgiesecke

(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.

Assignee: sgiesecke → nobody

(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.

Crash Signature: namespace)::QuotaClient::ShutdownWorkThreads::$_147::__invoke] [@ mozilla::dom::indexedDB::(anonymous namespace)::QuotaClient::ShutdownWorkThreads::$_91::__invoke] → namespace)::QuotaClient::ShutdownWorkThreads::$_147::__invoke] [@ mozilla::dom::indexedDB::(anonymous namespace)::QuotaClient::ShutdownWorkThreads::$_91::__invoke] [@ mozilla::dom::indexedDB::(anonymous namespace)::QuotaClient::ShutdownWorkThreads::<T>…

(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.

(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)

Flags: needinfo?(bugmail)

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.

Depends on: 1666214
Depends on: 1688249

I filed bug 1688249 about scrubbing at least some of the integers out of these signatures.

Crash Signature: namespace)::QuotaClient::ShutdownWorkThreads::<T>::__invoke] → namespace)::QuotaClient::ShutdownWorkThreads::<T>::__invoke] [@ mozilla::dom::indexedDB::(anonymous namespace)::QuotaClient::ShutdownWorkThreads::$::__invoke] [@ mozilla::dom::indexedDB::(anonymous namespace)::QuotaClient::ShutdownWorkThreads::$_52::__in…
Crash Signature: namespace)::QuotaClient::ShutdownWorkThreads::<T>::__invoke] [@ mozilla::dom::indexedDB::(anonymous namespace)::QuotaClient::ShutdownWorkThreads::$::__invoke] [@ mozilla::dom::indexedDB::(anonymous namespace)::QuotaClient::ShutdownWorkThreads::$_52::__in… → namespace)::QuotaClient::ShutdownWorkThreads::<T>::__invoke] [@ mozilla::dom::indexedDB::(anonymous namespace)::QuotaClient::ShutdownWorkThreads::$::__invoke] [@ mozilla::dom::indexedDB::(anonymous namespace)::QuotaClient::ShutdownWorkThreads::$_52::__…

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).

Crash Signature: [@ mozilla::dom::`anonymous namespace'::QuotaClient::ShutdownTimedOut] [@ mozilla::dom::(anonymous namespace)::QuotaClient::ShutdownWorkThreads::$_15::__invoke] [@ mozilla::dom::(anonymous namespace)::QuotaClient::ShutdownWorkThreads::$_18::operator() c… → [@ mozilla::dom::`anonymous namespace'::QuotaClient::ShutdownTimedOut] [@ mozilla::dom::`anonymous namespace'::QuotaClient::ShutdownWorkThreads::<T>::__invoke] [@ mozilla::dom::indexedDB::(anonymous namespace)::QuotaClient::ShutdownTimedOut] [@ mozilla…

(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.

Crash Signature: namespace'::QuotaClient::ShutdownWorkThreads::<T>::operator()::<T>::__invoke] → namespace'::QuotaClient::ShutdownWorkThreads::<T>::operator()::<T>::__invoke] [@ mozilla::dom::indexedDB::(anonymous namespace)::QuotaClient::ShutdownWorkThreads::$_52::__invoke]
Crash Signature: namespace'::QuotaClient::ShutdownWorkThreads::<T>::operator()::<T>::__invoke] [@ mozilla::dom::indexedDB::(anonymous namespace)::QuotaClient::ShutdownWorkThreads::$_52::__invoke] → namespace'::QuotaClient::ShutdownWorkThreads::<T>::operator()::<T>::__invoke]

Hey Calixte,
Can you still reproduce this issue or should we close it?

Flags: needinfo?(cdenizet)

I filed the bug based on crash-stats data and mercurial history.
So I've no idea on how to reproduce it or not.

Flags: needinfo?(cdenizet)

(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.

QA Whiteboard: [qa-not-actionable]
OS: Windows 10 → All
Crash Signature: namespace)::QuotaClient::ShutdownWorkThreads::$::__invoke] [@ mozilla::dom::quota::QuotaManager::Shutdown::$::operator() const::{lambda#1}::__invoke][@ static mozilla::dom::`anonymous → namespace)::QuotaClient::ShutdownWorkThreads::$::__invoke] [@ mozilla::dom::quota::QuotaManager::Shutdown::<T>::__invoke] [@ mozilla::dom::quota::QuotaManager::Shutdown::$::operator() const::{lambda#1}::__invoke][@ static mozilla::dom::`anonymous
Crash Signature: namespace)::QuotaClient::ShutdownWorkThreads::$::__invoke] [@ mozilla::dom::quota::QuotaManager::Shutdown::<T>::__invoke] [@ mozilla::dom::quota::QuotaManager::Shutdown::$::operator() const::{lambda#1}::__invoke][@ static mozilla::dom::`anonymous names… → namespace)::QuotaClient::ShutdownWorkThreads::$::__invoke] [@ mozilla::dom::quota::QuotaManager::Shutdown::<T>::__invoke] [@ mozilla::dom::quota::QuotaManager::Shutdown::$::__invoke] [@ mozilla::dom::quota::QuotaManager::Shutdown::$::operator() const:…
Crash Signature: const::{lambda#1}::__invoke][@ static mozilla::dom::`anonymous namespace'::QuotaClient::ShutdownWorkThreads::<T>::operator()::<T>::__invoke] → const::{lambda#1}::__invoke][@ static mozilla::dom::`anonymous namespace'::QuotaClient::ShutdownWorkThreads::<T>::operator()::<T>::__invoke] [@ mozilla::dom::quota::QuotaManager::Shutdown::<T>::operator()]

Support for inlined frames seems to have created a new signature.

Crash Signature: const::{lambda#1}::__invoke][@ static mozilla::dom::`anonymous namespace'::QuotaClient::ShutdownWorkThreads::<T>::operator()::<T>::__invoke] [@ mozilla::dom::quota::QuotaManager::Shutdown::<T>::operator()] → const::{lambda#1}::__invoke][@ static mozilla::dom::`anonymous namespace'::QuotaClient::ShutdownWorkThreads::<T>::operator()::<T>::__invoke] [@ mozilla::dom::quota::QuotaManager::Shutdown::<T>::operator()] [@ mozilla::dom::quota::QuotaManager::Shutdown…
Crash Signature: [@ mozilla::dom::`anonymous namespace'::QuotaClient::ShutdownTimedOut] [@ mozilla::dom::`anonymous namespace'::QuotaClient::ShutdownWorkThreads::<T>::__invoke] [@ mozilla::dom::indexedDB::(anonymous namespace)::QuotaClient::ShutdownTimedOut] [@ mozilla… → [@ mozilla::dom::indexedDB::(anonymous namespace)::QuotaClient::ShutdownTimedOut ] [@ mozilla::dom::quota::QuotaManager::Shutdown::<T>::__invoke ] [@ mozilla::dom::quota::QuotaManager::Shutdown::$::__invoke ] [@ mozilla::dom::quota::QuotaManager::Shutd…

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 ]

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.

(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) ?

(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.

FYI the cut-off point is 2 years, basically all crash reports coming from build IDs older than two years get dropped.

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.

Keywords: topcrash
Severity: critical → S2
Duplicate of this bug: 1812836

Copying crash signatures from duplicate bugs.

Crash Signature: mozilla::dom::quota::QuotaManager::Shutdown::$::operator() const::{lambda#1}::__invoke ] [@ mozilla::dom::quota::QuotaManager::Shutdown::<T>::operator() ] [@ mozilla::dom::quota::QuotaManager::Shutdown::$::operator() ] → mozilla::dom::quota::QuotaManager::Shutdown::$::operator() const::{lambda#1}::__invoke ] [@ mozilla::dom::quota::QuotaManager::Shutdown::<T>::operator() ] [@ mozilla::dom::quota::QuotaManager::Shutdown::$::operator() ] [@ mozilla::dom::quota::QuotaMana…

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

Crash Signature: mozilla::dom::quota::QuotaManager::Shutdown::$::operator() const::{lambda#1}::__invoke ] [@ mozilla::dom::quota::QuotaManager::Shutdown::<T>::operator() ] [@ mozilla::dom::quota::QuotaManager::Shutdown::$::operator() ] [@ → mozilla::dom::quota::QuotaManager::Shutdown::$::operator() const::{lambda#1}::__invoke ] [@ mozilla::dom::quota::QuotaManager::Shutdown::<T>::operator() ] [@ mozilla::dom::quota::QuotaManager::Shutdown::$::operator() ] [@

(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!

Flags: needinfo?(yjuglaret)

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.

(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.

It seems all green now with the latest mozilla central. I'll reopen that bug if I encounter the failures again. Thank you!

Flags: needinfo?(yjuglaret)

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?

Yes, we are aware of it and we understand the problem.

Investigation should be kept in bug 1588498, moving the relevant signatures there.

Status: REOPENED → RESOLVED
Crash Signature: [@ mozilla::dom::indexedDB::(anonymous namespace)::QuotaClient::ShutdownTimedOut ] [@ mozilla::dom::quota::QuotaManager::Shutdown::<T>::__invoke ] [@ mozilla::dom::quota::QuotaManager::Shutdown::$::__invoke ] [@ mozilla::dom::quota::QuotaManager::Shutd…
Closed: 5 years ago2 years ago
Duplicate of bug: qm-shutdown-hangs
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.