Closed Bug 967824 Opened 11 years ago Closed 11 years ago

Faulty assert failure: "called SetCompositableHost for a layer without a compositable host" under LayerTransactionParent::RecvUpdate

Categories

(Core :: Graphics, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla30

People

(Reporter: bjacob, Assigned: bjacob)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

Attached file Faulty session (deleted) —
Found by Christoph Diehl's "Faulty" fuzzer, see bug 777067
Not obvious to me how we get here. This LayerComposite is of a type that doesn't override the virtual SetCompositableHost method, and this code expect that it does. Classification: PLayerTransaction, confused about layer types, hard
Depends on: PReinterpretCast
In RecvUpdate in the TOpAttachAsyncCompositable case we are assuming that the layer is of a certain type, and we shouldn't. That is why the fix for bug 968833 is not enough by itself to fix this bug (it still reproduces with the patch applied).
This makes SetCompositable graceful i.e. returning false and warning instead of aborting debug builds.
Attachment #8373754 - Flags: review?(nical.bugzilla)
Also note the comment edit, as it was refering to "a compositable host" in separate words, which suggests that its author himself got confused about the Host-as-a-suffix terminology.
Attachment #8373754 - Flags: review?(nical.bugzilla) → review+
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla30
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: