Closed Bug 1318572 Opened 8 years ago Closed 8 years ago

Intermittent docshell/test/browser/browser_bug388121-2.js | application crashed [@ mozilla::layers::CrossProcessCompositorBridgeParent::AllocPAPZCTreeManagerParent]

Categories

(Core :: Panning and Zooming, defect, P3)

53 Branch
Unspecified
Linux
defect

Tracking

()

RESOLVED DUPLICATE of bug 1322633

People

(Reporter: intermittent-bug-filer, Assigned: rhunt)

Details

(Keywords: intermittent-failure, Whiteboard: [gfx-noted])

Assertion failure is at https://hg.mozilla.org/integration/mozilla-inbound/file/d607a23fc3dc64956e68b588e53772b9aef48f4f/gfx/layers/ipc/CrossProcessCompositorBridgeParent.cpp#l194 This doesn't seem like it should ever happen - dvander, could this be some race condition where we try to create a APZC after the parent side has torn down the layer tree state?
Flags: needinfo?(dvander)
OS: Unspecified → Linux
Priority: -- → P3
Whiteboard: [gfx-noted]
Version: unspecified → 53 Branch
I've seen this a few times now, usually when the GPU process restarts. Pretty easy to get on try: https://treeherder.mozilla.org/#/jobs?repo=try&author=danderson@mozilla.com&selectedJob=31364521 Ryan, is this something you could look at?
Flags: needinfo?(dvander) → needinfo?(rhunt)
I ran into this assert when I was working on device resets and the gpu process. I'll see if one of the patches I wrote with that can reproduce this. I'll also see if some additional logs in a try run will help.
Assignee: nobody → rhunt
Flags: needinfo?(rhunt)
I think this is a different assert than the one that David and I were thinking of. This one seems to be that the LayerTreeState has not been initialized yet, or has been destroyed by the time we try and create a PAPZCTreeManager. The issue we've been getting with GPU process restarts was related to a race condition with the initalization of PAPZ, which I'm hoping to clean up in bug 1320817. I don't see an obvious way that we could create a PAPZCTreeManager after the LayerTreeState has been destroyed. We'd somehow need to get a TabChild::Show after the tab has been shutting down, but I don't believe that's possible. Or else get a TabChild::ReinitRendering after the tab has been shutting down. That would make it a gpu process restart issue. Looking at bug 1316632 comment 33, that might be what's going on. If that were to happen we would definitely run into this assert. The fix for that just landed so hopefully that fixes this.
It's only happened twice ever [1], so it's going to be hard to say definitively if bug 1316632 fixed it. I'm going to optimistically close this as fixed, and we can reopen and investigate if it happens again. [1] https://brasstacks.mozilla.com/orangefactor/?display=Bug&bugid=1318572&startday=2016-11-13&endday=2016-12-04&tree=trunk
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WORKSFORME
Resolution: WORKSFORME → DUPLICATE
You need to log in before you can comment on or make changes to this bug.