Closed Bug 1545178 Opened 5 years ago Closed 2 years ago

[android x86-64] dom/ipc/tests/test_force_oop_iframe.html | application crashed [@ mozilla::dom::TabParent::RemoveWindowListeners()]

Categories

(Core :: DOM: Content Processes, defect, P3)

x86_64
Android
defect

Tracking

()

RESOLVED INCOMPLETE
Fission Milestone Future

People

(Reporter: nika, Unassigned)

References

Details

(Keywords: intermittent-failure, Whiteboard: [stockwell disabled])

Attachments

(2 files)

This is an error in M[tier-2](2) on Android 7.0 x86-64 opt which seems to have gone perma-orange with my stack landing on autoland: https://treeherder.mozilla.org/#/jobs?repo=autoland&resultStatus=running%2Csuccess%2Ctestfailed%2Cbusted%2Cexception%2Crunnable&searchStr=android%2C7.0%2Cx86-64%2Copt%2Cmochitests%2Ctest-android-em-7.0-x86_64%2Fopt-mochitest-e10s-2%2Cm(2)&selectedJob=240970026&revision=3592e8434aa07e699e29a1abcb96c72d5f9eb9f0

This appears to be caused by the Document associated with the frameloader of a tab being gone during shutdown, despite the corresponding content process and its nsFrameLoaders not being dead yet.

The crashing line appears to be: https://searchfox.org/mozilla-central/rev/d33d470140ce3f9426af523eaa8ecfa83476c806/dom/ipc/TabParent.cpp#358. It may be possible to fix by also null-checking OwnerDoc() in that if statement.

Assignee: nobody → nika

This line appears to be perma-failing right now in Android 7.0 x86-64 opt : M[tier-2](2). This seems to be being caused by the PContent's
channel being closed during shutdown also causing TabParents to be shut
down too late, after the document which they're embedded in has started
dying(?)

This patch just does the "obvious" thing of adding a null check (due to
it looking like a null dereference).

Pushed by nlayzell@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/24545a98e9e1
Check that OwnerDoc is non-null within RemoveWindowListeners, r=qdot
Whiteboard: [stockwell needswork:owner]
Whiteboard: [stockwell disable-recommended] → [stockwell needswork:owner]
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla68

This not yet fixed, see #c5.

Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Target Milestone: mozilla68 → ---
Whiteboard: [stockwell disable-recommended] → [stockwell needswork]
Keywords: leave-open
Whiteboard: [stockwell disable-recommended] → [stockwell disabled]
Pushed by rmaries@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/2049f9466646
Disabled test_force_oop_iframe.html on Android opt r=jmaher

We are not currently planning on working with oop iframes on android immediately, and this particular form of oop iframes will not be present in that situation. It's probably OK that this test is disabled for now, though perhaps we will need to come back to it in the future.

Assignee: nika → nobody
Flags: needinfo?(nika)
Priority: -- → P3

Android Fission is post-MVP.

Fission Milestone: --- → Future

Resolving as incomplete because the test_force_oop_iframe.html test was removed in bug 1562029.

Status: REOPENED → RESOLVED
Closed: 5 years ago2 years ago
Resolution: --- → INCOMPLETE
See Also: → 1562029
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: