Closed
Bug 1507316
Opened 6 years ago
Closed 4 years ago
DatabaseConnection::UpdateRefcountFunction::ProcessValue: crash when using google docs
Categories
(Core :: Storage: IndexedDB, defect, P3)
Tracking
()
People
(Reporter: chia6000, Unassigned)
References
Details
(Keywords: crash)
Crash Data
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:63.0) Gecko/20100101 Firefox/63.0 Steps to reproduce: Tried to go to my google drive Actual results: Kept crashing Expected results: I wanted to access my google drive account
Comment 1•6 years ago
|
||
Please post a crash ID from about:support: https://support.mozilla.org/en-US/kb/mozillacrashreporter
Flags: needinfo?(chia6000)
(In reply to Matthias Versen [:Matti] from comment #1) > Please post a crash ID from about:support: > https://support.mozilla.org/en-US/kb/mozillacrashreporter bp-0aabe859-1baf-4bb6-9165-a7d720181117 11/16/18 11:27 PM bp-1471056b-d9ba-4bf6-a5d1-974320181116 11/16/18 6:07 PM bp-b3af4c38-d40a-43a5-b244-f376c0181116 11/16/18 5:42 PM bp-c88ed749-041a-4bb6-a776-f15730181116 11/16/18 5:35 PM bp-8d3c5343-304e-4a98-ae18-b54a30181116 11/16/18 5:35 PM bp-637cebfa-8c07-48b8-bc66-44a8c0181114 11/14/18 5:21 PM bp-3cb3c83a-0d23-49b2-a306-3faa00181114 11/14/18 5:20 PM bp-2fe0d546-c6b6-476c-930b-ec2e30181114 11/14/18 5:18 PM bp-d5b2e855-8b08-4584-a956-88a6a0181114 11/14/18 12:27 AM bp-73f7a9e7-d183-4a8f-9cf3-fd1020181114 11/14/18 12:27 AM bp-d675927e-2be9-4e2b-be5c-686fd0181114 11/14/18 12:26 AM bp-1aaa9b71-8c0e-4f25-b88d-37cb60181030 10/30/18 5:23 PM bp-06e749b1-39e4-4f56-b80a-e72ef0181030 10/30/18 5:22 PM bp-a4ed7bca-f1a4-4f2e-b53c-e4dc00181030 10/30/18 5:18 PM bp-e0511dab-8c56-43c1-a4c0-5bf800181030 10/30/18 5:17 PM bp-953658a5-a12f-45c8-9ad3-0e2620181030 10/30/18 5:17 PM bp-c747b3a1-bca8-4fb0-9fde-857040180616
Flags: needinfo?(chia6000)
Comment 4•6 years ago
|
||
(In reply to erin from comment #3) > Thank you for responding! Is this what you need? Yes, thanks.
Severity: normal → critical
Crash Signature: [@ mozilla::dom::indexedDB::(anonymous namespace)::DatabaseConnection::UpdateRefcountFunction::ProcessValue(mozIStorageValueArray*, int, mozilla::dom::indexedDB::(anonymous namespace)::DatabaseConnection::UpdateRefcountFunction::UpdateType) ]
Component: Untriaged → DOM: IndexedDB
Keywords: crash
Product: Firefox → Core
Comment 5•6 years ago
|
||
This crash signature seems quite rare. Maybe it's some weird migration issue?
Priority: -- → P3
Comment 6•6 years ago
|
||
Yes, I think you're right. So, it looks like FileManager::GetFileInfo()[1] is returning null and the caller[2] has an assert that it doesn't return null, but no actual error-handling. There is a special-case if IndexedDatabaseManager is destroyed already, but since that uses ClearOnShutdown's default phase of ShutdownPhase::ShutdownFinal and the main-thread stacks aren't consistent with that scenario, apparent database corruption does sound most likely. I say apparent because we're deleting a btree which suggests we're in a "DROP TABLE" situation which means we're probably in an upgrade. However, there also appear to be a number of add/put and delete cases that run into the same problem, as per the following search, so it's not clear that attempting to specialize for a schema upgrade is the right thing to do here... https://crash-stats.mozilla.com/search/?signature=~UpdateRefcountFunction%3A%3AProcessValue&date=%3E%3D2018-11-05T16%3A10%3A34.000Z&date=%3C2018-11-19T16%3A10%3A34.000Z&_sort=-date&_facets=signature&_columns=date&_columns=signature&_columns=product&_columns=version&_columns=build_id&_columns=platform#facet-signature Probably the right thing to do is to ensure that when we run into this scenario that we ensure we throw errors that propagate all the way back up to the top of the database operation, aborting/popping everything off the stack, and have us mark the database as corrupt. And then nuke the origin as a result. 1: https://searchfox.org/mozilla-central/rev/b03a62c3c82316e733a3b09622c1cb7e59f64cc3/dom/indexedDB/ActorsParent.cpp#16970 2: https://searchfox.org/mozilla-central/rev/b03a62c3c82316e733a3b09622c1cb7e59f64cc3/dom/indexedDB/ActorsParent.cpp#9704
Updated•6 years ago
|
Status: UNCONFIRMED → NEW
status-firefox63:
--- → affected
status-firefox65:
--- → affected
status-firefox-esr60:
--- → affected
Ever confirmed: true
Updated•5 years ago
|
status-firefox64:
--- → affected
Summary: I keep trying to use google drive and firefox keeps crashing over and over → DatabaseConnection::UpdateRefcountFunction::ProcessValue: crash when using google docs
Comment 9•4 years ago
|
||
Closing because no crashes reported for 12 weeks.
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•