Closed
Bug 1734625
Opened 3 years ago
Closed 3 years ago
Add more diagnostic asserts for ScriptPreloader cache alignment
Categories
(Core :: JavaScript Engine, task, P1)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
95 Branch
People
(Reporter: arai, Assigned: arai)
References
Details
Attachments
(1 file)
48 bytes,
text/x-phabricator-request
|
RyanVM
:
approval-mozilla-beta+
|
Details | Review |
No description provided.
Assignee | ||
Comment 1•3 years ago
|
||
bug 1734612 sounds like file corruption.
to verify that, add more assertion to ScriptPreloader::WriteCache
.
If the crash in ScriptPreloader::InitCacheInternal
still happens, it means the crash is caused by file corruption,
and in that case we should add fallback path to ignore the cache, instead of crashing.
Assignee | ||
Comment 2•3 years ago
|
||
Depends on D127866
Pushed by arai_a@mac.com: https://hg.mozilla.org/integration/autoland/rev/80adf467d998 Add more diagnostic asserts for ScriptPreloader cache alignment. r=nbp
Comment 4•3 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
status-firefox95:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 95 Branch
Assignee | ||
Comment 5•3 years ago
|
||
Comment on attachment 9244831 [details]
Bug 1734625 - Add more diagnostic asserts for ScriptPreloader cache alignment. r?nbp!
Beta/Release Uplift Approval Request
- User impact if declined: This is diagnostic patch for bug 1734612, to check if the crash is caused by file corruption or not.
This patch doesn't have testcase. we'll monitor the crash stats. - Is this code covered by automated tests?: No
- Has the fix been verified in Nightly?: No
- Needs manual test from QE?: No
- If yes, steps to reproduce:
- List of other uplifts needed: Bug 1734624
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): This adds release asserts that basically shouldn't hit unless there's data corruption.
If these assertions don't hit and bug 1734612 crash keeps happening, it means there's file corruption and we'll handle it. - String changes made/needed:
Attachment #9244831 -
Flags: approval-mozilla-beta?
Comment 6•3 years ago
|
||
Comment on attachment 9244831 [details]
Bug 1734625 - Add more diagnostic asserts for ScriptPreloader cache alignment. r?nbp!
Approved for 94.0b4.
Attachment #9244831 -
Flags: approval-mozilla-beta? → approval-mozilla-beta+
Comment 7•3 years ago
|
||
bugherder uplift |
status-firefox94:
--- → fixed
You need to log in
before you can comment on or make changes to this bug.
Description
•