Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App crashes on android only with signed apk on specific devices #49510

Open
barakataboujreich opened this issue Feb 19, 2025 · 27 comments
Open
Labels
Needs: Attention Issues where the author has responded to feedback. Needs: Triage 🔍 Platform: Android Android applications. Type: New Architecture Issues and PRs related to new architecture (Fabric/Turbo Modules)

Comments

@barakataboujreich
Copy link

Description

i am facing two different crashes when using a library that reports back to the app events through mEventEmitterCallback. the Library we are using is react-native-ble-manager.

The crash only happens on a signed apk and on some specific devices one of them is the A13(SM-A135F - SM-A137F). If i run the app with yarn android the app behaves normally and returns the scanned result. on the signed apk it crashes

first crash:
The app launches and i do not use it, it crashes after 50-60 seconds. after my investigation i deduced it is caused because of GC, so i temporarily fixed it by editing the library code, whenever the call a function in the SpecFile that uses mEventEmitterCallback, to check if it is not null, the crash disappeared. so i was able to fully investigate the second crash. will provide the tombstone file that led me to this conclusion

second crash:
The app subscribes to an event that returns a scanned device through ble. when i click the button to start scan, the app will crash when trying to report back a scanned device through mEventEmitterCallback.

now the firebase report was of no use:

Crashed: Thread: SIGSEGV  0x00000000c0deadc4
#00 pc 0x326534 libart.so (BuildId: d963fb24d06855807a6574ea74a2cf53)
#01 pc 0xba09eda6
#02 pc 0xba09e544
#03 pc 0xba09ed86
#04 pc 0x322dfe libart.so (BuildId: d963fb24d06855807a6574ea74a2cf53)
#05 pc 0xba09e544

so i investigated further with adb logcat and i was able to find where the crash was happening. Minified version of logcat:

2025-02-18	10:20:02.048	22972	22972	I		RNBleManager		DiscoverPeripheral: null
2025-02-18	10:20:02.057	2130	2397	D		BtGatt.GattService		onScanResult to scannerId: 3- eventType=0x1a, addressType=1, address=XX:XX:XX:XX:42:47, primaryPhy=1, secondaryPhy=0, advertisingSid=0xff, txPower=127, rssi=-78, periodicAdvInt=0x0
2025-02-18	10:20:02.127	2130	2397	D		BtGatt.GattService		onScanResult to scannerId: 3- eventType=0x10, addressType=1, address=XX:XX:XX:XX:3E:98, primaryPhy=1, secondaryPhy=0, advertisingSid=0xff, txPower=127, rssi=-58, periodicAdvInt=0x0
2025-02-18	10:20:02.264	22972	22972	F		libc		Fatal signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 0xc0deadc4 in tid 22972 (com.bletest), pid 22972 (com.bletest)
2025-02-18	10:20:02.340	23057	23057	I		crash_dump32		obtaining output fd from tombstoned, type: kDebuggerdTombstoneProto
2025-02-18	10:20:02.341	621	621	I		tombstoned		received crash request for pid 22972
2025-02-18	10:20:02.342	23057	23057	I		crash_dump32		performing dump of process 22972 (target tid = 22972)
2025-02-18	10:20:02.800	2130	2478	D		BtGatt.GattService		Binder is dead - unregistering scanner (3)!
2025-02-18	10:20:02.800	2130	2478	D		LeAppInfo		removeLeacReportedServerApp, appName: com.bletest
2025-02-18	10:20:02.801	802	802	I		Zygote		Process 22972 exited due to signal 11 (Segmentation fault)

since it is stating that the crash report is being dumped to tombstone, i ran adb.exe bugreport to pull the tombstone file and it contained

*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'samsung/a13vensser/a13ve:14/UP1A.231005.007/A137FXXU6EXG3:user/release-keys'
Revision: '1'
ABI: 'arm'
Processor: '1'
Timestamp: 2025-02-18 10:20:02.370105320+0000
Process uptime: 11s
Cmdline: com.bletest
pid: 22972, tid: 22972, name: com.bletest  >>> com.bletest <<<
uid: 10263
signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 0xc0deadc4
    r0  c0dead90  r1  e42ae809  r2  0000000d  r3  000000a5
    r4  fff61294  r5  fff61284  r6  fff61274  r7  0000206e
    r8  00000000  r9  e91baa00  r10 e1630e00  r11 ba09eda8
    ip  00000000  sp  fff61260  lr  e163454c  pc  e1634534

30 total frames
backtrace:
      #00 pc 00326534  /apex/com.android.art/lib/libart.so (nterp_op_invoke_virtual+52) (BuildId: d963fb24d06855807a6574ea74a2cf53)
      #01 pc 00876da8  /data/app/~~v5p35KBpWZ0nsdHyyvV0yQ==/com.bletest-7FoSQHRwBdIS8-dMoCMLFg==/oat/arm/base.vdex (it.innove.NativeBleManagerSpec.emitOnDiscoverPeripheral+16)
      #02 pc 0032c500  /apex/com.android.art/lib/libart.so (nterp_helper+2800) (BuildId: d963fb24d06855807a6574ea74a2cf53)
      #03 pc 00876546  /data/app/~~v5p35KBpWZ0nsdHyyvV0yQ==/com.bletest-7FoSQHRwBdIS8-dMoCMLFg==/oat/arm/base.vdex (it.innove.DefaultScanManager.onDiscoveredPeripheral+318)
      #04 pc 0032c500  /apex/com.android.art/lib/libart.so (nterp_helper+2800) (BuildId: d963fb24d06855807a6574ea74a2cf53)
      #05 pc 008763c4  /data/app/~~v5p35KBpWZ0nsdHyyvV0yQ==/com.bletest-7FoSQHRwBdIS8-dMoCMLFg==/oat/arm/base.vdex (it.innove.DefaultScanManager.-$$Nest$monDiscoveredPeripheral+0)
      #06 pc 0032ba48  /apex/com.android.art/lib/libart.so (nterp_helper+56) (BuildId: d963fb24d06855807a6574ea74a2cf53)
      #07 pc 00876234  /data/app/~~v5p35KBpWZ0nsdHyyvV0yQ==/com.bletest-7FoSQHRwBdIS8-dMoCMLFg==/oat/arm/base.vdex (it.innove.DefaultScanManager$2$1.run+12)
      #08 pc 005a2c87  /system/framework/arm/boot-framework.oat (android.os.Handler.dispatchMessage+70) (BuildId: 72d9f3b9c14393f5511d5220f35de6d6627160bb)
      #09 pc 005a5847  /system/framework/arm/boot-framework.oat (android.os.Looper.loopOnce+854) (BuildId: 72d9f3b9c14393f5511d5220f35de6d6627160bb)
      #10 pc 005a547f  /system/framework/arm/boot-framework.oat (android.os.Looper.loop+478) (BuildId: 72d9f3b9c14393f5511d5220f35de6d6627160bb)
      #11 pc 00383c9f  /system/framework/arm/boot-framework.oat (android.app.ActivityThread.main+1542) (BuildId: 72d9f3b9c14393f5511d5220f35de6d6627160bb)
      #12 pc 00143dd5  /apex/com.android.art/lib/libart.so (art_quick_invoke_stub_internal+68) (BuildId: d963fb24d06855807a6574ea74a2cf53)
      #13 pc 001bc1e1  /apex/com.android.art/lib/libart.so (void art::quick_invoke_reg_setup<true>(art::ArtMethod*, unsigned int*, unsigned int, art::Thread*, art::JValue*, char const*) (.__uniq.192663596067446536341070919852553954320.llvm.17112358095869631794)+112) (BuildId: d963fb24d06855807a6574ea74a2cf53)
      #14 pc 001bbd3f  /apex/com.android.art/lib/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+134) (BuildId: d963fb24d06855807a6574ea74a2cf53)
      #15 pc 0029e8f1  /apex/com.android.art/lib/libart.so (_jobject* art::InvokeMethod<(art::PointerSize)4>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jobject*, _jobject*, unsigned int)+1100) (BuildId: d963fb24d06855807a6574ea74a2cf53)
      #16 pc 004c433f  /apex/com.android.art/lib/libart.so (art::Method_invoke(_JNIEnv*, _jobject*, _jobject*, _jobjectArray*) (.__uniq.165753521025965369065708152063621506277)+22) (BuildId: d963fb24d06855807a6574ea74a2cf53)
      #17 pc 0009c179  /system/framework/arm/boot.oat (art_jni_trampoline+56) (BuildId: 6baf4648bfc29351da5cc24a455a4e1c5e4a4b5d)
      #18 pc 0088faed  /system/framework/arm/boot-framework.oat (com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run+116) (BuildId: 72d9f3b9c14393f5511d5220f35de6d6627160bb)
      #19 pc 00898603  /system/framework/arm/boot-framework.oat (com.android.internal.os.ZygoteInit.main+3034) (BuildId: 72d9f3b9c14393f5511d5220f35de6d6627160bb)
      #20 pc 00143dd5  /apex/com.android.art/lib/libart.so (art_quick_invoke_stub_internal+68) (BuildId: d963fb24d06855807a6574ea74a2cf53)
      #21 pc 001bc1e1  /apex/com.android.art/lib/libart.so (void art::quick_invoke_reg_setup<true>(art::ArtMethod*, unsigned int*, unsigned int, art::Thread*, art::JValue*, char const*) (.__uniq.192663596067446536341070919852553954320.llvm.17112358095869631794)+112) (BuildId: d963fb24d06855807a6574ea74a2cf53)
      #22 pc 001bbd3f  /apex/com.android.art/lib/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+134) (BuildId: d963fb24d06855807a6574ea74a2cf53)
      #23 pc 001ef055  /apex/com.android.art/lib/libart.so (art::JValue art::InvokeWithVarArgs<art::ArtMethod*>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, art::ArtMethod*, std::__va_list)+268) (BuildId: d963fb24d06855807a6574ea74a2cf53)
      #24 pc 00106599  /apex/com.android.art/lib/libart.so (art::JValue art::InvokeWithVarArgs<_jmethodID*>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, std::__va_list)+24) (BuildId: d963fb24d06855807a6574ea74a2cf53)
      #25 pc 004706af  /apex/com.android.art/lib/libart.so (art::JNI<true>::CallStaticVoidMethodV(_JNIEnv*, _jclass*, _jmethodID*, std::__va_list)+454) (BuildId: d963fb24d06855807a6574ea74a2cf53)
      #26 pc 000899d9  /system/lib/libandroid_runtime.so (_JNIEnv::CallStaticVoidMethod(_jclass*, _jmethodID*, ...)+20) (BuildId: e953cf0acaa62fa69ffe71cea5372e21)
      #27 pc 0009295d  /system/lib/libandroid_runtime.so (android::AndroidRuntime::start(char const*, android::Vector<android::String8> const&, bool)+512) (BuildId: e953cf0acaa62fa69ffe71cea5372e21)
      #28 pc 00002547  /system/bin/app_process32 (main+982) (BuildId: 518f3945cf61e7eeaf79c722821f237c)
      #29 pc 0005bde5  /apex/com.android.runtime/lib/bionic/libc.so (__libc_init+60) (BuildId: ac29b057fca6aa7ac9a9161d7c6d401f)

so the crash was happening in method emitOnDiscoverPeripheral and this method is generated in the Spec file and contains

protected final void emitOnDiscoverPeripheral(ReadableMap value) {
    mEventEmitterCallback.invoke("onDiscoverPeripheral", value);
  }

i was not able to go any further than this in my investigation. i will appreciate any help since i am forced to maintain to different projects so users are able to use our production app, one for android using old RN version with old architecture. and one for IOS using latest RN version new architecture.

Full adb logcat

adb bugreport dumpstate
crash 1 will be under FS/data/tombstones/tombstone_00
crash 2 will be under FS/data/tombstones/tombstone_01

i opened an issue also on the library git, and apparently other users are facing the same problem issue

i also tested with RN: 0.78.0-rc.5 same behavior reproducible RN 0.78

Steps to reproduce

1- generate a release apk by cd android && gradlew assembleRelease
2- go to Samsung Remote Test Lab sign in and get your free credits
3- search for device SM-A135F or SM-A137F and choose one from the list. it does not matter which android version or region, the crash happens on all devices in the list
4- upload the release apk to the device and install it
5- launch the app, wait for 40-50 seconds without doing anything and the app will crash on its own
6- click Scan bluetooth and the app will crash whenever it tries to report a scanned device nearby

React Native Version

0.77.1 / 0.78.0-rc.5

Affected Platforms

Runtime - Android

Areas

TurboModule - The New Native Module System

Output of npx @react-native-community/cli info

System:
  OS: Windows 11 10.0.26100
  CPU: (16) x64 Intel(R) Core(TM) i7-10700 CPU @ 2.90GHz
  Memory: 5.47 GB / 15.79 GB
Binaries:
  Node:
    version: 22.12.0
    path: C:\Program Files\nodejs\node.EXE
  Yarn:
    version: 1.22.22
    path: C:\Program Files\nodejs\yarn.CMD
  npm:
    version: 10.9.0
    path: C:\Program Files\nodejs\npm.CMD
  Watchman: Not Found
SDKs:
  Android SDK: Not Found
  Windows SDK: Not Found
IDEs:
  Android Studio: Not Found
  Visual Studio:
    - 16.11.33423.256 (Visual Studio Enterprise 2019)
Languages:
  Java: 17.0.12
  Ruby: Not Found
npmPackages:
  "@react-native-community/cli":
    installed: 15.0.1
    wanted: 15.0.1
  react:
    installed: 18.3.1
    wanted: 18.3.1
  react-native:
    installed: 0.77.1
    wanted: 0.77.1
  react-native-windows: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: true
  newArchEnabled: true
iOS:
  hermesEnabled: Not found
  newArchEnabled: Not found

Stacktrace or Logs

Crashed: Thread: SIGSEGV  0x00000000c0deadc4
#00 pc 0x326534 libart.so (BuildId: d963fb24d06855807a6574ea74a2cf53)
#01 pc 0xba09eda6
#02 pc 0xba09e544
#03 pc 0xba09ed86
#04 pc 0x322dfe libart.so (BuildId: d963fb24d06855807a6574ea74a2cf53)
#05 pc 0xba09e544

Reproducer

https://github.com/barakataboujreich/BleTestRn0.77

Screenshots and Videos

No response

@barakataboujreich barakataboujreich added Needs: Triage 🔍 Type: New Architecture Issues and PRs related to new architecture (Fabric/Turbo Modules) labels Feb 19, 2025
@react-native-bot react-native-bot added the Platform: Android Android applications. label Feb 19, 2025
@cortinico
Copy link
Contributor

i am facing two different crashes when using a library that reports back to the app events through mEventEmitterCallback. the Library we are using is react-native-ble-manager.

Have you tried to report the issue to the library first?

I really appreciate you sharing reproducer + steps to reproduce, but it's unlikely we'll be able to fix this. Also from the native stacktrace there are no mention of React Native at all.

@barakataboujreich
Copy link
Author

barakataboujreich commented Feb 19, 2025

i also opened an issue in the library git.

the stacktrace from firebase is useless. i only got to my conclusion from the tombstones which i attached.

i didn't put it as raw data since it is 4k+ lines...

#01 pc 00876da8 /data/app/~~v5p35KBpWZ0nsdHyyvV0yQ==/com.bletest-7FoSQHRwBdIS8-dMoCMLFg==/oat/arm/base.vdex (it.innove.NativeBleManagerSpec.emitOnDiscoverPeripheral+16)

here it clearly states that in the NativeBleManagerSpec the crash happened. which is autogenerated by codegen, and this is the function

protected final void emitOnDiscoverPeripheral(ReadableMap value) {
    mEventEmitterCallback.invoke("onDiscoverPeripheral", value);
  }

@cortinico
Copy link
Contributor

i also opened an issue in the library git.

Can you link it here?

@barakataboujreich
Copy link
Author

@cortinico did you have time to check the linked issue? we are still experiencing the crashes on samsung A13

@cortinico
Copy link
Contributor

we are still experiencing the crashes on samsung A13

Nope sorry I don't have that device and I can't really replicate this. Also is this a react-native-ble-manager only issue?

@barakataboujreich
Copy link
Author

barakataboujreich commented Mar 13, 2025

we are still experiencing the crashes on samsung A13

Nope sorry I don't have that device and I can't really replicate this. Also is this a react-native-ble-manager only issue?
@cortinico
i don't know if another library has the same issue. it is the only library we use in our app that implements codegen EventEmitter methods.

are there any suggestions to further debug this issue at least so we can move further?
i replaced
mEventEmitterCallback.invoke("onDiscoverPeripheral", value);
with
reactContext.getJSModule(DeviceEventManagerModule.RCTDeviceEventEmitter.class).emit("onDiscoverPeripheral", map);

and 90% of the crashes on A13 were solved. now we are receiving new crashes immediately on app launch. this is the latest stacktrace from A13 5G running android 13. any help is very appreciated.

*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
pid: 0, tid: 28044 >>> com.appbundleid <<<

