Closed Bug 1980177 Opened 3 months ago Closed 23 days ago

Crash in [@ mozilla::Maybe<T>::extract | mozilla::dom::indexedDB::(anonymous namespace)::Maintenance::DirectoryWork::<T>::operator()]

Categories

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

Unspecified
Windows 10
defect

Tracking

()

RESOLVED FIXED
143 Branch
Tracking Status
firefox-esr115 --- unaffected
firefox-esr128 --- unaffected
firefox-esr140 --- unaffected
firefox141 --- wontfix
firefox142 --- wontfix
firefox143 --- fixed

People

(Reporter: mccr8, Assigned: hsingh)

References

Details

(Keywords: crash)

Crash Data

Attachments

(1 file)

Crash report: https://crash-stats.mozilla.org/report/index/bf1fa816-38ef-4f1f-957d-907220250724

MOZ_CRASH Reason:

MOZ_RELEASE_ASSERT(isSome())

Top 10 frames:

0  xul.dll  mozilla::Maybe<mozilla::dom::quota::OriginStateMetadata>::extract()  mfbt/Maybe.h:488
0  xul.dll  mozilla::dom::indexedDB::(anonymous namespace)::Maintenance::DirectoryWork::<...  dom/indexedDB/ActorsParent.cpp:13392
0  xul.dll  mozilla::CollectEach(mozilla::dom::quota::detail::CollectEachFile<`lambda at ...  dom/quota/QuotaCommon.h:1191
0  xul.dll  mozilla::dom::quota::detail::CollectEachFile(nsIFile&, mozilla::dom::quota::C...  dom/quota/QuotaCommon.h:1599
0  xul.dll  mozilla::dom::quota::CollectEachFile<`lambda at /builds/worker/checkouts/geck...  dom/quota/QuotaCommon.h:1615
1  xul.dll  mozilla::dom::indexedDB::(anonymous namespace)::Maintenance::DirectoryWork()  dom/indexedDB/ActorsParent.cpp:13392
1  xul.dll  mozilla::dom::indexedDB::(anonymous namespace)::Maintenance::Run()  dom/indexedDB/ActorsParent.cpp:13730
2  xul.dll  nsThread::ProcessNextEvent(bool, bool*)  xpcom/threads/nsThread.cpp:1153
2  xul.dll  NS_ProcessNextEvent(nsIThread*, bool)  xpcom/threads/nsThreadUtils.cpp:480
3  xul.dll  mozilla::ipc::MessagePumpForNonMainThreads::Run(base::MessagePump::Delegate*)  ipc/glue/MessagePump.cpp:329

Bug 1972843 was supposed to fix this signature, but we're still seeing some kind of crashes, so here's a new bug to track that.

From the other bug:

(In reply to Harveer Singh from comment #6)

Assertion is coming from here.
I believe this is happening because we are attempting to perform maintenance before QuotaManager is initialized and as a result 'maybeOriginStateMetadata' came out as empty above.

Assignee: nobody → hsingh
Status: NEW → ASSIGNED
Priority: -- → P2
Keywords: leave-open
Pushed by hsingh@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/7cb4d781efa6 https://hg.mozilla.org/integration/autoland/rev/f49e6797d395 Skip over origins and log a telemetry for origins with unknown metadata when performing idb maintenance.r=asuth,dom-storage-reviewers,toolkit-telemetry-reviewers,TravisLong
Status: ASSIGNED → RESOLVED
Closed: 23 days ago
Resolution: --- → FIXED
Target Milestone: --- → 143 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: