facebook / hermes

A JavaScript engine optimized for running React Native.
https://hermesengine.dev/
MIT License
9.8k stars 629 forks source link

Out of Memory Issue #637

Closed robertwt7 closed 1 year ago

robertwt7 commented 2 years ago

Bug Description

When I go to some screen, my app crashes with a stack trace, on Xcode it shows out of memory issue, on android it shows different trace (through flipper). However when I turn off Hermes (with RN debugger), going to that screen is fine. It is also fine on production.

But react-native-reanimated requires me to use Hermes on android so I can't debug my android on simulator

Has anyone experience this?

RN version:

   "react-native": "0.64.2",

Stack trace:

backtrace:

      #00 pc 00000ad9  [vdso] (__kernel_vsyscall+9)
      #01 pc 00092328  /apex/com.android.runtime/lib/bionic/libc.so (syscall+40) (BuildId: 76290498408016ad14f4b98c3ab6c65c)
      #02 pc 000ad651  /apex/com.android.runtime/lib/bionic/libc.so (abort+193) (BuildId: 76290498408016ad14f4b98c3ab6c65c)
      #03 pc 002981ce  /data/app/com.ssmobile.sandbox-Qp2HPIJEBo-GZKpMvXm9_w==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
      #04 pc 002b15cc  /data/app/com.ssmobile.sandbox-Qp2HPIJEBo-GZKpMvXm9_w==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
      #05 pc 000cd1f1  /data/app/com.ssmobile.sandbox-Qp2HPIJEBo-GZKpMvXm9_w==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
      #06 pc 001197be  /data/app/com.ssmobile.sandbox-Qp2HPIJEBo-GZKpMvXm9_w==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
      #07 pc 00119286  /data/app/com.ssmobile.sandbox-Qp2HPIJEBo-GZKpMvXm9_w==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
      #08 pc 00119286  /data/app/com.ssmobile.sandbox-Qp2HPIJEBo-GZKpMvXm9_w==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
      #09 pc 00119740  /data/app/com.ssmobile.sandbox-Qp2HPIJEBo-GZKpMvXm9_w==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
      #10 pc 00116976  /data/app/com.ssmobile.sandbox-Qp2HPIJEBo-GZKpMvXm9_w==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
      #11 pc 00115324  /data/app/com.ssmobile.sandbox-Qp2HPIJEBo-GZKpMvXm9_w==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
      #12 pc 000541c4  /data/app/com.ssmobile.sandbox-Qp2HPIJEBo-GZKpMvXm9_w==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
      #13 pc 000572fb  /data/app/com.ssmobile.sandbox-Qp2HPIJEBo-GZKpMvXm9_w==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
      #14 pc 00056290  /data/app/com.ssmobile.sandbox-Qp2HPIJEBo-GZKpMvXm9_w==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
      #15 pc 00063e45  /data/app/com.ssmobile.sandbox-Qp2HPIJEBo-GZKpMvXm9_w==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
      #16 pc 0003b7bf  /data/app/com.ssmobile.sandbox-Qp2HPIJEBo-GZKpMvXm9_w==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
      #17 pc 0003905b  /data/app/com.ssmobile.sandbox-Qp2HPIJEBo-GZKpMvXm9_w==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
      #18 pc 000d809a  /data/app/com.ssmobile.sandbox-Qp2HPIJEBo-GZKpMvXm9_w==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
      #19 pc 000541c4  /data/app/com.ssmobile.sandbox-Qp2HPIJEBo-GZKpMvXm9_w==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
      #20 pc 000572fb  /data/app/com.ssmobile.sandbox-Qp2HPIJEBo-GZKpMvXm9_w==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
      #21 pc 00056290  /data/app/com.ssmobile.sandbox-Qp2HPIJEBo-GZKpMvXm9_w==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
      #22 pc 00063e45  /data/app/com.ssmobile.sandbox-Qp2HPIJEBo-GZKpMvXm9_w==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
      #23 pc 0003b7bf  /data/app/com.ssmobile.sandbox-Qp2HPIJEBo-GZKpMvXm9_w==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
      #24 pc 00039980  /data/app/com.ssmobile.sandbox-Qp2HPIJEBo-GZKpMvXm9_w==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
      #25 pc 001362b5  /data/app/com.ssmobile.sandbox-Qp2HPIJEBo-GZKpMvXm9_w==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
      #26 pc 000541c4  /data/app/com.ssmobile.sandbox-Qp2HPIJEBo-GZKpMvXm9_w==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
      #27 pc 000572fb  /data/app/com.ssmobile.sandbox-Qp2HPIJEBo-GZKpMvXm9_w==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
      #28 pc 00056290  /data/app/com.ssmobile.sandbox-Qp2HPIJEBo-GZKpMvXm9_w==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
      #29 pc 00063e45  /data/app/com.ssmobile.sandbox-Qp2HPIJEBo-GZKpMvXm9_w==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
      #30 pc 0003b7bf  /data/app/com.ssmobile.sandbox-Qp2HPIJEBo-GZKpMvXm9_w==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
      #31 pc 0003905b  /data/app/com.ssmobile.sandbox-Qp2HPIJEBo-GZKpMvXm9_w==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
      #32 pc 000d809a  /data/app/com.ssmobile.sandbox-Qp2HPIJEBo-GZKpMvXm9_w==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
      #33 pc 000541c4  /data/app/com.ssmobile.sandbox-Qp2HPIJEBo-GZKpMvXm9_w==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
      #34 pc 000572fb  /data/app/com.ssmobile.sandbox-Qp2HPIJEBo-GZKpMvXm9_w==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
      #35 pc 00056290  /data/app/com.ssmobile.sandbox-Qp2HPIJEBo-GZKpMvXm9_w==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
      #36 pc 00063e45  /data/app/com.ssmobile.sandbox-Qp2HPIJEBo-GZKpMvXm9_w==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
      #37 pc 0003b7bf  /data/app/com.ssmobile.sandbox-Qp2HPIJEBo-GZKpMvXm9_w==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
      #38 pc 00039980  /data/app/com.ssmobile.sandbox-Qp2HPIJEBo-GZKpMvXm9_w==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
      #39 pc 001362b5  /data/app/com.ssmobile.sandbox-Qp2HPIJEBo-GZKpMvXm9_w==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
      #40 pc 000541c4  /data/app/com.ssmobile.sandbox-Qp2HPIJEBo-GZKpMvXm9_w==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
      #41 pc 000572fb  /data/app/com.ssmobile.sandbox-Qp2HPIJEBo-GZKpMvXm9_w==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
      #42 pc 00056290  /data/app/com.ssmobile.sandbox-Qp2HPIJEBo-GZKpMvXm9_w==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
      #43 pc 00063e45  /data/app/com.ssmobile.sandbox-Qp2HPIJEBo-GZKpMvXm9_w==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
      #44 pc 0003b7bf  /data/app/com.ssmobile.sandbox-Qp2HPIJEBo-GZKpMvXm9_w==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
      #45 pc 00039980  /data/app/com.ssmobile.sandbox-Qp2HPIJEBo-GZKpMvXm9_w==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
      #46 pc 001362b5  /data/app/com.ssmobile.sandbox-Qp2HPIJEBo-GZKpMvXm9_w==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
      #47 pc 000541c4  /data/app/com.ssmobile.sandbox-Qp2HPIJEBo-GZKpMvXm9_w==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
      #48 pc 000572fb  /data/app/com.ssmobile.sandbox-Qp2HPIJEBo-GZKpMvXm9_w==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
      #49 pc 00056290  /data/app/com.ssmobile.sandbox-Qp2HPIJEBo-GZKpMvXm9_w==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
      #50 pc 00063e45  /data/app/com.ssmobile.sandbox-Qp2HPIJEBo-GZKpMvXm9_w==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
      #51 pc 0003b7bf  /data/app/com.ssmobile.sandbox-Qp2HPIJEBo-GZKpMvXm9_w==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
      #52 pc 0003add0  /data/app/com.ssmobile.sandbox-Qp2HPIJEBo-GZKpMvXm9_w==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
      #53 pc 00054247  /data/app/com.ssmobile.sandbox-Qp2HPIJEBo-GZKpMvXm9_w==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
      #54 pc 000572fb  /data/app/com.ssmobile.sandbox-Qp2HPIJEBo-GZKpMvXm9_w==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
      #55 pc 00056290  /data/app/com.ssmobile.sandbox-Qp2HPIJEBo-GZKpMvXm9_w==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
      #56 pc 00063e45  /data/app/com.ssmobile.sandbox-Qp2HPIJEBo-GZKpMvXm9_w==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
      #57 pc 0003b7bf  /data/app/com.ssmobile.sandbox-Qp2HPIJEBo-GZKpMvXm9_w==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
      #58 pc 0003add0  /data/app/com.ssmobile.sandbox-Qp2HPIJEBo-GZKpMvXm9_w==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
      #59 pc 0003a5d6  /data/app/com.ssmobile.sandbox-Qp2HPIJEBo-GZKpMvXm9_w==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
      #60 pc 0001fd9b  /data/app/com.ssmobile.sandbox-Qp2HPIJEBo-GZKpMvXm9_w==/lib/x86/libhermes.so (facebook::hermes::HermesRuntimeImpl::call(facebook::jsi::Function const&, facebook::jsi::Value const&, facebook::jsi::Value const*, unsigned int)+731) (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
      #61 pc 0001854b  /data/app/com.ssmobile.sandbox-Qp2HPIJEBo-GZKpMvXm9_w==/lib/x86/libhermes-executor-common-debug.so (BuildId: feaf1ba9dd56d4aee4cd4cd150b3e084685387b6)
      #62 pc 00020498  /data/app/com.ssmobile.sandbox-Qp2HPIJEBo-GZKpMvXm9_w==/lib/x86/libhermes-executor-debug.so (_ZNK8facebook3jsi8Function4callIJRKdNS0_5ValueEEEES5_RNS0_7RuntimeEDpOT_+136) (BuildId: 5efd58058c9b65b3a75eaddc39b58721c835d76c)
      #63 pc 0002028d  /data/app/com.ssmobile.sandbox-Qp2HPIJEBo-GZKpMvXm9_w==/lib/x86/libhermes-executor-debug.so (facebook::react::JSIExecutor::invokeCallback(double, folly::dynamic const&)+205) (BuildId: 5efd58058c9b65b3a75eaddc39b58721c835d76c)
      #64 pc 000a662c  /data/app/com.ssmobile.sandbox-Qp2HPIJEBo-GZKpMvXm9_w==/lib/x86/libreactnativejni.so (BuildId: c74d29c04282312978ee58d15c8f91b37c5b337f)
      #65 pc 000a78aa  /data/app/com.ssmobile.sandbox-Qp2HPIJEBo-GZKpMvXm9_w==/lib/x86/libreactnativejni.so (BuildId: c74d29c04282312978ee58d15c8f91b37c5b337f)
      #66 pc 0006614f  /data/app/com.ssmobile.sandbox-Qp2HPIJEBo-GZKpMvXm9_w==/lib/x86/libreactnativejni.so (BuildId: c74d29c04282312978ee58d15c8f91b37c5b337f)
      #67 pc 000545e2  /data/app/com.ssmobile.sandbox-Qp2HPIJEBo-GZKpMvXm9_w==/lib/x86/libreactnativejni.so (_ZN8facebook3jni6detail13MethodWrapperIMNS_5react15JNativeRunnableEFvvEXadL_ZNS4_3runEvEES4_vJEE8dispatchENS0_9alias_refIPNS1_8JTypeForINS0_11HybridClassIS4_NS3_8RunnableEE8JavaPartESB_vE11_javaobjectEEE+50) (BuildId: c74d29c04282312978ee58d15c8f91b37c5b337f)
      #68 pc 00054548  /data/app/com.ssmobile.sandbox-Qp2HPIJEBo-GZKpMvXm9_w==/lib/x86/libreactnativejni.so (_ZN8facebook3jni6detail15FunctionWrapperIPFvNS0_9alias_refIPNS1_8JTypeForINS0_11HybridClassINS_5react15JNativeRunnableENS6_8RunnableEE8JavaPartES8_vE11_javaobjectEEEEXadL_ZNS1_13MethodWrapperIMS7_FvvEXadL_ZNS7_3runEvEES7_vJEE8dispatchESE_EESD_vJEE4callEP7_JNIEnvP8_jobject+72) (BuildId: c74d29c04282312978ee58d15c8f91b37c5b337f)
      #69 pc 000544f3  /data/app/com.ssmobile.sandbox-Qp2HPIJEBo-GZKpMvXm9_w==/lib/x86/libreactnativejni.so (_ZN8facebook3jni6detail13MethodWrapperIMNS_5react15JNativeRunnableEFvvEXadL_ZNS4_3runEvEES4_vJEE4callEP7_JNIEnvP8_jobject+35) (BuildId: c74d29c04282312978ee58d15c8f91b37c5b337f)
      #70 pc 02024888  /memfd:/jit-cache (deleted) (art_jni_trampoline+104)
      #71 pc 02033242  /memfd:/jit-cache (deleted) (android.os.Handler.handleCallback+66)
      #72 pc 02049281  /memfd:/jit-cache (deleted) (android.os.Handler.dispatchMessage+65)
      #73 pc 02054d62  /memfd:/jit-cache (deleted) (com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage+50)
      #74 pc 02115cb1  /memfd:/jit-cache (deleted) (android.os.Looper.loop+1553)
      #75 pc 0013e9a2  /apex/com.android.runtime/lib/libart.so (art_quick_invoke_static_stub+418) (BuildId: 895645e5113da057f27d9b2ec11eb3bf)
      #76 pc 00149a7a  /apex/com.android.runtime/lib/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+298) (BuildId: 895645e5113da057f27d9b2ec11eb3bf)
      #77 pc 00332502  /apex/com.android.runtime/lib/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+386) (BuildId: 895645e5113da057f27d9b2ec11eb3bf)
      #78 pc 0032c19c  /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*)+988) (BuildId: 895645e5113da057f27d9b2ec11eb3bf)
      #79 pc 00684d03  /apex/com.android.runtime/lib/libart.so (MterpInvokeStatic+643) (BuildId: 895645e5113da057f27d9b2ec11eb3bf)
      #80 pc 001389a1  /apex/com.android.runtime/lib/libart.so (mterp_op_invoke_static+33) (BuildId: 895645e5113da057f27d9b2ec11eb3bf)
      #81 pc 004d28d2  [anon:dalvik-classes.dex extracted in memory from /data/app/com.ssmobile.sandbox-Qp2HPIJEBo-GZKpMvXm9_w==/base.apk] (com.facebook.react.bridge.queue.MessageQueueThreadImpl$4.run+74)
      #82 pc 006837bc  /apex/com.android.runtime/lib/libart.so (MterpInvokeInterface+1980) (BuildId: 895645e5113da057f27d9b2ec11eb3bf)
      #83 pc 00138a21  /apex/com.android.runtime/lib/libart.so (mterp_op_invoke_interface+33) (BuildId: 895645e5113da057f27d9b2ec11eb3bf)
      #84 pc 000ea918  /apex/com.android.runtime/javalib/core-oj.jar (java.lang.Thread.run+8)
      #85 pc 002f8e0a  /apex/com.android.runtime/lib/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEbb.llvm.12194892193087984976+298) (BuildId: 895645e5113da057f27d9b2ec11eb3bf)
      #86 pc 002ffcc5  /apex/com.android.runtime/lib/libart.so (art::interpreter::EnterInterpreterFromEntryPoint(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*)+181) (BuildId: 895645e5113da057f27d9b2ec11eb3bf)
      #87 pc 0066fbd9  /apex/com.android.runtime/lib/libart.so (artQuickToInterpreterBridge+1209) (BuildId: 895645e5113da057f27d9b2ec11eb3bf)
      #88 pc 0014503d  /apex/com.android.runtime/lib/libart.so (art_quick_to_interpreter_bridge+77) (BuildId: 895645e5113da057f27d9b2ec11eb3bf)
      #89 pc 0013e7d2  /apex/com.android.runtime/lib/libart.so (art_quick_invoke_stub+338) (BuildId: 895645e5113da057f27d9b2ec11eb3bf)
      #90 pc 00149a69  /apex/com.android.runtime/lib/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+281) (BuildId: 895645e5113da057f27d9b2ec11eb3bf)
      #91 pc 0055a513  /apex/com.android.runtime/lib/libart.so (art::(anonymous namespace)::InvokeWithArgArray(art::ScopedObjectAccessAlreadyRunnable const&, art::ArtMethod*, art::(anonymous namespace)::ArgArray*, art::JValue*, char const*)+99) (BuildId: 895645e5113da057f27d9b2ec11eb3bf)
      #92 pc 0055b91a  /apex/com.android.runtime/lib/libart.so (art::InvokeVirtualOrInterfaceWithJValues(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, jvalue const*)+474) (BuildId: 895645e5113da057f27d9b2ec11eb3bf)
      #93 pc 005aaa51  /apex/com.android.runtime/lib/libart.so (art::Thread::CreateCallback(void*)+1585) (BuildId: 895645e5113da057f27d9b2ec11eb3bf)
      #94 pc 0011a8e5  /apex/com.android.runtime/lib/bionic/libc.so (__pthread_start(void*)+53) (BuildId: 76290498408016ad14f4b98c3ab6c65c)
      #95 pc 000af6a7  /apex/com.android.runtime/lib/bionic/libc.so (__start_thread+71) (BuildId: 76290498408016ad14f4b98c3ab6c65c)
neildhar commented 2 years ago

Hi @robertwt7, thanks for reporting this. It would help if you could symbolicate the stack trace by following the instructions here, so that we can see what is going on.

robertwt7 commented 2 years ago

Hey mate @neildhar

so this is what I did,

I extracted those stack trace above to a crash.txt, then I did this:

❯ ~/Library/Android/sdk/ndk/23.1.7779620/ndk-stack -sym ./hermes-runtime-android-v0.7.2/unstripped-release/lib/
x86/libhermes.so < crash.txt

But then the output was empty, did i do something wrong?

neildhar commented 2 years ago

You shouldn't have the libhermes.so at the end, it should just be

~/Library/Android/sdk/ndk/23.1.7779620/ndk-stack -sym ./hermes-runtime-android-v0.7.2/unstripped-release/lib/
x86 < crash.txt
robertwt7 commented 2 years ago

@neildhar I'm still not getting any output, should it produce any output in the console or in any files?

neildhar commented 2 years ago

Are you pulling the tombstone file from the device? Typically, adb will print out where the tombstone was written, then you can adb pull that file and use that as the file you feed into ndk-stack. For example:

adb pull /data/tombstones/tombstone_1 crash.txt
robertwt7 commented 2 years ago

Now that I think about it, I think i'm having the same issue with #491

Anyway I tried that and I got permission denied.

I also tried this and this with no luck. Tried jumping with adb root but got adbd cannot run as root in production builds

I'm not sure what to do :/ , it is an emulator why is it saying production builds. Sorry I am mainly RN dev haven't mess much with android native. Do you have any other pointers I can do?

@neildhar

neildhar commented 2 years ago

Have you tried these steps to get an emulator that will give you root access?

robertwt7 commented 2 years ago

Hey mate!

I got it! So apparently using the "non play store" image gives me more error in firebase deeplinking etc

I found out that this command apparently will dump everything adb bugreport ./bugreport.zip including the tombstone without root access

Now i was able to symbolicate the crash, here it goes:

********** Crash dump: **********
Build fingerprint: 'google/sdk_gphone_x86/generic_x86:10/QSR1.190920.001/5891938:user/release-keys'
#00 0x00000ad9 [vdso] (__kernel_vsyscall+9)
#01 0x00092328 /apex/com.android.runtime/lib/bionic/libc.so (syscall+40) (BuildId: 76290498408016ad14f4b98c3ab6c65c)
#02 0x000ad651 /apex/com.android.runtime/lib/bionic/libc.so (abort+193) (BuildId: 76290498408016ad14f4b98c3ab6c65c)
WARNING: Mismatched build id for ./hermes-runtime-android-v0.7.2/unstripped-release/lib/x86/libhermes.so
WARNING:   Expected df8072863d396d57901d03a3514af58b13e5c804
WARNING:   Found    fe99cfec2fa1089ab769b335a177423ef1799d33
#03 0x002981ce /data/app/com.ssmobile.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
WARNING: Mismatched build id for ./hermes-runtime-android-v0.7.2/unstripped-release/lib/x86/libhermes.so
WARNING:   Expected df8072863d396d57901d03a3514af58b13e5c804
WARNING:   Found    fe99cfec2fa1089ab769b335a177423ef1799d33
#04 0x002b15cc /data/app/com.ssmobile.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
WARNING: Mismatched build id for ./hermes-runtime-android-v0.7.2/unstripped-release/lib/x86/libhermes.so
WARNING:   Expected df8072863d396d57901d03a3514af58b13e5c804
WARNING:   Found    fe99cfec2fa1089ab769b335a177423ef1799d33
#05 0x001197d8 /data/app/com.ssmobile.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
WARNING: Mismatched build id for ./hermes-runtime-android-v0.7.2/unstripped-release/lib/x86/libhermes.so
WARNING:   Expected df8072863d396d57901d03a3514af58b13e5c804
WARNING:   Found    fe99cfec2fa1089ab769b335a177423ef1799d33
#06 0x00119286 /data/app/com.ssmobile.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
WARNING: Mismatched build id for ./hermes-runtime-android-v0.7.2/unstripped-release/lib/x86/libhermes.so
WARNING:   Expected df8072863d396d57901d03a3514af58b13e5c804
WARNING:   Found    fe99cfec2fa1089ab769b335a177423ef1799d33
#07 0x00119286 /data/app/com.ssmobile.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
WARNING: Mismatched build id for ./hermes-runtime-android-v0.7.2/unstripped-release/lib/x86/libhermes.so
WARNING:   Expected df8072863d396d57901d03a3514af58b13e5c804
WARNING:   Found    fe99cfec2fa1089ab769b335a177423ef1799d33
#08 0x00119740 /data/app/com.ssmobile.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
WARNING: Mismatched build id for ./hermes-runtime-android-v0.7.2/unstripped-release/lib/x86/libhermes.so
WARNING:   Expected df8072863d396d57901d03a3514af58b13e5c804
WARNING:   Found    fe99cfec2fa1089ab769b335a177423ef1799d33
#09 0x00116976 /data/app/com.ssmobile.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
WARNING: Mismatched build id for ./hermes-runtime-android-v0.7.2/unstripped-release/lib/x86/libhermes.so
WARNING:   Expected df8072863d396d57901d03a3514af58b13e5c804
WARNING:   Found    fe99cfec2fa1089ab769b335a177423ef1799d33
#10 0x00115324 /data/app/com.ssmobile.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
WARNING: Mismatched build id for ./hermes-runtime-android-v0.7.2/unstripped-release/lib/x86/libhermes.so
WARNING:   Expected df8072863d396d57901d03a3514af58b13e5c804
WARNING:   Found    fe99cfec2fa1089ab769b335a177423ef1799d33
#11 0x000541c4 /data/app/com.ssmobile.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
WARNING: Mismatched build id for ./hermes-runtime-android-v0.7.2/unstripped-release/lib/x86/libhermes.so
WARNING:   Expected df8072863d396d57901d03a3514af58b13e5c804
WARNING:   Found    fe99cfec2fa1089ab769b335a177423ef1799d33
#12 0x000572fb /data/app/com.ssmobile.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
WARNING: Mismatched build id for ./hermes-runtime-android-v0.7.2/unstripped-release/lib/x86/libhermes.so
WARNING:   Expected df8072863d396d57901d03a3514af58b13e5c804
WARNING:   Found    fe99cfec2fa1089ab769b335a177423ef1799d33
#13 0x00056290 /data/app/com.ssmobile.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
WARNING: Mismatched build id for ./hermes-runtime-android-v0.7.2/unstripped-release/lib/x86/libhermes.so
WARNING:   Expected df8072863d396d57901d03a3514af58b13e5c804
WARNING:   Found    fe99cfec2fa1089ab769b335a177423ef1799d33
#14 0x00063e45 /data/app/com.ssmobile.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
WARNING: Mismatched build id for ./hermes-runtime-android-v0.7.2/unstripped-release/lib/x86/libhermes.so
WARNING:   Expected df8072863d396d57901d03a3514af58b13e5c804
WARNING:   Found    fe99cfec2fa1089ab769b335a177423ef1799d33
#15 0x0003b7bf /data/app/com.ssmobile.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
WARNING: Mismatched build id for ./hermes-runtime-android-v0.7.2/unstripped-release/lib/x86/libhermes.so
WARNING:   Expected df8072863d396d57901d03a3514af58b13e5c804
WARNING:   Found    fe99cfec2fa1089ab769b335a177423ef1799d33
#16 0x0003905b /data/app/com.ssmobile.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
WARNING: Mismatched build id for ./hermes-runtime-android-v0.7.2/unstripped-release/lib/x86/libhermes.so
WARNING:   Expected df8072863d396d57901d03a3514af58b13e5c804
WARNING:   Found    fe99cfec2fa1089ab769b335a177423ef1799d33
#17 0x000d809a /data/app/com.ssmobile.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
WARNING: Mismatched build id for ./hermes-runtime-android-v0.7.2/unstripped-release/lib/x86/libhermes.so
WARNING:   Expected df8072863d396d57901d03a3514af58b13e5c804
WARNING:   Found    fe99cfec2fa1089ab769b335a177423ef1799d33
#18 0x000541c4 /data/app/com.ssmobile.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
WARNING: Mismatched build id for ./hermes-runtime-android-v0.7.2/unstripped-release/lib/x86/libhermes.so
WARNING:   Expected df8072863d396d57901d03a3514af58b13e5c804
WARNING:   Found    fe99cfec2fa1089ab769b335a177423ef1799d33
#19 0x000572fb /data/app/com.ssmobile.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
WARNING: Mismatched build id for ./hermes-runtime-android-v0.7.2/unstripped-release/lib/x86/libhermes.so
WARNING:   Expected df8072863d396d57901d03a3514af58b13e5c804
WARNING:   Found    fe99cfec2fa1089ab769b335a177423ef1799d33
#20 0x00056290 /data/app/com.ssmobile.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
WARNING: Mismatched build id for ./hermes-runtime-android-v0.7.2/unstripped-release/lib/x86/libhermes.so
WARNING:   Expected df8072863d396d57901d03a3514af58b13e5c804
WARNING:   Found    fe99cfec2fa1089ab769b335a177423ef1799d33
#21 0x00063e45 /data/app/com.ssmobile.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
WARNING: Mismatched build id for ./hermes-runtime-android-v0.7.2/unstripped-release/lib/x86/libhermes.so
WARNING:   Expected df8072863d396d57901d03a3514af58b13e5c804
WARNING:   Found    fe99cfec2fa1089ab769b335a177423ef1799d33
#22 0x0003b7bf /data/app/com.ssmobile.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
WARNING: Mismatched build id for ./hermes-runtime-android-v0.7.2/unstripped-release/lib/x86/libhermes.so
WARNING:   Expected df8072863d396d57901d03a3514af58b13e5c804
WARNING:   Found    fe99cfec2fa1089ab769b335a177423ef1799d33
#23 0x00039980 /data/app/com.ssmobile.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
WARNING: Mismatched build id for ./hermes-runtime-android-v0.7.2/unstripped-release/lib/x86/libhermes.so
WARNING:   Expected df8072863d396d57901d03a3514af58b13e5c804
WARNING:   Found    fe99cfec2fa1089ab769b335a177423ef1799d33
#24 0x001362b5 /data/app/com.ssmobile.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
WARNING: Mismatched build id for ./hermes-runtime-android-v0.7.2/unstripped-release/lib/x86/libhermes.so
WARNING:   Expected df8072863d396d57901d03a3514af58b13e5c804
WARNING:   Found    fe99cfec2fa1089ab769b335a177423ef1799d33
#25 0x000541c4 /data/app/com.ssmobile.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
WARNING: Mismatched build id for ./hermes-runtime-android-v0.7.2/unstripped-release/lib/x86/libhermes.so
WARNING:   Expected df8072863d396d57901d03a3514af58b13e5c804
WARNING:   Found    fe99cfec2fa1089ab769b335a177423ef1799d33
#26 0x000572fb /data/app/com.ssmobile.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
WARNING: Mismatched build id for ./hermes-runtime-android-v0.7.2/unstripped-release/lib/x86/libhermes.so
WARNING:   Expected df8072863d396d57901d03a3514af58b13e5c804
WARNING:   Found    fe99cfec2fa1089ab769b335a177423ef1799d33
#27 0x00056290 /data/app/com.ssmobile.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
WARNING: Mismatched build id for ./hermes-runtime-android-v0.7.2/unstripped-release/lib/x86/libhermes.so
WARNING:   Expected df8072863d396d57901d03a3514af58b13e5c804
WARNING:   Found    fe99cfec2fa1089ab769b335a177423ef1799d33
#28 0x00063e45 /data/app/com.ssmobile.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
WARNING: Mismatched build id for ./hermes-runtime-android-v0.7.2/unstripped-release/lib/x86/libhermes.so
WARNING:   Expected df8072863d396d57901d03a3514af58b13e5c804
WARNING:   Found    fe99cfec2fa1089ab769b335a177423ef1799d33
#29 0x0003b7bf /data/app/com.ssmobile.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
WARNING: Mismatched build id for ./hermes-runtime-android-v0.7.2/unstripped-release/lib/x86/libhermes.so
WARNING:   Expected df8072863d396d57901d03a3514af58b13e5c804
WARNING:   Found    fe99cfec2fa1089ab769b335a177423ef1799d33
#30 0x0003905b /data/app/com.ssmobile.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
WARNING: Mismatched build id for ./hermes-runtime-android-v0.7.2/unstripped-release/lib/x86/libhermes.so
WARNING:   Expected df8072863d396d57901d03a3514af58b13e5c804
WARNING:   Found    fe99cfec2fa1089ab769b335a177423ef1799d33
#31 0x000d809a /data/app/com.ssmobile.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
WARNING: Mismatched build id for ./hermes-runtime-android-v0.7.2/unstripped-release/lib/x86/libhermes.so
WARNING:   Expected df8072863d396d57901d03a3514af58b13e5c804
WARNING:   Found    fe99cfec2fa1089ab769b335a177423ef1799d33
#32 0x000541c4 /data/app/com.ssmobile.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
WARNING: Mismatched build id for ./hermes-runtime-android-v0.7.2/unstripped-release/lib/x86/libhermes.so
WARNING:   Expected df8072863d396d57901d03a3514af58b13e5c804
WARNING:   Found    fe99cfec2fa1089ab769b335a177423ef1799d33
#33 0x000572fb /data/app/com.ssmobile.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
WARNING: Mismatched build id for ./hermes-runtime-android-v0.7.2/unstripped-release/lib/x86/libhermes.so
WARNING:   Expected df8072863d396d57901d03a3514af58b13e5c804
WARNING:   Found    fe99cfec2fa1089ab769b335a177423ef1799d33
#34 0x00056290 /data/app/com.ssmobile.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
WARNING: Mismatched build id for ./hermes-runtime-android-v0.7.2/unstripped-release/lib/x86/libhermes.so
WARNING:   Expected df8072863d396d57901d03a3514af58b13e5c804
WARNING:   Found    fe99cfec2fa1089ab769b335a177423ef1799d33
#35 0x00063e45 /data/app/com.ssmobile.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
WARNING: Mismatched build id for ./hermes-runtime-android-v0.7.2/unstripped-release/lib/x86/libhermes.so
WARNING:   Expected df8072863d396d57901d03a3514af58b13e5c804
WARNING:   Found    fe99cfec2fa1089ab769b335a177423ef1799d33
#36 0x0003b7bf /data/app/com.ssmobile.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
WARNING: Mismatched build id for ./hermes-runtime-android-v0.7.2/unstripped-release/lib/x86/libhermes.so
WARNING:   Expected df8072863d396d57901d03a3514af58b13e5c804
WARNING:   Found    fe99cfec2fa1089ab769b335a177423ef1799d33
#37 0x00039980 /data/app/com.ssmobile.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
WARNING: Mismatched build id for ./hermes-runtime-android-v0.7.2/unstripped-release/lib/x86/libhermes.so
WARNING:   Expected df8072863d396d57901d03a3514af58b13e5c804
WARNING:   Found    fe99cfec2fa1089ab769b335a177423ef1799d33
#38 0x001362b5 /data/app/com.ssmobile.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
WARNING: Mismatched build id for ./hermes-runtime-android-v0.7.2/unstripped-release/lib/x86/libhermes.so
WARNING:   Expected df8072863d396d57901d03a3514af58b13e5c804
WARNING:   Found    fe99cfec2fa1089ab769b335a177423ef1799d33
#39 0x000541c4 /data/app/com.ssmobile.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
WARNING: Mismatched build id for ./hermes-runtime-android-v0.7.2/unstripped-release/lib/x86/libhermes.so
WARNING:   Expected df8072863d396d57901d03a3514af58b13e5c804
WARNING:   Found    fe99cfec2fa1089ab769b335a177423ef1799d33
#40 0x000572fb /data/app/com.ssmobile.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
WARNING: Mismatched build id for ./hermes-runtime-android-v0.7.2/unstripped-release/lib/x86/libhermes.so
WARNING:   Expected df8072863d396d57901d03a3514af58b13e5c804
WARNING:   Found    fe99cfec2fa1089ab769b335a177423ef1799d33
#41 0x00056290 /data/app/com.ssmobile.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
WARNING: Mismatched build id for ./hermes-runtime-android-v0.7.2/unstripped-release/lib/x86/libhermes.so
WARNING:   Expected df8072863d396d57901d03a3514af58b13e5c804
WARNING:   Found    fe99cfec2fa1089ab769b335a177423ef1799d33
#42 0x00063e45 /data/app/com.ssmobile.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
WARNING: Mismatched build id for ./hermes-runtime-android-v0.7.2/unstripped-release/lib/x86/libhermes.so
WARNING:   Expected df8072863d396d57901d03a3514af58b13e5c804
WARNING:   Found    fe99cfec2fa1089ab769b335a177423ef1799d33
#43 0x0003b7bf /data/app/com.ssmobile.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
WARNING: Mismatched build id for ./hermes-runtime-android-v0.7.2/unstripped-release/lib/x86/libhermes.so
WARNING:   Expected df8072863d396d57901d03a3514af58b13e5c804
WARNING:   Found    fe99cfec2fa1089ab769b335a177423ef1799d33
#44 0x00039980 /data/app/com.ssmobile.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
WARNING: Mismatched build id for ./hermes-runtime-android-v0.7.2/unstripped-release/lib/x86/libhermes.so
WARNING:   Expected df8072863d396d57901d03a3514af58b13e5c804
WARNING:   Found    fe99cfec2fa1089ab769b335a177423ef1799d33
#45 0x001362b5 /data/app/com.ssmobile.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
WARNING: Mismatched build id for ./hermes-runtime-android-v0.7.2/unstripped-release/lib/x86/libhermes.so
WARNING:   Expected df8072863d396d57901d03a3514af58b13e5c804
WARNING:   Found    fe99cfec2fa1089ab769b335a177423ef1799d33
#46 0x000541c4 /data/app/com.ssmobile.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
WARNING: Mismatched build id for ./hermes-runtime-android-v0.7.2/unstripped-release/lib/x86/libhermes.so
WARNING:   Expected df8072863d396d57901d03a3514af58b13e5c804
WARNING:   Found    fe99cfec2fa1089ab769b335a177423ef1799d33
#47 0x000572fb /data/app/com.ssmobile.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
WARNING: Mismatched build id for ./hermes-runtime-android-v0.7.2/unstripped-release/lib/x86/libhermes.so
WARNING:   Expected df8072863d396d57901d03a3514af58b13e5c804
WARNING:   Found    fe99cfec2fa1089ab769b335a177423ef1799d33
#48 0x00056290 /data/app/com.ssmobile.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
WARNING: Mismatched build id for ./hermes-runtime-android-v0.7.2/unstripped-release/lib/x86/libhermes.so
WARNING:   Expected df8072863d396d57901d03a3514af58b13e5c804
WARNING:   Found    fe99cfec2fa1089ab769b335a177423ef1799d33
#49 0x00063e45 /data/app/com.ssmobile.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
WARNING: Mismatched build id for ./hermes-runtime-android-v0.7.2/unstripped-release/lib/x86/libhermes.so
WARNING:   Expected df8072863d396d57901d03a3514af58b13e5c804
WARNING:   Found    fe99cfec2fa1089ab769b335a177423ef1799d33
#50 0x0003b7bf /data/app/com.ssmobile.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
WARNING: Mismatched build id for ./hermes-runtime-android-v0.7.2/unstripped-release/lib/x86/libhermes.so
WARNING:   Expected df8072863d396d57901d03a3514af58b13e5c804
WARNING:   Found    fe99cfec2fa1089ab769b335a177423ef1799d33
#51 0x0003add0 /data/app/com.ssmobile.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
WARNING: Mismatched build id for ./hermes-runtime-android-v0.7.2/unstripped-release/lib/x86/libhermes.so
WARNING:   Expected df8072863d396d57901d03a3514af58b13e5c804
WARNING:   Found    fe99cfec2fa1089ab769b335a177423ef1799d33
#52 0x00054247 /data/app/com.ssmobile.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
WARNING: Mismatched build id for ./hermes-runtime-android-v0.7.2/unstripped-release/lib/x86/libhermes.so
WARNING:   Expected df8072863d396d57901d03a3514af58b13e5c804
WARNING:   Found    fe99cfec2fa1089ab769b335a177423ef1799d33
#53 0x000572fb /data/app/com.ssmobile.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
WARNING: Mismatched build id for ./hermes-runtime-android-v0.7.2/unstripped-release/lib/x86/libhermes.so
WARNING:   Expected df8072863d396d57901d03a3514af58b13e5c804
WARNING:   Found    fe99cfec2fa1089ab769b335a177423ef1799d33
#54 0x00056290 /data/app/com.ssmobile.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
WARNING: Mismatched build id for ./hermes-runtime-android-v0.7.2/unstripped-release/lib/x86/libhermes.so
WARNING:   Expected df8072863d396d57901d03a3514af58b13e5c804
WARNING:   Found    fe99cfec2fa1089ab769b335a177423ef1799d33
#55 0x00063e45 /data/app/com.ssmobile.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
WARNING: Mismatched build id for ./hermes-runtime-android-v0.7.2/unstripped-release/lib/x86/libhermes.so
WARNING:   Expected df8072863d396d57901d03a3514af58b13e5c804
WARNING:   Found    fe99cfec2fa1089ab769b335a177423ef1799d33
#56 0x0003b7bf /data/app/com.ssmobile.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
WARNING: Mismatched build id for ./hermes-runtime-android-v0.7.2/unstripped-release/lib/x86/libhermes.so
WARNING:   Expected df8072863d396d57901d03a3514af58b13e5c804
WARNING:   Found    fe99cfec2fa1089ab769b335a177423ef1799d33
#57 0x0003add0 /data/app/com.ssmobile.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
WARNING: Mismatched build id for ./hermes-runtime-android-v0.7.2/unstripped-release/lib/x86/libhermes.so
WARNING:   Expected df8072863d396d57901d03a3514af58b13e5c804
WARNING:   Found    fe99cfec2fa1089ab769b335a177423ef1799d33
#58 0x0003a5d6 /data/app/com.ssmobile.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
WARNING: Mismatched build id for ./hermes-runtime-android-v0.7.2/unstripped-release/lib/x86/libhermes.so
WARNING:   Expected df8072863d396d57901d03a3514af58b13e5c804
WARNING:   Found    fe99cfec2fa1089ab769b335a177423ef1799d33
#59 0x0001fd9b /data/app/com.ssmobile.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libhermes.so (facebook::hermes::HermesRuntimeImpl::call(facebook::jsi::Function const&, facebook::jsi::Value const&, facebook::jsi::Value const*, unsigned int)+731) (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
#60 0x0001854b /data/app/com.ssmobile.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libhermes-executor-common-debug.so (BuildId: feaf1ba9dd56d4aee4cd4cd150b3e084685387b6)
#61 0x00020498 /data/app/com.ssmobile.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libhermes-executor-debug.so (_ZNK8facebook3jsi8Function4callIJRKdNS0_5ValueEEEES5_RNS0_7RuntimeEDpOT_+136) (BuildId: 5efd58058c9b65b3a75eaddc39b58721c835d76c)
#62 0x0002028d /data/app/com.ssmobile.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libhermes-executor-debug.so (facebook::react::JSIExecutor::invokeCallback(double, folly::dynamic const&)+205) (BuildId: 5efd58058c9b65b3a75eaddc39b58721c835d76c)
#63 0x000a662c /data/app/com.ssmobile.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libreactnativejni.so (BuildId: c74d29c04282312978ee58d15c8f91b37c5b337f)
#64 0x000a78aa /data/app/com.ssmobile.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libreactnativejni.so (BuildId: c74d29c04282312978ee58d15c8f91b37c5b337f)
#65 0x0006614f /data/app/com.ssmobile.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libreactnativejni.so (BuildId: c74d29c04282312978ee58d15c8f91b37c5b337f)
#66 0x000545e2 /data/app/com.ssmobile.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libreactnativejni.so (_ZN8facebook3jni6detail13MethodWrapperIMNS_5react15JNativeRunnableEFvvEXadL_ZNS4_3runEvEES4_vJEE8dispatchENS0_9alias_refIPNS1_8JTypeForINS0_11HybridClassIS4_NS3_8RunnableEE8JavaPartESB_vE11_javaobjectEEE+50) (BuildId: c74d29c04282312978ee58d15c8f91b37c5b337f)
#67 0x00054548 /data/app/com.ssmobile.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libreactnativejni.so (_ZN8facebook3jni6detail15FunctionWrapperIPFvNS0_9alias_refIPNS1_8JTypeForINS0_11HybridClassINS_5react15JNativeRunnableENS6_8RunnableEE8JavaPartES8_vE11_javaobjectEEEEXadL_ZNS1_13MethodWrapperIMS7_FvvEXadL_ZNS7_3runEvEES7_vJEE8dispatchESE_EESD_vJEE4callEP7_JNIEnvP8_jobject+72) (BuildId: c74d29c04282312978ee58d15c8f91b37c5b337f)
#68 0x000544f3 /data/app/com.ssmobile.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libreactnativejni.so (_ZN8facebook3jni6detail13MethodWrapperIMNS_5react15JNativeRunnableEFvvEXadL_ZNS4_3runEvEES4_vJEE4callEP7_JNIEnvP8_jobject+35) (BuildId: c74d29c04282312978ee58d15c8f91b37c5b337f)
#69 0x0211f0c8 /memfd:/jit-cache (deleted) (art_jni_trampoline+104)
#70 0x020124f2 /memfd:/jit-cache (deleted) (android.os.Handler.handleCallback+66)
#71 0x02042991 /memfd:/jit-cache (deleted) (android.os.Handler.dispatchMessage+65)
#72 0x020581f2 /memfd:/jit-cache (deleted) (com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage+50)
#73 0x02030661 /memfd:/jit-cache (deleted) (android.os.Looper.loop+1553)
#74 0x0013e9a2 /apex/com.android.runtime/lib/libart.so (art_quick_invoke_static_stub+418) (BuildId: 895645e5113da057f27d9b2ec11eb3bf)
#75 0x00149a7a /apex/com.android.runtime/lib/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+298) (BuildId: 895645e5113da057f27d9b2ec11eb3bf)
#76 0x00332502 /apex/com.android.runtime/lib/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+386) (BuildId: 895645e5113da057f27d9b2ec11eb3bf)
#77 0x0032c19c /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*)+988) (BuildId: 895645e5113da057f27d9b2ec11eb3bf)
#78 0x00684d03 /apex/com.android.runtime/lib/libart.so (MterpInvokeStatic+643) (BuildId: 895645e5113da057f27d9b2ec11eb3bf)
#79 0x001389a1 /apex/com.android.runtime/lib/libart.so (mterp_op_invoke_static+33) (BuildId: 895645e5113da057f27d9b2ec11eb3bf)
#80 0x004d34b2 [anon:dalvik-classes.dex extracted in memory from /data/app/com.ssmobile.sandbox-FXutMIpRtXlmKj4CNvQGkA==/base.apk] (com.facebook.react.bridge.queue.MessageQueueThreadImpl$4.run+74)
#81 0x006837bc /apex/com.android.runtime/lib/libart.so (MterpInvokeInterface+1980) (BuildId: 895645e5113da057f27d9b2ec11eb3bf)
#82 0x00138a21 /apex/com.android.runtime/lib/libart.so (mterp_op_invoke_interface+33) (BuildId: 895645e5113da057f27d9b2ec11eb3bf)
#83 0x000ea918 /apex/com.android.runtime/javalib/core-oj.jar (java.lang.Thread.run+8)
#84 0x002f8e0a /apex/com.android.runtime/lib/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEbb.llvm.12194892193087984976+298) (BuildId: 895645e5113da057f27d9b2ec11eb3bf)
#85 0x002ffcc5 /apex/com.android.runtime/lib/libart.so (art::interpreter::EnterInterpreterFromEntryPoint(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*)+181) (BuildId: 895645e5113da057f27d9b2ec11eb3bf)
#86 0x0066fbd9 /apex/com.android.runtime/lib/libart.so (artQuickToInterpreterBridge+1209) (BuildId: 895645e5113da057f27d9b2ec11eb3bf)
#87 0x0014503d /apex/com.android.runtime/lib/libart.so (art_quick_to_interpreter_bridge+77) (BuildId: 895645e5113da057f27d9b2ec11eb3bf)
#88 0x0013e7d2 /apex/com.android.runtime/lib/libart.so (art_quick_invoke_stub+338) (BuildId: 895645e5113da057f27d9b2ec11eb3bf)
#89 0x00149a69 /apex/com.android.runtime/lib/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+281) (BuildId: 895645e5113da057f27d9b2ec11eb3bf)
#90 0x0055a513 /apex/com.android.runtime/lib/libart.so (art::(anonymous namespace)::InvokeWithArgArray(art::ScopedObjectAccessAlreadyRunnable const&, art::ArtMethod*, art::(anonymous namespace)::ArgArray*, art::JValue*, char const*)+99) (BuildId: 895645e5113da057f27d9b2ec11eb3bf)
#91 0x0055b91a /apex/com.android.runtime/lib/libart.so (art::InvokeVirtualOrInterfaceWithJValues(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, jvalue const*)+474) (BuildId: 895645e5113da057f27d9b2ec11eb3bf)
#92 0x005aaa51 /apex/com.android.runtime/lib/libart.so (art::Thread::CreateCallback(void*)+1585) (BuildId: 895645e5113da057f27d9b2ec11eb3bf)
#93 0x0011a8e5 /apex/com.android.runtime/lib/bionic/libc.so (__pthread_start(void*)+53) (BuildId: 76290498408016ad14f4b98c3ab6c65c)
#94 0x000af6a7 /apex/com.android.runtime/lib/bionic/libc.so (__start_thread+71) (BuildId: 76290498408016ad14f4b98c3ab6c65c)
Crash dump is completed