backtrace:
  #00  pc 0x00000000001d8fcc  /apex/com.android.art/lib/libart.so (art::JValue art::InvokeVirtualOrInterfaceWithVarArgs<art::ArtMethod*>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, art::ArtMethod*, std::__va_list)+400)
  #01  pc 0x000000000041fbdb  /apex/com.android.art/lib/libart.so (art::JNI<false>::CallVoidMethodV(_JNIEnv*, _jobject*, _jmethodID*, std::__va_list)+498)
  #02  pc 0x0000000000274e8d  /data/app/~~m0rzToF8Zr0zJob9qhZdVg==/com.appbundleid-hJO_RWXSe0UsdsKujjyf8A==/base.apk!libreactnative.so (BuildId: 4e6d458e6184699e)
  #03  pc 0x000000000033af21  /data/app/~~m0rzToF8Zr0zJob9qhZdVg==/com.appbundleid-hJO_RWXSe0UsdsKujjyf8A==/base.apk!libreactnative.so (facebook::react::JavaTurboModule::setEventEmitterCallback(facebook::jni::alias_ref<_jobject*>)+332) (BuildId: 4e6d458e6184699e)
  #04  pc 0x0000000000194f73  /data/app/~~m0rzToF8Zr0zJob9qhZdVg==/com.appbundleid-hJO_RWXSe0UsdsKujjyf8A==/base.apk!libappmodules.so (facebook::react::NativeBleManagerSpecJSI::NativeBleManagerSpecJSI(facebook::react::JavaTurboModule::InitParams const&)+5918) (BuildId: 3ebbb3bb7f20ca07c553cea59bf2b12d09620ed0)
  #05  pc 0x0000000000197409  /data/app/~~m0rzToF8Zr0zJob9qhZdVg==/com.appbundleid-hJO_RWXSe0UsdsKujjyf8A==/base.apk!libappmodules.so (facebook::react::BleManagerSpec_ModuleProvider(std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > const&, facebook::react::JavaTurboModule::InitParams const&)+80) (BuildId: 3ebbb3bb7f20ca07c553cea59bf2b12d09620ed0)
  #06  pc 0x00000000001b9329  /data/app/~~m0rzToF8Zr0zJob9qhZdVg==/com.appbundleid-hJO_RWXSe0UsdsKujjyf8A==/base.apk!libappmodules.so (facebook::react::autolinking_ModuleProvider(std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> >, facebook::react::JavaTurboModule::InitParams const&)+456) (BuildId: 3ebbb3bb7f20ca07c553cea59bf2b12d09620ed0)
  #07  pc 0x00000000002066f9  /data/app/~~m0rzToF8Zr0zJob9qhZdVg==/com.appbundleid-hJO_RWXSe0UsdsKujjyf8A==/base.apk!libappmodules.so (facebook::react::javaModuleProvider(std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > const&, facebook::react::JavaTurboModule::InitParams const&)+160) (BuildId: 3ebbb3bb7f20ca07c553cea59bf2b12d09620ed0)
  #08  pc 0x0000000000206acf  /data/app/~~m0rzToF8Zr0zJob9qhZdVg==/com.appbundleid-hJO_RWXSe0UsdsKujjyf8A==/base.apk!libappmodules.so (std::__ndk1::__function::__func<std::__ndk1::shared_ptr<facebook::react::TurboModule> (*)(std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > const&, facebook::react::JavaTurboModule::InitParams const&), std::__ndk1::allocator<std::__ndk1::shared_ptr<facebook::react::TurboModule> (*)(std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > const&, facebook::react::JavaTurboModule::InitParams const&)>, std::__ndk1::shared_ptr<facebook::react::TurboModule> (std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > const&, facebook::react::JavaTurboModule::InitParams const&)>::operator()(std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > const&, facebook::react::JavaTurboModule::InitParams const&)+12) (BuildId: 3ebbb3bb7f20ca07c553cea59bf2b12d09620ed0)
  #09  pc 0x0000000000348453  /data/app/~~m0rzToF8Zr0zJob9qhZdVg==/com.appbundleid-hJO_RWXSe0UsdsKujjyf8A==/base.apk!libreactnative.so (facebook::react::DefaultTurboModuleManagerDelegate::getTurboModule(std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > const&, facebook::react::JavaTurboModule::InitParams const&)+94) (BuildId: 4e6d458e6184699e)
  #10  pc 0x000000000041bf2f  /data/app/~~m0rzToF8Zr0zJob9qhZdVg==/com.appbundleid-hJO_RWXSe0UsdsKujjyf8A==/base.apk!libreactnative.so (facebook::react::TurboModuleManager::getTurboModule(facebook::jni::alias_ref<facebook::jni::detail::JTypeFor<facebook::jni::HybridClass<facebook::react::TurboModuleManager, facebook::jni::detail::BaseHybridClass>::JavaPart, facebook::jni::JObject, void>::_javaobject*>, std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > const&, facebook::jsi::Runtime&)+1266) (BuildId: 4e6d458e6184699e)
  #11  pc 0x000000000041e511  /data/app/~~m0rzToF8Zr0zJob9qhZdVg==/com.appbundleid-hJO_RWXSe0UsdsKujjyf8A==/base.apk!libreactnative.so (BuildId: 4e6d458e6184699e)
  #12  pc 0x0000000000334fbb  /data/app/~~m0rzToF8Zr0zJob9qhZdVg==/com.appbundleid-hJO_RWXSe0UsdsKujjyf8A==/base.apk!libreactnative.so (facebook::react::TurboModuleBinding::getModule(facebook::jsi::Runtime&, std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > const&) const+46) (BuildId: 4e6d458e6184699e)
  #13  pc 0x000000000033538d  /data/app/~~m0rzToF8Zr0zJob9qhZdVg==/com.appbundleid-hJO_RWXSe0UsdsKujjyf8A==/base.apk!libreactnative.so (BuildId: 4e6d458e6184699e)
  #14  pc 0x000000000005f699  /data/app/~~m0rzToF8Zr0zJob9qhZdVg==/com.appbundleid-hJO_RWXSe0UsdsKujjyf8A==/base.apk!libhermes.so (BuildId: 173861007ee4f963357fb0651538cbb08836518d)
  #15  pc 0x000000000005f435  /data/app/~~m0rzToF8Zr0zJob9qhZdVg==/com.appbundleid-hJO_RWXSe0UsdsKujjyf8A==/base.apk!libhermes.so (BuildId: 173861007ee4f963357fb0651538cbb08836518d)
  #16  pc 0x0000000000064197  /data/app/~~m0rzToF8Zr0zJob9qhZdVg==/com.appbundleid-hJO_RWXSe0UsdsKujjyf8A==/base.apk!libhermes.so (BuildId: 173861007ee4f963357fb0651538cbb08836518d)
  #17  pc 0x000000000006fb5f  /data/app/~~m0rzToF8Zr0zJob9qhZdVg==/com.appbundleid-hJO_RWXSe0UsdsKujjyf8A==/base.apk!libhermes.so (BuildId: 173861007ee4f963357fb0651538cbb08836518d)
  #18  pc 0x0000000000070eb9  /data/app/~~m0rzToF8Zr0zJob9qhZdVg==/com.appbundleid-hJO_RWXSe0UsdsKujjyf8A==/base.apk!libhermes.so (BuildId: 173861007ee4f963357fb0651538cbb08836518d)
  #19  pc 0x0000000000070773  /data/app/~~m0rzToF8Zr0zJob9qhZdVg==/com.appbundleid-hJO_RWXSe0UsdsKujjyf8A==/base.apk!libhermes.so (BuildId: 173861007ee4f963357fb0651538cbb08836518d)
  #20  pc 0x0000000000076625  /data/app/~~m0rzToF8Zr0zJob9qhZdVg==/com.appbundleid-hJO_RWXSe0UsdsKujjyf8A==/base.apk!libhermes.so (BuildId: 173861007ee4f963357fb0651538cbb08836518d)
  #21  pc 0x000000000009697b  /data/app/~~m0rzToF8Zr0zJob9qhZdVg==/com.appbundleid-hJO_RWXSe0UsdsKujjyf8A==/base.apk!libhermes.so (BuildId: 173861007ee4f963357fb0651538cbb08836518d)
  #22  pc 0x0000000000056f85  /data/app/~~m0rzToF8Zr0zJob9qhZdVg==/com.appbundleid-hJO_RWXSe0UsdsKujjyf8A==/base.apk!libhermes.so (BuildId: 173861007ee4f963357fb0651538cbb08836518d)
  #23  pc 0x0000000000056e69  /data/app/~~m0rzToF8Zr0zJob9qhZdVg==/com.appbundleid-hJO_RWXSe0UsdsKujjyf8A==/base.apk!libhermes.so (facebook::hermes::HermesRuntime::evaluateJavaScriptWithSourceMap(std::__ndk1::shared_ptr<facebook::jsi::Buffer const> const&, std::__ndk1::shared_ptr<facebook::jsi::Buffer const> const&, std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > const&)+56) (BuildId: 173861007ee4f963357fb0651538cbb08836518d)
  #24  pc 0x000000000005796d  /data/app/~~m0rzToF8Zr0zJob9qhZdVg==/com.appbundleid-hJO_RWXSe0UsdsKujjyf8A==/base.apk!libhermes.so (BuildId: 173861007ee4f963357fb0651538cbb08836518d)
  #25  pc 0x000000000026d43f  /data/app/~~m0rzToF8Zr0zJob9qhZdVg==/com.appbundleid-hJO_RWXSe0UsdsKujjyf8A==/base.apk!libreactnative.so (BuildId: 4e6d458e6184699e)
  #26  pc 0x000000000038f165  /data/app/~~m0rzToF8Zr0zJob9qhZdVg==/com.appbundleid-hJO_RWXSe0UsdsKujjyf8A==/base.apk!libreactnative.so (facebook::react::Task::execute(facebook::jsi::Runtime&, bool)+232) (BuildId: 4e6d458e6184699e)
  #27  pc 0x000000000038e1d9  /data/app/~~m0rzToF8Zr0zJob9qhZdVg==/com.appbundleid-hJO_RWXSe0UsdsKujjyf8A==/base.apk!libreactnative.so (facebook::react::RuntimeScheduler_Modern::executeTask(facebook::jsi::Runtime&, facebook::react::Task&, bool) const+32) (BuildId: 4e6d458e6184699e)
  #28  pc 0x000000000038dc51  /data/app/~~m0rzToF8Zr0zJob9qhZdVg==/com.appbundleid-hJO_RWXSe0UsdsKujjyf8A==/base.apk!libreactnative.so (facebook::react::RuntimeScheduler_Modern::runEventLoopTick(facebook::jsi::Runtime&, facebook::react::Task&, std::__ndk1::chrono::time_point<std::__ndk1::chrono::steady_clock, std::__ndk1::chrono::duration<long long, std::__ndk1::ratio<1ll, 1000000000ll> > >)+104) (BuildId: 4e6d458e6184699e)
  #29  pc 0x000000000038defb  /data/app/~~m0rzToF8Zr0zJob9qhZdVg==/com.appbundleid-hJO_RWXSe0UsdsKujjyf8A==/base.apk!libreactnative.so (facebook::react::RuntimeScheduler_Modern::runEventLoop(facebook::jsi::Runtime&, bool)+98) (BuildId: 4e6d458e6184699e)
  #30  pc 0x000000000026bc1b  /data/app/~~m0rzToF8Zr0zJob9qhZdVg==/com.appbundleid-hJO_RWXSe0UsdsKujjyf8A==/base.apk!libreactnative.so (BuildId: 4e6d458e6184699e)
  #31  pc 0x00000000003b9d39  /data/app/~~m0rzToF8Zr0zJob9qhZdVg==/com.appbundleid-hJO_RWXSe0UsdsKujjyf8A==/base.apk!libreactnative.so (BuildId: 4e6d458e6184699e)
  #32  pc 0x000000000001184b  /data/app/~~m0rzToF8Zr0zJob9qhZdVg==/com.appbundleid-hJO_RWXSe0UsdsKujjyf8A==/base.apk!libfbjni.so (facebook::jni::detail::MethodWrapper<void (facebook::jni::JNativeRunnable::*)(), &(facebook::jni::JNativeRunnable::run()), facebook::jni::JNativeRunnable, void>::dispatch(facebook::jni::alias_ref<facebook::jni::detail::JTypeFor<facebook::jni::HybridClass<facebook::jni::JNativeRunnable, facebook::jni::JRunnable>::JavaPart, facebook::jni::JRunnable, void>::_javaobject*>)+58) (BuildId: fd0bd16cd9a2a75be30faefad2c816af2f5505d1)
  #33  pc 0x00000000000117c9  /data/app/~~m0rzToF8Zr0zJob9qhZdVg==/com.appbundleid-hJO_RWXSe0UsdsKujjyf8A==/base.apk!libfbjni.so (facebook::jni::detail::FunctionWrapper<void (*)(facebook::jni::alias_ref<facebook::jni::detail::JTypeFor<facebook::jni::HybridClass<facebook::jni::JNativeRunnable, facebook::jni::JRunnable>::JavaPart, facebook::jni::JRunnable, void>::_javaobject*>), facebook::jni::detail::JTypeFor<facebook::jni::HybridClass<facebook::jni::JNativeRunnable, facebook::jni::JRunnable>::JavaPart, facebook::jni::JRunnable, void>::_javaobject*, void>::call(_JNIEnv*, _jobject*, void (*)(facebook::jni::alias_ref<facebook::jni::detail::JTypeFor<facebook::jni::HybridClass<facebook::jni::JNativeRunnable, facebook::jni::JRunnable>::JavaPart, facebook::jni::JRunnable, void>::_javaobject*>))+32) (BuildId: fd0bd16cd9a2a75be30faefad2c816af2f5505d1)
  #34  pc 0x000000000004e04d  /data/app/~~m0rzToF8Zr0zJob9qhZdVg==/com.appbundleid-hJO_RWXSe0UsdsKujjyf8A==/oat/arm/base.odex (art_jni_trampoline+68)
  #35  pc 0x0000000000a2bdef  /data/misc/apexdata/com.android.art/dalvik-cache/arm/boot.oat (android.os.Handler.dispatchMessage+70)
  #36  pc 0x000000000032cdec  /apex/com.android.art/lib/libart.so (nterp_helper+2908)
  #37  pc 0x0000000000446118  /data/app/~~m0rzToF8Zr0zJob9qhZdVg==/com.appbundleid-hJO_RWXSe0UsdsKujjyf8A==/base.apk (com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage)
  #38  pc 0x0000000000a2f19b  /data/misc/apexdata/com.android.art/dalvik-cache/arm/boot.oat (android.os.Looper.loopOnce+882)
  #39  pc 0x0000000000a2ed9f  /data/misc/apexdata/com.android.art/dalvik-cache/arm/boot.oat (android.os.Looper.loop+1022)
  #40  pc 0x000000000032c33c  /apex/com.android.art/lib/libart.so (nterp_helper+172)
  #41  pc 0x00000000004466be  /data/app/~~m0rzToF8Zr0zJob9qhZdVg==/com.appbundleid-hJO_RWXSe0UsdsKujjyf8A==/base.apk (com.facebook.react.bridge.queue.MessageQueueThreadImpl.lambda$startNewBackgroundThread$2+70)
  #42  pc 0x000000000032c33c  /apex/com.android.art/lib/libart.so (nterp_helper+172)
  #43  pc 0x00000000004461b0  /data/app/~~m0rzToF8Zr0zJob9qhZdVg==/com.appbundleid-hJO_RWXSe0UsdsKujjyf8A==/base.apk (com.facebook.react.bridge.queue.MessageQueueThreadImpl$$ExternalSyntheticLambda1.run+4)
  #44  pc 0x00000000004be887  /data/misc/apexdata/com.android.art/dalvik-cache/arm/boot.oat (java.lang.Thread.run+70)
  #45  pc 0x00000000001443d5  /apex/com.android.art/lib/libart.so (art_quick_invoke_stub_internal+68)
  #46  pc 0x00000000001bc6fb  /apex/com.android.art/lib/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+466)
  #47  pc 0x0000000000235b9b  /apex/com.android.art/lib/libart.so (art::Thread::CreateCallback(void*)+2070)
  #48  pc 0x00000000000ad483  /apex/com.android.runtime/lib/bionic/libc.so (__pthread_start(void*)+40)
  #49  pc 0x000000000006459d  /apex/com.android.runtime/lib/bionic/libc.so (__start_thread+30)

@cortinico
Copy link
Contributor

Also is this a react-native-ble-manager only issue?

@barakataboujreich have you reported this issue to the library?

@barakataboujreich
Copy link
Author

@cortinico i reported this issue to the library, and is linked to this issue also, we did a workaround for now to be able to release the apps to the store.

But i do not think this is a library issue anymore, there is something wrong and i can't figure it out. i removed react-native-ble-manager, and followed this tutorial to add a turbo module and applied what was suggested here to add Event emission and installed the app through yarn run android --mode=release

the A13 on test lab kept crashing you can watch it here

a Motorola testing device and my personal phone does not crash you can watch it here

this is the basic code that i wrote. i do not know what to provide you more to be able to find out why the crash is happening

App.tsx

import React, {JSX} from "react";
import { useState } from "react";
import { Alert, EventSubscription, SafeAreaView, StatusBar, Text, Button } from "react-native";
import NativeCalculator from "./specs/NativeCalculator";

const App: () => JSX.Element = () => {
  const [result, setResult] = useState<number | null>(null);
  const listenerSubscription = React.useRef<null | EventSubscription>(null);

  React.useEffect(() => {
    listenerSubscription.current = NativeCalculator.onValueChanged((data) => { Alert.alert(`Result: ${data}`) });

    return  () => {
      listenerSubscription.current?.remove();
      listenerSubscription.current = null;
    }
  }, [])
  return (
    <SafeAreaView>
      <StatusBar barStyle={"dark-content"} />
      <Text style={{ marginLeft: 20, marginTop: 20 }}>
        3+7={result ?? "??"}
      </Text>
      <Button
        title="Compute"
        onPress={async () => {
          const value = await NativeCalculator.add(3, 7);
          setResult(value ?? null);
        }}
      />
    </SafeAreaView>
  );
};
export default App;

specs/NativeCalculator.ts

import type {TurboModule} from 'react-native';
import {TurboModuleRegistry} from 'react-native';
import type {EventEmitter} from 'react-native/Libraries/Types/CodegenTypes';

export interface Spec extends TurboModule {
    add(a: number, b: number): Promise<number>;
    readonly onValueChanged: EventEmitter<number>
}

export default TurboModuleRegistry.getEnforcing<Spec>(
  'NativeCalculator',
);

android\app\src\main\java\com\nativecalculator\NativeCalculatorModule.java

package com.nativecalculator;

import android.content.Context;
import android.content.SharedPreferences;

import com.facebook.react.bridge.Promise;
import com.nativecalculator.NativeCalculatorSpec;
import com.facebook.react.bridge.ReactApplicationContext;

public class NativeCalculatorModule extends NativeCalculatorSpec {

    public static final String NAME = "NativeCalculator";

    public NativeCalculatorModule(ReactApplicationContext reactContext) {
        super(reactContext);
    }

    @Override
    public String getName() {
        return NAME;
    }

    @Override
    public void add(double a, double b, Promise promise) {
        promise.resolve(a + b);
        emitOnValueChanged(a + b);
    }
}

android\app\src\main\java\com\nativecalculator\NativeCalculatorPackage.java

package com.nativecalculator;

import com.facebook.react.BaseReactPackage;
import com.facebook.react.bridge.NativeModule;
import com.facebook.react.bridge.ReactApplicationContext;
import com.facebook.react.module.model.ReactModuleInfo;
import com.facebook.react.module.model.ReactModuleInfoProvider;

import java.util.HashMap;
import java.util.Map;

public class NativeCalculatorPackage extends BaseReactPackage {

  @Override
  public NativeModule getModule(String name, ReactApplicationContext reactContext) {
    if (name.equals(NativeCalculatorModule.NAME)) {
      return new NativeCalculatorModule(reactContext);
    } else {
      return null;
    }
  }

  @Override
  public ReactModuleInfoProvider getReactModuleInfoProvider() {
    return new ReactModuleInfoProvider() {
      @Override
      public Map<String, ReactModuleInfo> getReactModuleInfos() {
        Map<String, ReactModuleInfo> map = new HashMap<>();
        map.put(NativeCalculatorModule.NAME, new ReactModuleInfo(
          NativeCalculatorModule.NAME,       // name
          NativeCalculatorModule.NAME,       // className
          false, // canOverrideExistingModule
          false, // needsEagerInit
          false, // isCXXModule
          true   // isTurboModule
        ));
        return map;
      }
    };
  }
}

package.json

{
  "name": "BleTest",
  "version": "0.0.1",
  "private": true,
  "scripts": {
    "android": "react-native run-android",
    "ios": "react-native run-ios",
    "lint": "eslint .",
    "start": "react-native start",
    "test": "jest"
  },
  "codegenConfig": {
    "name": "NativeCalculatorSpec",
    "type": "modules",
    "jsSrcsDir": "specs",
    "android": {
      "javaPackageName": "com.nativecalculator"
    }
  },
  "dependencies": {
    "@react-native-firebase/app": "^21.11.0",
    "@react-native-firebase/crashlytics": "^21.11.0",
    "react": "19.0.0",
    "react-native": "0.78.1"
  },
  "devDependencies": {
    "@babel/core": "^7.25.2",
    "@babel/preset-env": "^7.25.3",
    "@babel/runtime": "^7.25.0",
    "@react-native-community/cli": "15.0.1",
    "@react-native-community/cli-platform-android": "15.0.1",
    "@react-native-community/cli-platform-ios": "15.0.1",
    "@react-native/babel-preset": "0.78.1",
    "@react-native/eslint-config": "0.78.1",
    "@react-native/metro-config": "0.78.1",
    "@react-native/typescript-config": "0.78.1",
    "@types/jest": "^29.5.13",
    "@types/react": "^19.0.0",
    "@types/react-test-renderer": "^19.0.0",
    "eslint": "^8.19.0",
    "jest": "^29.6.3",
    "prettier": "2.8.8",
    "react-test-renderer": "19.0.0",
    "typescript": "5.0.4"
  },
  "engines": {
    "node": ">=18"
  }
}

crash log

	DEBUG		***
2025-03-28	00:50:14.772	32672	32672	F		DEBUG		Build fingerprint: 'samsung/a13ks/a13:13/TP1A.220624.014/A135NKSS5CWK1:user/release-keys'
2025-03-28	00:50:14.772	32672	32672	F		DEBUG		Revision: '6'
2025-03-28	00:50:14.772	32672	32672	F		DEBUG		ABI: 'arm'
2025-03-28	00:50:14.772	32672	32672	F		DEBUG		Processor: '7'
2025-03-28	00:50:14.772	32672	32672	F		DEBUG		Timestamp: 2025-03-28 00:50:14.039803377+0900
2025-03-28	00:50:14.772	32672	32672	F		DEBUG		Process uptime: 6s
2025-03-28	00:50:14.772	32672	32672	F		DEBUG		Cmdline: com.bletest
2025-03-28	00:50:14.772	32672	32672	F		DEBUG		pid: 32502, tid: 32564, name: mqt_v_native  >>> com.bletest <<<
2025-03-28	00:50:14.772	32672	32672	F		DEBUG		uid: 10254
2025-03-28	00:50:14.772	32672	32672	F		DEBUG		signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 0x71605a68
2025-03-28	00:50:14.772	32672	32672	F		DEBUG		r0  6f8b11a8  r1  13337440  r2  00000001  r3  0000000c
2025-03-28	00:50:14.772	32672	32672	F		DEBUG		r4  ba2b36c0  r5  ba2b36b8  r6  ba2b36b0  r7  0000106e
2025-03-28	00:50:14.772	32672	32672	F		DEBUG		r8  00000000  r9  e6268a00  r10 e44ec880  r11 e3f67cd0
2025-03-28	00:50:14.772	32672	32672	F		DEBUG		ip  20000000  sp  ba2b36a0  lr  e44f6038  pc  71605a68
2025-03-28	00:50:14.772	32672	32672	F		DEBUG		backtrace:
2025-03-28	00:50:14.772	32672	32672	F		DEBUG		#00 pc 00132a68  [anon:dalvik-zygote space]
2025-03-28	00:50:14.773	32672	32672	F		DEBUG		#01 pc 000ee034  /apex/com.android.art/lib/libart.so (nterp_helper+2980) (BuildId: 72acbd633b92a2d8c94a7758a3f31f4a)
2025-03-28	00:50:14.773	32672	32672	F		DEBUG		#02 pc 000f5cd0  /apex/com.android.art/javalib/core-oj.jar (java.lang.Thread.countStackFrames+0)
2025-03-28	00:50:14.773	32672	32672	F		DEBUG		#03 pc 000edf80  /apex/com.android.art/lib/libart.so (nterp_helper+2800) (BuildId: 72acbd633b92a2d8c94a7758a3f31f4a)
2025-03-28	00:50:14.773	32672	32672	F		DEBUG		#04 pc 0047752c  /data/app/~~y7qv6zOqPzV1IoiGCuOupg==/com.bletest-KoDo3zH1O-LfYntaaMLrwQ==/oat/arm/base.vdex (com.nativecalculator.NativeCalculatorSpec.emitOnValueChanged+24)
2025-03-28	00:50:14.773	32672	32672	F		DEBUG		#05 pc 000edf80  /apex/com.android.art/lib/libart.so (nterp_helper+2800) (BuildId: 72acbd633b92a2d8c94a7758a3f31f4a)
2025-03-28	00:50:14.773	32672	32672	F		DEBUG		#06 pc 00477408  /data/app/~~y7qv6zOqPzV1IoiGCuOupg==/com.bletest-KoDo3zH1O-LfYntaaMLrwQ==/oat/arm/base.vdex (com.nativecalculator.NativeCalculatorModule.add+16)
2025-03-28	00:50:14.773	32672	32672	F		DEBUG		#07 pc 003bdbd5  /apex/com.android.art/lib/libart.so (art_quick_invoke_stub_internal+68) (BuildId: 72acbd633b92a2d8c94a7758a3f31f4a)
2025-03-28	00:50:14.773	32672	32672	F		DEBUG		#08 pc 003bd677  /apex/com.android.art/lib/libart.so (void art::quick_invoke_reg_setup<false>(art::ArtMethod*, unsigned int*, unsigned int, art::Thread*, art::JValue*, char const*) (.__uniq.192663596067446536341070919852553954320.llvm.16200230356545185596)+158) (BuildId: 72acbd633b92a2d8c94a7758a3f31f4a)
2025-03-28	00:50:14.773	32672	32672	F		DEBUG		#09 pc 00288f1d  /apex/com.android.art/lib/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+136) (BuildId: 72acbd633b92a2d8c94a7758a3f31f4a)
2025-03-28	00:50:14.773	32672	32672	F		DEBUG		#10 pc 003128a9  /apex/com.android.art/lib/libart.so (art::(anonymous namespace)::InvokeWithArgArray(art::ScopedObjectAccessAlreadyRunnable const&, art::ArtMethod*, art::(anonymous namespace)::ArgArray*, art::JValue*, char const*) (.__uniq.245181933781456475607640333933569312899.llvm.1951482298021755071)+40) (BuildId: 72acbd633b92a2d8c94a7758a3f31f4a)
2025-03-28	00:50:14.773	32672	32672	F		DEBUG		#11 pc 003127b5  /apex/com.android.art/lib/libart.so (art::JValue art::InvokeVirtualOrInterfaceWithJValues<art::ArtMethod*>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, art::ArtMethod*, jvalue const*)+164) (BuildId: 72acbd633b92a2d8c94a7758a3f31f4a)
2025-03-28	00:50:14.773	32672	32672	F		DEBUG		#12 pc 0033dc8b  /apex/com.android.art/lib/libart.so (art::JValue art::InvokeVirtualOrInterfaceWithJValues<_jmethodID*>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, jvalue const*)+42) (BuildId: 72acbd633b92a2d8c94a7758a3f31f4a)
2025-03-28	00:50:14.773	32672	32672	F		DEBUG		#13 pc 0045fa45  /apex/com.android.art/lib/libart.so (art::JNI<false>::CallVoidMethodA(_JNIEnv*, _jobject*, _jmethodID*, jvalue const*)+84) (BuildId: 72acbd633b92a2d8c94a7758a3f31f4a)
2025-03-28	00:50:14.773	32672	32672	F		DEBUG		#14 pc 0031e8fd  /data/app/~~y7qv6zOqPzV1IoiGCuOupg==/com.bletest-KoDo3zH1O-LfYntaaMLrwQ==/base.apk!libreactnative.so (BuildId: ed48fa53d517301d)
2025-03-28	00:50:14.773	32672	32672	F		DEBUG		#15 pc 00397f45  /data/app/~~y7qv6zOqPzV1IoiGCuOupg==/com.bletest-KoDo3zH1O-LfYntaaMLrwQ==/base.apk!libreactnative.so (BuildId: ed48fa53d517301d)
2025-03-28	00:50:14.773	32672	32672	F		DEBUG		#16 pc 000106a3  /data/app/~~y7qv6zOqPzV1IoiGCuOupg==/com.bletest-KoDo3zH1O-LfYntaaMLrwQ==/base.apk!libfbjni.so (facebook::jni::detail::MethodWrapper<void (facebook::jni::JNativeRunnable::*)(), &(facebook::jni::JNativeRunnable::run()), facebook::jni::JNativeRunnable, void>::dispatch(facebook::jni::alias_ref<facebook::jni::detail::JTypeFor<facebook::jni::HybridClass<facebook::jni::JNativeRunnable, facebook::jni::JRunnable>::JavaPart, facebook::jni::JRunnable, void>::_javaobject*>)+54) (BuildId: bc1f23c0c45e1c7ad496193c948e61d7f39b15e9)
2025-03-28	00:50:14.773	32672	32672	F		DEBUG		#17 pc 0001061d  /data/app/~~y7qv6zOqPzV1IoiGCuOupg==/com.bletest-KoDo3zH1O-LfYntaaMLrwQ==/base.apk!libfbjni.so (facebook::jni::detail::FunctionWrapper<void (*)(facebook::jni::alias_ref<facebook::jni::detail::JTypeFor<facebook::jni::HybridClass<facebook::jni::JNativeRunnable, facebook::jni::JRunnable>::JavaPart, facebook::jni::JRunnable, void>::_javaobject*>), facebook::jni::detail::JTypeFor<facebook::jni::HybridClass<facebook::jni::JNativeRunnable, facebook::jni::JRunnable>::JavaPart, facebook::jni::JRunnable, void>::_javaobject*, void>::call(_JNIEnv*, _jobject*, void (*)(facebook::jni::alias_ref<facebook::jni::detail::JTypeFor<facebook::jni::HybridClass<facebook::jni::JNativeRunnable, facebook::jni::JRunnable>::JavaPart, facebook::jni::JRunnable, void>::_javaobject*>))+32) (BuildId: bc1f23c0c45e1c7ad496193c948e61d7f39b15e9)
2025-03-28	00:50:14.773	32672	32672	F		DEBUG		#18 pc 0002abc5  /data/app/~~y7qv6zOqPzV1IoiGCuOupg==/com.bletest-KoDo3zH1O-LfYntaaMLrwQ==/oat/arm/base.odex (art_jni_trampoline+68)
2025-03-28	00:50:14.773	32672	32672	F		DEBUG		#19 pc 004d3093  /system/framework/arm/boot-framework.oat (android.os.Handler.dispatchMessage+74) (BuildId: 14300ad3095f9cc733ab5653af305b42677ec5ae)
2025-03-28	00:50:14.773	32672	32672	F		DEBUG		#20 pc 000edfec  /apex/com.android.art/lib/libart.so (nterp_helper+2908) (BuildId: 72acbd633b92a2d8c94a7758a3f31f4a)
2025-03-28	00:50:14.773	32672	32672	F		DEBUG		#21 pc 0033327c  /data/app/~~y7qv6zOqPzV1IoiGCuOupg==/com.bletest-KoDo3zH1O-LfYntaaMLrwQ==/oat/arm/base.vdex (com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage+0)
2025-03-28	00:50:14.773	32672	32672	F		DEBUG		#22 pc 004d588f  /system/framework/arm/boot-framework.oat (android.os.Looper.loopOnce+894) (BuildId: 14300ad3095f9cc733ab5653af305b42677ec5ae)
2025-03-28	00:50:14.774	32672	32672	F		DEBUG		#23 pc 004d5499  /system/framework/arm/boot-framework.oat (android.os.Looper.loop+488) (BuildId: 14300ad3095f9cc733ab5653af305b42677ec5ae)
2025-03-28	00:50:14.774	32672	32672	F		DEBUG		#24 pc 000ed53c  /apex/com.android.art/lib/libart.so (nterp_helper+172) (BuildId: 72acbd633b92a2d8c94a7758a3f31f4a)
2025-03-28	00:50:14.774	32672	32672	F		DEBUG		#25 pc 00333822  /data/app/~~y7qv6zOqPzV1IoiGCuOupg==/com.bletest-KoDo3zH1O-LfYntaaMLrwQ==/oat/arm/base.vdex (com.facebook.react.bridge.queue.MessageQueueThreadImpl.lambda$startNewBackgroundThread$2+70)
2025-03-28	00:50:14.774	32672	32672	F		DEBUG		#26 pc 000ed53c  /apex/com.android.art/lib/libart.so (nterp_helper+172) (BuildId: 72acbd633b92a2d8c94a7758a3f31f4a)
2025-03-28	00:50:14.774	32672	32672	F		DEBUG		#27 pc 00333314  /data/app/~~y7qv6zOqPzV1IoiGCuOupg==/com.bletest-KoDo3zH1O-LfYntaaMLrwQ==/oat/arm/base.vdex (com.facebook.react.bridge.queue.MessageQueueThreadImpl$$ExternalSyntheticLambda1.run+4)
2025-03-28	00:50:14.774	32672	32672	F		DEBUG		#28 pc 0014ba0f  /system/framework/arm/boot.oat (java.lang.Thread.run+70) (BuildId: bd7c4a5c0fb25656f024e500f6905e89ccd8cf60)
2025-03-28	00:50:14.774	32672	32672	F		DEBUG		#29 pc 003bdbd5  /apex/com.android.art/lib/libart.so (art_quick_invoke_stub_internal+68) (BuildId: 72acbd633b92a2d8c94a7758a3f31f4a)
2025-03-28	00:50:14.774	32672	32672	F		DEBUG		#30 pc 003bd677  /apex/com.android.art/lib/libart.so (void art::quick_invoke_reg_setup<false>(art::ArtMethod*, unsigned int*, unsigned int, art::Thread*, art::JValue*, char const*) (.__uniq.192663596067446536341070919852553954320.llvm.16200230356545185596)+158) (BuildId: 72acbd633b92a2d8c94a7758a3f31f4a)
2025-03-28	00:50:14.774	32672	32672	F		DEBUG		#31 pc 00288f1d  /apex/com.android.art/lib/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+136) (BuildId: 72acbd633b92a2d8c94a7758a3f31f4a)
2025-03-28	00:50:14.774	32672	32672	F		DEBUG		#32 pc 003128a9  /apex/com.android.art/lib/libart.so (art::(anonymous namespace)::InvokeWithArgArray(art::ScopedObjectAccessAlreadyRunnable const&, art::ArtMethod*, art::(anonymous namespace)::ArgArray*, art::JValue*, char const*) (.__uniq.245181933781456475607640333933569312899.llvm.1951482298021755071)+40) (BuildId: 72acbd633b92a2d8c94a7758a3f31f4a)
2025-03-28	00:50:14.774	32672	32672	F		DEBUG		#33 pc 003127b5  /apex/com.android.art/lib/libart.so (art::JValue art::InvokeVirtualOrInterfaceWithJValues<art::ArtMethod*>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, art::ArtMethod*, jvalue const*)+164) (BuildId: 72acbd633b92a2d8c94a7758a3f31f4a)
2025-03-28	00:50:14.774	32672	32672	F		DEBUG		#34 pc 0033dc8b  /apex/com.android.art/lib/libart.so (art::JValue art::InvokeVirtualOrInterfaceWithJValues<_jmethodID*>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, jvalue const*)+42) (BuildId: 72acbd633b92a2d8c94a7758a3f31f4a)
2025-03-28	00:50:14.774	32672	32672	F		DEBUG		#35 pc 002f0bad  /apex/com.android.art/lib/libart.so (art::Thread::CreateCallback(void*)+424) (BuildId: 72acbd633b92a2d8c94a7758a3f31f4a)
2025-03-28	00:50:14.774	32672	32672	F		DEBUG		#36 pc 000ade0b  /apex/com.android.runtime/lib/bionic/libc.so (__pthread_start(void*)+40) (BuildId: ab9eb3f965a77a04086244c6ba4e1c11)
2025-03-28	00:50:14.774	32672	32672	F		DEBUG		#37 pc 00063e73  /apex/com.android.runtime/lib/bionic/libc.so (__start_thread+30) (BuildId: ab9eb3f965a77a04086244c6ba4e1c11)

@mikehardy
Copy link
Contributor

@barakataboujreich did you link your reproduction? There is also a reproducer template that you can start with that helps a lot when asking core team to troubleshoot something --> https://github.com/react-native-community/reproducer-react-native/

Highly recommend doing the "Use this template" button thing there to clone it out, then apply your minimal changes to add a TurboModule and EventEmitter, and ideally make it so just hitting a single button on the app will make it crash (on Android Go I guess?)

@barakataboujreich
Copy link
Author

@mikehardy i created a reproducer with "Use this template" button.

i was not able to test on android Go since i do not have a real device and there is no official image from google to create an emulator with android go...

i was able to test on samsung a13 real device and on samsung test lab search for SM-A135N-KR1

run the app with yarn run android --mode=release

default behavior on samsung s22 ultra:
click compute an Alert with "Result: 10" should be visible

behavior 1 on samsung a13:
click compute, app crashes within 2-3 seconds

behavior 2 on samsung a13:
click compute, the Alert will not be shown, after around 5-10 seconds. press the home button to put the app in the background, the app will crash

if running the debug apk the app will not crash and the Alert will be visible

@cortinico
Copy link
Contributor

Thanks for sharing this @barakataboujreich

the A13 on test lab kept crashing you can watch it here

Just to set expectations, I won't be able to test it on A13 (as I don't have it) and I can't sign up for the cloud testing service.

Unless we manage to reproduce it on a emulator or on a Pixel device, there is nothing much we can do here sadly

@mikehardy
Copy link
Contributor

@cortinico strange that accessing the Samsung test lab is a barrier - Meta policy against something in their T&Cs ? That isn't really important if it's an impasse though I guess

@barakataboujreich perhaps you can try to tease apart what the differences between a release and debug build are to identify what about the release build crashes while the debug build doesn't. Have you tried disabling minification / proguard in the build.gradle file? Is it possible to disable library strip in build.gradle (e.g. https://stackoverflow.com/a/42269046). Both of those steps may yield no change, but the general idea of converging from release to debug until it affects the crash behavior might be a useful way to find the problem

@barakataboujreich
Copy link
Author

@mikehardy as i am not an android developer, i know my way around android studio as for sample apps, but i do not have any experience with building a native production app, i tried with the help of AI i set enableProguardInReleaseBuilds in build.gradle to true, and i tried to disable minifying any facebook library in proguard-rules.pro but to no avail, the app kept crashing.

i will try and keep researching maybe i will find the issue and the difference between release and debug app, and maybe to replicate the issue on an emulator by tweaking around in the settings, as this is not a minor issue we were receiving crash reports in the hundreds per day and not only the A13 but A13 5G, A03 Core, A11, Moto G Pure, Lenovo Tab M8 and then we pulled the plug and reverted back to old rn version with old architecture enabled

for now we found a way to use the old event emitters in turbo module (i guess they are kept for backward compatibility, i do not know when they will become deprecated in the future) and remove any reference to the new event emitters from the spec.tsx file and the app does not crash and behave as normal, but i am not super comfortable releasing the app with such changes as it's like a pandora box

@0x13b
Copy link

0x13b commented Apr 2, 2025

Hi guys. I reproduced the issue using either Xiaomi POCO C61 (real device) and Samsung A13 (via Samsung test lab). While crashing on these two devices, the release version of my react-native app worked fine and did not crash on Samsung Galaxy A52, Galaxy M32, OnePlus 9, Xiaomi Redmi Note 8 Pro.

My app includes react-native-ble-manager@12 that uses new event emitters via turbo module. It crashes only in release and works stable in debug (please see the report). When switched back to old event emitters in a turbo module, my app works fine in release without crashing.

Unfortunately, I don't have deep android / react-native knowledge to beat the issue. It does NOT look like an issue of the ble library in use, but rather relates to a device (only low-end devices crash) and to react-native itself.

@cortinico, it's so sad to hear that you cannot sign up at Samsung test lab.

@cortinico
Copy link
Contributor

@cortinico strange that accessing the Samsung test lab is a barrier - Meta policy against something in their T&Cs ? That isn't really important if it's an impasse though I guess

Correct.

I still don't fully understand if the issue is happening on a empty app on Samsung A13 or if it's specific to react-native-ble-manager.

If the problem is the former it looks serious, and I can look into an alternative to continue the investigation

@mikehardy
Copy link
Contributor

@cortinico my take was that this is serious - that is, react-native-ble-manager triggered it - yes - but then @barakataboujreich did the hard work to reproduce with nothing but a minimal TurboModule that does nothing more than emit an event, and it triggers it as well. The implication is that on ... low-resource phones? ... any TurboModule in New Architecture on Android can crash any time it emits an event. That seems serious

@barakataboujreich
Copy link
Author

barakataboujreich commented Apr 2, 2025

@cortinico @mikehardy that was also my first thought that react-native-ble-manager was causing the issue somehow with invalid handling of the events that is why i opened a ticket first at the library repository.

but i decided to investigate further into the issue and created a simple app with a turbo module with one function that takes two numbers, sums them and return the result through promise and event. on my personal phone and company testing devices the app behave normal and the event is captured successfully.

the A13 on android 12 to 14 the app crashes in 2 behaviors:

  • press compute button, app crashes within 1-3 seconds
  • press compute button, promise is fulfilled, but the event subscribed to does not receive any callback, pressing the home button (app will become in background. my guess GC runs) will crash the app immediately

this is the reproducer for the minimal app with the calculator turbo module

i spent the whole day today to try and replicate the issue on android studio emulator by tweaking the settings, but the app is not crashing no matter what i do. then i tried on browserstack to try and find a pixel device that will crash, but also to no avail.

and while testing on browserstack to my surprise is that i found a new behavior also on samsung devices, the galaxy a10 android 9, galaxy a11 android 10, LG android 8.1, crashes immediately on app start, i do not even need to do any action, emulator with same android version does not crash.

can it be a node version, npm version, java version that is causing the issue?

@cortinico
Copy link
Contributor

Thanks for the context. Yes this is worthy more investigation given it happens on a simple module. @barakataboujreich what's the crash log? Could you get the full adb logcat output?

@barakataboujreich
Copy link
Author

@cortinico i uploaded 2 files for the two different behaviors. i am sorry they are 10k+ lines, test lab is writing too much logs but i tried to analyze as much as i can the files and i will try to point to the crash log in every file


- behavior press compute button, promise is fulfilled, but the event subscribed to does not receive any callback, pressing the home button (app will become in background. my guess GC runs) will crash the app immediately:
full-log-file.txt


crash start at line 8290

2025-04-03	02:35:46.051	18640	18682	F		libc		Fatal signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 0x72abca50 in tid 18682 (mqt_v_native), pid 18640 (m.reproducerapp)

crash log at line 8694

