rive-app / rive-app/rive-ios

Crash on RiveLinearAnimationInstance .cxx_construct (C++ Exception: St13runtime_error)

Open
#280 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Swift
Stars
822
Forks
104
PR merge metrics
No merged PRs in 30d

Description

Description

We are using the latest version of Rive and this morning we had a spike in crashes from Sentry in RiveLinearAnimationInstance .cxx_construct and the final exception is:

C++ Exception: St13runtime_error

The crash is happening in RiveLinearAnimationInstance .cxx_construct with 77 occurrences
This is not happening to all users, so it seems isolated
The user has 500~800 MB of free RAM

We are using SwiftUI and our Minimum Deployment Target is iOS 15.0

Device & Versions
  • Device: iPhone 12 Pro Max
  • iOS version: 17.0

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the RiveLinearAnimationInstance .cxx_construct entry point and investigate the reported runtime_error on the listed iPhone 12 Pro Max and iOS 17.0 environment. The issue is resolved when the crash cause is identified and a verified fix or reproduction-based regression test prevents this initialization failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, swift
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.