Closed Bug 1401668 Opened 4 years ago Closed 4 years ago
Bridge Parent acquires compositor thread reference too late
As discovered in crash reports for bug 1398070, e.g.: https://crash-stats.mozilla.com/report/index/4a390f71-3770-4cf8-a353-c07a90170920 The compositor thread is getting shutdown too early because ImageBridgeParent is still alive. The working theory is that between ImageBridgeParent construction and ImageBridgeParent::OnChannelConnected, we call shutdown and we never acquire the reference to the thread. Whatever it is, PImageBridgeParent is the protocol still alive causing the crash.
Attachment #8910418 - Flags: review?(dvander)
Assignee: nobody → aosmond
Status: NEW → ASSIGNED
Priority: -- → P3
Attachment #8910418 - Flags: review?(dvander) → review+
Pushed by firstname.lastname@example.org: https://hg.mozilla.org/integration/mozilla-inbound/rev/74608fbc8d56 Change ImageBridgeParent to acquire a compositor thread reference on construction. r=dvander
4 years ago
Is this something we'd want to consider as an Fx56 dot-release ride-along candidate or should it just ride the 57 train?
It is probably safe to uplift, but I would only recommend it if we see crashes on 56. Since one of the patches that was uplifted as part of bug 1398021 was in the pushlog for when this signature appeared, I feared that it may introduce it somehow to 56. At this point, I'm not so sure -- looking at what fixed the issue, this problem had potential to be there for years. Something else probably made it more likely on 57.
Thanks for the context. I'm going to call this wontfix for 56 then and we can always revisit if it shows up after we ship next week.
You need to log in before you can comment on or make changes to this bug.