2025-04-03	02:35:46.997	18874	18874	F		DEBUG		***
2025-04-03	02:35:46.997	18874	18874	F		DEBUG		Build fingerprint: 'samsung/a13ks/a13:13/TP1A.220624.014/A135NKSS5CWK1:user/release-keys'
2025-04-03	02:35:46.997	18874	18874	F		DEBUG		Revision: '6'
2025-04-03	02:35:46.997	18874	18874	F		DEBUG		ABI: 'arm'
2025-04-03	02:35:46.997	18874	18874	F		DEBUG		Processor: '1'
2025-04-03	02:35:46.997	18874	18874	F		DEBUG		Timestamp: 2025-04-03 02:35:46.197172415+0900
2025-04-03	02:35:46.997	18874	18874	F		DEBUG		Process uptime: 12s
2025-04-03	02:35:46.998	18874	18874	F		DEBUG		Cmdline: com.reproducerapp
2025-04-03	02:35:46.998	18874	18874	F		DEBUG		pid: 18640, tid: 18682, name: mqt_v_native  >>> com.reproducerapp <<<
2025-04-03	02:35:46.998	18874	18874	F		DEBUG		uid: 10253
2025-04-03	02:35:46.998	18874	18874	F		DEBUG		signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 0x72abca50
2025-04-03	02:35:46.998	18874	18874	F		DEBUG		r0  70d681a8  r1  12fb93f0  r2  00000001  r3  0000000c
2025-04-03	02:35:46.998	18874	18874	F		DEBUG		r4  c6f806c0  r5  c6f806b8  r6  c6f806b0  r7  0000106e
2025-04-03	02:35:46.998	18874	18874	F		DEBUG		r8  00000000  r9  f2306000  r10 f00f5880  r11 efb16cd0
2025-04-03	02:35:46.998	18874	18874	F		DEBUG		ip  20000000  sp  c6f806a0  lr  f00ff038  pc  72abca50
2025-04-03	02:35:46.999	18874	18874	F		DEBUG		backtrace:
2025-04-03	02:35:46.999	18874	18874	F		DEBUG		#00 pc 00132a50  [anon:dalvik-zygote space]
2025-04-03	02:35:46.999	18874	18874	F		DEBUG		#01 pc 000ee034  /apex/com.android.art/lib/libart.so (nterp_helper+2980) (BuildId: 72acbd633b92a2d8c94a7758a3f31f4a)
2025-04-03	02:35:46.999	18874	18874	F		DEBUG		#02 pc 000f5cd0  /apex/com.android.art/javalib/core-oj.jar (java.lang.Thread.countStackFrames+0)
2025-04-03	02:35:46.999	18874	18874	F		DEBUG		#03 pc 000edf80  /apex/com.android.art/lib/libart.so (nterp_helper+2800) (BuildId: 72acbd633b92a2d8c94a7758a3f31f4a)
2025-04-03	02:35:46.999	18874	18874	F		DEBUG		#04 pc 00363210  /data/app/~~U-n2rrPTqWCiZcFWkLLVHA==/com.reproducerapp-Ooa02rU4zRyzKiNjLdo2Tw==/oat/arm/base.vdex (com.nativecalculator.NativeCalculatorSpec.emitOnValueChanged+24)
2025-04-03	02:35:47.000	18874	18874	F		DEBUG		#05 pc 000edf80  /apex/com.android.art/lib/libart.so (nterp_helper+2800) (BuildId: 72acbd633b92a2d8c94a7758a3f31f4a)
2025-04-03	02:35:47.000	18874	18874	F		DEBUG		#06 pc 003630ec  /data/app/~~U-n2rrPTqWCiZcFWkLLVHA==/com.reproducerapp-Ooa02rU4zRyzKiNjLdo2Tw==/oat/arm/base.vdex (com.nativecalculator.NativeCalculatorModule.add+16)
2025-04-03	02:35:47.000	18874	18874	F		DEBUG		#07 pc 003bdbd5  /apex/com.android.art/lib/libart.so (art_quick_invoke_stub_internal+68) (BuildId: 72acbd633b92a2d8c94a7758a3f31f4a)
2025-04-03	02:35:47.000	18874	18874	F		DEBUG		#08 pc 003bd677  /apex/com.android.art/lib/libart.so (void art::quick_invoke_reg_setup<false>(art::ArtMethod*, unsigned int*, unsigned int, art::Thread*, art::JValue*, char const*) (.__uniq.192663596067446536341070919852553954320.llvm.16200230356545185596)+158) (BuildId: 72acbd633b92a2d8c94a7758a3f31f4a)
2025-04-03	02:35:47.000	18874	18874	F		DEBUG		#09 pc 00288f1d  /apex/com.android.art/lib/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+136) (BuildId: 72acbd633b92a2d8c94a7758a3f31f4a)
2025-04-03	02:35:47.000	18874	18874	F		DEBUG		#10 pc 003128a9  /apex/com.android.art/lib/libart.so (art::(anonymous namespace)::InvokeWithArgArray(art::ScopedObjectAccessAlreadyRunnable const&, art::ArtMethod*, art::(anonymous namespace)::ArgArray*, art::JValue*, char const*) (.__uniq.245181933781456475607640333933569312899.llvm.1951482298021755071)+40) (BuildId: 72acbd633b92a2d8c94a7758a3f31f4a)
2025-04-03	02:35:47.000	18874	18874	F		DEBUG		#11 pc 003127b5  /apex/com.android.art/lib/libart.so (art::JValue art::InvokeVirtualOrInterfaceWithJValues<art::ArtMethod*>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, art::ArtMethod*, jvalue const*)+164) (BuildId: 72acbd633b92a2d8c94a7758a3f31f4a)
2025-04-03	02:35:47.000	18874	18874	F		DEBUG		#12 pc 0033dc8b  /apex/com.android.art/lib/libart.so (art::JValue art::InvokeVirtualOrInterfaceWithJValues<_jmethodID*>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, jvalue const*)+42) (BuildId: 72acbd633b92a2d8c94a7758a3f31f4a)
2025-04-03	02:35:47.000	18874	18874	F		DEBUG		#13 pc 0045fa45  /apex/com.android.art/lib/libart.so (art::JNI<false>::CallVoidMethodA(_JNIEnv*, _jobject*, _jmethodID*, jvalue const*)+84) (BuildId: 72acbd633b92a2d8c94a7758a3f31f4a)
2025-04-03	02:35:47.000	18874	18874	F		DEBUG		#14 pc 0031e8fd  /data/app/~~U-n2rrPTqWCiZcFWkLLVHA==/com.reproducerapp-Ooa02rU4zRyzKiNjLdo2Tw==/base.apk!libreactnative.so (BuildId: ed48fa53d517301d)
2025-04-03	02:35:47.000	18874	18874	F		DEBUG		#15 pc 00397f45  /data/app/~~U-n2rrPTqWCiZcFWkLLVHA==/com.reproducerapp-Ooa02rU4zRyzKiNjLdo2Tw==/base.apk!libreactnative.so (BuildId: ed48fa53d517301d)
2025-04-03	02:35:47.000	18874	18874	F		DEBUG		#16 pc 000106a3  /data/app/~~U-n2rrPTqWCiZcFWkLLVHA==/com.reproducerapp-Ooa02rU4zRyzKiNjLdo2Tw==/base.apk!libfbjni.so (facebook::jni::detail::MethodWrapper<void (facebook::jni::JNativeRunnable::*)(), &(facebook::jni::JNativeRunnable::run()), facebook::jni::JNativeRunnable, void>::dispatch(facebook::jni::alias_ref<facebook::jni::detail::JTypeFor<facebook::jni::HybridClass<facebook::jni::JNativeRunnable, facebook::jni::JRunnable>::JavaPart, facebook::jni::JRunnable, void>::_javaobject*>)+54) (BuildId: bc1f23c0c45e1c7ad496193c948e61d7f39b15e9)
2025-04-03	02:35:47.000	18874	18874	F		DEBUG		#17 pc 0001061d  /data/app/~~U-n2rrPTqWCiZcFWkLLVHA==/com.reproducerapp-Ooa02rU4zRyzKiNjLdo2Tw==/base.apk!libfbjni.so (facebook::jni::detail::FunctionWrapper<void (*)(facebook::jni::alias_ref<facebook::jni::detail::JTypeFor<facebook::jni::HybridClass<facebook::jni::JNativeRunnable, facebook::jni::JRunnable>::JavaPart, facebook::jni::JRunnable, void>::_javaobject*>), facebook::jni::detail::JTypeFor<facebook::jni::HybridClass<facebook::jni::JNativeRunnable, facebook::jni::JRunnable>::JavaPart, facebook::jni::JRunnable, void>::_javaobject*, void>::call(_JNIEnv*, _jobject*, void (*)(facebook::jni::alias_ref<facebook::jni::detail::JTypeFor<facebook::jni::HybridClass<facebook::jni::JNativeRunnable, facebook::jni::JRunnable>::JavaPart, facebook::jni::JRunnable, void>::_javaobject*>))+32) (BuildId: bc1f23c0c45e1c7ad496193c948e61d7f39b15e9)
2025-04-03	02:35:47.000	18874	18874	F		DEBUG		#18 pc 0001dbc5  /data/app/~~U-n2rrPTqWCiZcFWkLLVHA==/com.reproducerapp-Ooa02rU4zRyzKiNjLdo2Tw==/oat/arm/base.odex (art_jni_trampoline+68)
2025-04-03	02:35:47.000	18874	18874	F		DEBUG		#19 pc 004d3093  /system/framework/arm/boot-framework.oat (android.os.Handler.dispatchMessage+74) (BuildId: 14300ad3095f9cc733ab5653af305b42677ec5ae)
2025-04-03	02:35:47.001	18874	18874	F		DEBUG		#20 pc 000edfec  /apex/com.android.art/lib/libart.so (nterp_helper+2908) (BuildId: 72acbd633b92a2d8c94a7758a3f31f4a)
2025-04-03	02:35:47.001	18874	18874	F		DEBUG		#21 pc 002d19fc  /data/app/~~U-n2rrPTqWCiZcFWkLLVHA==/com.reproducerapp-Ooa02rU4zRyzKiNjLdo2Tw==/oat/arm/base.vdex (com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage+0)
2025-04-03	02:35:47.001	18874	18874	F		DEBUG		#22 pc 004d588f  /system/framework/arm/boot-framework.oat (android.os.Looper.loopOnce+894) (BuildId: 14300ad3095f9cc733ab5653af305b42677ec5ae)
2025-04-03	02:35:47.001	18874	18874	F		DEBUG		#23 pc 004d5499  /system/framework/arm/boot-framework.oat (android.os.Looper.loop+488) (BuildId: 14300ad3095f9cc733ab5653af305b42677ec5ae)
2025-04-03	02:35:47.001	18874	18874	F		DEBUG		#24 pc 000ed53c  /apex/com.android.art/lib/libart.so (nterp_helper+172) (BuildId: 72acbd633b92a2d8c94a7758a3f31f4a)
2025-04-03	02:35:47.001	18874	18874	F		DEBUG		#25 pc 002d1fa2  /data/app/~~U-n2rrPTqWCiZcFWkLLVHA==/com.reproducerapp-Ooa02rU4zRyzKiNjLdo2Tw==/oat/arm/base.vdex (com.facebook.react.bridge.queue.MessageQueueThreadImpl.lambda$startNewBackgroundThread$2+70)
2025-04-03	02:35:47.001	18874	18874	F		DEBUG		#26 pc 000ed53c  /apex/com.android.art/lib/libart.so (nterp_helper+172) (BuildId: 72acbd633b92a2d8c94a7758a3f31f4a)
2025-04-03	02:35:47.001	18874	18874	F		DEBUG		#27 pc 002d1a94  /data/app/~~U-n2rrPTqWCiZcFWkLLVHA==/com.reproducerapp-Ooa02rU4zRyzKiNjLdo2Tw==/oat/arm/base.vdex (com.facebook.react.bridge.queue.MessageQueueThreadImpl$$ExternalSyntheticLambda1.run+4)
2025-04-03	02:35:47.001	18874	18874	F		DEBUG		#28 pc 0014ba0f  /system/framework/arm/boot.oat (java.lang.Thread.run+70) (BuildId: bd7c4a5c0fb25656f024e500f6905e89ccd8cf60)
2025-04-03	02:35:47.001	18874	18874	F		DEBUG		#29 pc 003bdbd5  /apex/com.android.art/lib/libart.so (art_quick_invoke_stub_internal+68) (BuildId: 72acbd633b92a2d8c94a7758a3f31f4a)
2025-04-03	02:35:47.001	18874	18874	F		DEBUG		#30 pc 003bd677  /apex/com.android.art/lib/libart.so (void art::quick_invoke_reg_setup<false>(art::ArtMethod*, unsigned int*, unsigned int, art::Thread*, art::JValue*, char const*) (.__uniq.192663596067446536341070919852553954320.llvm.16200230356545185596)+158) (BuildId: 72acbd633b92a2d8c94a7758a3f31f4a)
2025-04-03	02:35:47.001	18874	18874	F		DEBUG		#31 pc 00288f1d  /apex/com.android.art/lib/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+136) (BuildId: 72acbd633b92a2d8c94a7758a3f31f4a)
2025-04-03	02:35:47.001	18874	18874	F		DEBUG		#32 pc 003128a9  /apex/com.android.art/lib/libart.so (art::(anonymous namespace)::InvokeWithArgArray(art::ScopedObjectAccessAlreadyRunnable const&, art::ArtMethod*, art::(anonymous namespace)::ArgArray*, art::JValue*, char const*) (.__uniq.245181933781456475607640333933569312899.llvm.1951482298021755071)+40) (BuildId: 72acbd633b92a2d8c94a7758a3f31f4a)
2025-04-03	02:35:47.001	18874	18874	F		DEBUG		#33 pc 003127b5  /apex/com.android.art/lib/libart.so (art::JValue art::InvokeVirtualOrInterfaceWithJValues<art::ArtMethod*>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, art::ArtMethod*, jvalue const*)+164) (BuildId: 72acbd633b92a2d8c94a7758a3f31f4a)
2025-04-03	02:35:47.001	18874	18874	F		DEBUG		#34 pc 0033dc8b  /apex/com.android.art/lib/libart.so (art::JValue art::InvokeVirtualOrInterfaceWithJValues<_jmethodID*>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, jvalue const*)+42) (BuildId: 72acbd633b92a2d8c94a7758a3f31f4a)
2025-04-03	02:35:47.001	18874	18874	F		DEBUG		#35 pc 002f0bad  /apex/com.android.art/lib/libart.so (art::Thread::CreateCallback(void*)+424) (BuildId: 72acbd633b92a2d8c94a7758a3f31f4a)
2025-04-03	02:35:47.001	18874	18874	F		DEBUG		#36 pc 000ade0b  /apex/com.android.runtime/lib/bionic/libc.so (__pthread_start(void*)+40) (BuildId: ab9eb3f965a77a04086244c6ba4e1c11)
2025-04-03	02:35:47.001	18874	18874	F		DEBUG		#37 pc 00063e73  /apex/com.android.runtime/lib/bionic/libc.so (__start_thread+30) (BuildId: ab9eb3f965a77a04086244c6ba4e1c11)




- behavior press compute button, app crashes within 1-3 seconds
full-log-file.txt

crash start at line 2663

2025-04-03	02:07:56.625	25173	25237	F		libc		Fatal signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 0x72abca50 in tid 25237 (mqt_v_native), pid 25173 (m.reproducerapp)

crash log at line 2852

