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

Crashing with Unhandled debug exception: aarch32 BKPT during AppLaunch #177

Open
SemihGk opened this issue May 3, 2023 · 0 comments
Open

Comments

@SemihGk
Copy link

SemihGk commented May 3, 2023

We have recently started exploring v8 engine over hermes and we get a constant crash for low end devices on app launch. Specifically, Android API 22 FireTV gen 2 devices. Is there anything that we can try to resolve the crash? Based on the crash logs, it is hard to investigate since it is within the engine. Please let us know your thoughts. Thank you.

Our environments:

  • react-native: 0.69.6
  • react-native-v8: 1.6.0
  • v8-android-jit: 0.100.1

Here is the crash logs:

I/Kernel  ( 7331): [  526.151204] (1)[7331:ile.dfw.phoenix]
I/Kernel  (    0): [  526.193432]-(3)[0:swapper/3]CPU3: Booted secondary processor
I/Kernel  (   87): [  526.193663] (2)[87:hps_main][HPS] (0004)(2)(1)action end(331)(455)(0)(4) (2)(2)(2)(2)(2)(2)(2)(2)(1)(0) (0)(0)(0) (0)(0)(0) (0)(0)(0)(0)(134)
I/Kernel  ( 7331): [  526.201762]-(2)[7397:mqt_js]Unhandled debug exception: aarch32 BKPT (0xe0000000) at 0x00000000d5fd39a5
W/art     ( 7331): Attempt to remove local handle scope entry from IRT, ignoring
I/DEBUG   (  171): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG   (  171): Build fingerprint: 'Amazon/full_sloane/sloane:5.1.1/LVY48F/36.6.8.6_user_686800020:user/release-keys'
I/DEBUG   (  171): Revision: '0'
I/DEBUG   (  171): ABI: 'arm'
I/DEBUG   (  171): pid: 7331, tid: 7397, oom: 0, name: mqt_js  >>> com.att.mobile.dfw.phoenix <<<
I/DEBUG   (  171): signal 5 (SIGTRAP), code 1 (TRAP_BRKPT), fault addr 0x1ca3
I/DEBUG   (  171):     r0 00000001  r1 00000000  r2 1ce54001  r3 c9df3067
I/DEBUG   (  171):     r4 d5fbe43f  r5 d554032c  r6 d554010c  r7 f748648c
I/DEBUG   (  171):     r8 00000000  r9 00000000  sl ab8c0198  fp ab8c6400
I/DEBUG   (  171):     ip d6fd183c  sp d5540100  lr d6728bf3  pc d6731b1e  cpsr 400b0030
I/DEBUG   (  171): 
I/DEBUG   (  171): backtrace:
I/DEBUG   (  171):     #00 pc 009c3b1e  /data/app/com.att.mobile.dfw.phoenix-1/lib/arm/libv8android.so (_ZN2v84base2OS5AbortEv+13)
I/DEBUG   (  171):     #01 pc 009babf1  /data/app/com.att.mobile.dfw.phoenix-1/lib/arm/libv8android.so (_Z8V8_FatalPKcz+136)
I/DEBUG   (  171):     #02 pc 00e566af  /data/app/com.att.mobile.dfw.phoenix-1/lib/arm/libv8android.so (_ZN2v88internal12DeserializerINS0_7IsolateEE11SynchronizeENS0_22VisitorSynchronization7SyncTagE+26)
I/DEBUG   (  171):     #03 pc 00c3a1ab  /data/app/com.att.mobile.dfw.phoenix-1/lib/arm/libv8android.so
I/DEBUG   (  171):     #04 pc 00e60089  /data/app/com.att.mobile.dfw.phoenix-1/lib/arm/libv8android.so
I/DEBUG   (  171):     #05 pc 00bf6d5d  /data/app/com.att.mobile.dfw.phoenix-1/lib/arm/libv8android.so (_ZN2v88internal7Isolate4InitEPNS0_12SnapshotDataES3_S3_b+2108)
I/DEBUG   (  171):     #06 pc 00bf70e9  /data/app/com.att.mobile.dfw.phoenix-1/lib/arm/libv8android.so (_ZN2v88internal7Isolate16InitWithSnapshotEPNS0_12SnapshotDataES3_S3_b+12)
I/DEBUG   (  171):     #07 pc 00e5e725  /data/app/com.att.mobile.dfw.phoenix-1/lib/arm/libv8android.so
I/DEBUG   (  171):     #08 pc 00b5431d  /data/app/com.att.mobile.dfw.phoenix-1/lib/arm/libv8android.so (_ZN2v87Isolate10InitializeEPS0_RKNS0_12CreateParamsE+324)
I/DEBUG   (  171):     #09 pc 00b54461  /data/app/com.att.mobile.dfw.phoenix-1/lib/arm/libv8android.so (_ZN2v87Isolate3NewERKNS0_12CreateParamsE+12)
I/DEBUG   (  171):     #10 pc 00037900  /data/app/com.att.mobile.dfw.phoenix-1/lib/arm/libv8executor.so (_ZN4rnv89V8RuntimeC1ENSt6__ndk110unique_ptrINS_15V8RuntimeConfigENS1_14default_deleteIS3_EEEENS1_10shared_ptrIN8facebook5react18MessageQueueThreadEEE+496)
I/DEBUG   (  171):     #11 pc 0003f3d4  /data/app/com.att.mobile.dfw.phoenix-1/lib/arm/libv8executor.so
I/DEBUG   (  171):     #12 pc 0003f280  /data/app/com.att.mobile.dfw.phoenix-1/lib/arm/libv8executor.so (_ZN4rnv815createV8RuntimeENSt6__ndk110unique_ptrINS_15V8RuntimeConfigENS0_14default_deleteIS2_EEEENS0_10shared_ptrIN8facebook5react18MessageQueueThreadEEE+20)
I/DEBUG   (  171):     #13 pc 0003f54c  /data/app/com.att.mobile.dfw.phoenix-1/lib/arm/libv8executor.so (_ZN4rnv817V8ExecutorFactory16createJSExecutorENSt6__ndk110shared_ptrIN8facebook5react16ExecutorDelegateEEENS2_INS4_18MessageQueueThreadEEE+132)
I/DEBUG   (  171):     #14 pc 000889e5  /data/app/com.att.mobile.dfw.phoenix-1/lib/arm/libreactnativejni.so (_ZN8facebook5react16NativeToJsBridgeC2EPNS0_17JSExecutorFactoryENSt6__ndk110shared_ptrINS0_14ModuleRegistryEEENS5_INS0_18MessageQueueThreadEEENS5_INS0_16InstanceCallbackEEE+380)
I/DEBUG   (  171):     #15 pc 00083b1f  /data/app/com.att.mobile.dfw.phoenix-1/lib/arm/libreactnativejni.so (_ZNSt6__ndk122__compressed_pair_elemIN8facebook5react16NativeToJsBridgeELi1ELb0EEC2IJOPNS2_17JSExecutorFactoryERNS_10shared_ptrINS2_14ModuleRegistryEEERNS9_INS2_18MessageQueueThreadEEERNS9_INS2_16InstanceCallbackEEEEJLj0ELj1ELj2ELj3EEEENS_21piecewise_construct_tENS_5tupleIJDpT_EEENS_15__tuple_indicesIJXspT0_EEEE+114)
I/DEBUG   (  171):     #16 pc 00083963  /data/app/com.att.mobile.dfw.phoenix-1/lib/arm/libreactnativejni.so
I/DEBUG   (  171):     #17 pc 0006c60b  /data/app/com.att.mobile.dfw.phoenix-1/lib/arm/libreactnativejni.so
I/DEBUG   (  171):     #18 pc 0006b82d  /data/app/com.att.mobile.dfw.phoenix-1/lib/arm/libreactnativejni.so
I/DEBUG   (  171):     #19 pc 00062c7b  /data/app/com.att.mobile.dfw.phoenix-1/lib/arm/libreactnativejni.so (_ZN8facebook3jni6detail13MethodWrapperIMNS_5react15JNativeRunnableEFvvEXadL_ZNS4_3runEvEES4_vJEE8dispatchENS0_9alias_refIPNS1_8JTypeForINS0_11HybridClassIS4_NS3_8RunnableEE8JavaPartESB_vE11_javaobjectEEE+62)
I/DEBUG   (  171):     #20 pc 00062bf5  /data/app/com.att.mobile.dfw.phoenix-1/lib/arm/libreactnativejni.so (_ZN8facebook3jni6detail15FunctionWrapperIPFvNS0_9alias_refIPNS1_8JTypeForINS0_11HybridClassINS_5react15JNativeRunnableENS6_8RunnableEE8JavaPartES8_vE11_javaobjectEEEESD_vJEE4callEP7_JNIEnvP8_jobjectSG_+36)
I/DEBUG   (  171):     #21 pc 004091b7  /data/dalvik-cache/arm/data@[email protected]@[email protected]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant