Skip to content

pthread_mutex_lock invalid memory crash during SkiaUIView dealloc #3032

Open
@ahmedsakr

Description

@ahmedsakr

Description

Problem

Using react-native-code-push, i am seeing a dealloc invalid memory access when SkiaUiIiew's dealloc attempts to lock on _mutex_. This is resulting in a EXC_BAD_ACCESS (KERN_INVALID_ADDRESS).

React Native Skia Version

1.11.8

React Native Version

0.77.1

Using New Architecture

  • Enabled

Steps to Reproduce

  1. Setup a sample react-native app that mounts a skia view
  2. trigger a JS bundle reload via a codepush (using react-native-code-push

Snack, Code Example, Screenshot, or Link to Repository

here is a sample stack trace

Image

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