margelo / react-native-bignumber

🔢 The fastest Big Number library for React Native
https://margelo.io
MIT License
342 stars 12 forks source link

Android tombstone on a clean "npx react-native init" project #54

Closed yoga-braavos closed 2 years ago

yoga-braavos commented 2 years ago

My Environment

  1. Mac M1
  2. React Native version 0.69.3
  3. react-native-bignumber 0.8.1

Steps to reproduce

  1. npx react-native init helloRN
  2. yarn add react-native-bignumber
  3. In App.js:
    • `import {BN} from 'react-native-bignumber';
    • add a console.log(new BN("0x111");

When running npx react-native run-android I get the following tombstone:

08-04 08:20:53.312  6099  6099 F DEBUG   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
08-04 08:20:53.312  6099  6099 F DEBUG   : Build fingerprint: 'google/sdk_gphone64_arm64/emulator64_arm64:12/SE1A.220203.002.A1/8151367:userdebug/dev-keys'
08-04 08:20:53.312  6099  6099 F DEBUG   : Revision: '0'
08-04 08:20:53.312  6099  6099 F DEBUG   : ABI: 'arm64'
08-04 08:20:53.312  6099  6099 F DEBUG   : Timestamp: 2022-08-04 08:20:53.144832398+0300
08-04 08:20:53.312  6099  6099 F DEBUG   : Process uptime: 0s
08-04 08:20:53.312  6099  6099 F DEBUG   : Cmdline: com.hellorn
08-04 08:20:53.312  6099  6099 F DEBUG   : pid: 6030, tid: 6081, name: mqt_js  >>> com.hellorn <<<
08-04 08:20:53.312  6099  6099 F DEBUG   : uid: 10147
08-04 08:20:53.312  6099  6099 F DEBUG   : tagged_addr_ctrl: 0000000000000001
08-04 08:20:53.312  6099  6099 F DEBUG   : signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------
08-04 08:20:53.312  6099  6099 F DEBUG   :     x0  0000000000000000  x1  00000000000017c1  x2  0000000000000006  x3  0000006d1c4b4320
08-04 08:20:53.312  6099  6099 F DEBUG   :     x4  00000000ebad808a  x5  00000000ebad808a  x6  00000000ebad808a  x7  00000000ebad808b
08-04 08:20:53.312  6099  6099 F DEBUG   :     x8  00000000000000f0  x9  0c0bea7f82fdc56d  x10 0000000000000000  x11 ffffff80fffffbdf
08-04 08:20:53.312  6099  6099 F DEBUG   :     x12 0000000000000001  x13 0000000000000045  x14 00000063f996e3c1  x15 00000063f99829c0
08-04 08:20:53.312  6099  6099 F DEBUG   :     x16 000000705c19b050  x17 000000705c177eb0  x18 0000006d16bf4000  x19 000000000000178e
08-04 08:20:53.312  6099  6099 F DEBUG   :     x20 00000000000017c1  x21 00000000ffffffff  x22 ffffffffffffffff  x23 0000006d1c4b4580
08-04 08:20:53.312  6099  6099 F DEBUG   :     x24 0000000000000000  x25 0000006d375bb1f0  x26 0000000000000001  x27 b400006f28340df0
08-04 08:20:53.312  6099  6099 F DEBUG   :     x28 b400006e78314e90  x29 0000006d1c4b43a0
08-04 08:20:53.312  6099  6099 F DEBUG   :     lr  000000705c12aba0  sp  0000006d1c4b4300  pc  000000705c12abcc  pst 0000000000001000
08-04 08:20:53.312  6099  6099 F DEBUG   : backtrace:
08-04 08:20:53.312  6099  6099 F DEBUG   :       #00 pc 000000000004fbcc  /apex/com.android.runtime/lib64/bionic/libc.so (abort+164) (BuildId: ba489d4985c0cf173209da67405662f9)
08-04 08:20:53.312  6099  6099 F DEBUG   :       #01 pc 00000000000af7e4  /data/app/~~pnHSV1U4W5mJ4pBc4Hq8jg==/com.hellorn-5FMUw2-Y0ruT8Ydw-TT1NQ==/lib/arm64/libc++_shared.so (BuildId: ece72a2eb
c3774a1be9fd21271258acd3bcdfaa7)
08-04 08:20:53.312  6099  6099 F DEBUG   :       #02 pc 00000000000aedc8  /data/app/~~pnHSV1U4W5mJ4pBc4Hq8jg==/com.hellorn-5FMUw2-Y0ruT8Ydw-TT1NQ==/lib/arm64/libc++_shared.so (BuildId: ece72a2eb
c3774a1be9fd21271258acd3bcdfaa7)
08-04 08:20:53.312  6099  6099 F DEBUG   :       #03 pc 00000000000aebf8  /data/app/~~pnHSV1U4W5mJ4pBc4Hq8jg==/com.hellorn-5FMUw2-Y0ruT8Ydw-TT1NQ==/lib/arm64/libc++_shared.so (__gxx_personality_
v0+200) (BuildId: ece72a2ebc3774a1be9fd21271258acd3bcdfaa7)
08-04 08:20:53.312  6099  6099 F DEBUG   :       #04 pc 00000000002c5ec4  /data/app/~~pnHSV1U4W5mJ4pBc4Hq8jg==/com.hellorn-5FMUw2-Y0ruT8Ydw-TT1NQ==/lib/arm64/libreactnativeBigNumber.so (BuildId:
 863b4fcd31a6cce63769ea5f08d80ed76399fadc)
08-04 08:20:53.312  6099  6099 F DEBUG   :       #05 pc 00000000002c5f94  /data/app/~~pnHSV1U4W5mJ4pBc4Hq8jg==/com.hellorn-5FMUw2-Y0ruT8Ydw-TT1NQ==/lib/arm64/libreactnativeBigNumber.so (BuildId:
 863b4fcd31a6cce63769ea5f08d80ed76399fadc)
08-04 08:20:53.312  6099  6099 F DEBUG   :       #06 pc 000000000013aa78  /data/app/~~pnHSV1U4W5mJ4pBc4Hq8jg==/com.hellorn-5FMUw2-Y0ruT8Ydw-TT1NQ==/lib/arm64/libreactnativeBigNumber.so (facebook
::jni::HybridClass<BigNumberCppAdapter, facebook::jni::detail::BaseHybridClass>::javaClassLocal()+184) (BuildId: 863b4fcd31a6cce63769ea5f08d80ed76399fadc)
08-04 08:20:53.312  6099  6099 F DEBUG   :       #07 pc 000000000013a8d4  /data/app/~~pnHSV1U4W5mJ4pBc4Hq8jg==/com.hellorn-5FMUw2-Y0ruT8Ydw-TT1NQ==/lib/arm64/libreactnativeBigNumber.so (facebook
::jni::HybridClass<BigNumberCppAdapter, facebook::jni::detail::BaseHybridClass>::registerHybrid(std::initializer_list<JNINativeMethod>)+40) (BuildId: 863b4fcd31a6cce63769ea5f08d80ed76399fadc)
08-04 08:20:53.312  6099  6099 F DEBUG   :       #08 pc 000000000013a880  /data/app/~~pnHSV1U4W5mJ4pBc4Hq8jg==/com.hellorn-5FMUw2-Y0ruT8Ydw-TT1NQ==/lib/arm64/libreactnativeBigNumber.so (BigNumbe
rCppAdapter::registerNatives()+84) (BuildId: 863b4fcd31a6cce63769ea5f08d80ed76399fadc)
08-04 08:20:53.312  6099  6099 F DEBUG   :       #09 pc 000000000013a81c  /data/app/~~pnHSV1U4W5mJ4pBc4Hq8jg==/com.hellorn-5FMUw2-Y0ruT8Ydw-TT1NQ==/lib/arm64/libreactnativeBigNumber.so (BuildId:
 863b4fcd31a6cce63769ea5f08d80ed76399fadc)
08-04 08:20:53.312  6099  6099 F DEBUG   :       #10 pc 000000000013a7e8  /data/app/~~pnHSV1U4W5mJ4pBc4Hq8jg==/com.hellorn-5FMUw2-Y0ruT8Ydw-TT1NQ==/lib/arm64/libreactnativeBigNumber.so (BuildId:
 863b4fcd31a6cce63769ea5f08d80ed76399fadc)
08-04 08:20:53.312  6099  6099 F DEBUG   :       #11 pc 000000000013a79c  /data/app/~~pnHSV1U4W5mJ4pBc4Hq8jg==/com.hellorn-5FMUw2-Y0ruT8Ydw-TT1NQ==/lib/arm64/libreactnativeBigNumber.so (BuildId:
 863b4fcd31a6cce63769ea5f08d80ed76399fadc)
08-04 08:20:53.312  6099  6099 F DEBUG   :       #12 pc 000000000013a774  /data/app/~~pnHSV1U4W5mJ4pBc4Hq8jg==/com.hellorn-5FMUw2-Y0ruT8Ydw-TT1NQ==/lib/arm64/libreactnativeBigNumber.so (BuildId:
 863b4fcd31a6cce63769ea5f08d80ed76399fadc)
08-04 08:20:53.312  6099  6099 F DEBUG   :       #13 pc 0000000000139358  /data/app/~~pnHSV1U4W5mJ4pBc4Hq8jg==/com.hellorn-5FMUw2-Y0ruT8Ydw-TT1NQ==/lib/arm64/libreactnativeBigNumber.so (BuildId:
 863b4fcd31a6cce63769ea5f08d80ed76399fadc)
08-04 08:20:53.312  6099  6099 F DEBUG   :       #14 pc 00000000000102c4  /data/app/~~pnHSV1U4W5mJ4pBc4Hq8jg==/com.hellorn-5FMUw2-Y0ruT8Ydw-TT1NQ==/lib/arm64/libfbjni.so (facebook::jni::initiali
ze(_JavaVM*, std::__ndk1::function<void ()>&&)+108) (BuildId: 5b9237c4cf8ff477d69b3a6401b060d9b7f17a75)
08-04 08:20:53.312  6099  6099 F DEBUG   :       #15 pc 0000000000138d08  /data/app/~~pnHSV1U4W5mJ4pBc4Hq8jg==/com.hellorn-5FMUw2-Y0ruT8Ydw-TT1NQ==/lib/arm64/libreactnativeBigNumber.so (JNI_OnLo
ad+68) (BuildId: 863b4fcd31a6cce63769ea5f08d80ed76399fadc)
08-04 08:20:53.312  6099  6099 F DEBUG   :       #16 pc 0000000000453ffc  /apex/com.android.art/lib64/libart.so (art::JavaVMExt::LoadNativeLibrary(_JNIEnv*, std::__1::basic_string<char, std::__1
::char_traits<char>, std::__1::allocator<char> > const&, _jobject*, _jclass*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >*)+3116) (BuildId: e6c658201ef1
ec3760112fa1b838ab2c)
kantorm commented 2 years ago

I have the very same error on the same setup and versions. @mrousavy do you need a repo with an example?

mrousavy commented 2 years ago

Hi! Can you maybe paste the full logs from adb logcat here (preferrably by formatting them in a codeblock with three backticks ```)?

Also, please make sure the stacktrace is symbolicated

kantorm commented 2 years ago

Here is the stack trace from ndk-stack.

08-05 17:42:17.362  4241  4241 F DEBUG   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
08-05 17:42:17.362  4241  4241 F DEBUG   : Build fingerprint: 'google/sdk_gphone64_arm64/emulator64_arm64:12/S2B2.211203.006/8015633:user/release-keys'
08-05 17:42:17.362  4241  4241 F DEBUG   : Revision: '0'
08-05 17:42:17.362  4241  4241 F DEBUG   : ABI: 'arm64'
08-05 17:42:17.362  4241  4241 F DEBUG   : Timestamp: 2022-08-05 17:42:16.835349096+0200
08-05 17:42:17.362  4241  4241 F DEBUG   : Process uptime: 0s
08-05 17:42:17.362  4241  4241 F DEBUG   : Cmdline: com.testbignumber
08-05 17:42:17.362  4241  4241 F DEBUG   : pid: 4156, tid: 4209, name: mqt_js  >>> com.testbignumber <<<
08-05 17:42:17.362  4241  4241 F DEBUG   : uid: 10148
08-05 17:42:17.362  4241  4241 F DEBUG   : tagged_addr_ctrl: 0000000000000001
08-05 17:42:17.362  4241  4241 F DEBUG   : signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------
08-05 17:42:17.362  4241  4241 F DEBUG   :     x0  0000000000000000  x1  0000000000001071  x2  0000000000000006  x3  0000007940d503d0
08-05 17:42:17.362  4241  4241 F DEBUG   :     x4  00000000ebad808a  x5  00000000ebad808a  x6  00000000ebad808a  x7  00000000ebad808b
08-05 17:42:17.362  4241  4241 F DEBUG   :     x8  00000000000000f0  x9  b5794349330fbd5e  x10 0000000000000000  x11 ffffff80fffffbdf
08-05 17:42:17.362  4241  4241 F DEBUG   :     x12 0000000000000001  x13 0000000000000045  x14 0000007921d773d1  x15 0000007921d8b9d0
08-05 17:42:17.362  4241  4241 F DEBUG   :     x16 0000007c72d69050  x17 0000007c72d45db0  x18 0000007937ad8000  x19 000000000000103c
08-05 17:42:17.362  4241  4241 F DEBUG   :     x20 0000000000001071  x21 00000000ffffffff  x22 ffffffffffffffff  x23 0000007940d50630
08-05 17:42:17.362  4241  4241 F DEBUG   :     x24 0000000000000000  x25 000000795752a1f0  x26 0000000000000001  x27 b400007b40b93890
08-05 17:42:17.362  4241  4241 F DEBUG   :     x28 0000007c837fc238  x29 0000007940d50450
08-05 17:42:17.362  4241  4241 F DEBUG   :     lr  0000007c72cf8aa0  sp  0000007940d503b0  pc  0000007c72cf8acc  pst 0000000000001000
08-05 17:42:17.362  4241  4241 F DEBUG   : backtrace:
08-05 17:42:17.362  4241  4241 F DEBUG   :       #00 pc 000000000004facc  /apex/com.android.runtime/lib64/bionic/libc.so (abort+164) (BuildId: b2e84269f59e7b1658e3a470fd302458)
08-05 17:42:17.362  4241  4241 F DEBUG   :       #01 pc 00000000000af7e4  /data/app/~~M_ZIZoYbttDr_mNBrmJ_uQ==/com.testbignumber-akCCRqCIxm0QNx2rRdURkA==/lib/arm64/libc++_shared.so (BuildId: ece72a2ebc3774a1be9fd21271258acd3bcdfaa7)
08-05 17:42:17.362  4241  4241 F DEBUG   :       #02 pc 00000000000aedc8  /data/app/~~M_ZIZoYbttDr_mNBrmJ_uQ==/com.testbignumber-akCCRqCIxm0QNx2rRdURkA==/lib/arm64/libc++_shared.so (BuildId: ece72a2ebc3774a1be9fd21271258acd3bcdfaa7)
08-05 17:42:17.362  4241  4241 F DEBUG   :       #03 pc 00000000000aebf8  /data/app/~~M_ZIZoYbttDr_mNBrmJ_uQ==/com.testbignumber-akCCRqCIxm0QNx2rRdURkA==/lib/arm64/libc++_shared.so (__gxx_personality_v0+200) (BuildId: ece72a2ebc3774a1be9fd21271258acd3bcdfaa7)
08-05 17:42:17.362  4241  4241 F DEBUG   :       #04 pc 00000000002c5ed4  /data/app/~~M_ZIZoYbttDr_mNBrmJ_uQ==/com.testbignumber-akCCRqCIxm0QNx2rRdURkA==/lib/arm64/libreactnativeBigNumber.so (BuildId: b7eea023f9f7e122735a010f0b48781d3398a3f3)
08-05 17:42:17.362  4241  4241 F DEBUG   :       #05 pc 00000000002c5fa4  /data/app/~~M_ZIZoYbttDr_mNBrmJ_uQ==/com.testbignumber-akCCRqCIxm0QNx2rRdURkA==/lib/arm64/libreactnativeBigNumber.so (BuildId: b7eea023f9f7e122735a010f0b48781d3398a3f3)
08-05 17:42:17.362  4241  4241 F DEBUG   :       #06 pc 000000000013aa88  /data/app/~~M_ZIZoYbttDr_mNBrmJ_uQ==/com.testbignumber-akCCRqCIxm0QNx2rRdURkA==/lib/arm64/libreactnativeBigNumber.so (facebook::jni::HybridClass<BigNumberCppAdapter, facebook::jni::detail::BaseHybridClass>::javaClassLocal()+184) (BuildId: b7eea023f9f7e122735a010f0b48781d3398a3f3)
08-05 17:42:17.362  4241  4241 F DEBUG   :       #07 pc 000000000013a8e4  /data/app/~~M_ZIZoYbttDr_mNBrmJ_uQ==/com.testbignumber-akCCRqCIxm0QNx2rRdURkA==/lib/arm64/libreactnativeBigNumber.so (facebook::jni::HybridClass<BigNumberCppAdapter, facebook::jni::detail::BaseHybridClass>::registerHybrid(std::initializer_list<JNINativeMethod>)+40) (BuildId: b7eea023f9f7e122735a010f0b48781d3398a3f3)
08-05 17:42:17.362  4241  4241 F DEBUG   :       #08 pc 000000000013a890  /data/app/~~M_ZIZoYbttDr_mNBrmJ_uQ==/com.testbignumber-akCCRqCIxm0QNx2rRdURkA==/lib/arm64/libreactnativeBigNumber.so (BigNumberCppAdapter::registerNatives()+84) (BuildId: b7eea023f9f7e122735a010f0b48781d3398a3f3)
08-05 17:42:17.362  4241  4241 F DEBUG   :       #09 pc 000000000013a82c  /data/app/~~M_ZIZoYbttDr_mNBrmJ_uQ==/com.testbignumber-akCCRqCIxm0QNx2rRdURkA==/lib/arm64/libreactnativeBigNumber.so (BuildId: b7eea023f9f7e122735a010f0b48781d3398a3f3)
08-05 17:42:17.362  4241  4241 F DEBUG   :       #10 pc 000000000013a7f8  /data/app/~~M_ZIZoYbttDr_mNBrmJ_uQ==/com.testbignumber-akCCRqCIxm0QNx2rRdURkA==/lib/arm64/libreactnativeBigNumber.so (BuildId: b7eea023f9f7e122735a010f0b48781d3398a3f3)
08-05 17:42:17.362  4241  4241 F DEBUG   :       #11 pc 000000000013a7ac  /data/app/~~M_ZIZoYbttDr_mNBrmJ_uQ==/com.testbignumber-akCCRqCIxm0QNx2rRdURkA==/lib/arm64/libreactnativeBigNumber.so (BuildId: b7eea023f9f7e122735a010f0b48781d3398a3f3)
08-05 17:42:17.362  4241  4241 F DEBUG   :       #12 pc 000000000013a784  /data/app/~~M_ZIZoYbttDr_mNBrmJ_uQ==/com.testbignumber-akCCRqCIxm0QNx2rRdURkA==/lib/arm64/libreactnativeBigNumber.so (BuildId: b7eea023f9f7e122735a010f0b48781d3398a3f3)
08-05 17:42:17.362  4241  4241 F DEBUG   :       #13 pc 0000000000139368  /data/app/~~M_ZIZoYbttDr_mNBrmJ_uQ==/com.testbignumber-akCCRqCIxm0QNx2rRdURkA==/lib/arm64/libreactnativeBigNumber.so (BuildId: b7eea023f9f7e122735a010f0b48781d3398a3f3)
08-05 17:42:17.362  4241  4241 F DEBUG   :       #14 pc 00000000000102c4  /data/app/~~M_ZIZoYbttDr_mNBrmJ_uQ==/com.testbignumber-akCCRqCIxm0QNx2rRdURkA==/lib/arm64/libfbjni.so (facebook::jni::initialize(_JavaVM*, std::__ndk1::function<void ()>&&)+108) (BuildId: 5b9237c4cf8ff477d69b3a6401b060d9b7f17a75)
08-05 17:42:17.362  4241  4241 F DEBUG   :       #15 pc 0000000000138d18  /data/app/~~M_ZIZoYbttDr_mNBrmJ_uQ==/com.testbignumber-akCCRqCIxm0QNx2rRdURkA==/lib/arm64/libreactnativeBigNumber.so (JNI_OnLoad+68) (BuildId: b7eea023f9f7e122735a010f0b48781d3398a3f3)
08-05 17:42:17.362  4241  4241 F DEBUG   :       #16 pc 00000000004753d0  /apex/com.android.art/lib64/libart.so (art::JavaVMExt::LoadNativeLibrary(_JNIEnv*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, _jobject*, _jclass*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >*)+1836) (BuildId: adb75d6f792faa24b1bc8cf512fb112c)
08-05 17:42:17.362  4241  4241 F DEBUG   :       #17 pc 00000000000050dc  /apex/com.android.art/lib64/libopenjdkjvm.so (JVM_NativeLoad+416) (BuildId: efecf139a8d75089afc33003c9ee2654)
08-05 17:42:17.362  4241  4241 F DEBUG   :       #18 pc 00000000000ab834  /apex/com.android.art/javalib/arm64/boot.oat (art_jni_trampoline+148) (BuildId: 64e82acb1c8b0ce1e7555c9bf3f660e0aafd908c)
08-05 17:42:17.362  4241  4241 F DEBUG   :       #19 pc 00000000002cdfe8  /apex/com.android.art/lib64/libart.so (art_quick_invoke_static_stub+568) (BuildId: adb75d6f792faa24b1bc8cf512fb112c)
08-05 17:42:17.362  4241  4241 F DEBUG   :       #20 pc 00000000002f23d8  /apex/com.android.art/lib64/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+320) (BuildId: adb75d6f792faa24b1bc8cf512fb112c)
08-05 17:42:17.362  4241  4241 F DEBUG   :       #21 pc 00000000003ff868  /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+820) (BuildId: adb75d6f792faa24b1bc8cf512fb112c)
08-05 17:42:17.362  4241  4241 F DEBUG   :       #22 pc 00000000007748cc  /apex/com.android.art/lib64/libart.so (MterpInvokeStatic+3812) (BuildId: adb75d6f792faa24b1bc8cf512fb112c)
08-05 17:42:17.362  4241  4241 F DEBUG   :       #23 pc 00000000002c8594  /apex/com.android.art/lib64/libart.so (mterp_op_invoke_static+20) (BuildId: adb75d6f792faa24b1bc8cf512fb112c)
08-05 17:42:17.362  4241  4241 F DEBUG   :       #24 pc 00000000000e574a  /apex/com.android.art/javalib/core-oj.jar (java.lang.Runtime.nativeLoad+2)
08-05 17:42:17.362  4241  4241 F DEBUG   :       #25 pc 0000000000774230  /apex/com.android.art/lib64/libart.so (MterpInvokeStatic+2120) (BuildId: adb75d6f792faa24b1bc8cf512fb112c)
08-05 17:42:17.362  4241  4241 F DEBUG   :       #26 pc 00000000002c8594  /apex/com.android.art/lib64/libart.so (mterp_op_invoke_static+20) (BuildId: adb75d6f792faa24b1bc8cf512fb112c)
08-05 17:42:17.362  4241  4241 F DEBUG   :       #27 pc 00000000000e5c7c  /apex/com.android.art/javalib/core-oj.jar (java.lang.Runtime.loadLibrary0+92)
08-05 17:42:17.362  4241  4241 F DEBUG   :       #28 pc 00000000003fed58  /apex/com.android.art/lib64/libart.so (MterpInvokeDirect+3104) (BuildId: adb75d6f792faa24b1bc8cf512fb112c)
08-05 17:42:17.362  4241  4241 F DEBUG   :       #29 pc 00000000002c8514  /apex/com.android.art/lib64/libart.so (mterp_op_invoke_direct+20) (BuildId: adb75d6f792faa24b1bc8cf512fb112c)
08-05 17:42:17.362  4241  4241 F DEBUG   :       #30 pc 00000000000e5c08  /apex/com.android.art/javalib/core-oj.jar (java.lang.Runtime.loadLibrary0+8)
08-05 17:42:17.362  4241  4241 F DEBUG   :       #31 pc 00000000002c37dc  /apex/com.android.art/lib64/libart.so (MterpInvokeVirtual+2292) (BuildId: adb75d6f792faa24b1bc8cf512fb112c)
08-05 17:42:17.362  4241  4241 F DEBUG   :       #32 pc 00000000002c8414  /apex/com.android.art/lib64/libart.so (mterp_op_invoke_virtual+20) (BuildId: adb75d6f792faa24b1bc8cf512fb112c)
08-05 17:42:17.362  4241  4241 F DEBUG   :       #33 pc 00000000000eb248  /apex/com.android.art/javalib/core-oj.jar (java.lang.System.loadLibrary+16)
08-05 17:42:17.362  4241  4241 F DEBUG   :       #34 pc 000000000027d748  /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.llvm.1730130678407748380)+644) (BuildId: adb75d6f792faa24b1bc8cf512fb112c)
08-05 17:42:17.362  4241  4241 F DEBUG   :       #35 pc 000000000027c8f0  /apex/com.android.art/lib64/libart.so (artQuickToInterpreterBridge+1176) (BuildId: adb75d6f792faa24b1bc8cf512fb112c)
08-05 17:42:17.362  4241  4241 F DEBUG   :       #36 pc 00000000002d7778  /apex/com.android.art/lib64/libart.so (art_quick_to_interpreter_bridge+88) (BuildId: adb75d6f792faa24b1bc8cf512fb112c)
08-05 17:42:17.362  4241  4241 F DEBUG   :       #37 pc 0000000000209188  /apex/com.android.art/lib64/libart.so (nterp_helper+152) (BuildId: adb75d6f792faa24b1bc8cf512fb112c)
08-05 17:42:17.362  4241  4241 F DEBUG   :       #38 pc 000000000000048e  [anon:dalvik-classes2.dex extracted in memory from /data/app/~~M_ZIZoYbttDr_mNBrmJ_uQ==/com.testbignumber-akCCRqCIxm0QNx2rRdURkA==/base.apk!classes2.dex] (com.margelo.bignumber.BigNumberModule.install+30)
08-05 17:42:17.362  4241  4241 F DEBUG   :       #39 pc 00000000002cdd64  /apex/com.android.art/lib64/libart.so (art_quick_invoke_stub+548) (BuildId: adb75d6f792faa24b1bc8cf512fb112c)
08-05 17:42:17.362  4241  4241 F DEBUG   :       #40 pc 0000000000317fb0  /apex/com.android.art/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+156) (BuildId: adb75d6f792faa24b1bc8cf512fb112c)
08-05 17:42:17.362  4241  4241 F DEBUG   :       #41 pc 00000000003cc480  /apex/com.android.art/lib64/libart.so (art::JValue art::InvokeVirtualOrInterfaceWithJValues<art::ArtMethod*>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, art::ArtMethod*, jvalue const*)+380) (BuildId: adb75d6f792faa24b1bc8cf512fb112c)
08-05 17:42:17.362  4241  4241 F DEBUG   :       #42 pc 00000000006085fc  /apex/com.android.art/lib64/libart.so (art::JNI<true>::CallBooleanMethodA(_JNIEnv*, _jobject*, _jmethodID*, jvalue const*)+268) (BuildId: adb75d6f792faa24b1bc8cf512fb112c)
08-05 17:42:17.362  4241  4241 F DEBUG   :       #43 pc 000000000057772c  /apex/com.android.art/lib64/libart.so (art::(anonymous namespace)::CheckJNI::CallMethodA(char const*, _JNIEnv*, _jobject*, _jclass*, _jmethodID*, jvalue const*, art::Primitive::Type, art::InvokeType)+1316) (BuildId: adb75d6f792faa24b1bc8cf512fb112c)
08-05 17:42:17.362  4241  4241 F DEBUG   :       #44 pc 0000000000578078  /apex/com.android.art/lib64/libart.so (art::(anonymous namespace)::CheckJNI::CallBooleanMethodA(_JNIEnv*, _jobject*, _jmethodID*, jvalue const*) (.llvm.14398066214032310513)+44) (BuildId: adb75d6f792faa24b1bc8cf512fb112c)
08-05 17:42:17.362  4241  4241 F DEBUG   :       #45 pc 00000000001af560  /data/app/~~M_ZIZoYbttDr_mNBrmJ_uQ==/com.testbignumber-akCCRqCIxm0QNx2rRdURkA==/lib/arm64/libreactnativejni.so (_JNIEnv::CallBooleanMethodA(_jobject*, _jmethodID*, jvalue const*)+56) (BuildId: 6d3edee0f166a831af40f227349f254d67242154)
08-05 17:42:17.362  4241  4241 F DEBUG   :       #46 pc 00000000001ae744  /data/app/~~M_ZIZoYbttDr_mNBrmJ_uQ==/com.testbignumber-akCCRqCIxm0QNx2rRdURkA==/lib/arm64/libreactnativejni.so (facebook::react::MethodInvoker::invoke(std::__ndk1::weak_ptr<facebook::react::Instance>&, facebook::jni::alias_ref<facebook::jni::detail::JTypeFor<facebook::react::JBaseJavaModule, facebook::jni::JObject, void>::_javaobject*>, folly::dynamic const&)+812) (BuildId: 6d3edee0f166a831af40f227349f254d67242154)
08-05 17:42:17.362  4241  4241 F DEBUG   :       #47 pc 000000000019a4c8  /data/app/~~M_ZIZoYbttDr_mNBrmJ_uQ==/com.testbignumber-akCCRqCIxm0QNx2rRdURkA==/lib/arm64/libreactnativejni.so (facebook::react::JavaNativeModule::callSerializableNativeHook(unsigned int, folly::dynamic&&)+656) (BuildId: 6d3edee0f166a831af40f227349f254d67242154)
08-05 17:42:17.362  4241  4241 F DEBUG   :       #48 pc 00000000002191d4  /data/app/~~M_ZIZoYbttDr_mNBrmJ_uQ==/com.testbignumber-akCCRqCIxm0QNx2rRdURkA==/lib/arm64/libreactnativejni.so (facebook::react::ModuleRegistry::callSerializableNativeHook(unsigned int, unsigned int, folly::dynamic&&)+380) (BuildId: 6d3edee0f166a831af40f227349f254d67242154)
08-05 17:42:17.362  4241  4241 F DEBUG   :       #49 pc 00000000002254ec  /data/app/~~M_ZIZoYbttDr_mNBrmJ_uQ==/com.testbignumber-akCCRqCIxm0QNx2rRdURkA==/lib/arm64/libreactnativejni.so (facebook::react::JsToNativeBridge::callSerializableNativeHook(facebook::react::JSExecutor&, unsigned int, unsigned int, folly::dynamic&&)+116) (BuildId: 6d3edee0f166a831af40f227349f254d67242154)
08-05 17:42:17.362  4241  4241 F DEBUG   :       #50 pc 000000000002a3dc  /data/app/~~M_ZIZoYbttDr_mNBrmJ_uQ==/com.testbignumber-akCCRqCIxm0QNx2rRdURkA==/lib/arm64/libjscexecutor.so (facebook::react::JSIExecutor::nativeCallSyncHook(facebook::jsi::Value const*, unsigned long)+500) (BuildId: 1db7279b083e5a11e1de6593a4aafb957985e671)
08-05 17:42:17.362  4241  4241 F DEBUG   :       #51 pc 0000000000036930  /data/app/~~M_ZIZoYbttDr_mNBrmJ_uQ==/com.testbignumber-akCCRqCIxm0QNx2rRdURkA==/lib/arm64/libjscexecutor.so (BuildId: 1db7279b083e5a11e1de6593a4aafb957985e671)
08-05 17:42:17.362  4241  4241 F DEBUG   :       #52 pc 00000000000c932c  /data/app/~~M_ZIZoYbttDr_mNBrmJ_uQ==/com.testbignumber-akCCRqCIxm0QNx2rRdURkA==/lib/arm64/libjsc.so (BuildId: dad225e5c5aafb43e3fcbfcd576772a6a0f8c19a)
08-05 17:42:17.362  4241  4241 F DEBUG   :       #53 pc 000000000030b3f0  /data/app/~~M_ZIZoYbttDr_mNBrmJ_uQ==/com.testbignumber-akCCRqCIxm0QNx2rRdURkA==/lib/arm64/libjsc.so (BuildId: dad225e5c5aafb43e3fcbfcd576772a6a0f8c19a)
08-05 17:42:17.362  4241  4241 F DEBUG   :       #54 pc 00000000002f5c78  /data/app/~~M_ZIZoYbttDr_mNBrmJ_uQ==/com.testbignumber-akCCRqCIxm0QNx2rRdURkA==/lib/arm64/libjsc.so (BuildId: dad225e5c5aafb43e3fcbfcd576772a6a0f8c19a)
yoga-braavos commented 2 years ago

@mrousavy

Also, please make sure the stacktrace is symbolicated

Note that both stack traces attached by me and @kantorm have symbols up until this line: facebook::jni::detail::BaseHybridClass>::javaClassLocal()+184

I followed the code path there and the only place I can see an exception is thrown inside fbjni is in this piece of code: https://github.com/facebookincubator/fbjni/blob/8b5aa9eb323184b27b87b5955b242e6e5a342c1a/cxx/fbjni/fbjni.cpp#L66

jclass findClass(JNIEnv* env, const char* name) {
  if (!env) {
    throw std::runtime_error("Unable to retrieve JNIEnv*.");
  }
  jclass cls = env->FindClass(name);
  FACEBOOK_JNI_THROW_EXCEPTION_IF(!cls);
  return cls;
}

...Can you maybe paste the full logs from adb logcat here (preferrably by formatting them in a codeblock with three backticks ```)?

➜  helloRN adb logcat -v threadtime | grep 5884
08-06 17:38:22.703   310   310 D Zygote  : Forked child process 5884
08-06 17:38:22.704   520   553 I ActivityManager: Start proc 5884:com.hellorn/u0a167 for pre-top-activity {com.hellorn/com.hellorn.MainActivity}
08-06 17:38:22.708  5884  5884 I com.hellorn: Late-enabling -Xcheck:jni
08-06 17:38:22.721   384   440 I adbd    : jdwp connection from 5884
08-06 17:38:22.736  5884  5884 D CompatibilityChangeReporter: Compat change id reported: 171979766; UID 10167; state: ENABLED
08-06 17:38:22.800  5884  5884 V GraphicsEnvironment: ANGLE Developer option for 'com.hellorn' set to: 'default'
08-06 17:38:22.800  5884  5884 V GraphicsEnvironment: Neither updatable production driver nor prerelease driver is supported.
08-06 17:38:22.801  5884  5884 D NetworkSecurityConfig: No Network Security Config specified, using platform default
08-06 17:38:22.802  5884  5884 D NetworkSecurityConfig: No Network Security Config specified, using platform default
08-06 17:38:22.807  5884  5884 V fb-UnpackingSoSource: locked dso store /data/user/0/com.hellorn/lib-main
08-06 17:38:22.808  5884  5884 V fb-UnpackingSoSource: deps mismatch on deps store: regenerating
08-06 17:38:22.808  5884  5884 V fb-UnpackingSoSource: so store dirty: regenerating
08-06 17:38:22.823  5884  5884 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libc++_shared.so: deferring to libdir
08-06 17:38:22.823  5884  5884 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libcrypto.so: deferring to libdir
08-06 17:38:22.823  5884  5884 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libevent-2.1.so: deferring to libdir
08-06 17:38:22.823  5884  5884 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libevent_core-2.1.so: deferring to libdir
08-06 17:38:22.823  5884  5884 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libevent_extra-2.1.so: deferring to libdir
08-06 17:38:22.823  5884  5884 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libfabricjni.so: deferring to libdir
08-06 17:38:22.823  5884  5884 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libfb.so: deferring to libdir
08-06 17:38:22.823  5884  5884 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libfbjni.so: deferring to libdir
08-06 17:38:22.823  5884  5884 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libflipper.so: deferring to libdir
08-06 17:38:22.823  5884  5884 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libfolly_runtime.so: deferring to libdir
08-06 17:38:22.823  5884  5884 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libglog.so: deferring to libdir
08-06 17:38:22.823  5884  5884 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libglog_init.so: deferring to libdir
08-06 17:38:22.823  5884  5884 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libimagepipeline.so: deferring to libdir
08-06 17:38:22.823  5884  5884 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libjsc.so: deferring to libdir
08-06 17:38:22.823  5884  5884 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libjscexecutor.so: deferring to libdir
08-06 17:38:22.823  5884  5884 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libjsi.so: deferring to libdir
08-06 17:38:22.823  5884  5884 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libjsijniprofiler.so: deferring to libdir
08-06 17:38:22.823  5884  5884 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libjsinspector.so: deferring to libdir
08-06 17:38:22.823  5884  5884 D ApkSoSource: not allowing consideration of lib/arm64-v8a/liblogger.so: deferring to libdir
08-06 17:38:22.823  5884  5884 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libmapbufferjni.so: deferring to libdir
08-06 17:38:22.823  5884  5884 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libnative-filters.so: deferring to libdir
08-06 17:38:22.823  5884  5884 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libnative-imagetranscoder.so: deferring to libdir
08-06 17:38:22.824  5884  5884 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libreact_codegen_rncore.so: deferring to libdir
08-06 17:38:22.824  5884  5884 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libreact_config.so: deferring to libdir
08-06 17:38:22.824  5884  5884 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libreact_debug.so: deferring to libdir
08-06 17:38:22.824  5884  5884 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libreact_nativemodule_core.so: deferring to libdir
08-06 17:38:22.824  5884  5884 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libreact_render_animations.so: deferring to libdir
08-06 17:38:22.824  5884  5884 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libreact_render_attributedstring.so: deferring to libdir
08-06 17:38:22.824  5884  5884 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libreact_render_componentregistry.so: deferring to libdir
08-06 17:38:22.824  5884  5884 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libreact_render_core.so: deferring to libdir
08-06 17:38:22.824  5884  5884 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libreact_render_debug.so: deferring to libdir
08-06 17:38:22.824  5884  5884 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libreact_render_graphics.so: deferring to libdir
08-06 17:38:22.824  5884  5884 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libreact_render_imagemanager.so: deferring to libdir
08-06 17:38:22.824  5884  5884 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libreact_render_leakchecker.so: deferring to libdir
08-06 17:38:22.824  5884  5884 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libreact_render_mapbuffer.so: deferring to libdir
08-06 17:38:22.824  5884  5884 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libreact_render_mounting.so: deferring to libdir
08-06 17:38:22.824  5884  5884 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libreact_render_runtimescheduler.so: deferring to libdir
08-06 17:38:22.824  5884  5884 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libreact_render_scheduler.so: deferring to libdir
08-06 17:38:22.824  5884  5884 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libreact_render_telemetry.so: deferring to libdir
08-06 17:38:22.824  5884  5884 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libreact_render_templateprocessor.so: deferring to libdir
08-06 17:38:22.824  5884  5884 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libreact_render_textlayoutmanager.so: deferring to libdir
08-06 17:38:22.824  5884  5884 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libreact_render_uimanager.so: deferring to libdir
08-06 17:38:22.824  5884  5884 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libreact_utils.so: deferring to libdir
08-06 17:38:22.824  5884  5884 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libreactnativeBigNumber.so: deferring to libdir
08-06 17:38:22.824  5884  5884 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libreactnativeblob.so: deferring to libdir
08-06 17:38:22.824  5884  5884 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libreactnativejni.so: deferring to libdir
08-06 17:38:22.825  5884  5884 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libreactnativeutilsjni.so: deferring to libdir
08-06 17:38:22.825  5884  5884 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libreactperfloggerjni.so: deferring to libdir
08-06 17:38:22.825  5884  5884 D ApkSoSource: not allowing consideration of lib/arm64-v8a/librrc_image.so: deferring to libdir
08-06 17:38:22.825  5884  5884 D ApkSoSource: not allowing consideration of lib/arm64-v8a/librrc_root.so: deferring to libdir
08-06 17:38:22.825  5884  5884 D ApkSoSource: not allowing consideration of lib/arm64-v8a/librrc_scrollview.so: deferring to libdir
08-06 17:38:22.825  5884  5884 D ApkSoSource: not allowing consideration of lib/arm64-v8a/librrc_text.so: deferring to libdir
08-06 17:38:22.825  5884  5884 D ApkSoSource: not allowing consideration of lib/arm64-v8a/librrc_textinput.so: deferring to libdir
08-06 17:38:22.825  5884  5884 D ApkSoSource: not allowing consideration of lib/arm64-v8a/librrc_unimplementedview.so: deferring to libdir
08-06 17:38:22.825  5884  5884 D ApkSoSource: not allowing consideration of lib/arm64-v8a/librrc_view.so: deferring to libdir
08-06 17:38:22.825  5884  5884 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libruntimeexecutor.so: deferring to libdir
08-06 17:38:22.825  5884  5884 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libssl.so: deferring to libdir
08-06 17:38:22.825  5884  5884 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libturbomodulejsijni.so: deferring to libdir
08-06 17:38:22.825  5884  5884 D ApkSoSource: not allowing consideration of lib/arm64-v8a/libyoga.so: deferring to libdir
08-06 17:38:22.825  5884  5884 V fb-UnpackingSoSource: regenerating DSO store com.facebook.soloader.ApkSoSource
08-06 17:38:22.849  5884  5884 V fb-UnpackingSoSource: Finished regenerating DSO store com.facebook.soloader.ApkSoSource
08-06 17:38:22.849  5884  5884 V fb-UnpackingSoSource: starting syncer worker
08-06 17:38:22.851  5884  5884 V fb-UnpackingSoSource: releasing dso store lock for /data/user/0/com.hellorn/lib-main (from syncer thread)
08-06 17:38:22.851  5884  5884 V fb-UnpackingSoSource: not releasing dso store lock for /data/user/0/com.hellorn/lib-main (syncer thread started)
08-06 17:38:22.854  5884  5884 D SoLoader: libjscexecutor.so not found on /data/data/com.hellorn/lib-main
08-06 17:38:22.854  5884  5884 D SoLoader: libjscexecutor.so found on /data/app/~~s_30c139w2D36fJqdTxhAw==/com.hellorn-g9_DOknE19CxYKfhNMfILg==/lib/arm64
08-06 17:38:22.854  5884  5884 D SoLoader: Not resolving dependencies for libjscexecutor.so
08-06 17:38:22.863  5884  5884 D JavaScriptCore.Version: 250230.2.1
08-06 17:38:22.890   520  4820 W ServiceManager: Permission failure: android.permission.HIGH_SAMPLING_RATE_SENSORS from uid=10167 pid=5884
08-06 17:38:22.892   520  4820 W ServiceManager: Permission failure: android.permission.HIGH_SAMPLING_RATE_SENSORS from uid=10167 pid=5884
08-06 17:38:22.892   520  4820 W ServiceManager: Permission failure: android.permission.HIGH_SAMPLING_RATE_SENSORS from uid=10167 pid=5884
08-06 17:38:22.896  5884  5908 D SoLoader: libfbjni.so not found on /data/data/com.hellorn/lib-main
08-06 17:38:22.896  5884  5908 D SoLoader: libfbjni.so found on /data/app/~~s_30c139w2D36fJqdTxhAw==/com.hellorn-g9_DOknE19CxYKfhNMfILg==/lib/arm64
08-06 17:38:22.896  5884  5908 D SoLoader: Not resolving dependencies for libfbjni.so
08-06 17:38:22.896  5884  5908 D SoLoader: libflipper.so not found on /data/data/com.hellorn/lib-main
08-06 17:38:22.896  5884  5908 D SoLoader: libflipper.so found on /data/app/~~s_30c139w2D36fJqdTxhAw==/com.hellorn-g9_DOknE19CxYKfhNMfILg==/lib/arm64
08-06 17:38:22.896  5884  5908 D SoLoader: Not resolving dependencies for libflipper.so
08-06 17:38:22.908  5884  5884 W com.hellorn: Accessing hidden field Landroid/view/View;->mKeyedTags:Landroid/util/SparseArray; (unsupported, reflection, allowed)
08-06 17:38:22.908  5884  5884 W com.hellorn: Accessing hidden field Landroid/view/View;->mListenerInfo:Landroid/view/View$ListenerInfo; (unsupported, reflection, allowed)
08-06 17:38:22.908  5884  5884 W com.hellorn: Accessing hidden field Landroid/view/View$ListenerInfo;->mOnClickListener:Landroid/view/View$OnClickListener; (unsupported, reflection, allowed)
08-06 17:38:22.910  5884  5884 I flipper : flipper: FlipperClient::addPlugin Inspector
08-06 17:38:22.910  5884  5884 I flipper : flipper: FlipperClient::addPlugin React
08-06 17:38:22.910  5884  5884 I flipper : flipper: FlipperClient::addPlugin Databases
08-06 17:38:22.911  5884  5884 I flipper : flipper: FlipperClient::addPlugin Preferences
08-06 17:38:22.911  5884  5884 I flipper : flipper: FlipperClient::addPlugin CrashReporter
08-06 17:38:22.911  5884  5884 I flipper : flipper: FlipperClient::addPlugin Network
08-06 17:38:22.916  5884  5923 D libEGL  : loaded /vendor/lib64/egl/libEGL_emulation.so
08-06 17:38:22.917  5884  5923 D libEGL  : loaded /vendor/lib64/egl/libGLESv1_CM_emulation.so
08-06 17:38:22.918  5884  5908 W System.err: SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
08-06 17:38:22.918  5884  5908 W System.err: SLF4J: Defaulting to no-operation (NOP) logger implementation
08-06 17:38:22.918  5884  5908 W System.err: SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
08-06 17:38:22.918  5884  5923 D libEGL  : loaded /vendor/lib64/egl/libGLESv2_emulation.so
08-06 17:38:22.938  5884  5884 W com.hellorn: Accessing hidden method Landroid/view/View;->computeFitSystemWindows(Landroid/graphics/Rect;Landroid/graphics/Rect;)Z (unsupported, reflection, allowed)
08-06 17:38:22.938  5884  5884 W com.hellorn: Accessing hidden method Landroid/view/ViewGroup;->makeOptionalFitsSystemWindows()V (unsupported, reflection, allowed)
08-06 17:38:22.947  5884  5884 W unknown:ReactNative: Packager connection already open, nooping.
08-06 17:38:22.952  5884  5921 D HostConnection: createUnique: call
08-06 17:38:22.952  5884  5921 D HostConnection: HostConnection::get() New Host Connection established 0xb400007be4e54190, tid 5921
08-06 17:38:22.953  5884  5921 D HostConnection: HostComposition ext ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_native_sync_v2 ANDROID_EMU_native_sync_v3 ANDROID_EMU_native_sync_v4 ANDROID_EMU_dma_v1 ANDROID_EMU_direct_mem ANDROID_EMU_host_composition_v1 ANDROID_EMU_host_composition_v2 ANDROID_EMU_vulkan ANDROID_EMU_deferred_vulkan_commands ANDROID_EMU_vulkan_null_optional_strings ANDROID_EMU_vulkan_create_resources_with_requirements ANDROID_EMU_YUV_Cache ANDROID_EMU_vulkan_ignored_handles ANDROID_EMU_has_shared_slots_host_memory_allocator ANDROID_EMU_vulkan_free_memory_sync ANDROID_EMU_vulkan_shader_float16_int8 ANDROID_EMU_vulkan_async_queue_submit ANDROID_EMU_vulkan_queue_submit_with_commands ANDROID_EMU_sync_buffer_data ANDROID_EMU_read_color_buffer_dma GL_OES_EGL_image_external_essl3 GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_host_side_tracing ANDROID_EMU_gles_max_version_3_0 
08-06 17:38:22.954  5884  5921 W OpenGLRenderer: Failed to choose config with EGL_SWAP_BEHAVIOR_PRESERVED, retrying without...
08-06 17:38:22.955  5884  5921 W OpenGLRenderer: Failed to initialize 101010-2 format, error = EGL_SUCCESS
08-06 17:38:22.955  5884  5921 D EGL_emulation: eglCreateContext: 0xb400007be4e53f50: maj 3 min 0 rcv 3
08-06 17:38:22.956  5884  5921 D EGL_emulation: eglMakeCurrent: 0xb400007be4e53f50: ver 3 0 (tinfo 0x7dfa73a080) (first time)
08-06 17:38:22.959  5884  5921 I Gralloc4: mapper 4.x is not supported
08-06 17:38:22.960  5884  5921 D HostConnection: createUnique: call
08-06 17:38:22.960  5884  5921 D HostConnection: HostConnection::get() New Host Connection established 0xb400007be4e52ed0, tid 5921
08-06 17:38:22.960  5884  5921 D goldfish-address-space: allocate: Ask for block of size 0x100
08-06 17:38:22.960  5884  5921 D goldfish-address-space: allocate: ioctl allocate returned offset 0x1f3ff8000 size 0x8000
08-06 17:38:22.961  5884  5921 W Gralloc4: allocator 4.x is not supported
08-06 17:38:22.963  5884  5921 D HostConnection: HostComposition ext ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_native_sync_v2 ANDROID_EMU_native_sync_v3 ANDROID_EMU_native_sync_v4 ANDROID_EMU_dma_v1 ANDROID_EMU_direct_mem ANDROID_EMU_host_composition_v1 ANDROID_EMU_host_composition_v2 ANDROID_EMU_vulkan ANDROID_EMU_deferred_vulkan_commands ANDROID_EMU_vulkan_null_optional_strings ANDROID_EMU_vulkan_create_resources_with_requirements ANDROID_EMU_YUV_Cache ANDROID_EMU_vulkan_ignored_handles ANDROID_EMU_has_shared_slots_host_memory_allocator ANDROID_EMU_vulkan_free_memory_sync ANDROID_EMU_vulkan_shader_float16_int8 ANDROID_EMU_vulkan_async_queue_submit ANDROID_EMU_vulkan_queue_submit_with_commands ANDROID_EMU_sync_buffer_data ANDROID_EMU_read_color_buffer_dma GL_OES_EGL_image_external_essl3 GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_host_side_tracing ANDROID_EMU_gles_max_version_3_0 
08-06 17:38:23.019  5884  5930 D SoLoader: libreactnativejni.so not found on /data/data/com.hellorn/lib-main
08-06 17:38:23.019  5884  5930 D SoLoader: libreactnativejni.so found on /data/app/~~s_30c139w2D36fJqdTxhAw==/com.hellorn-g9_DOknE19CxYKfhNMfILg==/lib/arm64
08-06 17:38:23.019  5884  5930 D SoLoader: Not resolving dependencies for libreactnativejni.so
08-06 17:38:23.029  5884  5930 W unknown:ReactContext: initializeMessageQueueThreads() is called.
08-06 17:38:23.032  5884  5884 W unknown:ReactNative: Packager connection already open, nooping.
08-06 17:38:23.044  5884  5932 W unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.drawer.ReactDrawerLayoutManager
08-06 17:38:23.046  5884  5932 W unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.uimanager.LayoutShadowNode
08-06 17:38:23.049  5884  5932 W unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.scroll.ReactHorizontalScrollViewManager
08-06 17:38:23.050  5884  5932 W unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.scroll.ReactHorizontalScrollContainerViewManager
08-06 17:38:23.050  5884  5932 W unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.progressbar.ReactProgressBarViewManager
08-06 17:38:23.051  5884  5932 W unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.progressbar.ProgressBarShadowNode
08-06 17:38:23.051  5884  5932 W unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.scroll.ReactScrollViewManager
08-06 17:38:23.053  5884  5932 W unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.slider.ReactSliderManager
08-06 17:38:23.053  5884  5932 W unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.slider.ReactSliderManager$ReactSliderShadowNode
08-06 17:38:23.053  5884  5932 W unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.switchview.ReactSwitchManager
08-06 17:38:23.054  5884  5932 W unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.switchview.ReactSwitchManager$ReactSwitchShadowNode
08-06 17:38:23.054  5884  5932 W unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.swiperefresh.SwipeRefreshLayoutManager
08-06 17:38:23.055  5884  5932 W unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.text.frescosupport.FrescoBasedReactTextInlineImageViewManager
08-06 17:38:23.055  5884  5932 W unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.text.frescosupport.FrescoBasedReactTextInlineImageShadowNode
08-06 17:38:23.055  5884  5932 W unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.image.ReactImageManager
08-06 17:38:23.056  5884  5932 W unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.modal.ReactModalHostManager
08-06 17:38:23.057  5884  5932 W unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.modal.ModalHostShadowNode
08-06 17:38:23.057  5884  5932 W unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.text.ReactRawTextManager
08-06 17:38:23.057  5884  5932 W unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.text.ReactRawTextShadowNode
08-06 17:38:23.057  5884  5932 W unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.textinput.ReactTextInputManager
08-06 17:38:23.059  5884  5932 W unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.textinput.ReactTextInputShadowNode
08-06 17:38:23.059  5884  5932 W unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.text.ReactTextViewManager
08-06 17:38:23.060  5884  5932 W unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.text.ReactTextShadowNode
08-06 17:38:23.060  5884  5932 W unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.view.ReactViewManager
08-06 17:38:23.061  5884  5932 W unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.text.ReactVirtualTextViewManager
08-06 17:38:23.061  5884  5932 W unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.text.ReactVirtualTextShadowNode
08-06 17:38:23.061  5884  5932 W unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.unimplementedview.ReactUnimplementedViewManager
08-06 17:38:23.065  5884  5932 W unknown:ReactContext: initializeMessageQueueThreads() is called.
08-06 17:38:23.065  5884  5932 D SoLoader: libyoga.so not found on /data/data/com.hellorn/lib-main
08-06 17:38:23.065  5884  5932 D SoLoader: libyoga.so found on /data/app/~~s_30c139w2D36fJqdTxhAw==/com.hellorn-g9_DOknE19CxYKfhNMfILg==/lib/arm64
08-06 17:38:23.065  5884  5932 D SoLoader: Not resolving dependencies for libyoga.so
08-06 17:38:23.076  5884  5932 I flipper : flipper: FlipperClient::addPlugin Fresco
08-06 17:38:23.111  5884  5931 D SoLoader: libreactnativeblob.so not found on /data/data/com.hellorn/lib-main
08-06 17:38:23.111  5884  5931 D SoLoader: libreactnativeblob.so found on /data/app/~~s_30c139w2D36fJqdTxhAw==/com.hellorn-g9_DOknE19CxYKfhNMfILg==/lib/arm64
08-06 17:38:23.111  5884  5931 D SoLoader: Not resolving dependencies for libreactnativeblob.so
08-06 17:38:23.118  5884  5932 I WebViewFactory: Loading com.google.android.webview version 91.0.4472.114 (code 447211484)
08-06 17:38:23.149  5884  5932 W com.hellorn: Accessing hidden method Landroid/os/Trace;->isTagEnabled(J)Z (unsupported, reflection, allowed)
08-06 17:38:23.149  5884  5932 W com.hellorn: Accessing hidden method Landroid/os/Trace;->traceBegin(JLjava/lang/String;)V (unsupported, reflection, allowed)
08-06 17:38:23.149  5884  5932 W com.hellorn: Accessing hidden method Landroid/os/Trace;->traceEnd(J)V (unsupported, reflection, allowed)
08-06 17:38:23.149  5884  5932 W com.hellorn: Accessing hidden method Landroid/os/Trace;->asyncTraceBegin(JLjava/lang/String;I)V (unsupported, reflection, allowed)
08-06 17:38:23.149  5884  5932 W com.hellorn: Accessing hidden method Landroid/os/Trace;->asyncTraceEnd(JLjava/lang/String;I)V (unsupported, reflection, allowed)
08-06 17:38:23.176  5884  5945 I cr_VariationsUtils: Failed reading seed file "/data/user/0/com.hellorn/app_webview/variations_seed_new"
08-06 17:38:23.176  5884  5945 I cr_VariationsUtils: Failed reading seed file "/data/user/0/com.hellorn/app_webview/variations_seed"
08-06 17:38:23.176  5884  5945 I cr_VariationsUtils: Requesting new seed from IVariationsSeedServer
08-06 17:38:23.191  5884  5932 I cr_LibraryLoader: Loaded native library version number "91.0.4472.114"
08-06 17:38:23.192  5884  5932 I cr_CachingUmaRecorder: Flushed 5 samples from 5 histograms.
08-06 17:38:23.205  5884  5931 I ReactNativeJS: Running "helloRN" with {"rootTag":1}
08-06 17:38:23.220  5884  5931 I BigNumber: Loading C++ library...
08-06 17:38:23.224  5884  5931 F libc    : Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 5931 (mqt_js), pid 5884 (com.hellorn)
08-06 17:38:23.254  5975  5975 I crash_dump64: performing dump of process 5884 (target tid = 5931)
08-06 17:38:23.417   180   180 I logd    : logdr: UID=10167 GID=10167 PID=5975 n tail=0 logMask=8 pid=5884 start=0ns deadline=0ns
08-06 17:38:23.418   180   180 I logd    : logdr: UID=10167 GID=10167 PID=5975 n tail=0 logMask=1 pid=5884 start=0ns deadline=0ns
08-06 17:38:23.416  5975  5975 F DEBUG   : pid: 5884, tid: 5931, name: mqt_js  >>> com.hellorn <<<
08-06 17:38:23.440   520  2891 I ActivityManager: Process com.hellorn (pid 5884) has died: fg  TOP 
08-06 17:38:23.440   520   554 I libprocessgroup: Successfully killed process cgroup uid 10167 pid 5884 in 0ms
08-06 17:38:23.441   310   310 I Zygote  : Process 5884 exited due to signal 6 (Aborted)
08-06 17:38:23.453   520   544 W ActivityManager: setHasOverlayUi called on unknown pid: 5884
kantorm commented 2 years ago

@mrousavy just so you know. The issue still persists on version 0.1.9

yoga-braavos commented 2 years ago

@kantorm , actually 0.1.9 fixed the problem on my side (https://github.com/margelo/react-native-bignumber/commit/581a7dc8907b8a5b6b1c9b85929fec617036c1ba)