Crash in [@ IPCError-browser | RecvCreateBrowsingContext Parent has different group object]
Categories
(Core :: DOM: Navigation, defect, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr68 | --- | unaffected |
firefox-esr78 | --- | unaffected |
firefox79 | --- | unaffected |
firefox80 | --- | unaffected |
firefox81 | --- | fixed |
People
(Reporter: gsvelto, Assigned: nika)
References
Details
(Keywords: crash)
Crash Data
Attachments
(3 files)
This bug is for crash report bp-85b2a2f3-368c-4f56-a769-e92d90200802.
This started in buildid 20200802214843, I'll attach the full stack trace of the parent process.
Reporter | ||
Comment 1•4 years ago
|
||
Comment 2•4 years ago
|
||
Nika, it looks like you added this check in bug 1652085 (by making an existing failure more fine-grained), so you might be interested in this crash.
Comment 3•4 years ago
|
||
FWIW, I don't see any crashes for "Parent has different group ID", "Opener has different group ID", or "Opener has different group object" crashes, which were also "added" in that bug.
Assignee | ||
Comment 4•4 years ago
|
||
Hmm, interesting. I suppose the code I added in bug 1652085 to wait for the discard to be acked before discarding the BrowsingContextGroup in the parent process wasn't enough.
I've got a few ideas for where this could be coming from, so I'll put up a patch which might help.
Assignee | ||
Comment 5•4 years ago
|
||
This should help catch and/or prevent any cases where we're creating a new
subframe at an unfortunate time during BrowsingContext
or WindowContext
teardown.
Assignee | ||
Comment 6•4 years ago
|
||
In bug 1652085, I added BrowsingContextGroup keepalives while waiting for
replies to the discard message, however that message isn't actually sent to the
current owner process. Instead, the BrowsingContext is discarded by the
PBrowser being destroyed.
This should help ensure we also keep the group alive during normal BrowserParent
destruction.
Pushed by nlayzell@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d5f1c00144e2 Part 1: Block subframe creation in discarded BCs, r=farre https://hg.mozilla.org/integration/autoland/rev/ee09cb88af17 Part 2: Add a BrowsingContextGroup keepalive to BrowserParent shutdown, r=farre
Comment 8•4 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/d5f1c00144e2
https://hg.mozilla.org/mozilla-central/rev/ee09cb88af17
Updated•4 years ago
|
Description
•