Skip to content

iOS Crash: Occasional crashes #297

@houhongcao

Description

@houhongcao

Submission checklist

  • I have confirmed the issue is present in the latest version of @rive-app/react-native
  • I have searched the documentation and forums and could not find an answer
  • I have searched existing issues and this is not a duplicate

Description

My preliminary analysis, These do not appear to be three separate issues, but rather the same underlying problem manifesting in different places. They all seem to be concentrated around Rive + React Native Nitro + DataBinding/ViewModel lifecycle and thread-safety behavior. Based on the crash stacks, we suspect the issue may be caused by internal Rive Runtime objects being accessed after deallocation, released multiple times, or accessed concurrently across threads.

The crash points vary (Artboard, ViewModelInstance, DataBinding, dictionary mutations, etc.), but the call stacks consistently point back to the same Rive Runtime area.

crash_info_1.txt
crash_info_2.txt
crash_info_3.txt

Previous working version

No response

Reproduction steps / code

No response

Upload your reproduction files / stack trace

No response

Source .riv / .rev file

No response

Screenshots / video

No response

@rive-app/react-native version

0.4.10

Platform

iOS only

React Native version

0.82.1

React Native environment info

Expo setup

No — bare React Native

Expo SDK version (if applicable)

No response

iOS device & OS version (if applicable)

No response

Android device & OS version (if applicable)

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions