Closed Bug 1206904 Opened 9 years ago Closed 9 years ago

dom/ipc/tests/test_permission_for_nested_oop_app.html fails on Linux m-e10s with APZ enabled

Categories

(Core :: Panning and Zooming, defect)

All
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla44
Tracking Status
e10s + ---
firefox44 --- fixed

People

(Reporter: kats, Assigned: kats)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

Attached file Partial backtrace
With APZ enabled on desktop, the dom/ipc/tests/test_permission_for_nested_oop_app.html test fails on Linux m-e10s. According to the log it looks like the child process is crashing with the attached stack, which probably means we need to fix bug 1020199 in order to get this working.
Assignee: nobody → bugmail.mozilla
Blocks: e10s-tests
tracking-e10s: --- → +
Attached patch PatchSplinter Review
Simple workaround for the crash; this makes the test pass for me locally. This way we don't have to wait for the "proper" fix which peterv is working on in bug 1020199.
Attachment #8665047 - Flags: review?(botond)
Comment on attachment 8665047 [details] [diff] [review]
Patch

Review of attachment 8665047 [details] [diff] [review]:
-----------------------------------------------------------------

::: layout/ipc/RenderFrameParent.cpp
@@ +338,5 @@
>    // We can't get a ref to the APZCTreeManager until after the child is
>    // created and the static getter knows which CompositorParent is
>    // instantiated with this layers ID. That's why try to fetch it when
>    // we first need it and cache the result.
> +  if (!mApzcTreeManager && mAsyncPanZoomEnabled && XRE_IsParentProcess()) {

Please add a comment saying that the XRE_IsParentProcess() check is needed because in a nested-oop setup, RenderFrameParent can exist in a child process too.
Attachment #8665047 - Flags: review?(botond) → review+
https://hg.mozilla.org/mozilla-central/rev/c07f7e2d10fb
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla44
No longer depends on: 1020199
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: