Skip to content

[Impeller] AtlasContents isn't safe to reuse #122531

@jonahwilliams

Description

@jonahwilliams

This is because I'm passing a ptr to a child contents and returning that, and the child contents doesn't keep the parent alive. After the first frame the parent has been free'd and the texture is invalid.

I don't believe its possible to hit this crash in a real app, but it can happen in the playgrounds. This needs to be restructured.

Metadata

Metadata

Assignees

Labels

P1High-priority issues at the top of the work listc: crashStack traces logged to the consolee: impellerImpeller rendering backend issues and features requestswaiting for PR to land (fixed)A fix is in flight

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions