rive-app / rive-ios

iOS runtime for Rive
MIT License
468 stars 53 forks source link

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

Open NandoSalvaterra opened 9 months ago

NandoSalvaterra commented 9 months ago

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

zplata commented 9 months ago

Hi - do you have a reproducible example to share here? That will be helpful to try and see what's going on on the Rive side. Noticed you included iPhone 12 Pro Max at iOS 17.0. Are all the errors only coming from this subset of users with this setup?

lucasmpaim commented 9 months ago

@zplata I work in the same place as @NandoSalvaterra ,

Essentially, we have no idea what's happening or how to reproduce the problem. At this moment, we have 4 different users with this weird crash:

1) iPhone 12 Pro Max (D54pAP) iOS 17.0.2(21A351) (original report) 2) iPhone SE (3rd generation) (D49AP) iOS 16.6.1(20G81) 3) iPhone 13 (D17AP) 17.0(21A329) 4) iPhone 11 (N104AP) iOS 16.7(20H18)

We worked hard to reproduce these issues on our devices without success.