Crash in mozilla::dom::indexedDB::FileInfo::GetFileForFileInfo
Categories
(Core :: Storage: IndexedDB, defect, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr52 | --- | unaffected |
firefox-esr60 | --- | wontfix |
firefox57 | --- | unaffected |
firefox58 | --- | unaffected |
firefox59 | --- | wontfix |
firefox60 | --- | wontfix |
firefox61 | --- | wontfix |
firefox62 | --- | wontfix |
firefox63 | --- | wontfix |
firefox64 | --- | wontfix |
firefox65 | --- | fixed |
firefox66 | --- | fixed |
People
(Reporter: calixte, Assigned: tt)
References
(Blocks 2 open bugs)
Details
(Keywords: crash, regression, Whiteboard: [clouseau]DWS_NEXT)
Crash Data
Attachments
(2 files, 1 obsolete file)
47 bytes,
text/x-phabricator-request
|
RyanVM
:
approval-mozilla-beta+
|
Details | Review |
2.62 KB,
text/plain
|
chutten
:
review+
|
Details |
Updated•8 years ago
|
Comment 1•8 years ago
|
||
Comment 2•8 years ago
|
||
Comment 3•7 years ago
|
||
Comment 4•7 years ago
|
||
Comment 5•7 years ago
|
||
Comment 6•7 years ago
|
||
Updated•7 years ago
|
Reporter | ||
Updated•7 years ago
|
Updated•7 years ago
|
Updated•7 years ago
|
Comment 8•7 years ago
|
||
Comment 9•7 years ago
|
||
Updated•7 years ago
|
Assignee | ||
Comment 10•7 years ago
|
||
Assignee | ||
Comment 11•7 years ago
|
||
Comment 12•7 years ago
|
||
Comment 13•7 years ago
|
||
Updated•7 years ago
|
Assignee | ||
Comment 14•7 years ago
|
||
Assignee | ||
Comment 15•7 years ago
|
||
Assignee | ||
Comment 16•7 years ago
|
||
Assignee | ||
Comment 17•7 years ago
|
||
Reporter | ||
Updated•7 years ago
|
Assignee | ||
Comment 18•7 years ago
|
||
Reporter | ||
Updated•7 years ago
|
Comment 19•7 years ago
|
||
Assignee | ||
Updated•7 years ago
|
Assignee | ||
Comment 21•7 years ago
|
||
Assignee | ||
Comment 22•7 years ago
|
||
Assignee | ||
Comment 23•7 years ago
|
||
Assignee | ||
Comment 24•7 years ago
|
||
Assignee | ||
Comment 25•7 years ago
|
||
Add bugs for step 2.
As for step 1, P1 shouldn't fix the issue, but it can at least stop the crash.
I'm going to test if:
- Some things fail between insert the id into the table "object_data" and table "file"
- Some things fail between remove the entry between the table "object_data" and table "file"
to see whether these conditions might make the metadata in these two tables inconsistent.
If these conditions might create the issues, I believe at least I should add telemetry to see how often do they fail.
Note that even if these two create the issues, it might still not be able to explain why the broken databases have two different ids (one has id 56 and the other has id 57) instead of one of them contains more id than the other (one has id 56 and 57 while the other has none of them).
Assignee | ||
Comment 26•7 years ago
|
||
Andrew, thanks for the review!
I change the warning message and the comment and just want to make sure I don't misunderstand anything. Would you mind taking the final look if it's appropriate? Thanks!
Assignee | ||
Comment 27•7 years ago
|
||
Assignee | ||
Comment 28•7 years ago
|
||
Comment on attachment 9036351 [details]
data-request.txt
:chutten, would you mind data-reviewing this? Thanks!
Comment 29•7 years ago
|
||
Comment on attachment 9036351 [details]
data-request.txt
It appears as though some of these answers were copied from the review for bug 1436188 (for instance, Q7 has a note about QuotaManager which appears not to be relevant?).
Assignee | ||
Comment 30•7 years ago
|
||
(In reply to Chris H-C :chutten from comment #29)
It appears as though some of these answers were copied from the review for bug 1436188 (for instance, Q7 has a note about QuotaManager which appears not to be relevant?).
You are right. I used that as a template file. Will correct that later. Thanks and sorry for that!
Comment 31•7 years ago
|
||
(In reply to Tom Tung [:tt, :ttung] from comment #26)
I change the warning message and the comment and just want to make sure I don't misunderstand anything. Would you mind taking the final look if it's appropriate? Thanks!
LGTM! (Making sure to address the data-review issues, of course.)
Assignee | ||
Comment 32•7 years ago
|
||
:chutten would you mind reviewing this again? Thanks!
Comment 33•7 years ago
|
||
Comment on attachment 9036594 [details]
data-request.txt
DATA COLLECTION REVIEW RESPONSE:
Is there or will there be documentation that describes the schema for the ultimate data set available publicly, complete and accurate?
Yes. This collection is Telemetry so is documented in its definitions file (Scalars.yaml), the Probe Dictionary, and on telemetry.mozilla.org's Measurement Dashboards.
Is there a control mechanism that allows the user to turn the data collection on and off?
Yes. This collection is Telemetry so can be controlled through Firefox's Preferences.
If the request is for permanent data collection, is there someone who will monitor the data over time?
N/A, expires in Firefox 70.
Using the category system of data types on the Mozilla wiki, what collection type of data do the requested measurements fall under?
Category 1, Technical.
Is the data collection request for default-on or default-off?
Default on for all release channels.
Does the instrumentation include the addition of any new identifiers?
No.
Is the data collection covered by the existing Firefox privacy notice?
Yes.
Does there need to be a check-in in the future to determine whether to renew the data?
Yes. :tt is responsible for removing or renewing this collection before it expires in Firefox 70.
Result: datareview+
Updated•7 years ago
|
Comment 34•7 years ago
|
||
Assignee | ||
Comment 35•7 years ago
|
||
Will also provide a patch for uplifting to Beta and Release after a few days.
Comment 36•7 years ago
|
||
bugherder |
Comment 37•7 years ago
|
||
No need to worry about release at this point, but a Beta patch would be appreciated! Just FYI, we're building the final Beta of this cycle tomorrow.
Assignee | ||
Comment 38•7 years ago
|
||
Comment on attachment 9035307 [details]
Bug 1432133 - P1 - Returning an error when FileInfo is missing as a short-term fix; r=asuth, data-review=chutten
[Beta/Release Uplift Approval Request]
Feature/Bug causing the regression: None
User impact if declined: If users run into the problematic area, then they will crash. However, note that the patch would just help them away from crashing. After applying this patch, they will get an error when running to this.
Is this code covered by automated tests?: No
Has the fix been verified in Nightly?: Yes
Needs manual test from QE?: No
If yes, steps to reproduce:
List of other uplifts needed: None
Risk to taking this patch: Low
Why is the change risky/not risky? (and alternatives if risky): This patch provides an additional check to escape from using a null pointer. Note that this patch only fixes the crash by returning an error, so users won't recover from database corruption. We are working on finding the reason for causing corruption and finding the way to recover on bug 1519859.
String changes made/needed:
Assignee | ||
Comment 39•7 years ago
|
||
(In reply to Ryan VanderMeulen [:RyanVM] from comment #37)
No need to worry about release at this point, but a Beta patch would be appreciated! Just FYI, we're building the final Beta of this cycle tomorrow.
Thanks for the information and notice!
Comment 40•7 years ago
|
||
Comment on attachment 9035307 [details]
Bug 1432133 - P1 - Returning an error when FileInfo is missing as a short-term fix; r=asuth, data-review=chutten
[Triage Comment]
Error out instead of crashing when encountering a corrupted database. Approved for 65.0b12.
Comment 41•7 years ago
|
||
bugherder uplift |
Assignee | ||
Comment 42•7 years ago
|
||
Move the blocking bugs to bug 1519859
Updated•6 years ago
|
Description
•