2025-04-03	02:07:58.294	25382	25382	F		DEBUG		***
2025-04-03	02:07:58.294	25382	25382	F		DEBUG		Build fingerprint: 'samsung/a13ks/a13:13/TP1A.220624.014/A135NKSS5CWK1:user/release-keys'
2025-04-03	02:07:58.294	25382	25382	F		DEBUG		Revision: '6'
2025-04-03	02:07:58.294	25382	25382	F		DEBUG		ABI: 'arm'
2025-04-03	02:07:58.295	25382	25382	F		DEBUG		Processor: '4'
2025-04-03	02:07:58.295	25382	25382	F		DEBUG		Timestamp: 2025-04-03 02:07:56.769768186+0900
2025-04-03	02:07:58.295	25382	25382	F		DEBUG		Process uptime: 6s
2025-04-03	02:07:58.295	25382	25382	F		DEBUG		Cmdline: com.reproducerapp
2025-04-03	02:07:58.295	25382	25382	F		DEBUG		pid: 25173, tid: 25237, name: mqt_v_native  >>> com.reproducerapp <<<
2025-04-03	02:07:58.295	25382	25382	F		DEBUG		uid: 10253
2025-04-03	02:07:58.295	25382	25382	F		DEBUG		signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 0x72abca50
2025-04-03	02:07:58.295	25382	25382	F		DEBUG		r0  70d681a8  r1  12fb9410  r2  00000001  r3  0000000c
2025-04-03	02:07:58.295	25382	25382	F		DEBUG		r4  c70ea6c0  r5  c70ea6b8  r6  c70ea6b0  r7  0000106e
2025-04-03	02:07:58.295	25382	25382	F		DEBUG		r8  00000000  r9  f273dc00  r10 f00f5880  r11 efb16cd0
2025-04-03	02:07:58.295	25382	25382	F		DEBUG		ip  20000000  sp  c70ea6a0  lr  f00ff038  pc  72abca50
2025-04-03	02:07:58.295	25382	25382	F		DEBUG		backtrace:
2025-04-03	02:07:58.295	25382	25382	F		DEBUG		#00 pc 00132a50  [anon:dalvik-zygote space]
2025-04-03	02:07:58.295	25382	25382	F		DEBUG		#01 pc 000ee034  /apex/com.android.art/lib/libart.so (nterp_helper+2980) (BuildId: 72acbd633b92a2d8c94a7758a3f31f4a)
2025-04-03	02:07:58.295	25382	25382	F		DEBUG		#02 pc 000f5cd0  /apex/com.android.art/javalib/core-oj.jar (java.lang.Thread.countStackFrames+0)
2025-04-03	02:07:58.295	25382	25382	F		DEBUG		#03 pc 000edf80  /apex/com.android.art/lib/libart.so (nterp_helper+2800) (BuildId: 72acbd633b92a2d8c94a7758a3f31f4a)
2025-04-03	02:07:58.295	25382	25382	F		DEBUG		#04 pc 00363210  /data/app/~~U-n2rrPTqWCiZcFWkLLVHA==/com.reproducerapp-Ooa02rU4zRyzKiNjLdo2Tw==/oat/arm/base.vdex (com.nativecalculator.NativeCalculatorSpec.emitOnValueChanged+24)
2025-04-03	02:07:58.295	25382	25382	F		DEBUG		#05 pc 000edf80  /apex/com.android.art/lib/libart.so (nterp_helper+2800) (BuildId: 72acbd633b92a2d8c94a7758a3f31f4a)
2025-04-03	02:07:58.295	25382	25382	F		DEBUG		#06 pc 003630ec  /data/app/~~U-n2rrPTqWCiZcFWkLLVHA==/com.reproducerapp-Ooa02rU4zRyzKiNjLdo2Tw==/oat/arm/base.vdex (com.nativecalculator.NativeCalculatorModule.add+16)
2025-04-03	02:07:58.296	25382	25382	F		DEBUG		#07 pc 003bdbd5  /apex/com.android.art/lib/libart.so (art_quick_invoke_stub_internal+68) (BuildId: 72acbd633b92a2d8c94a7758a3f31f4a)
2025-04-03	02:07:58.296	25382	25382	F		DEBUG		#08 pc 003bd677  /apex/com.android.art/lib/libart.so (void art::quick_invoke_reg_setup<false>(art::ArtMethod*, unsigned int*, unsigned int, art::Thread*, art::JValue*, char const*) (.__uniq.192663596067446536341070919852553954320.llvm.16200230356545185596)+158) (BuildId: 72acbd633b92a2d8c94a7758a3f31f4a)
2025-04-03	02:07:58.296	25382	25382	F		DEBUG		#09 pc 00288f1d  /apex/com.android.art/lib/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+136) (BuildId: 72acbd633b92a2d8c94a7758a3f31f4a)
2025-04-03	02:07:58.296	25382	25382	F		DEBUG		#10 pc 003128a9  /apex/com.android.art/lib/libart.so (art::(anonymous namespace)::InvokeWithArgArray(art::ScopedObjectAccessAlreadyRunnable const&, art::ArtMethod*, art::(anonymous namespace)::ArgArray*, art::JValue*, char const*) (.__uniq.245181933781456475607640333933569312899.llvm.1951482298021755071)+40) (BuildId: 72acbd633b92a2d8c94a7758a3f31f4a)
2025-04-03	02:07:58.296	25382	25382	F		DEBUG		#11 pc 003127b5  /apex/com.android.art/lib/libart.so (art::JValue art::InvokeVirtualOrInterfaceWithJValues<art::ArtMethod*>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, art::ArtMethod*, jvalue const*)+164) (BuildId: 72acbd633b92a2d8c94a7758a3f31f4a)
2025-04-03	02:07:58.296	956	1221	I		SemWifiLinkQualityMonitor		Link Qos Query: 0.062 ms / 128.947 Mbps (175 / 0.000 / 1.357)
2025-04-03	02:07:58.296	25382	25382	F		DEBUG		#12 pc 0033dc8b  /apex/com.android.art/lib/libart.so (art::JValue art::InvokeVirtualOrInterfaceWithJValues<_jmethodID*>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, jvalue const*)+42) (BuildId: 72acbd633b92a2d8c94a7758a3f31f4a)
2025-04-03	02:07:58.296	25382	25382	F		DEBUG		#13 pc 0045fa45  /apex/com.android.art/lib/libart.so (art::JNI<false>::CallVoidMethodA(_JNIEnv*, _jobject*, _jmethodID*, jvalue const*)+84) (BuildId: 72acbd633b92a2d8c94a7758a3f31f4a)
2025-04-03	02:07:58.296	25382	25382	F		DEBUG		#14 pc 0031e8fd  /data/app/~~U-n2rrPTqWCiZcFWkLLVHA==/com.reproducerapp-Ooa02rU4zRyzKiNjLdo2Tw==/base.apk!libreactnative.so (BuildId: ed48fa53d517301d)
2025-04-03	02:07:58.296	25382	25382	F		DEBUG		#15 pc 00397f45  /data/app/~~U-n2rrPTqWCiZcFWkLLVHA==/com.reproducerapp-Ooa02rU4zRyzKiNjLdo2Tw==/base.apk!libreactnative.so (BuildId: ed48fa53d517301d)
2025-04-03	02:07:58.296	25382	25382	F		DEBUG		#16 pc 000106a3  /data/app/~~U-n2rrPTqWCiZcFWkLLVHA==/com.reproducerapp-Ooa02rU4zRyzKiNjLdo2Tw==/base.apk!libfbjni.so (facebook::jni::detail::MethodWrapper<void (facebook::jni::JNativeRunnable::*)(), &(facebook::jni::JNativeRunnable::run()), facebook::jni::JNativeRunnable, void>::dispatch(facebook::jni::alias_ref<facebook::jni::detail::JTypeFor<facebook::jni::HybridClass<facebook::jni::JNativeRunnable, facebook::jni::JRunnable>::JavaPart, facebook::jni::JRunnable, void>::_javaobject*>)+54) (BuildId: bc1f23c0c45e1c7ad496193c948e61d7f39b15e9)
2025-04-03	02:07:58.296	25382	25382	F		DEBUG		#17 pc 0001061d  /data/app/~~U-n2rrPTqWCiZcFWkLLVHA==/com.reproducerapp-Ooa02rU4zRyzKiNjLdo2Tw==/base.apk!libfbjni.so (facebook::jni::detail::FunctionWrapper<void (*)(facebook::jni::alias_ref<facebook::jni::detail::JTypeFor<facebook::jni::HybridClass<facebook::jni::JNativeRunnable, facebook::jni::JRunnable>::JavaPart, facebook::jni::JRunnable, void>::_javaobject*>), facebook::jni::detail::JTypeFor<facebook::jni::HybridClass<facebook::jni::JNativeRunnable, facebook::jni::JRunnable>::JavaPart, facebook::jni::JRunnable, void>::_javaobject*, void>::call(_JNIEnv*, _jobject*, void (*)(facebook::jni::alias_ref<facebook::jni::detail::JTypeFor<facebook::jni::HybridClass<facebook::jni::JNativeRunnable, facebook::jni::JRunnable>::JavaPart, facebook::jni::JRunnable, void>::_javaobject*>))+32) (BuildId: bc1f23c0c45e1c7ad496193c948e61d7f39b15e9)
2025-04-03	02:07:58.296	25382	25382	F		DEBUG		#18 pc 0001dbc5  /data/app/~~U-n2rrPTqWCiZcFWkLLVHA==/com.reproducerapp-Ooa02rU4zRyzKiNjLdo2Tw==/oat/arm/base.odex (art_jni_trampoline+68)
2025-04-03	02:07:58.296	25382	25382	F		DEBUG		#19 pc 004d3093  /system/framework/arm/boot-framework.oat (android.os.Handler.dispatchMessage+74) (BuildId: 14300ad3095f9cc733ab5653af305b42677ec5ae)
2025-04-03	02:07:58.296	25382	25382	F		DEBUG		#20 pc 000edfec  /apex/com.android.art/lib/libart.so (nterp_helper+2908) (BuildId: 72acbd633b92a2d8c94a7758a3f31f4a)
2025-04-03	02:07:58.296	25382	25382	F		DEBUG		#21 pc 002d19fc  /data/app/~~U-n2rrPTqWCiZcFWkLLVHA==/com.reproducerapp-Ooa02rU4zRyzKiNjLdo2Tw==/oat/arm/base.vdex (com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage+0)
2025-04-03	02:07:58.297	25382	25382	F		DEBUG		#22 pc 004d588f  /system/framework/arm/boot-framework.oat (android.os.Looper.loopOnce+894) (BuildId: 14300ad3095f9cc733ab5653af305b42677ec5ae)
2025-04-03	02:07:58.297	25382	25382	F		DEBUG		#23 pc 004d5499  /system/framework/arm/boot-framework.oat (android.os.Looper.loop+488) (BuildId: 14300ad3095f9cc733ab5653af305b42677ec5ae)
2025-04-03	02:07:58.297	25382	25382	F		DEBUG		#24 pc 000ed53c  /apex/com.android.art/lib/libart.so (nterp_helper+172) (BuildId: 72acbd633b92a2d8c94a7758a3f31f4a)
2025-04-03	02:07:58.297	956	1169	D		ConnectivityService		notifyType CALLBACK_CAP_CHANGED for [101 WIFI]
2025-04-03	02:07:58.297	25382	25382	F		DEBUG		#25 pc 002d1fa2  /data/app/~~U-n2rrPTqWCiZcFWkLLVHA==/com.reproducerapp-Ooa02rU4zRyzKiNjLdo2Tw==/oat/arm/base.vdex (com.facebook.react.bridge.queue.MessageQueueThreadImpl.lambda$startNewBackgroundThread$2+70)
2025-04-03	02:07:58.297	25382	25382	F		DEBUG		#26 pc 000ed4c8  /apex/com.android.art/lib/libart.so (nterp_helper+56) (BuildId: 72acbd633b92a2d8c94a7758a3f31f4a)
2025-04-03	02:07:58.297	25382	25382	F		DEBUG		#27 pc 002d1a94  /data/app/~~U-n2rrPTqWCiZcFWkLLVHA==/com.reproducerapp-Ooa02rU4zRyzKiNjLdo2Tw==/oat/arm/base.vdex (com.facebook.react.bridge.queue.MessageQueueThreadImpl$$ExternalSyntheticLambda1.run+4)
2025-04-03	02:07:58.297	25382	25382	F		DEBUG		#28 pc 0014ba0f  /system/framework/arm/boot.oat (java.lang.Thread.run+70) (BuildId: bd7c4a5c0fb25656f024e500f6905e89ccd8cf60)
2025-04-03	02:07:58.297	25382	25382	F		DEBUG		#29 pc 003bdbd5  /apex/com.android.art/lib/libart.so (art_quick_invoke_stub_internal+68) (BuildId: 72acbd633b92a2d8c94a7758a3f31f4a)
2025-04-03	02:07:58.297	25382	25382	F		DEBUG		#30 pc 003bd677  /apex/com.android.art/lib/libart.so (void art::quick_invoke_reg_setup<false>(art::ArtMethod*, unsigned int*, unsigned int, art::Thread*, art::JValue*, char const*) (.__uniq.192663596067446536341070919852553954320.llvm.16200230356545185596)+158) (BuildId: 72acbd633b92a2d8c94a7758a3f31f4a)
2025-04-03	02:07:58.297	25382	25382	F		DEBUG		#31 pc 00288f1d  /apex/com.android.art/lib/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+136) (BuildId: 72acbd633b92a2d8c94a7758a3f31f4a)
2025-04-03	02:07:58.297	25382	25382	F		DEBUG		#32 pc 003128a9  /apex/com.android.art/lib/libart.so (art::(anonymous namespace)::InvokeWithArgArray(art::ScopedObjectAccessAlreadyRunnable const&, art::ArtMethod*, art::(anonymous namespace)::ArgArray*, art::JValue*, char const*) (.__uniq.245181933781456475607640333933569312899.llvm.1951482298021755071)+40) (BuildId: 72acbd633b92a2d8c94a7758a3f31f4a)
2025-04-03	02:07:58.297	25382	25382	F		DEBUG		#33 pc 003127b5  /apex/com.android.art/lib/libart.so (art::JValue art::InvokeVirtualOrInterfaceWithJValues<art::ArtMethod*>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, art::ArtMethod*, jvalue const*)+164) (BuildId: 72acbd633b92a2d8c94a7758a3f31f4a)
2025-04-03	02:07:58.297	25382	25382	F		DEBUG		#34 pc 0033dc8b  /apex/com.android.art/lib/libart.so (art::JValue art::InvokeVirtualOrInterfaceWithJValues<_jmethodID*>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, jvalue const*)+42) (BuildId: 72acbd633b92a2d8c94a7758a3f31f4a)
2025-04-03	02:07:58.297	25382	25382	F		DEBUG		#35 pc 002f0bad  /apex/com.android.art/lib/libart.so (art::Thread::CreateCallback(void*)+424) (BuildId: 72acbd633b92a2d8c94a7758a3f31f4a)
2025-04-03	02:07:58.297	25382	25382	F		DEBUG		#36 pc 000ade0b  /apex/com.android.runtime/lib/bionic/libc.so (__pthread_start(void*)+40) (BuildId: ab9eb3f965a77a04086244c6ba4e1c11)
2025-04-03	02:07:58.297	25382	25382	F		DEBUG		#37 pc 00063e73  /apex/com.android.runtime/lib/bionic/libc.so (__start_thread+30) (BuildId: ab9eb3f965a77a04086244c6ba4e1c11)

for the browserstack devices, i am on the free tier i only get 1 minute i was not able to pull the logs. tomorrow at the office i will try the LG device on android 8.1 and pull the adb logs from it

@barakataboujreich
Copy link
Author

@cortinico this is the crash report from a testing device LG running on android 8.1. The app on it does not even start, it crashes on startup

full-log-file.txt

crash start at line 16023

04-03 11:50:15.682 10590 10609 F libc    : Fatal signal 6 (SIGABRT), code -6 in tid 10609 (mqt_v_js), pid 10590 (m.reproducerapp)
04-03 11:50:15.803 10616 10616 F DEBUG   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
04-03 11:50:15.803 10616 10616 F DEBUG   : Build fingerprint: 'lge/mh_global_com/mh:8.1.0/OPM1.171019.026/18236164615b9:user/release-keys'
04-03 11:50:15.803 10616 10616 F DEBUG   : Revision: '0'
04-03 11:50:15.803 10616 10616 F DEBUG   : ABI: 'arm'
04-03 11:50:15.803 10616 10616 F DEBUG   : pid: 10590, tid: 10609, name: mqt_v_js  >>> com.reproducerapp <<<
04-03 11:50:15.803 10616 10616 F DEBUG   : signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
04-03 11:50:15.815 10616 10616 F DEBUG   : Abort message: 'indirect_reference_table.cc:59] JNI ERROR (app bug): attempt to use stale Local 0x1 (should be 0x5)'
04-03 11:50:15.815 10616 10616 F DEBUG   :     r0 00000000  r1 00002971  r2 00000006  r3 00000008
04-03 11:50:15.815 10616 10616 F DEBUG   :     r4 0000295e  r5 00002971  r6 8a97dcd4  r7 0000010c
04-03 11:50:15.815 10616 10616 F DEBUG   :     r8 00000000  r9 ac68c1d8  sl 8a97df0c  fp 8a97deb4
04-03 11:50:15.815 10616 10616 F DEBUG   :     ip 0000000b  sp 8a97dcc0  lr afb65c65  pc afb5f6fa  cpsr 200f0030
04-03 11:50:15.868 10616 10616 F DEBUG   : 
04-03 11:50:15.868 10616 10616 F DEBUG   : backtrace:
04-03 11:50:15.868 10616 10616 F DEBUG   :     #00 pc 0001a6fa  /system/lib/libc.so (abort+63)
04-03 11:50:15.868 10616 10616 F DEBUG   :     #01 pc 0035b719  /system/lib/libart.so (art::Runtime::Abort(char const*)+392)
04-03 11:50:15.868 10616 10616 F DEBUG   :     #02 pc 0041b041  /system/lib/libart.so (android::base::LogMessage::~LogMessage()+452)
04-03 11:50:15.868 10616 10616 F DEBUG   :     #03 pc 001d56c1  /system/lib/libart.so (art::IndirectReferenceTable::AbortIfNoCheckJNI(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&)+164)
04-03 11:50:15.868 10616 10616 F DEBUG   :     #04 pc 00251cb7  /system/lib/libart.so (art::IndirectReferenceTable::GetChecked(void*) const+262)
04-03 11:50:15.869 10616 10616 F DEBUG   :     #05 pc 0037d669  /system/lib/libart.so (art::Thread::DecodeJObject(_jobject*) const+52)
04-03 11:50:15.869 10616 10616 F DEBUG   :     #06 pc 00355e77  /system/lib/libart.so (art::ArgArray::BuildArgArrayFromVarArgs(art::ScopedObjectAccessAlreadyRunnable const&, art::ObjPtr<art::mirror::Object>, std::__va_list)+82)
04-03 11:50:15.869 10616 10616 F DEBUG   :     #07 pc 00356f5b  /system/lib/libart.so (art::InvokeVirtualOrInterfaceWithVarArgs(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, std::__va_list)+306)
04-03 11:50:15.869 10616 10616 F DEBUG   :     #08 pc 0028b1b3  /system/lib/libart.so (art::JNI::CallVoidMethodV(_JNIEnv*, _jobject*, _jmethodID*, std::__va_list)+422)
04-03 11:50:15.869 10616 10616 F DEBUG   :     #09 pc 0024bfe9  /data/app/com.reproducerapp-pFhWRDgBNhJZLjZLtkfxyA==/base.apk (offset 0x1194000)
04-03 11:50:15.869 10616 10616 F DEBUG   :     #10 pc 00319853  /data/app/com.reproducerapp-pFhWRDgBNhJZLjZLtkfxyA==/base.apk (offset 0x1194000)
04-03 11:50:15.869 10616 10616 F DEBUG   :     #11 pc 0000b2ab  /data/app/com.reproducerapp-pFhWRDgBNhJZLjZLtkfxyA==/base.apk (offset 0xe58000) (facebook::react::NativeCalculatorSpecJSI::NativeCalculatorSpecJSI(facebook::react::JavaTurboModule::InitParams const&)+338)
04-03 11:50:15.869 10616 10616 F DEBUG   :     #12 pc 0000b499  /data/app/com.reproducerapp-pFhWRDgBNhJZLjZLtkfxyA==/base.apk (offset 0xe58000) (facebook::react::NativeCalculatorSpec_ModuleProvider(std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char>> const&, facebook::react::JavaTurboModule::InitParams const&)+84)
04-03 11:50:15.869 10616 10616 F DEBUG   :     #13 pc 0000f17b  /data/app/com.reproducerapp-pFhWRDgBNhJZLjZLtkfxyA==/base.apk (offset 0xe58000) (facebook::react::javaModuleProvider(std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char>> const&, facebook::react::JavaTurboModule::InitParams const&)+30)
04-03 11:50:15.869 10616 10616 F DEBUG   :     #14 pc 0000f687  /data/app/com.reproducerapp-pFhWRDgBNhJZLjZLtkfxyA==/base.apk (offset 0xe58000)
04-03 11:50:15.869 10616 10616 F DEBUG   :     #15 pc 003270e7  /data/app/com.reproducerapp-pFhWRDgBNhJZLjZLtkfxyA==/base.apk (offset 0x1194000)
04-03 11:50:15.869 10616 10616 F DEBUG   :     #16 pc 00400abd  /data/app/com.reproducerapp-pFhWRDgBNhJZLjZLtkfxyA==/base.apk (offset 0x1194000)
04-03 11:50:15.869 10616 10616 F DEBUG   :     #17 pc 00402f01  /data/app/com.reproducerapp-pFhWRDgBNhJZLjZLtkfxyA==/base.apk (offset 0x1194000)
04-03 11:50:15.870 10616 10616 F DEBUG   :     #18 pc 00313bc3  /data/app/com.reproducerapp-pFhWRDgBNhJZLjZLtkfxyA==/base.apk (offset 0x1194000)
04-03 11:50:15.870 10616 10616 F DEBUG   :     #19 pc 0031434d  /data/app/com.reproducerapp-pFhWRDgBNhJZLjZLtkfxyA==/base.apk (offset 0x1194000)
04-03 11:50:15.870 10616 10616 F DEBUG   :     #20 pc 0005e7a1  /data/app/com.reproducerapp-pFhWRDgBNhJZLjZLtkfxyA==/base.apk (offset 0xf64000)
04-03 11:50:15.870 10616 10616 F DEBUG   :     #21 pc 0007e7e3  /data/app/com.reproducerapp-pFhWRDgBNhJZLjZLtkfxyA==/base.apk (offset 0xf64000)
04-03 11:50:15.870 10616 10616 F DEBUG   :     #22 pc 000725ad  /data/app/com.reproducerapp-pFhWRDgBNhJZLjZLtkfxyA==/base.apk (offset 0xf64000)
04-03 11:50:15.870 10616 10616 F DEBUG   :     #23 pc 00070857  /data/app/com.reproducerapp-pFhWRDgBNhJZLjZLtkfxyA==/base.apk (offset 0xf64000)
04-03 11:50:15.870 10616 10616 F DEBUG   :     #24 pc 00075dc9  /data/app/com.reproducerapp-pFhWRDgBNhJZLjZLtkfxyA==/base.apk (offset 0xf64000)
04-03 11:50:15.870 10616 10616 F DEBUG   :     #25 pc 00096687  /data/app/com.reproducerapp-pFhWRDgBNhJZLjZLtkfxyA==/base.apk (offset 0xf64000)
04-03 11:50:15.870 10616 10616 F DEBUG   :     #26 pc 00056c55  /data/app/com.reproducerapp-pFhWRDgBNhJZLjZLtkfxyA==/base.apk (offset 0xf64000)
04-03 11:50:15.870 10616 10616 F DEBUG   :     #27 pc 00056b3b  /data/app/com.reproducerapp-pFhWRDgBNhJZLjZLtkfxyA==/base.apk (offset 0xf64000)
04-03 11:50:15.870 10616 10616 F DEBUG   :     #28 pc 000576cd  /data/app/com.reproducerapp-pFhWRDgBNhJZLjZLtkfxyA==/base.apk (offset 0xf64000)
04-03 11:50:15.870 10616 10616 F DEBUG   :     #29 pc 00243b67  /data/app/com.reproducerapp-pFhWRDgBNhJZLjZLtkfxyA==/base.apk (offset 0x1194000)
04-03 11:50:15.870 10616 10616 F DEBUG   :     #30 pc 0036dffb  /data/app/com.reproducerapp-pFhWRDgBNhJZLjZLtkfxyA==/base.apk (offset 0x1194000)
04-03 11:50:15.870 10616 10616 F DEBUG   :     #31 pc 0036c6e1  /data/app/com.reproducerapp-pFhWRDgBNhJZLjZLtkfxyA==/base.apk (offset 0x1194000)
04-03 11:50:15.870 10616 10616 F DEBUG   :     #32 pc 0036cd91  /data/app/com.reproducerapp-pFhWRDgBNhJZLjZLtkfxyA==/base.apk (offset 0x1194000)
04-03 11:50:15.870 10616 10616 F DEBUG   :     #33 pc 0036cae3  /data/app/com.reproducerapp-pFhWRDgBNhJZLjZLtkfxyA==/base.apk (offset 0x1194000)
04-03 11:50:15.871 10616 10616 F DEBUG   :     #34 pc 0024223f  /data/app/com.reproducerapp-pFhWRDgBNhJZLjZLtkfxyA==/base.apk (offset 0x1194000)
04-03 11:50:15.871 10616 10616 F DEBUG   :     #35 pc 00397f45  /data/app/com.reproducerapp-pFhWRDgBNhJZLjZLtkfxyA==/base.apk (offset 0x1194000)
04-03 11:50:15.871 10616 10616 F DEBUG   :     #36 pc 000106a3  /data/app/com.reproducerapp-pFhWRDgBNhJZLjZLtkfxyA==/base.apk (offset 0xf44000)
04-03 11:50:15.871 10616 10616 F DEBUG   :     #37 pc 0001061d  /data/app/com.reproducerapp-pFhWRDgBNhJZLjZLtkfxyA==/base.apk (offset 0xf44000)
04-03 11:50:15.871 10616 10616 F DEBUG   :     #38 pc 00022c13  /data/app/com.reproducerapp-pFhWRDgBNhJZLjZLtkfxyA==/oat/arm/base.odex (offset 0x22000)

