Open Bug 1242442 Opened 9 years ago Updated 2 years ago

CompositorChild can be deleted from one of its own methods

Categories

(Core :: Graphics: Layers, defect, P3)

defect

Tracking

()

People

(Reporter: nical, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [gfx-noted])

Not sure if it is a problem, but it's the kind of situation that we tend to assume never happens and can easily become a problem: TextureChild holds a strong reference to CompositorChild. This means that when receiving PTexture::__delete__, CompositorChild may destroy the last texture and get deleted in the process, in the middle of its message handling code. I've just run into this while trying to debug something else.
Whiteboard: [gfx-noted]
This will get fixed by one of the patches in bug 1215265.
Assignee: nobody → nical.bugzilla
Depends on: 1215265
(In reply to Nicolas Silva [:nical] from comment #1) > This will get fixed by one of the patches in bug 1215265. Not so sure bug 1215265 fixed this actually. I haven't run into this since I opened the bug, though.
Assignee: nical.bugzilla → nobody
Blocks: 1264293
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.