Hope this helps @neildhar !

neildhar commented 2 years ago

Unfortunately, most of the Hermes stack frames are not correctly symbolicated, are you sure you're using Hermes 0.7.2? You can check the version by calling HermesInternal.getRuntimeProperties()

robertwt7 commented 2 years ago

Where should I call that? I was checking node_modules/hermes-engine/package.json in our app and the version is 0.7.2

neildhar commented 2 years ago

Oh, I see the issue, you should be using unstripped-debug instead of unstripped-release, since this is a debug build of the app.

robertwt7 commented 2 years ago

oh right! Okay you're right, now it resolves perfectly

Also note I changed the app name because this is the company's app

Another info: this only happens at the redux which has a lot of data processing (plenty of lodash chaining), when I comment those out it doesn't happen anymore. However it shouldn't crash the app either because it's not crashing when we use RN debugger on iOS

********** Crash dump: **********
Build fingerprint: 'google/sdk_gphone_x86/generic_x86:10/QSR1.190920.001/5891938:user/release-keys'
#00 0x00000ad9 [vdso] (__kernel_vsyscall+9)
#01 0x00092328 /apex/com.android.runtime/lib/bionic/libc.so (syscall+40) (BuildId: 76290498408016ad14f4b98c3ab6c65c)
#02 0x000ad651 /apex/com.android.runtime/lib/bionic/libc.so (abort+193) (BuildId: 76290498408016ad14f4b98c3ab6c65c)
#03 0x002981ce /data/app/com.ssandbox.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
                                                                                                   llvh::report_bad_alloc_error(char const*, bool)
                                                                                                   /home/circleci/project/external/llvh/lib/Support/ErrorHandling.cpp:174:3
#04 0x002b15cc /data/app/com.ssandbox.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
                                                                                                   llvh::safe_realloc(void*, unsigned int)
                                                                                                   /home/circleci/project/external/llvh/include/llvh/Support/MemAlloc.h:44:5
                                                                                                   llvh::SmallVectorBase::grow_pod(void*, unsigned int, unsigned int)
                                                                                                   /home/circleci/project/external/llvh/lib/Support/SmallVector.cpp:61:0
#05 0x001197d8 /data/app/com.ssandbox.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
                                                                                                   llvh::SmallVectorTemplateCommon<char16_t, void>::grow_pod(unsigned int, unsigned int)
                                                                                                   /home/circleci/project/external/llvh/include/llvh/ADT/SmallVector.h:99:22
                                                                                                   llvh::SmallVectorTemplateBase<char16_t, true>::grow(unsigned int)
                                                                                                   /home/circleci/project/external/llvh/include/llvh/ADT/SmallVector.h:307:0
                                                                                                   llvh::SmallVectorTemplateBase<char16_t, true>::push_back(char16_t const&)
                                                                                                   /home/circleci/project/external/llvh/include/llvh/ADT/SmallVector.h:312:0
                                                                                                   hermes::vm::(anonymous namespace)::JSONStringifyer::operationJA()
                                                                                                   /home/circleci/project/lib/VM/JSLib/RuntimeJSONUtils.cpp:925:0
                                                                                                   hermes::vm::(anonymous namespace)::JSONStringifyer::operationStr(hermes::vm::HermesValue)
                                                                                                   /home/circleci/project/lib/VM/JSLib/RuntimeJSONUtils.cpp:882:0
#06 0x00119286 /data/app/com.ssandbox.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
                                                                                                   hermes::vm::(anonymous namespace)::JSONStringifyer::operationJO()
                                                                                                   /home/circleci/project/lib/VM/JSLib/RuntimeJSONUtils.cpp:1050:19
                                                                                                   hermes::vm::(anonymous namespace)::JSONStringifyer::operationStr(hermes::vm::HermesValue)
                                                                                                   /home/circleci/project/lib/VM/JSLib/RuntimeJSONUtils.cpp:882:0
#07 0x00119286 /data/app/com.ssandbox.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
                                                                                                   hermes::vm::(anonymous namespace)::JSONStringifyer::operationJO()
                                                                                                   /home/circleci/project/lib/VM/JSLib/RuntimeJSONUtils.cpp:1050:19
                                                                                                   hermes::vm::(anonymous namespace)::JSONStringifyer::operationStr(hermes::vm::HermesValue)
                                                                                                   /home/circleci/project/lib/VM/JSLib/RuntimeJSONUtils.cpp:882:0
#08 0x00119740 /data/app/com.ssandbox.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
                                                                                                   hermes::vm::(anonymous namespace)::JSONStringifyer::operationJA()
                                                                                                   /home/circleci/project/lib/VM/JSLib/RuntimeJSONUtils.cpp:933:19
                                                                                                   hermes::vm::(anonymous namespace)::JSONStringifyer::operationStr(hermes::vm::HermesValue)
                                                                                                   /home/circleci/project/lib/VM/JSLib/RuntimeJSONUtils.cpp:882:0
#09 0x00116976 /data/app/com.ssandbox.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
                                                                                                   hermes::vm::(anonymous namespace)::JSONStringifyer::stringify(hermes::vm::Handle<hermes::vm::HermesValue>)
                                                                                                   /home/circleci/project/lib/VM/JSLib/RuntimeJSONUtils.cpp:1137:12
                                                                                                   hermes::vm::runtimeJSONStringify(hermes::vm::Runtime*, hermes::vm::Handle<hermes::vm::HermesValue>, hermes::vm::Handle<hermes::vm::HermesValue>, hermes::vm::Handle<hermes::vm::HermesValue>)
                                                                                                   /home/circleci/project/lib/VM/JSLib/RuntimeJSONUtils.cpp:1160:0
#10 0x00115324 /data/app/com.ssandbox.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
                                                                                                   hermes::vm::jsonStringify(void*, hermes::vm::Runtime*, hermes::vm::NativeArgs)
                                                                                                   /home/circleci/project/lib/VM/JSLib/JSON.cpp:68:10
#11 0x000541c4 /data/app/com.ssandbox.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
                                                                                                   hermes::vm::NativeFunction::_nativeCall(hermes::vm::NativeFunction*, hermes::vm::Runtime*)
                                                                                                   /home/circleci/project/include/hermes/VM/Callable.h:539:9
                                                                                                   hermes::vm::Interpreter::handleCallSlowPath(hermes::vm::Runtime*, hermes::vm::PinnedHermesValue*)
                                                                                                   /home/circleci/project/lib/VM/Interpreter.cpp:318:0
#12 0x000572fb /data/app/com.ssandbox.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
                                                                                                   hermes::vm::CallResult<hermes::vm::HermesValue, (hermes::vm::detail::CallResultSpecialize)2> hermes::vm::Interpreter::interpretFunction<false>(hermes::vm::Runtime*, hermes::vm::InterpreterState&)
                                                                                                   /home/circleci/project/lib/VM/Interpreter.cpp:1690:7
#13 0x00056290 /data/app/com.ssandbox.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
                                                                                                   hermes::vm::Runtime::interpretFunctionImpl(hermes::vm::CodeBlock*)
                                                                                                   /home/circleci/project/lib/VM/Interpreter.cpp:862:10
#14 0x00063e45 /data/app/com.ssandbox.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
                                                                                                   hermes::vm::Runtime::interpretFunction(hermes::vm::CodeBlock*)
                                                                                                   /home/circleci/project/lib/VM/Interpreter.cpp:873:10
#15 0x0003b7bf /data/app/com.ssandbox.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
                                                                                                   hermes::vm::JSFunction::_callImpl(hermes::vm::Handle<hermes::vm::Callable>, hermes::vm::Runtime*)
                                                                                                   /home/circleci/project/lib/VM/Callable.cpp:1295:23
#16 0x0003905b /data/app/com.ssandbox.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
                                                                                                   hermes::vm::Callable::call(hermes::vm::Handle<hermes::vm::Callable>, hermes::vm::Runtime*)
                                                                                                   /home/circleci/project/include/hermes/VM/Callable.h:273:12
                                                                                                   hermes::vm::Callable::executeCall3(hermes::vm::Handle<hermes::vm::Callable>, hermes::vm::Runtime*, hermes::vm::Handle<hermes::vm::HermesValue>, hermes::vm::HermesValue, hermes::vm::HermesValue, hermes::vm::HermesValue, bool)
                                                                                                   /home/circleci/project/lib/VM/Callable.cpp:312:0
#17 0x000d809a /data/app/com.ssandbox.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
                                                                                                   hermes::vm::arrayPrototypeForEach(void*, hermes::vm::Runtime*, hermes::vm::NativeArgs)
                                                                                                   /home/circleci/project/lib/VM/JSLib/Array.cpp:1294:11
#18 0x000541c4 /data/app/com.ssandbox.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
                                                                                                   hermes::vm::NativeFunction::_nativeCall(hermes::vm::NativeFunction*, hermes::vm::Runtime*)
                                                                                                   /home/circleci/project/include/hermes/VM/Callable.h:539:9
                                                                                                   hermes::vm::Interpreter::handleCallSlowPath(hermes::vm::Runtime*, hermes::vm::PinnedHermesValue*)
                                                                                                   /home/circleci/project/lib/VM/Interpreter.cpp:318:0
#19 0x000572fb /data/app/com.ssandbox.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
                                                                                                   hermes::vm::CallResult<hermes::vm::HermesValue, (hermes::vm::detail::CallResultSpecialize)2> hermes::vm::Interpreter::interpretFunction<false>(hermes::vm::Runtime*, hermes::vm::InterpreterState&)
                                                                                                   /home/circleci/project/lib/VM/Interpreter.cpp:1690:7
#20 0x00056290 /data/app/com.ssandbox.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
                                                                                                   hermes::vm::Runtime::interpretFunctionImpl(hermes::vm::CodeBlock*)
                                                                                                   /home/circleci/project/lib/VM/Interpreter.cpp:862:10
#21 0x00063e45 /data/app/com.ssandbox.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
                                                                                                   hermes::vm::Runtime::interpretFunction(hermes::vm::CodeBlock*)
                                                                                                   /home/circleci/project/lib/VM/Interpreter.cpp:873:10
#22 0x0003b7bf /data/app/com.ssandbox.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
                                                                                                   hermes::vm::JSFunction::_callImpl(hermes::vm::Handle<hermes::vm::Callable>, hermes::vm::Runtime*)
                                                                                                   /home/circleci/project/lib/VM/Callable.cpp:1295:23
#23 0x00039980 /data/app/com.ssandbox.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
                                                                                                   hermes::vm::Callable::call(hermes::vm::Handle<hermes::vm::Callable>, hermes::vm::Runtime*)
                                                                                                   /home/circleci/project/include/hermes/VM/Callable.h:273:12
                                                                                                   hermes::vm::Callable::executeCall(hermes::vm::Handle<hermes::vm::Callable>, hermes::vm::Runtime*, hermes::vm::Handle<hermes::vm::HermesValue>, hermes::vm::Handle<hermes::vm::HermesValue>, hermes::vm::Handle<hermes::vm::JSObject>)
                                                                                                   /home/circleci/project/lib/VM/Callable.cpp:378:0
#24 0x001362b5 /data/app/com.ssandbox.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
                                                                                                   hermes::vm::functionPrototypeApply(void*, hermes::vm::Runtime*, hermes::vm::NativeArgs)
                                                                                                   /home/circleci/project/lib/VM/JSLib/Function.cpp:212:10
#25 0x000541c4 /data/app/com.ssandbox.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
                                                                                                   hermes::vm::NativeFunction::_nativeCall(hermes::vm::NativeFunction*, hermes::vm::Runtime*)
                                                                                                   /home/circleci/project/include/hermes/VM/Callable.h:539:9
                                                                                                   hermes::vm::Interpreter::handleCallSlowPath(hermes::vm::Runtime*, hermes::vm::PinnedHermesValue*)
                                                                                                   /home/circleci/project/lib/VM/Interpreter.cpp:318:0
#26 0x000572fb /data/app/com.ssandbox.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
                                                                                                   hermes::vm::CallResult<hermes::vm::HermesValue, (hermes::vm::detail::CallResultSpecialize)2> hermes::vm::Interpreter::interpretFunction<false>(hermes::vm::Runtime*, hermes::vm::InterpreterState&)
                                                                                                   /home/circleci/project/lib/VM/Interpreter.cpp:1690:7
#27 0x00056290 /data/app/com.ssandbox.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
                                                                                                   hermes::vm::Runtime::interpretFunctionImpl(hermes::vm::CodeBlock*)
                                                                                                   /home/circleci/project/lib/VM/Interpreter.cpp:862:10
#28 0x00063e45 /data/app/com.ssandbox.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
                                                                                                   hermes::vm::Runtime::interpretFunction(hermes::vm::CodeBlock*)
                                                                                                   /home/circleci/project/lib/VM/Interpreter.cpp:873:10
#29 0x0003b7bf /data/app/com.ssandbox.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
                                                                                                   hermes::vm::JSFunction::_callImpl(hermes::vm::Handle<hermes::vm::Callable>, hermes::vm::Runtime*)
                                                                                                   /home/circleci/project/lib/VM/Callable.cpp:1295:23
#30 0x0003905b /data/app/com.ssandbox.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
                                                                                                   hermes::vm::Callable::call(hermes::vm::Handle<hermes::vm::Callable>, hermes::vm::Runtime*)
                                                                                                   /home/circleci/project/include/hermes/VM/Callable.h:273:12
                                                                                                   hermes::vm::Callable::executeCall3(hermes::vm::Handle<hermes::vm::Callable>, hermes::vm::Runtime*, hermes::vm::Handle<hermes::vm::HermesValue>, hermes::vm::HermesValue, hermes::vm::HermesValue, hermes::vm::HermesValue, bool)
                                                                                                   /home/circleci/project/lib/VM/Callable.cpp:312:0
#31 0x000d809a /data/app/com.ssandbox.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
                                                                                                   hermes::vm::arrayPrototypeForEach(void*, hermes::vm::Runtime*, hermes::vm::NativeArgs)
                                                                                                   /home/circleci/project/lib/VM/JSLib/Array.cpp:1294:11
#32 0x000541c4 /data/app/com.ssandbox.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
                                                                                                   hermes::vm::NativeFunction::_nativeCall(hermes::vm::NativeFunction*, hermes::vm::Runtime*)
                                                                                                   /home/circleci/project/include/hermes/VM/Callable.h:539:9
                                                                                                   hermes::vm::Interpreter::handleCallSlowPath(hermes::vm::Runtime*, hermes::vm::PinnedHermesValue*)
                                                                                                   /home/circleci/project/lib/VM/Interpreter.cpp:318:0
#33 0x000572fb /data/app/com.ssandbox.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
                                                                                                   hermes::vm::CallResult<hermes::vm::HermesValue, (hermes::vm::detail::CallResultSpecialize)2> hermes::vm::Interpreter::interpretFunction<false>(hermes::vm::Runtime*, hermes::vm::InterpreterState&)
                                                                                                   /home/circleci/project/lib/VM/Interpreter.cpp:1690:7