i hope the logs provided could lead you to a conclusion to what is happening.
thank you for your time

@toy0605
Copy link

toy0605 commented Apr 4, 2025

I'm experiencing the same issue.
It only occurs in release mode.

However, I'm developing a commercial app, so it's difficult for me to share logs or source code. I'm sorry.
My Android device is running a customized version of Android 9.

I’d like to share a temporary workaround in case it helps someone working with Android native code (e.g., library developers).
I removed the EventEmitter from the Spec (just the EventEmitter, not the entire Spec),
and added the NativeEventEmitter from the legacy module elsewhere in the code.
I rewrote the event handling in Android native code using the legacy way.

It's working well for now.

So I believe the issue is definitely caused by the EventEmitter in the TurboModule.
I'm sorry I couldn't be more helpful.

@cortinico
Copy link
Contributor

I'm asking @gabrieldonadel and other folks at Expo if they can help us with reproducing this bug

@fm1randa
Copy link

fm1randa commented Apr 7, 2025

I'm experiencing this same issue but with react-native-google-mobile-ads on low-spec devices.

I've been able to reproduce the error consistently on an LG K41S (LM-K4110BMW) device, and I've also seen crash reports in Play Console for a Moto G 5S Plus device.

From my tombstone backtrace, I can confirm this is related to the event emitter callback in the Google Mobile Ads TurboModule:

      #12 pc 0033d08d  /data/app/~~FJhJXCNkwbPIG47qsPSuzw==/dev.filipemiranda.hinarioipb-eqKDVpKlE7TyVN0qj9X-bQ==/base.apk!libreactnative.so (offset 0x2dc4000) (facebook::react::JavaTurboModule::setEventEmitterCallback(facebook::jni::alias_ref<_jobject*>)+332) (BuildId: 8375e82b3a784251)
      #13 pc 0017a5b9  /data/app/~~FJhJXCNkwbPIG47qsPSuzw==/dev.filipemiranda.hinarioipb-eqKDVpKlE7TyVN0qj9X-bQ==/base.apk!libappmodules.so (offset 0x239c000) (facebook::react::NativeGoogleMobileAdsNativeModuleSpecJSI::NativeGoogleMobileAdsNativeModuleSpecJSI(facebook::react::JavaTurboModule::InitParams const&)+396) (BuildId: 710a9e55a6d7d93c99887bbd4397f72a0fe3261d)
      #14 pc 0017b2bd  /data/app/~~FJhJXCNkwbPIG47qsPSuzw==/dev.filipemiranda.hinarioipb-eqKDVpKlE7TyVN0qj9X-bQ==/base.apk!libappmodules.so (offset 0x239c000) (facebook::react::RNGoogleMobileAdsSpec_ModuleProvider(std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > const&, facebook::react::JavaTurboModule::InitParams const&)+176) (BuildId: 710a9e55a6d7d93c99887bbd4397f72a0fe3261d)

@mikehardy
Copy link
Contributor

Unfortunately @fm1randa reproduction with firebase or google mobile ads will never be too helpful for people as they require a lot of external accounts to be provisioned and configured.

I believe that we already have a reproducer courtesy of @barakataboujreich so the real next steps here are - hopefully 🤞 - for someone with experience hacking on the react-native new arch code and a device that reproduces it to have some time to give it a shot to verify local reproduction, and then ideally (again 🤞 ) to be able to fix it

@toy0605
Copy link

toy0605 commented Apr 8, 2025

I found a way to reproduce this issue easily.
It occurs only on 32-bit(armeabi-v7a) app.
However, the Android emulator(ARM64 Image) doesn't support testing 32-bit(armeabi-v7a) apps, so you'll need any physical device that supports 32-bit(armeabi-v7a).

Steps to reproduce

  1. Check if your device supports 32-bit.
adb shell getprop ro.product.cpu.abilist
# arm64-v8a,armeabi-v7a,armeabi <- Support armeabi-v7a(32-bit)

Android emulator(ARM64 Image) cannot reproduce.

adb shell getprop ro.product.cpu.abilist
# arm64-v8a <- Unsupport armeabi-v7a(32-bit)
  1. Build the app in release mode
cd android
./gradlew assembleRelease
  1. Install the 32-bit version of the app
adb install --abi armeabi-v7a app-release.apk
  1. Open the app → the app crashes

  2. Uninstall the app and install the 64-bit version

adb install --abi arm64-v8a app-release.apk
  1. Open the app → the app works fine

I tested it on Samsung Galaxy S23.

@cortinico
Copy link
Contributor

Thanks for this valuable information @toy0605, this is really gold.
I've been able to reproduce on a device of mine. I'll get back to you folks with an update as I'm done investigating

@cortinico
Copy link
Contributor

For context for everyone: this is the symbolicated stacktrace:

********** Crash dump: **********
Build fingerprint: 'google/blueline/blueline:11/RP1A.200720.009/6720564:user/release-keys'
Abort message: 'JNI ERROR (app bug): accessed stale Local 0xe97b7b59  (index 244823989 in a table of size 5)'
#00 0x000383f4 /apex/com.android.runtime/lib/bionic/libc.so (abort+172) (BuildId: 09f5dc86ced902a66ebda24ea42c217d)
#01 0x0040204f /apex/com.android.art/lib/libart.so (art::Runtime::Abort(char const*)+1770) (BuildId: ff1ad245b994a97d59c926d97e9a909e)
#02 0x0000d993 /system/lib/libbase.so (android::base::SetAborter(std::__1::function<void (char const*)>&&)::$_3::__invoke(char const*)+46) (BuildId: 9ec814af8887615757d34a2a18bba8a4)
#03 0x0000d2b1 /system/lib/libbase.so (android::base::LogMessage::~LogMessage()+224) (BuildId: 9ec814af8887615757d34a2a18bba8a4)
#04 0x002283eb /apex/com.android.art/lib/libart.so (art::IndirectReferenceTable::AbortIfNoCheckJNI(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)+146) (BuildId: ff1ad245b994a97d59c926d97e9a909e)
#05 0x0029ac07 /apex/com.android.art/lib/libart.so (art::IndirectReferenceTable::GetChecked(void*) const+286) (BuildId: ff1ad245b994a97d59c926d97e9a909e)
#06 0x00448a11 /apex/com.android.art/lib/libart.so (art::Thread::DecodeJObject(_jobject*) const+52) (BuildId: ff1ad245b994a97d59c926d97e9a909e)
#07 0x003fb56f /apex/com.android.art/lib/libart.so (art::(anonymous namespace)::ArgArray::BuildArgArrayFromVarArgs(art::ScopedObjectAccessAlreadyRunnable const&, art::ObjPtr<art::mirror::Object>, std::__va_list)+190) (BuildId: ff1ad245b994a97d59c926d97e9a909e)
#08 0x003fbdb1 /apex/com.android.art/lib/libart.so (art::JValue art::InvokeVirtualOrInterfaceWithVarArgs<art::ArtMethod*>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, art::ArtMethod*, std::__va_list)+340) (BuildId: ff1ad245b994a97d59c926d97e9a909e)
#09 0x003fbee3 /apex/com.android.art/lib/libart.so (art::JValue art::InvokeVirtualOrInterfaceWithVarArgs<_jmethodID*>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, std::__va_list)+42) (BuildId: ff1ad245b994a97d59c926d97e9a909e)
#10 0x002b36a5 /apex/com.android.art/lib/libart.so (art::JNI<false>::CallVoidMethodV(_JNIEnv*, _jobject*, _jmethodID*, std::__va_list)+516) (BuildId: ff1ad245b994a97d59c926d97e9a909e)
#11 0x00260329 /data/app/~~zrJNSOPg5HZjrznZD2Ieeg==/com.rn079-WGfUd-iUqnKgLs_eHUxung==/base.apk!libreactnative.so (offset 0x11d4000) (BuildId: 37f93fd117921775)
                                                                                                                   _JNIEnv::CallVoidMethod(_jobject*, _jmethodID*, ...)
                                                                                                                   /opt/android/ndk/27.1.12297006/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/jni.h:631:9
#12 0x00332693 /data/app/~~zrJNSOPg5HZjrznZD2Ieeg==/com.rn079-WGfUd-iUqnKgLs_eHUxung==/base.apk!libreactnative.so (offset 0x11d4000) (facebook::react::JavaTurboModule::setEventEmitterCallback(facebook::jni::alias_ref<_jobject*>)+338) (BuildId: 37f93fd117921775)
                                                                                                                   facebook::react::JavaTurboModule::setEventEmitterCallback(facebook::jni::alias_ref<_jobject*>)
                                                                                                                   /__w/react-native/react-native/packages/react-native/ReactCommon/react/nativemodule/core/platform/android/ReactCommon/JavaTurboModule.cpp:1000:8
#13 0x0000b2ab /data/app/~~zrJNSOPg5HZjrznZD2Ieeg==/com.rn079-WGfUd-iUqnKgLs_eHUxung==/base.apk!libappmodules.so (offset 0xe98000) (facebook::react::NativeCalculatorSpecJSI::NativeCalculatorSpecJSI(facebook::react::JavaTurboModule::InitParams const&)+338) (BuildId: a34b77767235f62e5627c6184135f412030b6c37)
                                                                                                                  facebook::react::NativeCalculatorSpecJSI::NativeCalculatorSpecJSI(facebook::react::JavaTurboModule::InitParams const&)
                                                                                                                  /Users/ncor/pg/RN079/android/app/build/generated/source/codegen/jni/NativeCalculatorSpec-generated.cpp:24:3
#14 0x0000b499 /data/app/~~zrJNSOPg5HZjrznZD2Ieeg==/com.rn079-WGfUd-iUqnKgLs_eHUxung==/base.apk!libappmodules.so (offset 0xe98000) (facebook::react::NativeCalculatorSpec_ModuleProvider(std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > const&, facebook::react::JavaTurboModule::InitParams const&)+84) (BuildId: a34b77767235f62e5627c6184135f412030b6c37)
                                                                                                                  facebook::react::NativeCalculatorSpecJSI* std::__ndk1::construct_at[abi:ne180000]<facebook::react::NativeCalculatorSpecJSI, facebook::react::JavaTurboModule::InitParams const&, facebook::react::NativeCalculatorSpecJSI*>(facebook::react::NativeCalculatorSpecJSI*, facebook::react::JavaTurboModule::InitParams const&)
                                                                                                                  /opt/android_sdk/ndk/27.1.12297006/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/include/c++/v1/__memory/construct_at.h:41:46
                                                                                                                  facebook::react::NativeCalculatorSpecJSI* std::__ndk1::__construct_at[abi:ne180000]<facebook::react::NativeCalculatorSpecJSI, facebook::react::JavaTurboModule::InitParams const&, facebook::react::NativeCalculatorSpecJSI*>(facebook::react::NativeCalculatorSpecJSI*, facebook::react::JavaTurboModule::InitParams const&)
                                                                                                                  /opt/android_sdk/ndk/27.1.12297006/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/include/c++/v1/__memory/construct_at.h:49:10
                                                                                                                  void std::__ndk1::allocator_traits<std::__ndk1::allocator<facebook::react::NativeCalculatorSpecJSI>>::construct[abi:ne180000]<facebook::react::NativeCalculatorSpecJSI, facebook::react::JavaTurboModule::InitParams const&, void, void>(std::__ndk1::allocator<facebook::react::NativeCalculatorSpecJSI>&, facebook::react::NativeCalculatorSpecJSI*, facebook::react::JavaTurboModule::InitParams const&)
                                                                                                                  /opt/android_sdk/ndk/27.1.12297006/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/include/c++/v1/__memory/allocator_traits.h:305:5
                                                                                                                  std::__ndk1::__shared_ptr_emplace<facebook::react::NativeCalculatorSpecJSI, std::__ndk1::allocator<facebook::react::NativeCalculatorSpecJSI>>::__shared_ptr_emplace[abi:ne180000]<facebook::react::JavaTurboModule::InitParams const&, std::__ndk1::allocator<facebook::react::NativeCalculatorSpecJSI>, 0>(std::__ndk1::allocator<facebook::react::NativeCalculatorSpecJSI>, facebook::react::JavaTurboModule::InitParams const&)
                                                                                                                  /opt/android_sdk/ndk/27.1.12297006/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/include/c++/v1/__memory/shared_ptr.h:262:5
                                                                                                                  std::__ndk1::shared_ptr<facebook::react::NativeCalculatorSpecJSI> std::__ndk1::allocate_shared[abi:ne180000]<facebook::react::NativeCalculatorSpecJSI, std::__ndk1::allocator<facebook::react::NativeCalculatorSpecJSI>, facebook::react::JavaTurboModule::InitParams const&, void>(std::__ndk1::allocator<facebook::react::NativeCalculatorSpecJSI> const&, facebook::react::JavaTurboModule::InitParams const&)
                                                                                                                  /opt/android_sdk/ndk/27.1.12297006/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/include/c++/v1/__memory/shared_ptr.h:818:51
                                                                                                                  std::__ndk1::shared_ptr<facebook::react::NativeCalculatorSpecJSI> std::__ndk1::make_shared[abi:ne180000]<facebook::react::NativeCalculatorSpecJSI, facebook::react::JavaTurboModule::InitParams const&, void>(facebook::react::JavaTurboModule::InitParams const&)
                                                                                                                  /opt/android_sdk/ndk/27.1.12297006/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/include/c++/v1/__memory/shared_ptr.h:826:10
                                                                                                                  facebook::react::NativeCalculatorSpec_ModuleProvider(std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char>> const&, facebook::react::JavaTurboModule::InitParams const&)
                                                                                                                  /Users/ncor/pg/RN079/android/app/build/generated/source/codegen/jni/NativeCalculatorSpec-generated.cpp:29:12
#15 0x0000f17b /data/app/~~zrJNSOPg5HZjrznZD2Ieeg==/com.rn079-WGfUd-iUqnKgLs_eHUxung==/base.apk!libappmodules.so (offset 0xe98000) (facebook::react::javaModuleProvider(std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > const&, facebook::react::JavaTurboModule::InitParams const&)+30) (BuildId: a34b77767235f62e5627c6184135f412030b6c37)
                                                                                                                  facebook::react::javaModuleProvider(std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char>> const&, facebook::react::JavaTurboModule::InitParams const&)
                                                                                                                  /Users/ncor/pg/RN079/node_modules/react-native/ReactAndroid/cmake-utils/default-app-setup/OnLoad.cpp:95:17
#16 0x0000f687 /data/app/~~zrJNSOPg5HZjrznZD2Ieeg==/com.rn079-WGfUd-iUqnKgLs_eHUxung==/base.apk!libappmodules.so (offset 0xe98000) (BuildId: a34b77767235f62e5627c6184135f412030b6c37)
                                                                                                                  decltype(std::declval<std::__ndk1::shared_ptr<facebook::react::TurboModule> (*&)(std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char>> const&, facebook::react::JavaTurboModule::InitParams const&)>()(std::declval<std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char>> const&>(), std::declval<facebook::react::JavaTurboModule::InitParams const&>())) std::__ndk1::__invoke[abi:ne180000]<std::__ndk1::shared_ptr<facebook::react::TurboModule> (*&)(std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char>> const&, facebook::react::JavaTurboModule::InitParams const&), std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char>> const&, facebook::react::JavaTurboModule::InitParams const&>(std::__ndk1::shared_ptr<facebook::react::TurboModule> (*&)(std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char>> const&, facebook::react::JavaTurboModule::InitParams const&), std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char>> const&, facebook::react::JavaTurboModule::InitParams const&)
                                                                                                                  /opt/android_sdk/ndk/27.1.12297006/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/include/c++/v1/__type_traits/invoke.h:344:25
                                                                                                                  std::__ndk1::shared_ptr<facebook::react::TurboModule> std::__ndk1::__invoke_void_return_wrapper<std::__ndk1::shared_ptr<facebook::react::TurboModule>, false>::__call[abi:ne180000]<std::__ndk1::shared_ptr<facebook::react::TurboModule> (*&)(std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char>> const&, facebook::react::JavaTurboModule::InitParams const&), std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char>> const&, facebook::react::JavaTurboModule::InitParams const&>(std::__ndk1::shared_ptr<facebook::react::TurboModule> (*&)(std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char>> const&, facebook::react::JavaTurboModule::InitParams const&), std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char>> const&, facebook::react::JavaTurboModule::InitParams const&)
                                                                                                                  /opt/android_sdk/ndk/27.1.12297006/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/include/c++/v1/__type_traits/invoke.h:411:12
                                                                                                                  std::__ndk1::__function::__alloc_func<std::__ndk1::shared_ptr<facebook::react::TurboModule> (*)(std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char>> const&, facebook::react::JavaTurboModule::InitParams const&), std::__ndk1::allocator<std::__ndk1::shared_ptr<facebook::react::TurboModule> (*)(std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char>> const&, facebook::react::JavaTurboModule::InitParams const&)>, std::__ndk1::shared_ptr<facebook::react::TurboModule> (std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char>> const&, facebook::react::JavaTurboModule::InitParams const&)>::operator()[abi:ne180000](std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char>> const&, facebook::react::JavaTurboModule::InitParams const&)
                                                                                                                  /opt/android_sdk/ndk/27.1.12297006/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/include/c++/v1/__functional/function.h:166:12
                                                                                                                  std::__ndk1::__function::__func<std::__ndk1::shared_ptr<facebook::react::TurboModule> (*)(std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char>> const&, facebook::react::JavaTurboModule::InitParams const&), std::__ndk1::allocator<std::__ndk1::shared_ptr<facebook::react::TurboModule> (*)(std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char>> const&, facebook::react::JavaTurboModule::InitParams const&)>, std::__ndk1::shared_ptr<facebook::react::TurboModule> (std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char>> const&, facebook::react::JavaTurboModule::InitParams const&)>::operator()(std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char>> const&, facebook::react::JavaTurboModule::InitParams const&)
                                                                                                                  /opt/android_sdk/ndk/27.1.12297006/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/include/c++/v1/__functional/function.h:308:10
#17 0x003409d7 /data/app/~~zrJNSOPg5HZjrznZD2Ieeg==/com.rn079-WGfUd-iUqnKgLs_eHUxung==/base.apk!libreactnative.so (offset 0x11d4000) (facebook::react::DefaultTurboModuleManagerDelegate::getTurboModule(std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > const&, facebook::react::JavaTurboModule::InitParams const&)+94) (BuildId: 37f93fd117921775)
                                                                                                                   std::__ndk1::__function::__value_func<std::__ndk1::shared_ptr<facebook::react::TurboModule> (std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char>> const&, facebook::react::JavaTurboModule::InitParams const&)>::operator()[abi:ne180000](std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char>> const&, facebook::react::JavaTurboModule::InitParams const&) const
                                                                                                                   /opt/android/ndk/27.1.12297006/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/c++/v1/__functional/function.h:425:12
                                                                                                                   std::__ndk1::function<std::__ndk1::shared_ptr<facebook::react::TurboModule> (std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char>> const&, facebook::react::JavaTurboModule::InitParams const&)>::operator()(std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char>> const&, facebook::react::JavaTurboModule::InitParams const&) const
                                                                                                                   /opt/android/ndk/27.1.12297006/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/c++/v1/__functional/function.h:978:10
                                                                                                                   facebook::react::DefaultTurboModuleManagerDelegate::getTurboModule(std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char>> const&, facebook::react::JavaTurboModule::InitParams const&)
                                                                                                                   /__w/react-native/react-native/packages/react-native/ReactAndroid/src/main/jni/react/newarchdefaults/DefaultTurboModuleManagerDelegate.cpp:84:31
#18 0x0042c781 /data/app/~~zrJNSOPg5HZjrznZD2Ieeg==/com.rn079-WGfUd-iUqnKgLs_eHUxung==/base.apk!libreactnative.so (offset 0x11d4000) (facebook::react::TurboModuleManager::getTurboModule(facebook::jni::alias_ref<facebook::jni::detail::JTypeFor<facebook::jni::HybridClass<facebook::react::TurboModuleManager, facebook::jni::detail::BaseHybridClass>::JavaPart, facebook::jni::JObject, void>::_javaobject*>, std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > const&, facebook::jsi::Runtime&)+1120) (BuildId: 37f93fd117921775)
                                                                                                                   facebook::react::TurboModuleManager::getTurboModule(facebook::jni::alias_ref<facebook::jni::detail::JTypeFor<facebook::jni::HybridClass<facebook::react::TurboModuleManager, facebook::jni::detail::BaseHybridClass>::JavaPart, facebook::jni::JObject, void>::_javaobject*>, std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char>> const&, facebook::jsi::Runtime&)
                                                                                                                   /__w/react-native/react-native/packages/react-native/ReactAndroid/src/main/jni/react/turbomodule/ReactCommon/TurboModuleManager.cpp:193:37
