hermes: RN0.64 Android crash with Hermes Debugger in Flipper

Bug Description

I’m trying to use the Hermes Debugger in Flipper on an existing RN0.64 app which we recently tried to use Hermes on.

  • I have run gradle clean and confirmed this bug does not occur with JSC

Hermes version: Same as RN 0.64 React Native version (if any): 0.64 OS version (if any): Android 11 Platform (most likely one of arm64-v8a, armeabi-v7a, x86, x86_64):

Steps To Reproduce

  1. Start app on device.
  2. Go to Hermes Debugger (RN) in Flipper
  3. Crashes with Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0 in tid 32085 (Thread-13)

The crash dump shows:

signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0
Cause: null pointer dereference
#00 pc 000000000001d8d8 /data/app/~~XKMe7YzatnzZ3bppE8Hs3g==/com.app-JpLF1sF9vptsqfIbCTNcRw==/lib/arm64/libhermes-executor-common-debug.so (BuildId: f45383ff790ccc1692f3c61165ee8f75d3d66eaf)
#01 pc 00000000001e7efc /data/app/~~XKMe7YzatnzZ3bppE8Hs3g==/com.app-JpLF1sF9vptsqfIbCTNcRw==/lib/arm64/libhermes.so (BuildId: 6f52702204565e62fc1d0d9a58755bb7a4b543a7)
#02 pc 00000000001e7e68 /data/app/~~XKMe7YzatnzZ3bppE8Hs3g==/com.app-JpLF1sF9vptsqfIbCTNcRw==/lib/arm64/libhermes.so (BuildId: 6f52702204565e62fc1d0d9a58755bb7a4b543a7)
#03 pc 000000000013ced4 /apex/com.android.art/lib64/libart.so (art_quick_generic_jni_trampoline+148) (BuildId: 91ea3336584f5c23cca0c4a4a9b7d164)
#04 pc 0000000000133564 /apex/com.android.art/lib64/libart.so (art_quick_invoke_stub+548) (BuildId: 91ea3336584f5c23cca0c4a4a9b7d164)
#05 pc 00000000001a8a78 /apex/com.android.art/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+200) (BuildId: 91ea3336584f5c23cca0c4a4a9b7d164)
#06 pc 0000000000318278 /apex/com.android.art/lib64/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+376) (BuildId: 91ea3336584f5c23cca0c4a4a9b7d164)
#07 pc 000000000030e5a4 /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+996) (BuildId: 91ea3336584f5c23cca0c4a4a9b7d164)
#08 pc 000000000067e9ac /apex/com.android.art/lib64/libart.so (MterpInvokeInterface+1032) (BuildId: 91ea3336584f5c23cca0c4a4a9b7d164)
#09 pc 000000000012da14 /apex/com.android.art/lib64/libart.so (mterp_op_invoke_interface+20) (BuildId: 91ea3336584f5c23cca0c4a4a9b7d164)
#10 pc 00000000000eb89c /apex/com.android.art/javalib/core-oj.jar (java.lang.Thread.run+8)
#11 pc 0000000000305ba0 /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.llvm.3685415019599751405)+268) (BuildId: 91ea3336584f5c23cca0c4a4a9b7d164)
#12 pc 000000000066bcf4 /apex/com.android.art/lib64/libart.so (artQuickToInterpreterBridge+780) (BuildId: 91ea3336584f5c23cca0c4a4a9b7d164)
#13 pc 000000000013cff8 /apex/com.android.art/lib64/libart.so (art_quick_to_interpreter_bridge+88) (BuildId: 91ea3336584f5c23cca0c4a4a9b7d164)
#14 pc 0000000000133564 /apex/com.android.art/lib64/libart.so (art_quick_invoke_stub+548) (BuildId: 91ea3336584f5c23cca0c4a4a9b7d164)
#15 pc 00000000001a8a78 /apex/com.android.art/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+200) (BuildId: 91ea3336584f5c23cca0c4a4a9b7d164)
#16 pc 00000000005557a8 /apex/com.android.art/lib64/libart.so (art::JValue art::InvokeVirtualOrInterfaceWithJValues<art::ArtMethod*>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, art::ArtMethod*, jvalue const*)+460) (BuildId: 91ea3336584f5c23cca0c4a4a9b7d164)
#17 pc 00000000005a4b0c /apex/com.android.art/lib64/libart.so (art::Thread::CreateCallback(void*)+1308) (BuildId: 91ea3336584f5c23cca0c4a4a9b7d164)
#18 pc 00000000000da278 /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+64) (BuildId: 1ca28d785d6567d2b225cf978ef04de5)
#19 pc 000000000007a448 /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) (BuildId: 1ca28d785d6567d2b225cf978ef04de5)

