Closed
Bug 1810666
Opened 2 years ago
Closed 2 years ago
Verify we cannot end up re-using a content process that was NotifiedImpendingShutdown
Categories
(Core :: DOM: Content Processes, defect, P2)
Core
DOM: Content Processes
Tracking
()
RESOLVED
FIXED
111 Branch
Tracking | Status | |
---|---|---|
firefox111 | --- | fixed |
People
(Reporter: jstutte, Assigned: jstutte)
References
Details
Attachments
(2 files)
From bug 1809134 comment 10:
it seems we have a logical error in our book-keeping that makes us try to reuse a pre-allocated process that has already received SignalImpendingShutdownToContentJS
.
This bug should:
- land the assert separately
- fix the already spotted edge case
It seems we have two options here:
- ensure that we always call
MarkAsDead
together withSignalImpendingShutdownToContentJS
here - check explicitly if
mIsSignaledImpendingShutdown
is set insideGetUsedBrowserProcess
instead of asserting
For symmetry I'd prefer the first, but I'll need to check for fallout (MarkAsDead
does some more things, in particular on Android it directly kills the process).
Assignee | ||
Updated•2 years ago
|
Severity: -- → S3
Priority: -- → P2
Assignee | ||
Comment 1•2 years ago
|
||
Updated•2 years ago
|
Assignee: nobody → jstutte
Status: NEW → ASSIGNED
Assignee | ||
Comment 2•2 years ago
|
||
Depends on D166991
Updated•2 years ago
|
Attachment #9312552 -
Attachment description: Bug 1810666 - MarkAsDead already on AppShutdownConfirmed. r?smaug → Bug 1810666 - Prevent processes from being re-used after IsSignaledImpendingShutdown r?smaug
Pushed by jstutte@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/e9c352e30973
Add an assertion that we won't try to re-use a content process that already received SignalImpendingShutdownToContentJS. r=smaug
https://hg.mozilla.org/integration/autoland/rev/1e06f09456f7
Prevent processes from being re-used after IsSignaledImpendingShutdown r=smaug
Comment 4•2 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/e9c352e30973
https://hg.mozilla.org/mozilla-central/rev/1e06f09456f7
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
status-firefox111:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 111 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•