#34 0x00056290 /data/app/com.ssandbox.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
                                                                                                   hermes::vm::Runtime::interpretFunctionImpl(hermes::vm::CodeBlock*)
                                                                                                   /home/circleci/project/lib/VM/Interpreter.cpp:862:10
#35 0x00063e45 /data/app/com.ssandbox.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
                                                                                                   hermes::vm::Runtime::interpretFunction(hermes::vm::CodeBlock*)
                                                                                                   /home/circleci/project/lib/VM/Interpreter.cpp:873:10
#36 0x0003b7bf /data/app/com.ssandbox.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
                                                                                                   hermes::vm::JSFunction::_callImpl(hermes::vm::Handle<hermes::vm::Callable>, hermes::vm::Runtime*)
                                                                                                   /home/circleci/project/lib/VM/Callable.cpp:1295:23
#37 0x00039980 /data/app/com.ssandbox.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
                                                                                                   hermes::vm::Callable::call(hermes::vm::Handle<hermes::vm::Callable>, hermes::vm::Runtime*)
                                                                                                   /home/circleci/project/include/hermes/VM/Callable.h:273:12
                                                                                                   hermes::vm::Callable::executeCall(hermes::vm::Handle<hermes::vm::Callable>, hermes::vm::Runtime*, hermes::vm::Handle<hermes::vm::HermesValue>, hermes::vm::Handle<hermes::vm::HermesValue>, hermes::vm::Handle<hermes::vm::JSObject>)
                                                                                                   /home/circleci/project/lib/VM/Callable.cpp:378:0
#38 0x001362b5 /data/app/com.ssandbox.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
                                                                                                   hermes::vm::functionPrototypeApply(void*, hermes::vm::Runtime*, hermes::vm::NativeArgs)
                                                                                                   /home/circleci/project/lib/VM/JSLib/Function.cpp:212:10
#39 0x000541c4 /data/app/com.ssandbox.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
                                                                                                   hermes::vm::NativeFunction::_nativeCall(hermes::vm::NativeFunction*, hermes::vm::Runtime*)
                                                                                                   /home/circleci/project/include/hermes/VM/Callable.h:539:9
                                                                                                   hermes::vm::Interpreter::handleCallSlowPath(hermes::vm::Runtime*, hermes::vm::PinnedHermesValue*)
                                                                                                   /home/circleci/project/lib/VM/Interpreter.cpp:318:0
#40 0x000572fb /data/app/com.ssandbox.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
                                                                                                   hermes::vm::CallResult<hermes::vm::HermesValue, (hermes::vm::detail::CallResultSpecialize)2> hermes::vm::Interpreter::interpretFunction<false>(hermes::vm::Runtime*, hermes::vm::InterpreterState&)
                                                                                                   /home/circleci/project/lib/VM/Interpreter.cpp:1690:7
#41 0x00056290 /data/app/com.ssandbox.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
                                                                                                   hermes::vm::Runtime::interpretFunctionImpl(hermes::vm::CodeBlock*)
                                                                                                   /home/circleci/project/lib/VM/Interpreter.cpp:862:10
#42 0x00063e45 /data/app/com.ssandbox.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
                                                                                                   hermes::vm::Runtime::interpretFunction(hermes::vm::CodeBlock*)
                                                                                                   /home/circleci/project/lib/VM/Interpreter.cpp:873:10
#43 0x0003b7bf /data/app/com.ssandbox.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
                                                                                                   hermes::vm::JSFunction::_callImpl(hermes::vm::Handle<hermes::vm::Callable>, hermes::vm::Runtime*)
                                                                                                   /home/circleci/project/lib/VM/Callable.cpp:1295:23
#44 0x00039980 /data/app/com.ssandbox.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
                                                                                                   hermes::vm::Callable::call(hermes::vm::Handle<hermes::vm::Callable>, hermes::vm::Runtime*)
                                                                                                   /home/circleci/project/include/hermes/VM/Callable.h:273:12
                                                                                                   hermes::vm::Callable::executeCall(hermes::vm::Handle<hermes::vm::Callable>, hermes::vm::Runtime*, hermes::vm::Handle<hermes::vm::HermesValue>, hermes::vm::Handle<hermes::vm::HermesValue>, hermes::vm::Handle<hermes::vm::JSObject>)
                                                                                                   /home/circleci/project/lib/VM/Callable.cpp:378:0
#45 0x001362b5 /data/app/com.ssandbox.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
                                                                                                   hermes::vm::functionPrototypeApply(void*, hermes::vm::Runtime*, hermes::vm::NativeArgs)
                                                                                                   /home/circleci/project/lib/VM/JSLib/Function.cpp:212:10
#46 0x000541c4 /data/app/com.ssandbox.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
                                                                                                   hermes::vm::NativeFunction::_nativeCall(hermes::vm::NativeFunction*, hermes::vm::Runtime*)
                                                                                                   /home/circleci/project/include/hermes/VM/Callable.h:539:9
                                                                                                   hermes::vm::Interpreter::handleCallSlowPath(hermes::vm::Runtime*, hermes::vm::PinnedHermesValue*)
                                                                                                   /home/circleci/project/lib/VM/Interpreter.cpp:318:0
#47 0x000572fb /data/app/com.ssandbox.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
                                                                                                   hermes::vm::CallResult<hermes::vm::HermesValue, (hermes::vm::detail::CallResultSpecialize)2> hermes::vm::Interpreter::interpretFunction<false>(hermes::vm::Runtime*, hermes::vm::InterpreterState&)
                                                                                                   /home/circleci/project/lib/VM/Interpreter.cpp:1690:7
#48 0x00056290 /data/app/com.ssandbox.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
                                                                                                   hermes::vm::Runtime::interpretFunctionImpl(hermes::vm::CodeBlock*)
                                                                                                   /home/circleci/project/lib/VM/Interpreter.cpp:862:10
#49 0x00063e45 /data/app/com.ssandbox.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
                                                                                                   hermes::vm::Runtime::interpretFunction(hermes::vm::CodeBlock*)
                                                                                                   /home/circleci/project/lib/VM/Interpreter.cpp:873:10
#50 0x0003b7bf /data/app/com.ssandbox.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
                                                                                                   hermes::vm::JSFunction::_callImpl(hermes::vm::Handle<hermes::vm::Callable>, hermes::vm::Runtime*)
                                                                                                   /home/circleci/project/lib/VM/Callable.cpp:1295:23
#51 0x0003add0 /data/app/com.ssandbox.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
                                                                                                   hermes::vm::Callable::call(hermes::vm::Handle<hermes::vm::Callable>, hermes::vm::Runtime*)
                                                                                                   /home/circleci/project/include/hermes/VM/Callable.h:273:12
                                                                                                   hermes::vm::BoundFunction::_boundCall(hermes::vm::BoundFunction*, hermes::inst::Inst const*, hermes::vm::Runtime*)
                                                                                                   /home/circleci/project/lib/VM/Callable.cpp:851:0
#52 0x00054247 /data/app/com.ssandbox.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
                                                                                                   hermes::vm::Interpreter::handleCallSlowPath(hermes::vm::Runtime*, hermes::vm::PinnedHermesValue*)
                                                                                                   /home/circleci/project/lib/VM/Interpreter.cpp:322:12
#53 0x000572fb /data/app/com.ssandbox.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
                                                                                                   hermes::vm::CallResult<hermes::vm::HermesValue, (hermes::vm::detail::CallResultSpecialize)2> hermes::vm::Interpreter::interpretFunction<false>(hermes::vm::Runtime*, hermes::vm::InterpreterState&)
                                                                                                   /home/circleci/project/lib/VM/Interpreter.cpp:1690:7
#54 0x00056290 /data/app/com.ssandbox.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
                                                                                                   hermes::vm::Runtime::interpretFunctionImpl(hermes::vm::CodeBlock*)
                                                                                                   /home/circleci/project/lib/VM/Interpreter.cpp:862:10
#55 0x00063e45 /data/app/com.ssandbox.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
                                                                                                   hermes::vm::Runtime::interpretFunction(hermes::vm::CodeBlock*)
                                                                                                   /home/circleci/project/lib/VM/Interpreter.cpp:873:10
#56 0x0003b7bf /data/app/com.ssandbox.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
                                                                                                   hermes::vm::JSFunction::_callImpl(hermes::vm::Handle<hermes::vm::Callable>, hermes::vm::Runtime*)
                                                                                                   /home/circleci/project/lib/VM/Callable.cpp:1295:23
#57 0x0003add0 /data/app/com.ssandbox.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
                                                                                                   hermes::vm::Callable::call(hermes::vm::Handle<hermes::vm::Callable>, hermes::vm::Runtime*)
                                                                                                   /home/circleci/project/include/hermes/VM/Callable.h:273:12
                                                                                                   hermes::vm::BoundFunction::_boundCall(hermes::vm::BoundFunction*, hermes::inst::Inst const*, hermes::vm::Runtime*)
                                                                                                   /home/circleci/project/lib/VM/Callable.cpp:851:0
#58 0x0003a5d6 /data/app/com.ssandbox.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libhermes.so (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
                                                                                                   hermes::vm::BoundFunction::_callImpl(hermes::vm::Handle<hermes::vm::Callable>, hermes::vm::Runtime*)
                                                                                                   /home/circleci/project/lib/VM/Callable.cpp:886:10
#59 0x0001fd9b /data/app/com.ssandbox.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libhermes.so (facebook::hermes::HermesRuntimeImpl::call(facebook::jsi::Function const&, facebook::jsi::Value const&, facebook::jsi::Value const*, unsigned int)+731) (BuildId: df8072863d396d57901d03a3514af58b13e5c804)
                                                                                                   hermes::vm::Callable::call(hermes::vm::Handle<hermes::vm::Callable>, hermes::vm::Runtime*)
                                                                                                   /home/circleci/project/include/hermes/VM/Callable.h:273:12
                                                                                                   facebook::hermes::HermesRuntimeImpl::call(facebook::jsi::Function const&, facebook::jsi::Value const&, facebook::jsi::Value const*, unsigned int)::$_21::operator()() const
                                                                                                   /home/circleci/project/API/hermes/hermes.cpp:1899:0
                                                                                                   decltype(fp()) (anonymous namespace)::maybeRethrow<facebook::hermes::HermesRuntimeImpl::call(facebook::jsi::Function const&, facebook::jsi::Value const&, facebook::jsi::Value const*, unsigned int)::$_21>(facebook::hermes::HermesRuntimeImpl::call(facebook::jsi::Function const&, facebook::jsi::Value const&, facebook::jsi::Value const*, unsigned int)::$_21 const&)
                                                                                                   /home/circleci/project/API/hermes/hermes.cpp:113:0
                                                                                                   facebook::hermes::HermesRuntimeImpl::call(facebook::jsi::Function const&, facebook::jsi::Value const&, facebook::jsi::Value const*, unsigned int)
                                                                                                   /home/circleci/project/API/hermes/hermes.cpp:1871:0
