Skip to content

Segfault RNSkia::RNSkOpenGLCanvasProvider::surfaceSizeChanged #2396

@hannojg

Description

@hannojg

Description

We are seeing crashes in sentry from react-native-skia on android.

Screenshot 2024-04-22 at 15 14 32

We are also seeing another stack around, which is maybe related:

Screenshot 2024-04-22 at 15 33 52

Version

1.2.3

Steps to reproduce

Sorry, this is where it gets vague 🙇
We can't reproduce the crash on our phones.

All we know is that the crash happens when we navigate away from a screen where we render a rnskia surface.

Note: we see the crash happening also on earlier versions of skia. It was first reported to us in sentry on rnskia version: 1.0.4

Snack, code example, screenshot, or link to a repository

The stack is unfortunately not very long, I understand that a full reproduction is needed to help address that quickly. I just wanted to share the stack here, maybe you know from looking at the stack what could cause the crash?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions