Closed Bug 1746894 Opened 2 years ago Closed 2 years ago

[QM_TRY] Failures in dom/quota/ActorsParent.cpp:GetTemporaryStorageLimit

Categories

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

defect

Tracking

()

RESOLVED FIXED
108 Branch
Tracking Status
firefox108 --- fixed

People

(Reporter: jan.rio.krause, Assigned: jjalkanen)

References

(Depends on 1 open bug, Blocks 1 open bug)

Details

Attachments

(1 file)

No description provided.

Assuming this happens on Windows, Jari, can you take a look?

Flags: needinfo?(jjalkanen)

Sure, I will investigate.

Flags: needinfo?(jjalkanen)
Assignee: nobody → jjalkanen

(Assuming that this is not severe, but feel free to change if it is.)

Severity: -- → S3
Priority: -- → P3

The frequency suggests it is not too severe, yes. Still GetTemporaryStorageLimit should be kind of infallible and we may want to have a better error propagation in case the OS cannot determine the disk size (which is the main underlying operation here) to see if we can mitigate any valid error state we did not consider.

The OS for the errors in comment 1 are actually Linux 5.15.10.

I wonder if the same error was already tracked before under QuotaManager::EnsureTemporaryStorageIsInitialized because the GetDiskSpaceAvailable/GetDiskSpace call lived there before we move it to GetTemporaryStorageLimit.

Taken from Attachment 9263751 [details].

Clients Sessions Hits Anchor Stack
3 10 21 dom/quota/ActorsParent.cpp:GetTemporaryStorageLimit dom/quota/ActorsParent.cpp#2668:NS_ERROR_FAILURE <- dom/quota/ActorsParent.cpp#6376:NS_ERROR_FAILURE
Pushed by jjalkanen@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/47a5cc9cd2f6
Handle GetTemporaryStorageLimit failures with upper limit. r=dom-storage-reviewers,jesup

Backed out for causing build bustages on ActorsParent.cpp

  • Backout link
  • Push with failures
  • Failure Log
  • Failure line: /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:2700:47: error: overflow in expression; result is 0 with type 'int' [-Werror,-Winteger-overflow]
Flags: needinfo?(jjalkanen)
Pushed by jjalkanen@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/02f4220a827c
Handle GetTemporaryStorageLimit failures with upper limit. r=dom-storage-reviewers,jesup

Backed out for causing mochitest failures on antitracking_head.js

  • Backout link
  • Push with failures
  • Failure Log
  • Failure line: TEST-UNEXPECTED-FAIL | toolkit/components/antitracking/test/browser/browser_blockingDOMCache.js | uncaught exception - NS_NOINTERFACE: Component returned failure code: 0x80004002 (NS_NOINTERFACE) [nsISupports.QueryInterface] at observe@chrome://mochitests/content/browser/toolkit/components/antitracking/test/browser/antitracking_head.js:670:20
Pushed by jjalkanen@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/3c68770cc4ff
Handle GetTemporaryStorageLimit failures with upper limit. r=dom-storage-reviewers,jesup
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 108 Branch

The test caught an integer issue which was fixed before landing.

Flags: needinfo?(jjalkanen)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: