[ANDROID] A TON of crashes on Android Fabric when using entering/exiting animations #6908
Labels
Missing repro
This issue need minimum repro scenario
Platform: Android
This issue is specific to Android
Description
Hi, a quick overview:
After enabling Fabirc on our Android app, we have started receiving a ton of crashes from our Prod monitoring. Around 5% of users experienced a crash and 99% of them were reanimated related.
The errors are not very readable as most of them happen in some C++ code.
Here is few examples:
And thousands more similar ones.
Steps to reproduce
We figured out that it has to be related to entering/exiting animations as most crashes would appear when user would interact with component like this:
Keep in mind this is just one of the structures that would cause problems.
The worst part is that there is no consistent repro, user would interact with X of those components just fine, when suddenly one of them would cause a crash.
No idea what is the cause, but one thing is certain, it's due to the entering/exiting.
How do I know that? Well after applying this patch:
The crashes are gone, almost no more logs appearing in Prod monitoring.
Only few remain, and I have a suspicion it might be related to
LinearTransition
, which we are also using. But the total number of crashes got reduced by 99% with the patch mentioned above, so that's what I would like to focus on in this Issue.Snack or a link to a repository
No constant repro, just observed through prod logs
Reanimated version
3.16.4
React Native version
0.76.6
Platforms
Android
JavaScript runtime
Hermes
Workflow
React Native
Architecture
Fabric (New Architecture)
Build type
Release app & production bundle
Device
Real device
Device model
All
Acknowledgements
Yes
The text was updated successfully, but these errors were encountered: