Closed Bug 1750527 Opened 3 years ago Closed 3 years ago

Give IPC_FAIL_NO_REASON a reason and check it well

Categories

(Core :: Storage: localStorage & sessionStorage, task, P1)

task

Tracking

()

RESOLVED FIXED
99 Branch
Tracking Status
firefox98 --- fixed
firefox99 --- fixed

People

(Reporter: jstutte, Assigned: jstutte)

References

Details

Attachments

(2 files)

IPC_FAIL_NO_REASON should not be used and transformed into IPC_FAIL with reason.

In doing so, we should also verify if the reason really merits an IPC_FAIL given the possible fatal consequences for the calling actor.

Blocks: 1750528
No longer blocks: 1750528
No longer depends on: 1750525, 1750526
Blocks: 1746656
Assignee: nobody → jstutte
Status: NEW → ASSIGNED
Priority: -- → P1

I will be reviewing patches like this right after bug 1688665 which has been waiting for a review for long time.

Pushed by jstutte@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d46bb624fbce Remove MOZ_CRASH_UNLESS_FUZZING and give IPC_FAIL a reason. r=jesup
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 99 Branch

Comment on attachment 9264721 [details]
Bug 1750527: Remove MOZ_CRASH_UNLESS_FUZZING and give IPC_FAIL a reason. r?#dom-storage-reviewers

Beta/Release Uplift Approval Request

  • User impact if declined: Bug 1746656 shows that some users get parent browser crashes somewhat frequently.
  • Is this code covered by automated tests?: Yes
  • 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): The patch does mostly remove some MOZ_CRASH_UNLESS_FUZZING in favor of the already in-place IPC_FAIL (which is a kind of tested code path by our fuzzers). In most cases this will just crash the calling content process instead of crashing the parent.
  • String changes made/needed:
Attachment #9264721 - Flags: approval-mozilla-release?

This has a minor conflict in ActorsParent.cpp due to bug 1754448. Can you please attach a rebased patch?

Flags: needinfo?(jstutte)

(In reply to Ryan VanderMeulen [:RyanVM] from comment #6)

This has a minor conflict in ActorsParent.cpp due to bug 1754448. Can you please attach a rebased patch?

Done. Do we need reviewers for this?

Flags: needinfo?(jstutte)
Flags: needinfo?(ryanvm)

Given that the rebase was pretty trivial, I don't think it needs another round of reviews. In general, I would say it's only really needed when the rebased patch requires more significant changes compared to the original. Thanks!

Flags: needinfo?(ryanvm)

(In reply to Ryan VanderMeulen [:RyanVM] from comment #9)

Given that the rebase was pretty trivial, I don't think it needs another round of reviews. In general, I would say it's only really needed when the rebased patch requires more significant changes compared to the original. Thanks!

Is there any outstanding action here I should take? Thanks!

Flags: needinfo?(ryanvm)
Flags: needinfo?(ryanvm)
Attachment #9264721 - Flags: approval-mozilla-release?
Attachment #9268075 - Flags: approval-mozilla-release?

Comment on attachment 9268075 [details]
WIP: Bug 1750527: Remove MOZ_CRASH_UNLESS_FUZZING and give IPC_FAIL a reason - rebased on FIREFOX_98_0_1_RELEASE

Approved for 98.0.2, thanks.

Attachment #9268075 - Flags: approval-mozilla-release? → approval-mozilla-release+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: