✅ Solved: Rive Android is crashing the app when hosting activity closes
I described the issue here:
App crashes when Activity hosting Rive Animation is finished - Fatal signal 11 (SIGSEGV) · Issue #386 · rive-app/rive-androidTLDR:
- we updated Rive from 9.11.3 to 10.2.0
- the app started to experience crashes in around 10% of cases when the activity hosting a Rive animation closes
- the crash is related to memory managed, most probably it happens when the memory is reclamed
We started to rely on Rive in our app, unfortunately we are blocked now with the app’s release. We relied on newer Rive features (like data binding), so we cannot easly downgrade the runtime.