#19 0x0042ebc5 /data/app/~~zrJNSOPg5HZjrznZD2Ieeg==/com.rn079-WGfUd-iUqnKgLs_eHUxung==/base.apk!libreactnative.so (offset 0x11d4000) (BuildId: 37f93fd117921775)
                                                                                                                   facebook::react::TurboModuleManager::createTurboModuleProvider(facebook::jni::alias_ref<facebook::jni::detail::JTypeFor<facebook::jni::HybridClass<facebook::react::TurboModuleManager, facebook::jni::detail::BaseHybridClass>::JavaPart, facebook::jni::JObject, void>::_javaobject*>, facebook::jsi::Runtime*)::$_0::operator()(std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char>> const&) const
                                                                                                                   /__w/react-native/react-native/packages/react-native/ReactAndroid/src/main/jni/react/turbomodule/ReactCommon/TurboModuleManager.cpp:144:21
                                                                                                                   decltype(std::declval<facebook::react::TurboModuleManager::createTurboModuleProvider(facebook::jni::alias_ref<facebook::jni::detail::JTypeFor<facebook::jni::HybridClass<facebook::react::TurboModuleManager, facebook::jni::detail::BaseHybridClass>::JavaPart, facebook::jni::JObject, void>::_javaobject*>, facebook::jsi::Runtime*)::$_0&>()(std::declval<std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char>> const&>())) std::__ndk1::__invoke[abi:ne180000]<facebook::react::TurboModuleManager::createTurboModuleProvider(facebook::jni::alias_ref<facebook::jni::detail::JTypeFor<facebook::jni::HybridClass<facebook::react::TurboModuleManager, facebook::jni::detail::BaseHybridClass>::JavaPart, facebook::jni::JObject, void>::_javaobject*>, facebook::jsi::Runtime*)::$_0&, std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char>> const&>(facebook::react::TurboModuleManager::createTurboModuleProvider(facebook::jni::alias_ref<facebook::jni::detail::JTypeFor<facebook::jni::HybridClass<facebook::react::TurboModuleManager, facebook::jni::detail::BaseHybridClass>::JavaPart, facebook::jni::JObject, void>::_javaobject*>, facebook::jsi::Runtime*)::$_0&, std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char>> const&)
                                                                                                                   /opt/android/ndk/27.1.12297006/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/c++/v1/__type_traits/invoke.h:344:25
                                                                                                                   std::__ndk1::shared_ptr<facebook::react::TurboModule> std::__ndk1::__invoke_void_return_wrapper<std::__ndk1::shared_ptr<facebook::react::TurboModule>, false>::__call[abi:ne180000]<facebook::react::TurboModuleManager::createTurboModuleProvider(facebook::jni::alias_ref<facebook::jni::detail::JTypeFor<facebook::jni::HybridClass<facebook::react::TurboModuleManager, facebook::jni::detail::BaseHybridClass>::JavaPart, facebook::jni::JObject, void>::_javaobject*>, facebook::jsi::Runtime*)::$_0&, std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char>> const&>(facebook::react::TurboModuleManager::createTurboModuleProvider(facebook::jni::alias_ref<facebook::jni::detail::JTypeFor<facebook::jni::HybridClass<facebook::react::TurboModuleManager, facebook::jni::detail::BaseHybridClass>::JavaPart, facebook::jni::JObject, void>::_javaobject*>, facebook::jsi::Runtime*)::$_0&, std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char>> const&)
                                                                                                                   /opt/android/ndk/27.1.12297006/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/c++/v1/__type_traits/invoke.h:411:12
                                                                                                                   std::__ndk1::__function::__alloc_func<facebook::react::TurboModuleManager::createTurboModuleProvider(facebook::jni::alias_ref<facebook::jni::detail::JTypeFor<facebook::jni::HybridClass<facebook::react::TurboModuleManager, facebook::jni::detail::BaseHybridClass>::JavaPart, facebook::jni::JObject, void>::_javaobject*>, facebook::jsi::Runtime*)::$_0, std::__ndk1::allocator<facebook::react::TurboModuleManager::createTurboModuleProvider(facebook::jni::alias_ref<facebook::jni::detail::JTypeFor<facebook::jni::HybridClass<facebook::react::TurboModuleManager, facebook::jni::detail::BaseHybridClass>::JavaPart, facebook::jni::JObject, void>::_javaobject*>, facebook::jsi::Runtime*)::$_0>, std::__ndk1::shared_ptr<facebook::react::TurboModule> (std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char>> const&)>::operator()[abi:ne180000](std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char>> const&)
                                                                                                                   /opt/android/ndk/27.1.12297006/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/c++/v1/__functional/function.h:166:12
                                                                                                                   std::__ndk1::__function::__func<facebook::react::TurboModuleManager::createTurboModuleProvider(facebook::jni::alias_ref<facebook::jni::detail::JTypeFor<facebook::jni::HybridClass<facebook::react::TurboModuleManager, facebook::jni::detail::BaseHybridClass>::JavaPart, facebook::jni::JObject, void>::_javaobject*>, facebook::jsi::Runtime*)::$_0, std::__ndk1::allocator<facebook::react::TurboModuleManager::createTurboModuleProvider(facebook::jni::alias_ref<facebook::jni::detail::JTypeFor<facebook::jni::HybridClass<facebook::react::TurboModuleManager, facebook::jni::detail::BaseHybridClass>::JavaPart, facebook::jni::JObject, void>::_javaobject*>, facebook::jsi::Runtime*)::$_0>, std::__ndk1::shared_ptr<facebook::react::TurboModule> (std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char>> const&)>::operator()(std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char>> const&)
                                                                                                                   /opt/android/ndk/27.1.12297006/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/c++/v1/__functional/function.h:308:10
#20 0x0032ca03 /data/app/~~zrJNSOPg5HZjrznZD2Ieeg==/com.rn079-WGfUd-iUqnKgLs_eHUxung==/base.apk!libreactnative.so (offset 0x11d4000) (facebook::react::TurboModuleBinding::getModule(facebook::jsi::Runtime&, std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > const&) const+46) (BuildId: 37f93fd117921775)
                                                                                                                   std::__ndk1::__function::__value_func<std::__ndk1::shared_ptr<facebook::react::TurboModule> (std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char>> const&)>::operator()[abi:ne180000](std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char>> const&) const
                                                                                                                   /opt/android/ndk/27.1.12297006/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/c++/v1/__functional/function.h:425:12
                                                                                                                   std::__ndk1::function<std::__ndk1::shared_ptr<facebook::react::TurboModule> (std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char>> const&)>::operator()(std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char>> const&) const
                                                                                                                   /opt/android/ndk/27.1.12297006/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/c++/v1/__functional/function.h:978:10
                                                                                                                   facebook::react::TurboModuleBinding::getModule(facebook::jsi::Runtime&, std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char>> const&) const
                                                                                                                   /__w/react-native/react-native/packages/react-native/ReactCommon/react/nativemodule/core/ReactCommon/TurboModuleBinding.cpp:156:14
#21 0x0032d18d /data/app/~~zrJNSOPg5HZjrznZD2Ieeg==/com.rn079-WGfUd-iUqnKgLs_eHUxung==/base.apk!libreactnative.so (offset 0x11d4000) (facebook::react::BridgelessNativeModuleProxy::get(facebook::jsi::Runtime&, facebook::jsi::PropNameID const&)+88) (BuildId: 37f93fd117921775)
                                                                                                                   facebook::react::BridgelessNativeModuleProxy::get(facebook::jsi::Runtime&, facebook::jsi::PropNameID const&)
                                                                                                                   /__w/react-native/react-native/packages/react-native/ReactCommon/react/nativemodule/core/ReactCommon/TurboModuleBinding.cpp:59:38
#22 0x0005e6a1 /data/app/~~zrJNSOPg5HZjrznZD2Ieeg==/com.rn079-WGfUd-iUqnKgLs_eHUxung==/base.apk!libhermes.so (offset 0xfa4000) (BuildId: 99569f386c2fa13bac51f66a0267ecf2a3ed8500)
#23 0x0007e6d3 /data/app/~~zrJNSOPg5HZjrznZD2Ieeg==/com.rn079-WGfUd-iUqnKgLs_eHUxung==/base.apk!libhermes.so (offset 0xfa4000) (BuildId: 99569f386c2fa13bac51f66a0267ecf2a3ed8500)
#24 0x000724bd /data/app/~~zrJNSOPg5HZjrznZD2Ieeg==/com.rn079-WGfUd-iUqnKgLs_eHUxung==/base.apk!libhermes.so (offset 0xfa4000) (BuildId: 99569f386c2fa13bac51f66a0267ecf2a3ed8500)
#25 0x00070767 /data/app/~~zrJNSOPg5HZjrznZD2Ieeg==/com.rn079-WGfUd-iUqnKgLs_eHUxung==/base.apk!libhermes.so (offset 0xfa4000) (BuildId: 99569f386c2fa13bac51f66a0267ecf2a3ed8500)
#26 0x00075cd9 /data/app/~~zrJNSOPg5HZjrznZD2Ieeg==/com.rn079-WGfUd-iUqnKgLs_eHUxung==/base.apk!libhermes.so (offset 0xfa4000) (BuildId: 99569f386c2fa13bac51f66a0267ecf2a3ed8500)
#27 0x00096577 /data/app/~~zrJNSOPg5HZjrznZD2Ieeg==/com.rn079-WGfUd-iUqnKgLs_eHUxung==/base.apk!libhermes.so (offset 0xfa4000) (BuildId: 99569f386c2fa13bac51f66a0267ecf2a3ed8500)
#28 0x0005699d /data/app/~~zrJNSOPg5HZjrznZD2Ieeg==/com.rn079-WGfUd-iUqnKgLs_eHUxung==/base.apk!libhermes.so (offset 0xfa4000) (BuildId: 99569f386c2fa13bac51f66a0267ecf2a3ed8500)
#29 0x00056883 /data/app/~~zrJNSOPg5HZjrznZD2Ieeg==/com.rn079-WGfUd-iUqnKgLs_eHUxung==/base.apk!libhermes.so (offset 0xfa4000) (BuildId: 99569f386c2fa13bac51f66a0267ecf2a3ed8500)
#30 0x00057445 /data/app/~~zrJNSOPg5HZjrznZD2Ieeg==/com.rn079-WGfUd-iUqnKgLs_eHUxung==/base.apk!libhermes.so (offset 0xfa4000) (BuildId: 99569f386c2fa13bac51f66a0267ecf2a3ed8500)
#31 0x00258307 /data/app/~~zrJNSOPg5HZjrznZD2Ieeg==/com.rn079-WGfUd-iUqnKgLs_eHUxung==/base.apk!libreactnative.so (offset 0x11d4000) (BuildId: 37f93fd117921775)
                                                                                                                   facebook::react::ReactInstance::loadScript(std::__ndk1::unique_ptr<facebook::react::JSBigString const, std::__ndk1::default_delete<facebook::react::JSBigString const>>, std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char>> const&, std::__ndk1::function<void (facebook::jsi::Runtime&)>&&)::$_0::operator()(facebook::jsi::Runtime&) const
                                                                                                                   /__w/react-native/react-native/packages/react-native/ReactCommon/react/runtime/ReactInstance.cpp:237:13
                                                                                                                   decltype(std::declval<facebook::react::ReactInstance::loadScript(std::__ndk1::unique_ptr<facebook::react::JSBigString const, std::__ndk1::default_delete<facebook::react::JSBigString const>>, std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char>> const&, std::__ndk1::function<void (facebook::jsi::Runtime&)>&&)::$_0&>()(std::declval<facebook::jsi::Runtime&>())) std::__ndk1::__invoke[abi:ne180000]<facebook::react::ReactInstance::loadScript(std::__ndk1::unique_ptr<facebook::react::JSBigString const, std::__ndk1::default_delete<facebook::react::JSBigString const>>, std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char>> const&, std::__ndk1::function<void (facebook::jsi::Runtime&)>&&)::$_0&, facebook::jsi::Runtime&>(facebook::react::ReactInstance::loadScript(std::__ndk1::unique_ptr<facebook::react::JSBigString const, std::__ndk1::default_delete<facebook::react::JSBigString const>>, std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char>> const&, std::__ndk1::function<void (facebook::jsi::Runtime&)>&&)::$_0&, facebook::jsi::Runtime&)
                                                                                                                   /opt/android/ndk/27.1.12297006/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/c++/v1/__type_traits/invoke.h:344:25
                                                                                                                   void std::__ndk1::__invoke_void_return_wrapper<void, true>::__call[abi:ne180000]<facebook::react::ReactInstance::loadScript(std::__ndk1::unique_ptr<facebook::react::JSBigString const, std::__ndk1::default_delete<facebook::react::JSBigString const>>, std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char>> const&, std::__ndk1::function<void (facebook::jsi::Runtime&)>&&)::$_0&, facebook::jsi::Runtime&>(facebook::react::ReactInstance::loadScript(std::__ndk1::unique_ptr<facebook::react::JSBigString const, std::__ndk1::default_delete<facebook::react::JSBigString const>>, std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char>> const&, std::__ndk1::function<void (facebook::jsi::Runtime&)>&&)::$_0&, facebook::jsi::Runtime&)
                                                                                                                   /opt/android/ndk/27.1.12297006/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/c++/v1/__type_traits/invoke.h:419:5
                                                                                                                   std::__ndk1::__function::__alloc_func<facebook::react::ReactInstance::loadScript(std::__ndk1::unique_ptr<facebook::react::JSBigString const, std::__ndk1::default_delete<facebook::react::JSBigString const>>, std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char>> const&, std::__ndk1::function<void (facebook::jsi::Runtime&)>&&)::$_0, std::__ndk1::allocator<facebook::react::ReactInstance::loadScript(std::__ndk1::unique_ptr<facebook::react::JSBigString const, std::__ndk1::default_delete<facebook::react::JSBigString const>>, std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char>> const&, std::__ndk1::function<void (facebook::jsi::Runtime&)>&&)::$_0>, void (facebook::jsi::Runtime&)>::operator()[abi:ne180000](facebook::jsi::Runtime&)
                                                                                                                   /opt/android/ndk/27.1.12297006/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/c++/v1/__functional/function.h:166:12
                                                                                                                   std::__ndk1::__function::__func<facebook::react::ReactInstance::loadScript(std::__ndk1::unique_ptr<facebook::react::JSBigString const, std::__ndk1::default_delete<facebook::react::JSBigString const>>, std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char>> const&, std::__ndk1::function<void (facebook::jsi::Runtime&)>&&)::$_0, std::__ndk1::allocator<facebook::react::ReactInstance::loadScript(std::__ndk1::unique_ptr<facebook::react::JSBigString const, std::__ndk1::default_delete<facebook::react::JSBigString const>>, std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char>> const&, std::__ndk1::function<void (facebook::jsi::Runtime&)>&&)::$_0>, void (facebook::jsi::Runtime&)>::operator()(facebook::jsi::Runtime&)
                                                                                                                   /opt/android/ndk/27.1.12297006/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/c++/v1/__functional/function.h:308:10
#32 0x00389c3b /data/app/~~zrJNSOPg5HZjrznZD2Ieeg==/com.rn079-WGfUd-iUqnKgLs_eHUxung==/base.apk!libreactnative.so (offset 0x11d4000) (facebook::react::Task::execute(facebook::jsi::Runtime&, bool)+234) (BuildId: 37f93fd117921775)
                                                                                                                   std::__ndk1::__function::__value_func<void (facebook::jsi::Runtime&)>::operator()[abi:ne180000](facebook::jsi::Runtime&) const
                                                                                                                   /opt/android/ndk/27.1.12297006/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/c++/v1/__functional/function.h:425:12
                                                                                                                   std::__ndk1::function<void (facebook::jsi::Runtime&)>::operator()(facebook::jsi::Runtime&) const
                                                                                                                   /opt/android/ndk/27.1.12297006/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/c++/v1/__functional/function.h:978:10
                                                                                                                   facebook::react::Task::execute(facebook::jsi::Runtime&, bool)
                                                                                                                   /__w/react-native/react-native/packages/react-native/ReactCommon/react/renderer/runtimescheduler/Task.cpp:48:5
#33 0x0038830d /data/app/~~zrJNSOPg5HZjrznZD2Ieeg==/com.rn079-WGfUd-iUqnKgLs_eHUxung==/base.apk!libreactnative.so (offset 0x11d4000) (facebook::react::RuntimeScheduler_Modern::executeTask(facebook::jsi::Runtime&, facebook::react::Task&, bool) const+32) (BuildId: 37f93fd117921775)
                                                                                                                   facebook::react::RuntimeScheduler_Modern::executeTask(facebook::jsi::Runtime&, facebook::react::Task&, bool) const
                                                                                                                   /__w/react-native/react-native/packages/react-native/ReactCommon/react/renderer/runtimescheduler/RuntimeScheduler_Modern.cpp:382:24
#34 0x003889c1 /data/app/~~zrJNSOPg5HZjrznZD2Ieeg==/com.rn079-WGfUd-iUqnKgLs_eHUxung==/base.apk!libreactnative.so (offset 0x11d4000) (facebook::react::RuntimeScheduler_Modern::runEventLoopTick(facebook::jsi::Runtime&, facebook::react::Task&, std::__ndk1::chrono::time_point<std::__ndk1::chrono::steady_clock, std::__ndk1::chrono::duration<long long, std::__ndk1::ratio<1ll, 1000000000ll> > >)+112) (BuildId: 37f93fd117921775)
                                                                                                                   facebook::react::RuntimeScheduler_Modern::runEventLoopTick(facebook::jsi::Runtime&, facebook::react::Task&, std::__ndk1::chrono::time_point<std::__ndk1::chrono::steady_clock, std::__ndk1::chrono::duration<long long, std::__ndk1::ratio<1ll, 1000000000ll>>>)
                                                                                                                   /__w/react-native/react-native/packages/react-native/ReactCommon/react/renderer/runtimescheduler/RuntimeScheduler_Modern.cpp:328:3
#35 0x0038870f /data/app/~~zrJNSOPg5HZjrznZD2Ieeg==/com.rn079-WGfUd-iUqnKgLs_eHUxung==/base.apk!libreactnative.so (offset 0x11d4000) (facebook::react::RuntimeScheduler_Modern::runEventLoop(facebook::jsi::Runtime&, bool)+106) (BuildId: 37f93fd117921775)
                                                                                                                   facebook::react::RuntimeScheduler_Modern::runEventLoop(facebook::jsi::Runtime&, bool)
                                                                                                                   /__w/react-native/react-native/packages/react-native/ReactCommon/react/renderer/runtimescheduler/RuntimeScheduler_Modern.cpp:271:5
#36 0x00256a4b /data/app/~~zrJNSOPg5HZjrznZD2Ieeg==/com.rn079-WGfUd-iUqnKgLs_eHUxung==/base.apk!libreactnative.so (offset 0x11d4000) (BuildId: 37f93fd117921775)
                                                                                                                   std::__ndk1::__function::__value_func<void (facebook::jsi::Runtime&)>::operator()[abi:ne180000](facebook::jsi::Runtime&) const
                                                                                                                   /opt/android/ndk/27.1.12297006/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/c++/v1/__functional/function.h:425:12
                                                                                                                   std::__ndk1::function<void (facebook::jsi::Runtime&)>::operator()(facebook::jsi::Runtime&) const
                                                                                                                   /opt/android/ndk/27.1.12297006/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/c++/v1/__functional/function.h:978:10
                                                                                                                   _ZZZN8facebook5react13ReactInstanceC1ENSt6__ndk110unique_ptrINS0_9JSRuntimeENS2_14default_deleteIS4_EEEENS2_10shared_ptrINS0_18MessageQueueThreadEEENS8_INS0_12TimerManagerEEENS2_8functionIFvRNS_3jsi7RuntimeERKNS0_14JsErrorHandler14ProcessedErrorEEEEPNS0_18jsinspector_modern10HostTargetEENK3$_0clINSD_IFvSG_EEEEEDaT_ENKUlvE_clEv
                                                                                                                   /__w/react-native/react-native/packages/react-native/ReactCommon/react/runtime/ReactInstance.cpp:83:15
                                                                                                                   _ZNSt6__ndk18__invokeB8ne180000IRZZN8facebook5react13ReactInstanceC1ENS_10unique_ptrINS2_9JSRuntimeENS_14default_deleteIS5_EEEENS_10shared_ptrINS2_18MessageQueueThreadEEENS9_INS2_12TimerManagerEEENS_8functionIFvRNS1_3jsi7RuntimeERKNS2_14JsErrorHandler14ProcessedErrorEEEEPNS2_18jsinspector_modern10HostTargetEENK3$_0clINSE_IFvSH_EEEEEDaT_EUlvE_JEEEDTclclsr3stdE7declvalISV_EEspclsr3stdE7declvalIT0_EEEEOSV_DpOSY_
                                                                                                                   /opt/android/ndk/27.1.12297006/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/c++/v1/__type_traits/invoke.h:344:25
                                                                                                                   _ZNSt6__ndk128__invoke_void_return_wrapperIvLb1EE6__callB8ne180000IJRZZN8facebook5react13ReactInstanceC1ENS_10unique_ptrINS4_9JSRuntimeENS_14default_deleteIS7_EEEENS_10shared_ptrINS4_18MessageQueueThreadEEENSB_INS4_12TimerManagerEEENS_8functionIFvRNS3_3jsi7RuntimeERKNS4_14JsErrorHandler14ProcessedErrorEEEEPNS4_18jsinspector_modern10HostTargetEENK3$_0clINSG_IFvSJ_EEEEEDaT_EUlvE_EEEvDpOT_
                                                                                                                   /opt/android/ndk/27.1.12297006/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/c++/v1/__type_traits/invoke.h:419:5
                                                                                                                   _ZNSt6__ndk110__function12__alloc_funcIZZN8facebook5react13ReactInstanceC1ENS_10unique_ptrINS3_9JSRuntimeENS_14default_deleteIS6_EEEENS_10shared_ptrINS3_18MessageQueueThreadEEENSA_INS3_12TimerManagerEEENS_8functionIFvRNS2_3jsi7RuntimeERKNS3_14JsErrorHandler14ProcessedErrorEEEEPNS3_18jsinspector_modern10HostTargetEENK3$_0clINSF_IFvSI_EEEEEDaT_EUlvE_NS_9allocatorISX_EEFvvEEclB8ne180000Ev
                                                                                                                   /opt/android/ndk/27.1.12297006/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/c++/v1/__functional/function.h:166:12
                                                                                                                   _ZNSt6__ndk110__function6__funcIZZN8facebook5react13ReactInstanceC1ENS_10unique_ptrINS3_9JSRuntimeENS_14default_deleteIS6_EEEENS_10shared_ptrINS3_18MessageQueueThreadEEENSA_INS3_12TimerManagerEEENS_8functionIFvRNS2_3jsi7RuntimeERKNS3_14JsErrorHandler14ProcessedErrorEEEEPNS3_18jsinspector_modern10HostTargetEENK3$_0clINSF_IFvSI_EEEEEDaT_EUlvE_NS_9allocatorISX_EEFvvEEclEv
                                                                                                                   /opt/android/ndk/27.1.12297006/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/c++/v1/__functional/function.h:308:10
#37 0x003b3ae9 /data/app/~~zrJNSOPg5HZjrznZD2Ieeg==/com.rn079-WGfUd-iUqnKgLs_eHUxung==/base.apk!libreactnative.so (offset 0x11d4000) (BuildId: 37f93fd117921775)
                                                                                                                   std::__ndk1::__function::__value_func<void ()>::operator()[abi:ne180000]() const
                                                                                                                   /opt/android/ndk/27.1.12297006/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/c++/v1/__functional/function.h:425:12
                                                                                                                   std::__ndk1::function<void ()>::operator()() const
                                                                                                                   /opt/android/ndk/27.1.12297006/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/c++/v1/__functional/function.h:978:10
                                                                                                                   facebook::react::(anonymous namespace)::wrapRunnable(std::__ndk1::function<void ()>&&)::$_0::operator()()
                                                                                                                   /__w/react-native/react-native/packages/react-native/ReactAndroid/src/main/jni/react/jni/JMessageQueueThread.cpp:37:7
                                                                                                                   decltype(std::declval<facebook::react::(anonymous namespace)::wrapRunnable(std::__ndk1::function<void ()>&&)::$_0&>()()) std::__ndk1::__invoke[abi:ne180000]<facebook::react::(anonymous namespace)::wrapRunnable(std::__ndk1::function<void ()>&&)::$_0&>(facebook::react::(anonymous namespace)::wrapRunnable(std::__ndk1::function<void ()>&&)::$_0&)
                                                                                                                   /opt/android/ndk/27.1.12297006/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/c++/v1/__type_traits/invoke.h:344:25
                                                                                                                   void std::__ndk1::__invoke_void_return_wrapper<void, true>::__call[abi:ne180000]<facebook::react::(anonymous namespace)::wrapRunnable(std::__ndk1::function<void ()>&&)::$_0&>(facebook::react::(anonymous namespace)::wrapRunnable(std::__ndk1::function<void ()>&&)::$_0&)
                                                                                                                   /opt/android/ndk/27.1.12297006/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/c++/v1/__type_traits/invoke.h:419:5
                                                                                                                   std::__ndk1::__function::__alloc_func<facebook::react::(anonymous namespace)::wrapRunnable(std::__ndk1::function<void ()>&&)::$_0, std::__ndk1::allocator<facebook::react::(anonymous namespace)::wrapRunnable(std::__ndk1::function<void ()>&&)::$_0>, void ()>::operator()[abi:ne180000]()
                                                                                                                   /opt/android/ndk/27.1.12297006/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/c++/v1/__functional/function.h:166:12
                                                                                                                   std::__ndk1::__function::__func<facebook::react::(anonymous namespace)::wrapRunnable(std::__ndk1::function<void ()>&&)::$_0, std::__ndk1::allocator<facebook::react::(anonymous namespace)::wrapRunnable(std::__ndk1::function<void ()>&&)::$_0>, void ()>::operator()()
                                                                                                                   /opt/android/ndk/27.1.12297006/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/c++/v1/__functional/function.h:308:10
#38 0x000106a3 /data/app/~~zrJNSOPg5HZjrznZD2Ieeg==/com.rn079-WGfUd-iUqnKgLs_eHUxung==/base.apk!libfbjni.so (offset 0xf84000) (facebook::jni::detail::MethodWrapper<void (facebook::jni::JNativeRunnable::*)(), &(facebook::jni::JNativeRunnable::run()), facebook::jni::JNativeRunnable, void>::dispatch(facebook::jni::alias_ref<facebook::jni::detail::JTypeFor<facebook::jni::HybridClass<facebook::jni::JNativeRunnable, facebook::jni::JRunnable>::JavaPart, facebook::jni::JRunnable, void>::_javaobject*>)+54) (BuildId: bc1f23c0c45e1c7ad496193c948e61d7f39b15e9)
                                                                                                             std::__ndk1::__function::__value_func<void ()>::operator()[abi:ne180000]() const
                                                                                                             /usr/local/lib/android/sdk/ndk/27.1.12297006/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/c++/v1/__functional/function.h:425:12
                                                                                                             std::__ndk1::function<void ()>::operator()() const
                                                                                                             /usr/local/lib/android/sdk/ndk/27.1.12297006/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/c++/v1/__functional/function.h:978:10
                                                                                                             facebook::jni::JNativeRunnable::run()
                                                                                                             /home/runner/work/fbjni/fbjni/cxx/fbjni/NativeRunnable.h:44:5
                                                                                                             facebook::jni::detail::MethodWrapper<void (facebook::jni::JNativeRunnable::*)(), &facebook::jni::JNativeRunnable::run(), facebook::jni::JNativeRunnable, void>::dispatch(facebook::jni::alias_ref<facebook::jni::detail::JTypeFor<facebook::jni::HybridClass<facebook::jni::JNativeRunnable, facebook::jni::JRunnable>::JavaPart, facebook::jni::JRunnable, void>::_javaobject*>)
                                                                                                             /home/runner/work/fbjni/fbjni/cxx/fbjni/detail/Registration-inl.h:129:14
#39 0x0001061d /data/app/~~zrJNSOPg5HZjrznZD2Ieeg==/com.rn079-WGfUd-iUqnKgLs_eHUxung==/base.apk!libfbjni.so (offset 0xf84000) (facebook::jni::detail::FunctionWrapper<void (*)(facebook::jni::alias_ref<facebook::jni::detail::JTypeFor<facebook::jni::HybridClass<facebook::jni::JNativeRunnable, facebook::jni::JRunnable>::JavaPart, facebook::jni::JRunnable, void>::_javaobject*>), facebook::jni::detail::JTypeFor<facebook::jni::HybridClass<facebook::jni::JNativeRunnable, facebook::jni::JRunnable>::JavaPart, facebook::jni::JRunnable, void>::_javaobject*, void>::call(_JNIEnv*, _jobject*, void (*)(facebook::jni::alias_ref<facebook::jni::detail::JTypeFor<facebook::jni::HybridClass<facebook::jni::JNativeRunnable, facebook::jni::JRunnable>::JavaPart, facebook::jni::JRunnable, void>::_javaobject*>))+32) (BuildId: bc1f23c0c45e1c7ad496193c948e61d7f39b15e9)
                                                                                                             facebook::jni::detail::CallWithJniConversions<void (*)(facebook::jni::alias_ref<facebook::jni::detail::JTypeFor<facebook::jni::HybridClass<facebook::jni::JNativeRunnable, facebook::jni::JRunnable>::JavaPart, facebook::jni::JRunnable, void>::_javaobject*>), void, facebook::jni::detail::JTypeFor<facebook::jni::HybridClass<facebook::jni::JNativeRunnable, facebook::jni::JRunnable>::JavaPart, facebook::jni::JRunnable, void>::_javaobject*>::call(facebook::jni::detail::JTypeFor<facebook::jni::HybridClass<facebook::jni::JNativeRunnable, facebook::jni::JRunnable>::JavaPart, facebook::jni::JRunnable, void>::_javaobject*, void (*)(facebook::jni::alias_ref<facebook::jni::detail::JTypeFor<facebook::jni::HybridClass<facebook::jni::JNativeRunnable, facebook::jni::JRunnable>::JavaPart, facebook::jni::JRunnable, void>::_javaobject*>))
                                                                                                             /home/runner/work/fbjni/fbjni/cxx/fbjni/detail/Registration-inl.h:66:5
                                                                                                             facebook::jni::detail::FunctionWrapper<void (*)(facebook::jni::alias_ref<facebook::jni::detail::JTypeFor<facebook::jni::HybridClass<facebook::jni::JNativeRunnable, facebook::jni::JRunnable>::JavaPart, facebook::jni::JRunnable, void>::_javaobject*>), facebook::jni::detail::JTypeFor<facebook::jni::HybridClass<facebook::jni::JNativeRunnable, facebook::jni::JRunnable>::JavaPart, facebook::jni::JRunnable, void>::_javaobject*, void>::call(_JNIEnv*, _jobject*, void (*)(facebook::jni::alias_ref<facebook::jni::detail::JTypeFor<facebook::jni::HybridClass<facebook::jni::JNativeRunnable, facebook::jni::JRunnable>::JavaPart, facebook::jni::JRunnable, void>::_javaobject*>))
                                                                                                             /home/runner/work/fbjni/fbjni/cxx/fbjni/detail/Registration-inl.h:95:14
#40 0x00022b13 /data/app/~~zrJNSOPg5HZjrznZD2Ieeg==/com.rn079-WGfUd-iUqnKgLs_eHUxung==/oat/arm/base.odex (art_jni_trampoline+74)
#41 0x0053cd99 /system/framework/arm/boot-framework.oat (android.os.Handler.dispatchMessage+64) (BuildId: 40024e544b22d4ca83688631c36f2f4568fe685a)
#42 0x000d35d5 /apex/com.android.art/lib/libart.so (art_quick_invoke_stub_internal+68) (BuildId: ff1ad245b994a97d59c926d97e9a909e)
#43 0x004ef1a7 /apex/com.android.art/lib/libart.so (art_quick_invoke_stub+282) (BuildId: ff1ad245b994a97d59c926d97e9a909e)
#44 0x0012c681 /apex/com.android.art/lib/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+148) (BuildId: ff1ad245b994a97d59c926d97e9a909e)
#45 0x002407bf /apex/com.android.art/lib/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+254) (BuildId: ff1ad245b994a97d59c926d97e9a909e)
#46 0x002384df /apex/com.android.art/lib/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+746) (BuildId: ff1ad245b994a97d59c926d97e9a909e)
#47 0x004e11f7 /apex/com.android.art/lib/libart.so (MterpInvokeSuper+1394) (BuildId: ff1ad245b994a97d59c926d97e9a909e)
#48 0x000ce094 /apex/com.android.art/lib/libart.so (mterp_op_invoke_super+20) (BuildId: ff1ad245b994a97d59c926d97e9a909e)
#49 0x002d6d42 /data/app/~~zrJNSOPg5HZjrznZD2Ieeg==/com.rn079-WGfUd-iUqnKgLs_eHUxung==/oat/arm/base.vdex (com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage+10)
#50 0x0023142b /apex/com.android.art/lib/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.llvm.2939591179090543404)+254) (BuildId: ff1ad245b994a97d59c926d97e9a909e)
#51 0x00237c3d /apex/com.android.art/lib/libart.so (art::interpreter::EnterInterpreterFromEntryPoint(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*)+120) (BuildId: ff1ad245b994a97d59c926d97e9a909e)
#52 0x004d1d9b /apex/com.android.art/lib/libart.so (artQuickToInterpreterBridge+686) (BuildId: ff1ad245b994a97d59c926d97e9a909e)
#53 0x000d8161 /apex/com.android.art/lib/libart.so (art_quick_to_interpreter_bridge+32) (BuildId: ff1ad245b994a97d59c926d97e9a909e)
#54 0x0053f7c1 /system/framework/arm/boot-framework.oat (android.os.Looper.loop+1352) (BuildId: 40024e544b22d4ca83688631c36f2f4568fe685a)
#55 0x000d35d5 /apex/com.android.art/lib/libart.so (art_quick_invoke_stub_internal+68) (BuildId: ff1ad245b994a97d59c926d97e9a909e)
#56 0x004ef2d9 /apex/com.android.art/lib/libart.so (art_quick_invoke_static_stub+276) (BuildId: ff1ad245b994a97d59c926d97e9a909e)
#57 0x0012c693 /apex/com.android.art/lib/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+166) (BuildId: ff1ad245b994a97d59c926d97e9a909e)
#58 0x002407bf /apex/com.android.art/lib/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+254) (BuildId: ff1ad245b994a97d59c926d97e9a909e)
#59 0x002384df /apex/com.android.art/lib/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+746) (BuildId: ff1ad245b994a97d59c926d97e9a909e)
#60 0x004e305b /apex/com.android.art/lib/libart.so (MterpInvokeStatic+482) (BuildId: ff1ad245b994a97d59c926d97e9a909e)
#61 0x000ce194 /apex/com.android.art/lib/libart.so (mterp_op_invoke_static+20) (BuildId: ff1ad245b994a97d59c926d97e9a909e)
#62 0x002d70b8 /data/app/~~zrJNSOPg5HZjrznZD2Ieeg==/com.rn079-WGfUd-iUqnKgLs_eHUxung==/oat/arm/base.vdex (com.facebook.react.bridge.queue.MessageQueueThreadImpl$Companion.startNewBackgroundThread$lambda$1+76)
#63 0x0023142b /apex/com.android.art/lib/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.llvm.2939591179090543404)+254) (BuildId: ff1ad245b994a97d59c926d97e9a909e)
#64 0x00237d09 /apex/com.android.art/lib/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+144) (BuildId: ff1ad245b994a97d59c926d97e9a909e)
#65 0x002384c7 /apex/com.android.art/lib/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+722) (BuildId: ff1ad245b994a97d59c926d97e9a909e)
#66 0x004e305b /apex/com.android.art/lib/libart.so (MterpInvokeStatic+482) (BuildId: ff1ad245b994a97d59c926d97e9a909e)
#67 0x000ce194 /apex/com.android.art/lib/libart.so (mterp_op_invoke_static+20) (BuildId: ff1ad245b994a97d59c926d97e9a909e)
#68 0x002d6fec /data/app/~~zrJNSOPg5HZjrznZD2Ieeg==/com.rn079-WGfUd-iUqnKgLs_eHUxung==/oat/arm/base.vdex (com.facebook.react.bridge.queue.MessageQueueThreadImpl$Companion.$r8$lambda$ldnZnqelhYFctGaUKkOKYj5rxo4)
#69 0x0023142b /apex/com.android.art/lib/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.llvm.2939591179090543404)+254) (BuildId: ff1ad245b994a97d59c926d97e9a909e)
#70 0x00237d09 /apex/com.android.art/lib/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+144) (BuildId: ff1ad245b994a97d59c926d97e9a909e)
#71 0x002384c7 /apex/com.android.art/lib/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+722) (BuildId: ff1ad245b994a97d59c926d97e9a909e)
#72 0x004e305b /apex/com.android.art/lib/libart.so (MterpInvokeStatic+482) (BuildId: ff1ad245b994a97d59c926d97e9a909e)
#73 0x000ce194 /apex/com.android.art/lib/libart.so (mterp_op_invoke_static+20) (BuildId: ff1ad245b994a97d59c926d97e9a909e)
#74 0x002d6e10 /data/app/~~zrJNSOPg5HZjrznZD2Ieeg==/com.rn079-WGfUd-iUqnKgLs_eHUxung==/oat/arm/base.vdex (com.facebook.react.bridge.queue.MessageQueueThreadImpl$Companion$$ExternalSyntheticLambda0.run+4)
#75 0x0023142b /apex/com.android.art/lib/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.llvm.2939591179090543404)+254) (BuildId: ff1ad245b994a97d59c926d97e9a909e)
#76 0x00237c3d /apex/com.android.art/lib/libart.so (art::interpreter::EnterInterpreterFromEntryPoint(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*)+120) (BuildId: ff1ad245b994a97d59c926d97e9a909e)
#77 0x004d1d9b /apex/com.android.art/lib/libart.so (artQuickToInterpreterBridge+686) (BuildId: ff1ad245b994a97d59c926d97e9a909e)
#78 0x000d8161 /apex/com.android.art/lib/libart.so (art_quick_to_interpreter_bridge+32) (BuildId: ff1ad245b994a97d59c926d97e9a909e)
#79 0x0012cc99 /apex/com.android.art/javalib/arm/boot.oat (java.lang.Thread.run+64) (BuildId: aaef8d2687cbb039de18f09c705c74fecc86e750)
#80 0x000d35d5 /apex/com.android.art/lib/libart.so (art_quick_invoke_stub_internal+68) (BuildId: ff1ad245b994a97d59c926d97e9a909e)
#81 0x004ef1a7 /apex/com.android.art/lib/libart.so (art_quick_invoke_stub+282) (BuildId: ff1ad245b994a97d59c926d97e9a909e)
#82 0x0012c681 /apex/com.android.art/lib/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+148) (BuildId: ff1ad245b994a97d59c926d97e9a909e)
#83 0x003fbb3f /apex/com.android.art/lib/libart.so (art::JValue art::InvokeVirtualOrInterfaceWithJValues<art::ArtMethod*>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, art::ArtMethod*, jvalue const*)+374) (BuildId: ff1ad245b994a97d59c926d97e9a909e)
#84 0x003fbc4f /apex/com.android.art/lib/libart.so (art::JValue art::InvokeVirtualOrInterfaceWithJValues<_jmethodID*>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, jvalue const*)+42) (BuildId: ff1ad245b994a97d59c926d97e9a909e)
#85 0x0043d37d /apex/com.android.art/lib/libart.so (art::Thread::CreateCallback(void*)+1068) (BuildId: ff1ad245b994a97d59c926d97e9a909e)
#86 0x0008061f /apex/com.android.runtime/lib/bionic/libc.so (__pthread_start(void*)+40) (BuildId: 09f5dc86ced902a66ebda24ea42c217d)
#87 0x00039905 /apex/com.android.runtime/lib/bionic/libc.so (__start_thread+30) (BuildId: 09f5dc86ced902a66ebda24ea42c217d)
Crash dump is completed

The crash specifically is happening here:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs: Attention Issues where the author has responded to feedback. Needs: Triage 🔍 Platform: Android Android applications. Type: New Architecture Issues and PRs related to new architecture (Fabric/Turbo Modules)
Projects
None yet
Development

No branches or pull requests

7 participants