#60 0x0001854b /data/app/com.ssandbox.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libhermes-executor-common-debug.so (BuildId: feaf1ba9dd56d4aee4cd4cd150b3e084685387b6)
#61 0x00020498 /data/app/com.ssandbox.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libhermes-executor-debug.so (_ZNK8facebook3jsi8Function4callIJRKdNS0_5ValueEEEES5_RNS0_7RuntimeEDpOT_+136) (BuildId: 5efd58058c9b65b3a75eaddc39b58721c835d76c)
#62 0x0002028d /data/app/com.ssandbox.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libhermes-executor-debug.so (facebook::react::JSIExecutor::invokeCallback(double, folly::dynamic const&)+205) (BuildId: 5efd58058c9b65b3a75eaddc39b58721c835d76c)
#63 0x000a662c /data/app/com.ssandbox.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libreactnativejni.so (BuildId: c74d29c04282312978ee58d15c8f91b37c5b337f)
#64 0x000a78aa /data/app/com.ssandbox.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libreactnativejni.so (BuildId: c74d29c04282312978ee58d15c8f91b37c5b337f)
#65 0x0006614f /data/app/com.ssandbox.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libreactnativejni.so (BuildId: c74d29c04282312978ee58d15c8f91b37c5b337f)
#66 0x000545e2 /data/app/com.ssandbox.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libreactnativejni.so (_ZN8facebook3jni6detail13MethodWrapperIMNS_5react15JNativeRunnableEFvvEXadL_ZNS4_3runEvEES4_vJEE8dispatchENS0_9alias_refIPNS1_8JTypeForINS0_11HybridClassIS4_NS3_8RunnableEE8JavaPartESB_vE11_javaobjectEEE+50) (BuildId: c74d29c04282312978ee58d15c8f91b37c5b337f)
#67 0x00054548 /data/app/com.ssandbox.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libreactnativejni.so (_ZN8facebook3jni6detail15FunctionWrapperIPFvNS0_9alias_refIPNS1_8JTypeForINS0_11HybridClassINS_5react15JNativeRunnableENS6_8RunnableEE8JavaPartES8_vE11_javaobjectEEEEXadL_ZNS1_13MethodWrapperIMS7_FvvEXadL_ZNS7_3runEvEES7_vJEE8dispatchESE_EESD_vJEE4callEP7_JNIEnvP8_jobject+72) (BuildId: c74d29c04282312978ee58d15c8f91b37c5b337f)
#68 0x000544f3 /data/app/com.ssandbox.sandbox-FXutMIpRtXlmKj4CNvQGkA==/lib/x86/libreactnativejni.so (_ZN8facebook3jni6detail13MethodWrapperIMNS_5react15JNativeRunnableEFvvEXadL_ZNS4_3runEvEES4_vJEE4callEP7_JNIEnvP8_jobject+35) (BuildId: c74d29c04282312978ee58d15c8f91b37c5b337f)
#69 0x0211f0c8 /memfd:/jit-cache (deleted) (art_jni_trampoline+104)
#70 0x020124f2 /memfd:/jit-cache (deleted) (android.os.Handler.handleCallback+66)
#71 0x02042991 /memfd:/jit-cache (deleted) (android.os.Handler.dispatchMessage+65)
#72 0x020581f2 /memfd:/jit-cache (deleted) (com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage+50)
#73 0x02030661 /memfd:/jit-cache (deleted) (android.os.Looper.loop+1553)
#74 0x0013e9a2 /apex/com.android.runtime/lib/libart.so (art_quick_invoke_static_stub+418) (BuildId: 895645e5113da057f27d9b2ec11eb3bf)
#75 0x00149a7a /apex/com.android.runtime/lib/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+298) (BuildId: 895645e5113da057f27d9b2ec11eb3bf)
#76 0x00332502 /apex/com.android.runtime/lib/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+386) (BuildId: 895645e5113da057f27d9b2ec11eb3bf)
#77 0x0032c19c /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*)+988) (BuildId: 895645e5113da057f27d9b2ec11eb3bf)
#78 0x00684d03 /apex/com.android.runtime/lib/libart.so (MterpInvokeStatic+643) (BuildId: 895645e5113da057f27d9b2ec11eb3bf)
#79 0x001389a1 /apex/com.android.runtime/lib/libart.so (mterp_op_invoke_static+33) (BuildId: 895645e5113da057f27d9b2ec11eb3bf)
#80 0x004d34b2 [anon:dalvik-classes.dex extracted in memory from /data/app/com.ssandbox.sandbox-FXutMIpRtXlmKj4CNvQGkA==/base.apk] (com.facebook.react.bridge.queue.MessageQueueThreadImpl$4.run+74)
#81 0x006837bc /apex/com.android.runtime/lib/libart.so (MterpInvokeInterface+1980) (BuildId: 895645e5113da057f27d9b2ec11eb3bf)
#82 0x00138a21 /apex/com.android.runtime/lib/libart.so (mterp_op_invoke_interface+33) (BuildId: 895645e5113da057f27d9b2ec11eb3bf)
#83 0x000ea918 /apex/com.android.runtime/javalib/core-oj.jar (java.lang.Thread.run+8)
#84 0x002f8e0a /apex/com.android.runtime/lib/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEbb.llvm.12194892193087984976+298) (BuildId: 895645e5113da057f27d9b2ec11eb3bf)
#85 0x002ffcc5 /apex/com.android.runtime/lib/libart.so (art::interpreter::EnterInterpreterFromEntryPoint(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*)+181) (BuildId: 895645e5113da057f27d9b2ec11eb3bf)
#86 0x0066fbd9 /apex/com.android.runtime/lib/libart.so (artQuickToInterpreterBridge+1209) (BuildId: 895645e5113da057f27d9b2ec11eb3bf)
#87 0x0014503d /apex/com.android.runtime/lib/libart.so (art_quick_to_interpreter_bridge+77) (BuildId: 895645e5113da057f27d9b2ec11eb3bf)
#88 0x0013e7d2 /apex/com.android.runtime/lib/libart.so (art_quick_invoke_stub+338) (BuildId: 895645e5113da057f27d9b2ec11eb3bf)
#89 0x00149a69 /apex/com.android.runtime/lib/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+281) (BuildId: 895645e5113da057f27d9b2ec11eb3bf)
#90 0x0055a513 /apex/com.android.runtime/lib/libart.so (art::(anonymous namespace)::InvokeWithArgArray(art::ScopedObjectAccessAlreadyRunnable const&, art::ArtMethod*, art::(anonymous namespace)::ArgArray*, art::JValue*, char const*)+99) (BuildId: 895645e5113da057f27d9b2ec11eb3bf)
#91 0x0055b91a /apex/com.android.runtime/lib/libart.so (art::InvokeVirtualOrInterfaceWithJValues(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, jvalue const*)+474) (BuildId: 895645e5113da057f27d9b2ec11eb3bf)
#92 0x005aaa51 /apex/com.android.runtime/lib/libart.so (art::Thread::CreateCallback(void*)+1585) (BuildId: 895645e5113da057f27d9b2ec11eb3bf)
#93 0x0011a8e5 /apex/com.android.runtime/lib/bionic/libc.so (__pthread_start(void*)+53) (BuildId: 76290498408016ad14f4b98c3ab6c65c)
#94 0x000af6a7 /apex/com.android.runtime/lib/bionic/libc.so (__start_thread+71) (BuildId: 76290498408016ad14f4b98c3ab6c65c)
Crash dump is completed
neildhar commented 2 years ago

To confirm, are you using Hermes on iOS as well? Also, do you get a crash when using JSC?

It looks like it's running out of memory while trying to JSON.stringify something, although it's impossible to tell from that trace alone whether JSON.stringify is the culprit for allocating too much memory. It's odd that you're observing a difference between debug and release builds and across platforms. Do you have a minimal repro you can share, preferably using the latest RN/Hermes versions?

Another interesting thing to look at would be to run HermesInternal.getInstrumentedStats() (called from JavaScript), which provides information on JS memory consumption.

robertwt7 commented 2 years ago

What is JSC?

So yeah we're using Hermes on both, crashes on both at the same scenario. However, on iOS i can disable hermes and keep debugging on simulator, this is due to react-native-reanimated that requires app to use Hermes only on android.

You're right, so it appears that it crashes when we're fetching this 1 endpoint from our API, payload is not that big but has a bit of data processing in the reducers after. seems like when I comment out those thing in reducer it loads just fine (of course without the data).

It's hard to provide minimal repro because this is from our main repo, and I'm not even sure how to repro it again because it doesn't crash on hundreds of other reducers that we have (from different backends and services)

Doesn't seem like it is resolving but i'll spin up simulator to see: Screen Shot 2021-11-12 at 2 29 25 pm

liamjones commented 2 years ago

What is JSC?

@robertwt7 JavaScriptCore - the JS engine used if you disable Hermes

neildhar commented 2 years ago

@robertwt7 Did you see get any memory consumption numbers from getInstrumentedStats in the simulator? Unfortunately, without a repro, this issue will be pretty difficult to diagnose.

robertwt7 commented 2 years ago

@neildhar hey mate, I don't get anything from that command. does it suppose to show in the log?

I also tried to console.log("instrumented stats:", HermesInternal.getInstrumentedStats()); but can't see anything from log either.

Ashoat commented 2 years ago

Hey everyone, we have been having this issue on iOS with Hermes 0.7.2 with a heap size limit of 1 GiB for a while and had trouble symbolicating it. We eventually were able to repro, and got the stacktrace by deploying a build from Xcode. Turns out it was an OOM issue in our code.

I think it's probably fair to close this one since it is ultimately a result of client code. That said, it would be helpful if there was:

  1. A clearer indication of the OOM in the stacktrace (I seem to recall this has been improved since 0.7.2, but can't confirm)
  2. Better instructions for symbolicating stacktraces for both iOS and Android
  3. Could be cool to document HermesInternal.getInstrumentedStats() somewhere