Not sure how to get the tombstone file from the phone, as it isn’t rooted.

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Reactions: 8
  • Comments: 16 (3 by maintainers)

Most upvoted comments

Still having an issue with Sampling Profiler like @andreialecu said - intermittently.

@neildhar I think the issue is related to the fact the hermes runetime used by reanimated is created on a different thread than the one it is being used on (ui thread). Heres where the init code is https://github.com/software-mansion/react-native-reanimated/blob/main/android/src/main/cpp/NativeProxy.cpp#L125. Hermes using current thread for profiler https://github.com/facebook/hermes/blob/main/lib/VM/Profiler/SamplingProfilerPosix.cpp#L381.

Not sure what be best solution is here, but I submitted a patch to disable profiler for the reanimated hermes runtime as a workaround. https://github.com/software-mansion/react-native-reanimated/pull/2842

@WNemencha Can you confirm that you are still seeing this issue with the latest version of reanimated? The corresponding issue in reanimated seems to have been closed a few days ago: software-mansion/react-native-reanimated#1923

If so, are you able to provide a symbolicated stack trace?

It’s still happening to me. I tried with hermes enabled and disabled and both crashes my app when I turn on remote debugging. Here is what I can scrape from adb logcat.

FATAL EXCEPTION: mqt_js
12-26 00:55:09.492 19046 19456 E AndroidRuntime: Process: com.my_takeouts, PID: 19046
12-26 00:55:09.492 19046 19456 E AndroidRuntime: java.lang.AssertionError: No source URL loaded, have you initialised the instance?
12-26 00:55:09.492 19046 19456 E AndroidRuntime:        at com.facebook.infer.annotation.Assertions.assertNotNull(Assertions.java:19)
12-26 00:55:09.492 19046 19456 E AndroidRuntime:        at com.facebook.react.modules.debug.SourceCodeModule.getTypedExportedConstants(SourceCodeModule.java:39)
12-26 00:55:09.492 19046 19456 E AndroidRuntime:        at com.facebook.fbreact.specs.NativeSourceCodeSpec.getConstants(NativeSourceCodeSpec.java:38)
12-26 00:55:09.492 19046 19456 E AndroidRuntime:        at com.facebook.react.bridge.JavaModuleWrapper.getConstants(JavaModuleWrapper.java:142)
12-26 00:55:09.492 19046 19456 E AndroidRuntime:        at com.facebook.react.bridge.queue.NativeRunnable.run(Native Method)
12-26 00:55:09.492 19046 19456 E AndroidRuntime:        at android.os.Handler.handleCallback(Handler.java:883)
12-26 00:55:09.492 19046 19456 E AndroidRuntime:        at android.os.Handler.dispatchMessage(Handler.java:100)
12-26 00:55:09.492 19046 19456 E AndroidRuntime:        at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:27)
12-26 00:55:09.492 19046 19456 E AndroidRuntime:        at android.os.Looper.loop(Looper.java:237)
12-26 00:55:09.492 19046 19456 E AndroidRuntime:        at com.facebook.react.bridge.queue.MessageQueueThreadImpl$4.run(MessageQueueThreadImpl.java:226)
12-26 00:55:09.492 19046 19456 E AndroidRuntime:        at java.lang.Thread.run(Thread.java:919)
...
12-26 00:55:09.507   946   976 D Debug   : !@DumpState : SHIP
12-26 00:55:09.507   946   976 D Debug   : !@DumpState : debug level:0x4f4c
12-26 00:55:09.507   946   976 D Debug   : !@Dumpstate : Finally, system will skip dumpstate
12-26 00:55:09.510   946   976 W ActivityManager: crash : com.my_takeouts,0
12-26 00:55:09.514   946   976 W ActivityTaskManager:   Force finishing activity com.my_takeouts/.MainActivity
12-26 00:55:09.515   946   976 D ActivityTaskManager: updateMinimizedState: unknown notifyReason=2
...
12-26 00:55:09.741 19460 19460 F DEBUG   :
12-26 00:55:09.741 19460 19460 F DEBUG   : backtrace:
12-26 00:55:09.742  6960  6960 D ViewRootImpl@a49cc18[]: Relayout returned: old=(400,0,400,1280) new=(400,0,400,1280) req=(0,1280)8 dur=10 res=0x1 s={false 0} ch=false
12-26 00:55:09.742 19460 19460 F DEBUG   :       #00 pc 0011c9a4  /data/app/com.my_takeouts-I7rVcmInB-FCq2RpwGI25w==/base.apk!libreanimated.so (offset 0x340e000) (reanimated::NativeProxy::installJSIBindings()+160) (BuildId: cfd598869a5136943d0a504c359ab3c97ef9f8d5)
12-26 00:55:09.742  4975  4975 D PageOverlayMover: updateActivityLifecycleState : 1
12-26 00:55:09.742 19460 19460 F DEBUG   :       #01 pc 00139624  /data/app/com.my_takeouts-I7rVcmInB-FCq2RpwGI25w==/base.apk!libreanimated.so (offset 0x340e000) (_ZN8facebook3jni6detail13MethodWrapperIMN10reanimated11NativeProxyEFvvEXadL_ZNS4_18installJSIBindingsEvEES4_vJEE8dispatchENS0_9alias_refIPNS1_8JTypeForINS0_11HybridClassIS4_NS1_15BaseHybridClassEE8JavaPartENS0_7JObjectEvE11_javaobjectEEE+172) (BuildId: cfd598869a5136943d0a504c359ab3c97ef9f8d5)
12-26 00:55:09.743 19460 19460 F DEBUG   :       #02 pc 001396a0  /data/app/com.my_takeouts-I7rVcmInB-FCq2RpwGI25w==/base.apk!libreanimated.so (offset 0x340e000) (_ZN8facebook3jni6detail22CallWithJniConversionsIPFvNS0_9alias_refIPNS1_8JTypeForINS0_11HybridClassIN10reanimated11NativeProxyENS1_15BaseHybridClassEE8JavaPartENS0_7JObjectEvE11_javaobjectEEEEvSE_JEE4callESE_SH_+60) (BuildId: cfd598869a5136943d0a504c359ab3c97ef9f8d5)
12-26 00:55:09.743  4975  4975 D LiveIconViewUpdater: onUpdateLiveIcon 32
12-26 00:55:09.743 19460 19460 F DEBUG   :       #03 pc 001394e4  /data/app/com.my_takeouts-I7rVcmInB-FCq2RpwGI25w==/base.apk!libreanimated.so (offset 0x340e000) (_ZN8facebook3jni6detail15FunctionWrapperIPFvNS0_9alias_refIPNS1_8JTypeForINS0_11HybridClassIN10reanimated11NativeProxyENS1_15BaseHybridClassEE8JavaPartENS0_7JObjectEvE11_javaobjectEEEESE_vJEE4callEP7_JNIEnvP8_jobjectSH_+44) (BuildId: cfd598869a5136943d0a504c359ab3c97ef9f8d5)
12-26 00:55:09.743 19460 19460 F DEBUG   :       #04 pc 001312c8  /data/app/com.my_takeouts-I7rVcmInB-FCq2RpwGI25w==/base.apk!libreanimated.so (offset 0x340e000) (_ZN8facebook3jni6detail13MethodWrapperIMN10reanimated11NativeProxyEFvvEXadL_ZNS4_18installJSIBindingsEvEES4_vJEE4callEP7_JNIEnvP8_jobject+36) (BuildId: cfd598869a5136943d0a504c359ab3c97ef9f8d5)
12-26 00:55:09.744  4975  4975 D LiveIconViewUpdater: onUpdateLiveIcon -1
12-26 00:55:09.745 19460 19460 F DEBUG   :       #05 pc 000dc519  /apex/com.android.runtime/lib/libart.so (art_quick_generic_jni_trampoline+40) (BuildId: 16c641c14a01ea3d297b42480c523cef)
12-26 00:55:09.745 19460 19460 F DEBUG   :       #06 pc 000d7bc5  /apex/com.android.runtime/lib/libart.so (art_quick_invoke_stub_internal+68) (BuildId: 16c641c14a01ea3d297b42480c523cef)
12-26 00:55:09.745 19460 19460 F DEBUG   :       #07 pc 00436fb5  /apex/com.android.runtime/lib/libart.so (art_quick_invoke_stub+252) (BuildId: 16c641c14a01ea3d297b42480c523cef)
12-26 00:55:09.745 19460 19460 F DEBUG   :       #08 pc 000dffeb  /apex/com.android.runtime/lib/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+178) (BuildId: 16c641c14a01ea3d297b42480c523cef)
12-26 00:55:09.745 19460 19460 F DEBUG   :       #09 pc 00213875  /apex/com.android.runtime/lib/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+280) (BuildId: 16c641c14a01ea3d297b42480c523cef)
12-26 00:55:09.746 19460 19460 F DEBUG   :       #10 pc 0020f18d  /apex/com.android.runtime/lib/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+716) (BuildId: 16c641c14a01ea3d297b42480c523cef)
12-26 00:55:09.746 19460 19460 F DEBUG   :       #11 pc 0042e04b  /apex/com.android.runtime/lib/libart.so (MterpInvokeDirect+378) (BuildId: 16c641c14a01ea3d297b42480c523cef)
12-26 00:55:09.746 19460 19460 F DEBUG   :       #12 pc 000d2914  /apex/com.android.runtime/lib/libart.so (mterp_op_invoke_direct+20) (BuildId: 16c641c14a01ea3d297b42480c523cef)
12-26 00:55:09.746 19460 19460 F DEBUG   :       #13 pc 0006afec  [anon:dalvik-classes2.dex extracted in memory from /data/app/com.my_takeouts-I7rVcmInB-FCq2RpwGI25w==/base.apk!classes2.dex] (com.swmansion.reanimated.NativeProxy.prepare+44)
12-26 00:55:09.746 19460 19460 F DEBUG   :       #14 pc 0042c461  /apex/com.android.runtime/lib/libart.so (MterpInvokeVirtual+1192) (BuildId: 16c641c14a01ea3d297b42480c523cef)
12-26 00:55:09.746 19460 19460 F DEBUG   :       #15 pc 000d2814  /apex/com.android.runtime/lib/libart.so (mterp_op_invoke_virtual+20) (BuildId: 16c641c14a01ea3d297b42480c523cef)
12-26 00:55:09.747 19460 19460 F DEBUG   :       #16 pc 0006af42  [anon:dalvik-classes2.dex extracted in memory from /data/app/com.my_takeouts-I7rVcmInB-FCq2RpwGI25w==/base.apk!classes2.dex] (com.swmansion.reanimated.NativeProxy.<init>+114)
12-26 00:55:09.747 19460 19460 F DEBUG   :       #17 pc 0042e293  /apex/com.android.runtime/lib/libart.so (MterpInvokeDirect+962) (BuildId: 16c641c14a01ea3d297b42480c523cef)
12-26 00:55:09.747 19460 19460 F DEBUG   :       #18 pc 000d2914  /apex/com.android.runtime/lib/libart.so (mterp_op_invoke_direct+20) (BuildId: 16c641c14a01ea3d297b42480c523cef)
12-26 00:55:09.747 19460 19460 F DEBUG   :       #19 pc 0006bf00  [anon:dalvik-classes2.dex extracted in memory from /data/app/com.my_takeouts-I7rVcmInB-FCq2RpwGI25w==/base.apk!classes2.dex] (com.swmansion.reanimated.NodesManager.initWithContext+4)
12-26 00:55:09.747 19460 19460 F DEBUG   :       #20 pc 0042c461  /apex/com.android.runtime/lib/libart.so (MterpInvokeVirtual+1192) (BuildId: 16c641c14a01ea3d297b42480c523cef)
12-26 00:55:09.747 19460 19460 F DEBUG   :       #21 pc 000d2814  /apex/com.android.runtime/lib/libart.so (mterp_op_invoke_virtual+20) (BuildId: 16c641c14a01ea3d297b42480c523cef)
12-26 00:55:09.747 19460 19460 F DEBUG   :       #22 pc 0006c48c  [anon:dalvik-classes2.dex extracted in memory from /data/app/com.my_takeouts-I7rVcmInB-FCq2RpwGI25w==/base.apk!classes2.dex] (com.swmansion.reanimated.ReanimatedJSIModulePackage.getJSIModules+24)
12-26 00:55:09.744  4975  4975 D LiveIconViewUpdater: onUpdateLiveIcon -1
12-26 00:55:09.747  4975  4975 D WallpapersButton: updateVisibility - mWallpaperType : 0
12-26 00:55:09.747 19460 19460 F DEBUG   :       #23 pc 0042d967  /apex/com.android.runtime/lib/libart.so (MterpInvokeInterface+1542) (BuildId: 16c641c14a01ea3d297b42480c523cef)
12-26 00:55:09.747 19460 19460 F DEBUG   :       #24 pc 000d2a14  /apex/com.android.runtime/lib/libart.so (mterp_op_invoke_interface+20) (BuildId: 16c641c14a01ea3d297b42480c523cef)
12-26 00:55:09.748 19460 19460 F DEBUG   :       #25 pc 001b852e  [anon:dalvik-classes6.dex extracted in memory from /data/app/com.my_takeouts-I7rVcmInB-FCq2RpwGI25w==/base.apk!classes6.dex] (com.facebook.react.ReactInstanceManager.createReactContext+346)
12-26 00:55:09.748 19460 19460 F DEBUG   :       #26 pc 0042e293  /apex/com.android.runtime/lib/libart.so (MterpInvokeDirect+962) (BuildId: 16c641c14a01ea3d297b42480c523cef)
12-26 00:55:09.748 19460 19460 F DEBUG   :       #27 pc 000d2914  /apex/com.android.runtime/lib/libart.so (mterp_op_invoke_direct+20) (BuildId: 16c641c14a01ea3d297b42480c523cef)
12-26 00:55:09.748 19460 19460 F DEBUG   :       #28 pc 001b83b8  [anon:dalvik-classes6.dex extracted in memory from /data/app/com.my_takeouts-I7rVcmInB-FCq2RpwGI25w==/base.apk!classes6.dex] (com.facebook.react.ReactInstanceManager.access$1100)
12-26 00:55:09.748 19460 19460 F DEBUG   :       #29 pc 0042e9d5  /apex/com.android.runtime/lib/libart.so (MterpInvokeStatic+932) (BuildId: 16c641c14a01ea3d297b42480c523cef)
12-26 00:55:09.748 19460 19460 F DEBUG   :       #30 pc 000d2994  /apex/com.android.runtime/lib/libart.so (mterp_op_invoke_static+20) (BuildId: 16c641c14a01ea3d297b42480c523cef)
12-26 00:55:09.748 19460 19460 F DEBUG   :       #31 pc 001b7ab8  [anon:dalvik-classes6.dex extracted in memory from /data/app/com.my_takeouts-I7rVcmInB-FCq2RpwGI25w==/base.apk!classes6.dex] (com.facebook.react.ReactInstanceManager$5.run+140)
12-26 00:55:09.748 19460 19460 F DEBUG   :       #32 pc 0042d967  /apex/com.android.runtime/lib/libart.so (MterpInvokeInterface+1542) (BuildId: 16c641c14a01ea3d297b42480c523cef)
12-26 00:55:09.749 19460 19460 F DEBUG   :       #33 pc 000d2a14  /apex/com.android.runtime/lib/libart.so (mterp_op_invoke_interface+20) (BuildId: 16c641c14a01ea3d297b42480c523cef)
12-26 00:55:09.749 19460 19460 F DEBUG   :       #34 pc 000eaa54  /apex/com.android.runtime/javalib/core-oj.jar (java.lang.Thread.run+8)
12-26 00:55:09.749 19460 19460 F DEBUG   :       #35 pc 001eeb79  /apex/com.android.runtime/lib/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEbb.llvm.2237354601837329179+192) (BuildId: 16c641c14a01ea3d297b42480c523cef)
12-26 00:55:09.749  4975  4975 D ThemesButton: updateVisibility - sThemeStoreType : -1
12-26 00:55:09.749  4975  4975 D LiveIconViewUpdater: onUpdateLiveIcon 63
12-26 00:55:09.749 19460 19460 F DEBUG   :       #36 pc 001f336b  /apex/com.android.runtime/lib/libart.so (art::interpreter::EnterInterpreterFromEntryPoint(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*)+126) (BuildId: 16c641c14a01ea3d297b42480c523cef)
12-26 00:55:09.749  4975  4975 D LiveIconViewUpdater: onUpdateLiveIcon 66
12-26 00:55:09.749 19460 19460 F DEBUG   :       #37 pc 00420a9d  /apex/com.android.runtime/lib/libart.so (artQuickToInterpreterBridge+852) (BuildId: 16c641c14a01ea3d297b42480c523cef)
12-26 00:55:09.750 19460 19460 F DEBUG   :       #38 pc 000dc5a1  /apex/com.android.runtime/lib/libart.so (art_quick_to_interpreter_bridge+32) (BuildId: 16c641c14a01ea3d297b42480c523cef)
12-26 00:55:09.750 19460 19460 F DEBUG   :       #39 pc 000d7bc5  /apex/com.android.runtime/lib/libart.so (art_quick_invoke_stub_internal+68) (BuildId: 16c641c14a01ea3d297b42480c523cef)
12-26 00:55:09.750 19460 19460 F DEBUG   :       #40 pc 00436fb5  /apex/com.android.runtime/lib/libart.so (art_quick_invoke_stub+252) (BuildId: 16c641c14a01ea3d297b42480c523cef)
12-26 00:55:09.750 19460 19460 F DEBUG   :       #41 pc 000dffeb  /apex/com.android.runtime/lib/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+178) (BuildId: 16c641c14a01ea3d297b42480c523cef)
12-26 00:55:09.750 19460 19460 F DEBUG   :       #42 pc 00377deb  /apex/com.android.runtime/lib/libart.so (art::(anonymous namespace)::InvokeWithArgArray(art::ScopedObjectAccessAlreadyRunnable const&, art::ArtMethod*, art::(anonymous namespace)::ArgArray*, art::JValue*, char const*)+54) (BuildId: 16c641c14a01ea3d297b42480c523cef)
12-26 00:55:09.751 19460 19460 F DEBUG   :       #43 pc 00378b73  /apex/com.android.runtime/lib/libart.so (art::InvokeVirtualOrInterfaceWithJValues(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, jvalue const*)+306) (BuildId: 16c641c14a01ea3d297b42480c523cef)
12-26 00:55:09.751 19460 19460 F DEBUG   :       #44 pc 003aa1bb  /apex/com.android.runtime/lib/libart.so (art::Thread::CreateCallback(void*)+982) (BuildId: 16c641c14a01ea3d297b42480c523cef)
12-26 00:55:09.751 19460 19460 F DEBUG   :       #45 pc 000abcdb  /apex/com.android.runtime/lib/bionic/libc.so (__pthread_start(void*)+20) (BuildId: 8f5d1631f046aa23ddeaa4c33901533c)
12-26 00:55:09.751 19460 19460 F DEBUG   :       #46 pc 00062d93  /apex/com.android.runtime/lib/bionic/libc.so (__start_thread+30) (BuildId: 8f5d1631f046aa23ddeaa4c33901533c)

RN 0.66.4 react-native-reanimated 2.3.1

The Hermes Debugger was fixed in that PR and it works in Reanimated 2.2.0, but the Sampling Profiler still crashes.

I opened https://github.com/software-mansion/react-native-reanimated/issues/2143 on Reanimated’s side.