App crashes with SIGABRT
See original GitHub issueDescription
For some users using vivo, OPPO, Xiaomi, or Samsung phones, we are seeing a crash in the native code.
SIGABRT Abort program
/system/lib64/libc.so:139776 abort
/data/data/in.galaxycard.android/lib-0/libc++_shared.so:753960 0x6fa39be128
/data/data/in.galaxycard.android/lib-0/libc++_shared.so:738264 __gxx_personality_v0
/data/app/in.galaxycard.android-QuduRwrv5PtDhuDtyz0QSg==/split_config.arm64_v8a.apk!/lib/arm64-v8a/libreanimated.so:458916 0x6fa2c430a4
/data/app/in.galaxycard.android-QuduRwrv5PtDhuDtyz0QSg==/split_config.arm64_v8a.apk!/lib/arm64-v8a/libreanimated.so:460204 _Unwind_Resume
/data/app/in.galaxycard.android-QuduRwrv5PtDhuDtyz0QSg==/split_config.arm64_v8a.apk!/lib/arm64-v8a/libreanimated.so:412756 0x6fa2c37c54
/data/data/in.galaxycard.android/lib-0/libhermes.so:217704 std::__ndk1::function<facebook::jsi::Value (facebook::jsi::Runtime&, facebook::jsi::Value const&, facebook::jsi::Value const*, unsigned long)>::operator()(facebook::jsi::Runtime&, facebook::jsi::Value const&, facebook::jsi::Value const*, unsigned long) const
/data/data/in.galaxycard.android/lib-0/libhermes.so:216040 facebook::hermes::HermesRuntimeImpl::HFContext::func(void*, hermes::vm::Runtime*, hermes::vm::NativeArgs)
/data/data/in.galaxycard.android/lib-0/libhermes.so:257968 0x6fa33cefb0
/data/data/in.galaxycard.android/lib-0/libhermes.so:317940 0x6fa33dd9f4
/data/data/in.galaxycard.android/lib-0/libhermes.so:331320 0x6fa33e0e38
/data/data/in.galaxycard.android/lib-0/libhermes.so:321856 0x6fa33de940
/data/data/in.galaxycard.android/lib-0/libhermes.so:192780 facebook::hermes::HermesRuntimeImpl::call(facebook::jsi::Function const&, facebook::jsi::Value const&, facebook::jsi::Value const*, unsigned long)
/data/app/in.galaxycard.android-QuduRwrv5PtDhuDtyz0QSg==/split_config.arm64_v8a.apk!/lib/arm64-v8a/libreanimated.so:386972 0x6fa2c3179c
/data/data/in.galaxycard.android/lib-0/libhermes.so:217704 std::__ndk1::function<facebook::jsi::Value (facebook::jsi::Runtime&, facebook::jsi::Value const&, facebook::jsi::Value const*, unsigned long)>::operator()(facebook::jsi::Runtime&, facebook::jsi::Value const&, facebook::jsi::Value const*, unsigned long) const
/data/data/in.galaxycard.android/lib-0/libhermes.so:216040 facebook::hermes::HermesRuntimeImpl::HFContext::func(void*, hermes::vm::Runtime*, hermes::vm::NativeArgs)
/data/data/in.galaxycard.android/lib-0/libhermes.so:257968 0x6fa33cefb0
/data/data/in.galaxycard.android/lib-0/libhermes.so:317940 0x6fa33dd9f4
/data/data/in.galaxycard.android/lib-0/libhermes.so:331320 0x6fa33e0e38
/data/data/in.galaxycard.android/lib-0/libhermes.so:321856 0x6fa33de940
/data/data/in.galaxycard.android/lib-0/libhermes.so:192780 facebook::hermes::HermesRuntimeImpl::call(facebook::jsi::Function const&, facebook::jsi::Value const&, facebook::jsi::Value const*, unsigned long)
/data/app/in.galaxycard.android-QuduRwrv5PtDhuDtyz0QSg==/split_config.arm64_v8a.apk!/lib/arm64-v8a/libreanimated.so:386972 0x6fa2c3179c
/data/data/in.galaxycard.android/lib-0/libhermes.so:217704 std::__ndk1::function<facebook::jsi::Value (facebook::jsi::Runtime&, facebook::jsi::Value const&, facebook::jsi::Value const*, unsigned long)>::operator()(facebook::jsi::Runtime&, facebook::jsi::Value const&, facebook::jsi::Value const*, unsigned long) const
/data/data/in.galaxycard.android/lib-0/libhermes.so:216040 facebook::hermes::HermesRuntimeImpl::HFContext::func(void*, hermes::vm::Runtime*, hermes::vm::NativeArgs)
/data/data/in.galaxycard.android/lib-0/libhermes.so:257968 0x6fa33cefb0
/data/data/in.galaxycard.android/lib-0/libhermes.so:317940 0x6fa33dd9f4
/data/data/in.galaxycard.android/lib-0/libhermes.so:331320 0x6fa33e0e38
/data/data/in.galaxycard.android/lib-0/libhermes.so:321856 0x6fa33de940
/data/data/in.galaxycard.android/lib-0/libhermes.so:192780 facebook::hermes::HermesRuntimeImpl::call(facebook::jsi::Function const&, facebook::jsi::Value const&, facebook::jsi::Value const*, unsigned long)
/data/app/in.galaxycard.android-QuduRwrv5PtDhuDtyz0QSg==/split_config.arm64_v8a.apk!/lib/arm64-v8a/libreanimated.so:386872 0x6fa2c31738
/data/data/in.galaxycard.android/lib-0/libhermes.so:217704 std::__ndk1::function<facebook::jsi::Value (facebook::jsi::Runtime&, facebook::jsi::Value const&, facebook::jsi::Value const*, unsigned long)>::operator()(facebook::jsi::Runtime&, facebook::jsi::Value const&, facebook::jsi::Value const*, unsigned long) const
/data/data/in.galaxycard.android/lib-0/libhermes.so:216040 facebook::hermes::HermesRuntimeImpl::HFContext::func(void*, hermes::vm::Runtime*, hermes::vm::NativeArgs)
/data/data/in.galaxycard.android/lib-0/libhermes.so:257968 0x6fa33cefb0
/data/data/in.galaxycard.android/lib-0/libhermes.so:192780 facebook::hermes::HermesRuntimeImpl::call(facebook::jsi::Function const&, facebook::jsi::Value const&, facebook::jsi::Value const*, unsigned long)
/data/app/in.galaxycard.android-QuduRwrv5PtDhuDtyz0QSg==/split_config.arm64_v8a.apk!/lib/arm64-v8a/libreanimated.so:402364 reanimated::Mapper::execute(facebook::jsi::Runtime&)
/data/app/in.galaxycard.android-QuduRwrv5PtDhuDtyz0QSg==/split_config.arm64_v8a.apk!/lib/arm64-v8a/libreanimated.so:320564 reanimated::MapperRegistry::execute(facebook::jsi::Runtime&)
/data/app/in.galaxycard.android-QuduRwrv5PtDhuDtyz0QSg==/split_config.arm64_v8a.apk!/lib/arm64-v8a/libreanimated.so:294196 reanimated::NativeReanimatedModule::onRender(double)
/data/app/in.galaxycard.android-QuduRwrv5PtDhuDtyz0QSg==/split_config.arm64_v8a.apk!/lib/arm64-v8a/libreanimated.so:250924 0x6fa2c1042c
/data/app/in.galaxycard.android-QuduRwrv5PtDhuDtyz0QSg==/split_config.arm64_v8a.apk!/lib/arm64-v8a/libreanimated.so:272964 facebook::jni::detail::MethodWrapper<void (reanimated::AnimationFrameCallback::*)(double), &reanimated::AnimationFrameCallback::onAnimationFrame, reanimated::AnimationFrameCallback, void, double>::dispatch(facebook::jni::alias_ref<facebook::jni::detail::JTypeFor<facebook::jni::HybridClass<reanimated::AnimationFrameCallback, facebook::jni::detail::BaseHybridClass>::JavaPart, facebook::jni::JObject, void>::_javaobject*>, double&&)
/data/app/in.galaxycard.android-QuduRwrv5PtDhuDtyz0QSg==/split_config.arm64_v8a.apk!/lib/arm64-v8a/libreanimated.so:272796
ESE_vJdEE4callEP7_JNIEnvP8_jobjectd:4998792534810842000 0x5345456445656d61
Expected behavior
App should not crash or at least stacktrace should point to the error in the JS land, to allow for debugging.
Actual behavior & steps to reproduce
App crashes randomly.
Snack or minimal code example
We haven’t found a way to replicate this on any of our test devices.
Package versions
- React Native: 0.63.4
- React Native Reanimated: 2.0.1
- NodeJS: 12.20.0
- Xcode: NA
- Java & Gradle: 1.8.0_181 gradle 6.5
Affected platforms
- Android
- iOS
- Web
Issue Analytics
- State:
- Created 2 years ago
- Reactions:3
- Comments:29 (3 by maintainers)
Top Results From Across the Web
Thread 1 Sigabrt | Apple Developer Forums
The SIGABRT only indicates that the app called abort() — that is, crashed deliberately. This can happen as a result of an error...
Read more >App crashes with SIGABRT only on App Review - ios
The actual crash seems to be caused by an exception thrown by RLMAccessorContext::createObject - What does your app do with creating objects in ......
Read more >I get Thread 1: signal SIGABRT and my IOS App crashes-swift
I am working on an IOS App on Swift and its connected to Firebase. Once I reach a specific page in the run...
Read more >How To Solve SIGABRT Error in Xcode - AppyPie
The error SIGABRT stands for “signal abort”. It's a signal that's sent by iOS – the operating system – to a running app,...
Read more >App Center Crashes : SIGABRT: Objective-C exception thrown ...
App Center Crashes : SIGABRT: Objective-C exception thrown. Name: NSRangeException Reason: Attempted to scroll the table view to an out-of- ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Seeing similar crashes:
moto e (XT2052DL)
RN 0.64.0 react-native-reanimated 2.2.0
I’m also experiencing this with RN 0.64.0, react-native-reanimated 2.0.1, gradle 6.7, gradle tools 4.1.3, AS 4.1.3.
I’m forcing fb soloader like this:
and getting this crash on a Pixel3