Skip to content

[rive_native] Crashes android when app resumes #481

@bjartebore

Description

@bjartebore

Description

When running an app with any active animation on android, putting the app in the background and then resuming the app crashes and restarts.

Running the app in debug mode from android studio will tigger art_sigsegv_fault in the Disassembly debugger.

Steps To Reproduce

Steps to reproduce the behavior:

  1. Build the app for android
  2. Run the app
  3. Open any page with a rive animation
  4. Put the app in the background
  5. Resume the app
  6. See crash and restart

Expected behavior

It should resume normally where it exited

Screenshots

rive.native.crash.mp4

Device & Versions (please complete the following information)

  • Device: Pixel 7
  • OS: Android 15
  • Flutter Version:
  • Rive Native Version: 0.0.1-dev.8
Flutter 3.27.4 • channel [user-branch] • unknown source
Framework • revision d8a9f9a52e (3 months ago) • 2025-01-31 16:07:18 -0500
Engine • revision 82bd5b7209
Tools • Dart 3.6.2 • DevTools 2.40.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriage

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions