Closed Bug 1460289 Opened 2 years ago Closed 2 years ago
Deadlock with async scene building
I ran into a deadlock on nightly, the root cause is that we hold the sIndirectLayerTrees lock in RecvAdoptChild when we clone the WebRenderAPI. That blocks on the render backend thread, which is blocked on the scene builder thread, which is trying to acquire the sIndirectLayerTreesLock. Thread stacks attached. The fix should be to not hold the sIndirectLayerTreesLock while cloning the WebRenderAPI.
This is basically another variant of https://bugzilla.mozilla.org/show_bug.cgi?id=1457246
See Also: → 1457246
Comment on attachment 8974502 [details] Bug 1460289 - Reduce scope of indirect layer tree lock in RecvAdoptChild. https://reviewboard.mozilla.org/r/242828/#review248764 good catch!
Attachment #8974502 - Flags: review?(sotaro.ikeda.g) → review+
Pushed by email@example.com: https://hg.mozilla.org/integration/autoland/rev/fc2188a4b2d9 Reduce scope of indirect layer tree lock in RecvAdoptChild. r=sotaro
You need to log in before you can comment on or make changes to this bug.