react-native icon indicating copy to clipboard operation
react-native copied to clipboard

Fatal signal 11 (SIGSEGV), code 2 (SEGV_ACCERR)

Open SudoPlz opened this issue 5 years ago • 29 comments

Hey there,

we recently upgraded to react-native 0.63.2 and we get the following launch crash on Samsung S9 devices running Android 10 in production (We don't get that on other devices - i.e Google Pixel ones). Hermes is enabled.

The stacktrace that we get from our crash reporter is the following:

signal 11 (SIGSEGV), code 2 (SEGV_ACCERR)

*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
pid: 0, tid: 0 >>> com.example.app.android <<<

backtrace:
  #00  pc 00000000001ebcd0  /data/app/com.example.app.android-Ms1jPEUnno8T7Tc2wKQi7g==/split_config.arm64_v8a.apk!libregister.so (offset 0x134a000)
  #01  pc 0000000000415560  /data/app/com.example.app.android-Ms1jPEUnno8T7Tc2wKQi7g==/split_config.arm64_v8a.apk!libregister.so (offset 0x134a000)
  #02  pc 0000000000306b1c  /data/app/com.example.app.android-Ms1jPEUnno8T7Tc2wKQi7g==/split_config.arm64_v8a.apk!libregister.so (offset 0x134a000)
  #03  pc 00000000006593b0  /data/app/com.example.app.android-Ms1jPEUnno8T7Tc2wKQi7g==/split_config.arm64_v8a.apk!libregister.so (offset 0x134a000) (JNI_OnLoad+48028)
  #04  pc 000000000037cf34  /apex/com.android.runtime/lib64/libart.so (art::JavaVMExt::LoadNativeLibrary(_JNIEnv*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, _jobject*, _jclass*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>*)+3228)
  #05  pc 0000000000005184  /apex/com.android.runtime/lib64/libopenjdkjvm.so (JVM_NativeLoad+412)
  #06  pc 00000000000bfaf4  /system/framework/arm64/boot.oat (art_jni_trampoline+228)
  #07  pc 00000000000de63c  /system/framework/arm64/boot.oat (java.lang.Runtime.loadLibrary0+236)
  #08  pc 00000000000df5f4  /system/framework/arm64/boot.oat (java.lang.Runtime.loadLibrary0+180)
  #09  pc 00000000000e4150  /system/framework/arm64/boot.oat (java.lang.System.loadLibrary+96)
  #10  pc 00000000001375b8  /apex/com.android.runtime/lib64/libart.so (art_quick_invoke_static_stub+568)
  #11  pc 00000000001460cc  /apex/com.android.runtime/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+276)
  #12  pc 00000000002e3d38  /apex/com.android.runtime/lib64/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+384)
  #13  pc 00000000002dedc4  /apex/com.android.runtime/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+900)
  #14  pc 00000000005a5538  /apex/com.android.runtime/lib64/libart.so (MterpInvokeStatic+368)
  #15  pc 0000000000131994  /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_static+20)
  #16  pc 0000000002d86814  /data/app/com.example.app.android-Ms1jPEUnno8T7Tc2wKQi7g==/oat/arm64/base.vdex (shadow.com.getkeepsafe.relinker.SystemLibraryLoader.loadLibrary)
  #17  pc 00000000005a4494  /apex/com.android.runtime/lib64/libart.so (MterpInvokeInterface+1740)
  #18  pc 0000000000131a14  /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_interface+20)
  #19  pc 0000000002d8647e  /data/app/com.example.app.android-Ms1jPEUnno8T7Tc2wKQi7g==/oat/arm64/base.vdex (shadow.com.getkeepsafe.relinker.ReLinkerInstance.loadLibraryInternal+54)
  #20  pc 00000000005a5030  /apex/com.android.runtime/lib64/libart.so (MterpInvokeDirect+1168)
  #21  pc 0000000000131914  /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_direct+20)
  #22  pc 0000000002d862cc  /data/app/com.example.app.android-Ms1jPEUnno8T7Tc2wKQi7g==/oat/arm64/base.vdex (shadow.com.getkeepsafe.relinker.ReLinkerInstance.access$000)
  #23  pc 00000000005a5838  /apex/com.android.runtime/lib64/libart.so (MterpInvokeStatic+1136)
  #24  pc 0000000000131994  /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_static+20)
  #25  pc 0000000002d860d8  /data/app/com.example.app.android-Ms1jPEUnno8T7Tc2wKQi7g==/oat/arm64/base.vdex (shadow.com.getkeepsafe.relinker.ReLinkerInstance$1.run+16)
  #26  pc 00000000002b4668  /apex/com.android.runtime/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.llvm.16017486636107417700)+240)
  #27  pc 0000000000593e30  /apex/com.android.runtime/lib64/libart.so (artQuickToInterpreterBridge+1024)
  #28  pc 0000000000140468  /apex/com.android.runtime/lib64/libart.so (art_quick_to_interpreter_bridge+88)
  #29  pc 00000000001b6818  /system/framework/arm64/boot.oat (java.lang.Thread.run+72)
  #30  pc 0000000000137334  /apex/com.android.runtime/lib64/libart.so (art_quick_invoke_stub+548)
  #31  pc 00000000001460ac  /apex/com.android.runtime/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+244)
  #32  pc 00000000004b2c20  /apex/com.android.runtime/lib64/libart.so (art::(anonymous namespace)::InvokeWithArgArray(art::ScopedObjectAccessAlreadyRunnable const&, art::ArtMethod*, art::(anonymous namespace)::ArgArray*, art::JValue*, char const*)+104)
  #33  pc 00000000004b3cd0  /apex/com.android.runtime/lib64/libart.so (art::InvokeVirtualOrInterfaceWithJValues(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, jvalue const*)+416)
  #34  pc 00000000004f47f8  /apex/com.android.runtime/lib64/libart.so (art::Thread::CreateCallback(void*)+1176)
  #35  pc 00000000000e3b24  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+36)
  #36  pc 0000000000085330  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)

Running the release version of our app on a physical device we own resulted in the following stacktrace:

Fatal signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 0x7f7d93d018 in tid 17939 (Thread-20), pid 17841 (ing.app.android)
07-28 17:41:21.801 17973 17973 F DEBUG   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
07-28 17:41:21.802 17973 17973 F DEBUG   : Build fingerprint: 'samsung/starltexx/starlte:10/QP1A.190711.020/G960FXXU7DTAA:user/release-keys'
07-28 17:41:21.802 17973 17973 F DEBUG   : Revision: '26'
07-28 17:41:21.802 17973 17973 F DEBUG   : ABI: 'arm64'
07-28 17:41:21.802 17973 17973 F DEBUG   : Timestamp: 2020-07-28 17:41:21+0100
07-28 17:41:21.802 17973 17973 F DEBUG   : pid: 17841, tid: 17939, name: Thread-20  >>> com.example.app.android <<<
07-28 17:41:21.802 17973 17973 F DEBUG   : uid: 10060
07-28 17:41:21.802 17973 17973 F DEBUG   : signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 0x7f7d93d018
07-28 17:41:21.802 17973 17973 F DEBUG   : Cause: execute-only (no-read) memory access error; likely due to data in .text.
07-28 17:41:21.802 17973 17973 F DEBUG   :     x0  0000007e68cd2008  x1  0000007f7d93ddd8  x2  0000000000000000  x3  0000000000000000
07-28 17:41:21.802 17973 17973 F DEBUG   :     x4  00000000ffffffff  x5  0000000000000000  x6  0000000000000080  x7  ff63606e4b6d4e5e
07-28 17:41:21.802 17973 17973 F DEBUG   :     x8  0000007f7d93d018  x9  0000007e5af2bccc  x10 0000007f7d93d000  x11 0000000000000002
07-28 17:41:21.802 17973 17973 F DEBUG   :     x12 0000000000001000  x13 0000001042204000  x14 000000104224c000  x15 0000001042201020
07-28 17:41:21.803 17973 17973 F DEBUG   :     x16 0000007e5b4fbc78  x17 0000007f7ecac260  x18 000000104224c000  x19 ffffffffffffffff
07-28 17:41:21.803 17973 17973 F DEBUG   :     x20 0000007e68cccdd7  x21 0000000000000000  x22 0000007f7d93d018  x23 ffffffffffffffff
07-28 17:41:21.803 17973 17973 F DEBUG   :     x24 0000007e5b38d814  x25 0000007e666d1b80  x26 0000007e88436380  x27 0000007f800df1c0
07-28 17:41:21.803 17973 17973 F DEBUG   :     x28 0000000000000000  x29 0000007e68ccd900
07-28 17:41:21.803 17973 17973 F DEBUG   :     sp  0000007e68ccbe30  lr  0000007e5af2cb1c  pc  0000007e5af2bcd0
07-28 17:41:21.966 17973 17973 F DEBUG   : 
07-28 17:41:21.966 17973 17973 F DEBUG   : backtrace:
07-28 17:41:21.966 17973 17973 F DEBUG   :       #00 pc 00000000001ebcd0  /data/app/com.example.app.android-CG3VCWpjGA_DUn5p0fG6PA==/split_config.arm64_v8a.apk!libregister.so (offset 0x134a000) (BuildId: bafb0d916e821fca828747ed033a55c7d9c53f3a)
07-28 17:41:21.966 17973 17973 F DEBUG   :       #01 pc 0000000000415560  /data/app/com.example.app.android-CG3VCWpjGA_DUn5p0fG6PA==/split_config.arm64_v8a.apk!libregister.so (offset 0x134a000) (BuildId: bafb0d916e821fca828747ed033a55c7d9c53f3a)
07-28 17:41:21.966 17973 17973 F DEBUG   :       #02 pc 0000000000306b1c  /data/app/com.example.app.android-CG3VCWpjGA_DUn5p0fG6PA==/split_config.arm64_v8a.apk!libregister.so (offset 0x134a000) (BuildId: bafb0d916e821fca828747ed033a55c7d9c53f3a)
07-28 17:41:21.966 17973 17973 F DEBUG   :       #03 pc 00000000006593b0  /data/app/com.example.app.android-CG3VCWpjGA_DUn5p0fG6PA==/split_config.arm64_v8a.apk!libregister.so (offset 0x134a000) (JNI_OnLoad+48028) (BuildId: bafb0d916e821fca828747ed033a55c7d9c53f3a)
07-28 17:41:21.966 17973 17973 F DEBUG   :       #04 pc 000000000037cddc  /apex/com.android.runtime/lib64/libart.so (art::JavaVMExt::LoadNativeLibrary(_JNIEnv*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, _jobject*, _jclass*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>*)+3228) (BuildId: 646dedb2d1e7f719c8ef5314f8894d5e)
07-28 17:41:21.967 17973 17973 F DEBUG   :       #05 pc 0000000000005184  /apex/com.android.runtime/lib64/libopenjdkjvm.so (JVM_NativeLoad+412) (BuildId: 81a06bf05ce656f30f4f987ab8a00066)
07-28 17:41:21.967 17973 17973 F DEBUG   :       #06 pc 00000000000b9af4  /system/framework/arm64/boot.oat (art_jni_trampoline+228) (BuildId: b92495b97bd2b9b94ff49baeb11f3347ca279c52)
07-28 17:41:21.967 17973 17973 F DEBUG   :       #07 pc 00000000000d6eec  /system/framework/arm64/boot.oat (java.lang.Runtime.loadLibrary0+236) (BuildId: b92495b97bd2b9b94ff49baeb11f3347ca279c52)
07-28 17:41:21.967 17973 17973 F DEBUG   :       #08 pc 00000000000d7ed4  /system/framework/arm64/boot.oat (java.lang.Runtime.loadLibrary0+180) (BuildId: b92495b97bd2b9b94ff49baeb11f3347ca279c52)
07-28 17:41:21.967 17973 17973 F DEBUG   :       #09 pc 00000000000dcab0  /system/framework/arm64/boot.oat (java.lang.System.loadLibrary+96) (BuildId: b92495b97bd2b9b94ff49baeb11f3347ca279c52)
07-28 17:41:21.967 17973 17973 F DEBUG   :       #10 pc 00000000001375b8  /apex/com.android.runtime/lib64/libart.so (art_quick_invoke_static_stub+568) (BuildId: 646dedb2d1e7f719c8ef5314f8894d5e)
07-28 17:41:21.967 17973 17973 F DEBUG   :       #11 pc 00000000001460cc  /apex/com.android.runtime/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+276) (BuildId: 646dedb2d1e7f719c8ef5314f8894d5e)
07-28 17:41:21.967 17973 17973 F DEBUG   :       #12 pc 00000000002e3be8  /apex/com.android.runtime/lib64/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+384) (BuildId: 646dedb2d1e7f719c8ef5314f8894d5e)
07-28 17:41:21.967 17973 17973 F DEBUG   :       #13 pc 00000000002dec74  /apex/com.android.runtime/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+900) (BuildId: 646dedb2d1e7f719c8ef5314f8894d5e)
07-28 17:41:21.967 17973 17973 F DEBUG   :       #14 pc 00000000005a5340  /apex/com.android.runtime/lib64/libart.so (MterpInvokeStatic+368) (BuildId: 646dedb2d1e7f719c8ef5314f8894d5e)
07-28 17:41:21.967 17973 17973 F DEBUG   :       #15 pc 0000000000131994  /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_static+20) (BuildId: 646dedb2d1e7f719c8ef5314f8894d5e)
07-28 17:41:21.967 17973 17973 F DEBUG   :       #16 pc 0000000002d86814  /data/app/com.example.app.android-CG3VCWpjGA_DUn5p0fG6PA==/oat/arm64/base.vdex (shadow.com.getkeepsafe.relinker.SystemLibraryLoader.loadLibrary)
07-28 17:41:21.967 17973 17973 F DEBUG   :       #17 pc 00000000005a429c  /apex/com.android.runtime/lib64/libart.so (MterpInvokeInterface+1740) (BuildId: 646dedb2d1e7f719c8ef5314f8894d5e)
07-28 17:41:21.967 17973 17973 F DEBUG   :       #18 pc 0000000000131a14  /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_interface+20) (BuildId: 646dedb2d1e7f719c8ef5314f8894d5e)
07-28 17:41:21.967 17973 17973 F DEBUG   :       #19 pc 0000000002d8647e  /data/app/com.example.app.android-CG3VCWpjGA_DUn5p0fG6PA==/oat/arm64/base.vdex (shadow.com.getkeepsafe.relinker.ReLinkerInstance.loadLibraryInternal+54)
07-28 17:41:21.967 17973 17973 F DEBUG   :       #20 pc 00000000005a4e38  /apex/com.android.runtime/lib64/libart.so (MterpInvokeDirect+1168) (BuildId: 646dedb2d1e7f719c8ef5314f8894d5e)
07-28 17:41:21.967 17973 17973 F DEBUG   :       #21 pc 0000000000131914  /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_direct+20) (BuildId: 646dedb2d1e7f719c8ef5314f8894d5e)
07-28 17:41:21.967 17973 17973 F DEBUG   :       #22 pc 0000000002d862cc  /data/app/com.example.app.android-CG3VCWpjGA_DUn5p0fG6PA==/oat/arm64/base.vdex (shadow.com.getkeepsafe.relinker.ReLinkerInstance.access$000)
07-28 17:41:21.967 17973 17973 F DEBUG   :       #23 pc 00000000005a5640  /apex/com.android.runtime/lib64/libart.so (MterpInvokeStatic+1136) (BuildId: 646dedb2d1e7f719c8ef5314f8894d5e)
07-28 17:41:21.967 17973 17973 F DEBUG   :       #24 pc 0000000000131994  /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_static+20) (BuildId: 646dedb2d1e7f719c8ef5314f8894d5e)
07-28 17:41:21.967 17973 17973 F DEBUG   :       #25 pc 0000000002d860d8  /data/app/com.example.app.android-CG3VCWpjGA_DUn5p0fG6PA==/oat/arm64/base.vdex (shadow.com.getkeepsafe.relinker.ReLinkerInstance$1.run+16)
07-28 17:41:21.967 17973 17973 F DEBUG   :       #26 pc 00000000002b4518  /apex/com.android.runtime/lib64/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEbb.llvm.14549768435847923494+240) (BuildId: 646dedb2d1e7f719c8ef5314f8894d5e)
07-28 17:41:21.967 17973 17973 F DEBUG   :       #27 pc 0000000000593c38  /apex/com.android.runtime/lib64/libart.so (artQuickToInterpreterBridge+1024) (BuildId: 646dedb2d1e7f719c8ef5314f8894d5e)
07-28 17:41:21.967 17973 17973 F DEBUG   :       #28 pc 0000000000140468  /apex/com.android.runtime/lib64/libart.so (art_quick_to_interpreter_bridge+88) (BuildId: 646dedb2d1e7f719c8ef5314f8894d5e)
07-28 17:41:21.968 17973 17973 F DEBUG   :       #29 pc 00000000001a5568  /system/framework/arm64/boot.oat (java.lang.Thread.run+72) (BuildId: b92495b97bd2b9b94ff49baeb11f3347ca279c52)
07-28 17:41:21.968 17973 17973 F DEBUG   :       #30 pc 0000000000137334  /apex/com.android.runtime/lib64/libart.so (art_quick_invoke_stub+548) (BuildId: 646dedb2d1e7f719c8ef5314f8894d5e)
07-28 17:41:21.968 17973 17973 F DEBUG   :       #31 pc 00000000001460ac  /apex/com.android.runtime/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+244) (BuildId: 646dedb2d1e7f719c8ef5314f8894d5e)
07-28 17:41:21.968 17973 17973 F DEBUG   :       #32 pc 00000000004b2aa0  /apex/com.android.runtime/lib64/libart.so (art::(anonymous namespace)::InvokeWithArgArray(art::ScopedObjectAccessAlreadyRunnable const&, art::ArtMethod*, art::(anonymous namespace)::ArgArray*, art::JValue*, char const*)+104) (BuildId: 646dedb2d1e7f719c8ef5314f8894d5e)
07-28 17:41:21.968 17973 17973 F DEBUG   :       #33 pc 00000000004b3b50  /apex/com.android.runtime/lib64/libart.so (art::InvokeVirtualOrInterfaceWithJValues(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, jvalue const*)+416) (BuildId: 646dedb2d1e7f719c8ef5314f8894d5e)
07-28 17:41:21.968 17973 17973 F DEBUG   :       #34 pc 00000000004f4600  /apex/com.android.runtime/lib64/libart.so (art::Thread::CreateCallback(void*)+1176) (BuildId: 646dedb2d1e7f719c8ef5314f8894d5e)
07-28 17:41:21.968 17973 17973 F DEBUG   :       #35 pc 00000000000e3b14  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+36) (BuildId: 220051b49364b1c2da3adf10c30832cc)
07-28 17:41:21.968 17973 17973 F DEBUG   :       #36 pc 0000000000085330  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) (BuildId: 220051b49364b1c2da3adf10c30832cc)

React Native version:

System:
    OS: macOS 10.15.5
    CPU: (12) x64 Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz
    Memory: 354.10 MB / 32.00 GB
    Shell: 5.7.1 - /bin/zsh
  Binaries:
    Node: 10.19.0 - ~/.nvm/versions/node/v10.19.0/bin/node
    Yarn: 1.22.0 - ~/.yarn/bin/yarn
    npm: 6.13.4 - ~/.nvm/versions/node/v10.19.0/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  Managers:
    CocoaPods: 1.9.3 - /Users/ikokkinidis/.rbenv/shims/pod
  SDKs:
    iOS SDK:
      Platforms: iOS 13.5, DriverKit 19.0, macOS 10.15, tvOS 13.4, watchOS 6.2
    Android SDK:
      API Levels: 28, 29
      Build Tools: 28.0.3, 29.0.2, 29.0.3
      System Images: android-29 | Intel x86 Atom, android-29 | Intel x86 Atom_64, android-29 | Google APIs Intel x86 Atom, android-29 | Google APIs Intel x86 Atom_64
      Android NDK: Not Found
  IDEs:
    Android Studio: 3.5 AI-191.8026.42.35.6010548
    Xcode: 11.5/11E608c - /usr/bin/xcodebuild
  Languages:
    Java: 1.8.0_211 - /usr/bin/javac
    Python: 2.7.16 - /usr/bin/python
  npmPackages:
    @react-native-community/cli: ^4.5.1 => 4.10.1
    react: 16.13.1 => 16.13.1
    react-native: ^0.63.1 => 0.63.2
  npmGlobalPackages:
    *react-native*: Not Found

Expected Results

No crashes

Snack, code example, screenshot, or link to a repository:

The binary that crashes on Samsung S9 can be downloaded from Google play here - beta version 4.9.6 of our app

SudoPlz avatar Jul 28 '20 18:07 SudoPlz

Hi, I am getting this error "Error Signal 11 was raised." on IOS with 0.63.0 version

waheedakhtar694 avatar Jul 28 '20 19:07 waheedakhtar694

The above is in release. When in debug mode, the stacktrace is this:

07-29 16:51:40.207 25783 25783 E DEBUG   : failed to readlink /proc/25771/fd/108: No such file or directory
07-29 16:51:40.217 25783 25783 E crash_dump64: unknown process state: t
07-29 16:51:40.240 25783 25783 I crash_dump64: obtaining output fd from tombstoned, type: kDebuggerdTombstone
07-29 16:51:40.242  4760  4760 I /system/bin/tombstoned: received crash request for pid 25771
07-29 16:51:40.243 25783 25783 I crash_dump64: performing dump of process 25635 (target tid = 25771)
07-29 16:51:40.258 25783 25783 F DEBUG   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
07-29 16:51:40.258 25783 25783 F DEBUG   : Build fingerprint: 'samsung/star2ltexx/star2lte:10/QP1A.190711.020/G965FXXU9ETF5:user/release-keys'
07-29 16:51:40.258 25783 25783 F DEBUG   : Revision: '26'
07-29 16:51:40.258 25783 25783 F DEBUG   : ABI: 'arm64'
07-29 16:51:40.259 25783 25783 F DEBUG   : Timestamp: 2020-07-29 16:51:40+0300
07-29 16:51:40.259 25783 25783 F DEBUG   : pid: 25635, tid: 25771, name: Thread-21  >>> com.example.app.android <<<
07-29 16:51:40.259 25783 25783 F DEBUG   : uid: 10268
07-29 16:51:40.259 25783 25783 F DEBUG   : signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 0x7767927018
07-29 16:51:40.259 25783 25783 F DEBUG   : Cause: execute-only (no-read) memory access error; likely due to data in .text.
07-29 16:51:40.259 25783 25783 F DEBUG   :     x0  0000007641c2b008  x1  0000007767927d38  x2  0000000000000000  x3  0000000000000000
07-29 16:51:40.259 25783 25783 F DEBUG   :     x4  00000000ffffffff  x5  0000000000000000  x6  0000000000000080  x7  ff63606e4b6d4e5e
07-29 16:51:40.259 25783 25783 F DEBUG   :     x8  0000007767927018  x9  0000007635babccc  x10 0000007767927000  x11 0000000000000002
07-29 16:51:40.259 25783 25783 F DEBUG   :     x12 0000000000001000  x13 00000010a5a04000  x14 00000010a5a4c000  x15 00000010a5a01020
07-29 16:51:40.259 25783 25783 F DEBUG   :     x16 000000763617bc78  x17 000000776b527260  x18 00000010a5a4c000  x19 ffffffffffffffff
07-29 16:51:40.259 25783 25783 F DEBUG   :     x20 0000007641c25707  x21 0000000000000000  x22 0000007767927018  x23 ffffffffffffffff
07-29 16:51:40.259 25783 25783 F DEBUG   :     x24 000000763600d814  x25 000000767a5bbc40  x26 00000076d9e1e500  x27 000000776d0d71c0
07-29 16:51:40.259 25783 25783 F DEBUG   :     x28 0000000000000000  x29 0000007641c26230
07-29 16:51:40.259 25783 25783 F DEBUG   :     sp  0000007641c24760  lr  0000007635bacb1c  pc  0000007635babcd0
07-29 16:51:40.287 25635 25786 I System.out: (HTTPLog)-Static: isSBSettingEnabled false
07-29 16:51:40.287 25635 25786 I System.out: (HTTPLog)-Static: isSBSettingEnabled false
07-29 16:51:40.289  4736  4817 D EnterpriseController: netId is 0
07-29 16:51:40.289  4736  4817 E Netd    : getNetworkForDns: getNetId from enterpriseCtrl is netid 0
07-29 16:51:40.289  4736  4817 D DnsProxyListener: DNSDBG::dns addrinfo af 2 - 10268
07-29 16:51:40.292  4991  5241 E NetdEventListenerService: handleMessage: { when=-1ms what=10001 obj=com.android.server.connectivity.NetdEventListenerService$DnsResultParams@d9fca91 target=com.android.server.connectivity.NetdEventListenerService$DnsEventHandler }
07-29 16:51:40.298  4991  6494 D ConnectivityService: filterNetworkStateForUid() uid: 10268, pid: 25635
07-29 16:51:40.298  4991  6494 D ConnectivityService: filterNetworkStateForUid() uid: 10268, pid: 25635, networkInfo: [type: WIFI[], state: CONNECTED/CONNECTED, reason: (unspecified), extra: (none), failover: false, available: true, roaming: false]
07-29 16:51:40.299 25635 25635 I System.out: SDK LOG: instabugSDKDiskLogger not initialized
07-29 16:51:40.326 25635 25687 I FA      : Tag Manager is not found and thus will not be used
07-29 16:51:40.345 25635 25800 I System.out: (HTTPLog)-Static: isSBSettingEnabled false
07-29 16:51:40.345  4991  5547 D ConnectivityService: filterNetworkStateForUid() uid: 10268, pid: 25635
07-29 16:51:40.345  4991  5547 D ConnectivityService: filterNetworkStateForUid() uid: 10268, pid: 25635, networkInfo: [type: WIFI[], state: CONNECTED/CONNECTED, reason: (unspecified), extra: (none), failover: false, available: true, roaming: false]
07-29 16:51:40.345 25635 25800 I System.out: (HTTPLog)-Static: isSBSettingEnabled false
07-29 16:51:40.347  4736  4817 D EnterpriseController: netId is 0
07-29 16:51:40.347  4736  4817 E Netd    : getNetworkForDns: getNetId from enterpriseCtrl is netid 0
07-29 16:51:40.347  4736  4817 D DnsProxyListener: DNSDBG::dns addrinfo af 2 - 10268
07-29 16:51:40.350 25783 25783 F DEBUG   :
07-29 16:51:40.350 25783 25783 F DEBUG   : backtrace:
07-29 16:51:40.350 25783 25783 F DEBUG   :       #00 pc 00000000001ebcd0  /data/app/com.example.app.android-HqAKiO9lOQ4bwANUB5pHuA==/lib/arm64/libregister.so (BuildId: bafb0d916e821fca828747ed033a55c7d9c53f3a)
07-29 16:51:40.350 25783 25783 F DEBUG   :       #01 pc 0000000000415560  /data/app/com.example.app.android-HqAKiO9lOQ4bwANUB5pHuA==/lib/arm64/libregister.so (BuildId: bafb0d916e821fca828747ed033a55c7d9c53f3a)
07-29 16:51:40.351 25783 25783 F DEBUG   :       #02 pc 0000000000306b1c  /data/app/com.example.app.android-HqAKiO9lOQ4bwANUB5pHuA==/lib/arm64/libregister.so (BuildId: bafb0d916e821fca828747ed033a55c7d9c53f3a)
07-29 16:51:40.351 25783 25783 F DEBUG   :       #03 pc 00000000006593b0  /data/app/com.example.app.android-HqAKiO9lOQ4bwANUB5pHuA==/lib/arm64/libregister.so (JNI_OnLoad+48028) (BuildId: bafb0d916e821fca828747ed033a55c7d9c53f3a)
07-29 16:51:40.351 25783 25783 F DEBUG   :       #04 pc 000000000037cf34  /apex/com.android.runtime/lib64/libart.so (art::JavaVMExt::LoadNativeLibrary(_JNIEnv*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, _jobject*, _jclass*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>*)+3228) (BuildId: cd78f00f1b36f5c7627c25595af8e8d4)
07-29 16:51:40.351 25783 25783 F DEBUG   :       #05 pc 0000000000005184  /apex/com.android.runtime/lib64/libopenjdkjvm.so (JVM_NativeLoad+412) (BuildId: ef76e762dcbffad2e672fc11a7196508)
07-29 16:51:40.351 25783 25783 F DEBUG   :       #06 pc 00000000000bfaf4  /system/framework/arm64/boot.oat (art_jni_trampoline+228) (BuildId: b1a9321a79cfde818acab07bf59f82e6ffb82f64)
07-29 16:51:40.351 25783 25783 F DEBUG   :       #07 pc 00000000001375b8  /apex/com.android.runtime/lib64/libart.so (art_quick_invoke_static_stub+568) (BuildId: cd78f00f1b36f5c7627c25595af8e8d4)
07-29 16:51:40.351 25783 25783 F DEBUG   :       #08 pc 00000000001460cc  /apex/com.android.runtime/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+276) (BuildId: cd78f00f1b36f5c7627c25595af8e8d4)
07-29 16:51:40.351 25783 25783 F DEBUG   :       #09 pc 00000000002e3d38  /apex/com.android.runtime/lib64/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+384) (BuildId: cd78f00f1b36f5c7627c25595af8e8d4)
07-29 16:51:40.351 25783 25783 F DEBUG   :       #10 pc 00000000002dedc4  /apex/com.android.runtime/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+900) (BuildId: cd78f00f1b36f5c7627c25595af8e8d4)
07-29 16:51:40.351 25783 25783 F DEBUG   :       #11 pc 00000000005a5538  /apex/com.android.runtime/lib64/libart.so (MterpInvokeStatic+368) (BuildId: cd78f00f1b36f5c7627c25595af8e8d4)
07-29 16:51:40.351 25783 25783 F DEBUG   :       #12 pc 0000000000131994  /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_static+20) (BuildId: cd78f00f1b36f5c7627c25595af8e8d4)
07-29 16:51:40.351 25783 25783 F DEBUG   :       #13 pc 00000000000e2692  /apex/com.android.runtime/javalib/core-oj.jar (java.lang.Runtime.nativeLoad+2)
07-29 16:51:40.351 25783 25783 F DEBUG   :       #14 pc 00000000005a5838  /apex/com.android.runtime/lib64/libart.so (MterpInvokeStatic+1136) (BuildId: cd78f00f1b36f5c7627c25595af8e8d4)
07-29 16:51:40.351 25783 25783 F DEBUG   :       #15 pc 0000000000131994  /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_static+20) (BuildId: cd78f00f1b36f5c7627c25595af8e8d4)
07-29 16:51:40.351 25783 25783 F DEBUG   :       #16 pc 00000000000e2b96  /apex/com.android.runtime/javalib/core-oj.jar (java.lang.Runtime.loadLibrary0+46)
07-29 16:51:40.351 25783 25783 F DEBUG   :       #17 pc 00000000005a5030  /apex/com.android.runtime/lib64/libart.so (MterpInvokeDirect+1168) (BuildId: cd78f00f1b36f5c7627c25595af8e8d4)
07-29 16:51:40.351 25783 25783 F DEBUG   :       #18 pc 0000000000131914  /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_direct+20) (BuildId: cd78f00f1b36f5c7627c25595af8e8d4)
07-29 16:51:40.351 25783 25783 F DEBUG   :       #19 pc 00000000000e2b50  /apex/com.android.runtime/javalib/core-oj.jar (java.lang.Runtime.loadLibrary0+8)
07-29 16:51:40.351 25783 25783 F DEBUG   :       #20 pc 00000000005a2ca8  /apex/com.android.runtime/lib64/libart.so (MterpInvokeVirtual+1432) (BuildId: cd78f00f1b36f5c7627c25595af8e8d4)
07-29 16:51:40.351 25783 25783 F DEBUG   :       #21 pc 0000000000131814  /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_virtual+20) (BuildId: cd78f00f1b36f5c7627c25595af8e8d4)
07-29 16:51:40.351 25783 25783 F DEBUG   :       #22 pc 00000000000e8128  /apex/com.android.runtime/javalib/core-oj.jar (java.lang.System.loadLibrary+16)
07-29 16:51:40.352 25783 25783 F DEBUG   :       #23 pc 00000000005a5838  /apex/com.android.runtime/lib64/libart.so (MterpInvokeStatic+1136) (BuildId: cd78f00f1b36f5c7627c25595af8e8d4)
07-29 16:51:40.352 25783 25783 F DEBUG   :       #24 pc 0000000000131994  /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_static+20) (BuildId: cd78f00f1b36f5c7627c25595af8e8d4)
07-29 16:51:40.352 25783 25783 F DEBUG   :       #25 pc 000000000022edc4  [anon:dalvik-classes7.dex extracted in memory from /data/app/com.example.app.android-HqAKiO9lOQ4bwANUB5pHuA==/base.apk!classes7.dex] (shadow.com.getkeepsafe.relinker.SystemLibraryLoader.loadLibrary)
07-29 16:51:40.352 25783 25783 F DEBUG   :       #26 pc 00000000005a4494  /apex/com.android.runtime/lib64/libart.so (MterpInvokeInterface+1740) (BuildId: cd78f00f1b36f5c7627c25595af8e8d4)
07-29 16:51:40.352 25783 25783 F DEBUG   :       #27 pc 0000000000131a14  /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_interface+20) (BuildId: cd78f00f1b36f5c7627c25595af8e8d4)
07-29 16:51:40.352 25783 25783 F DEBUG   :       #28 pc 000000000022ea2a  [anon:dalvik-classes7.dex extracted in memory from /data/app/com.example.app.android-HqAKiO9lOQ4bwANUB5pHuA==/base.apk!classes7.dex] (shadow.com.getkeepsafe.relinker.ReLinkerInstance.loadLibraryInternal+54)
07-29 16:51:40.352 25783 25783 F DEBUG   :       #29 pc 00000000005a5030  /apex/com.android.runtime/lib64/libart.so (MterpInvokeDirect+1168) (BuildId: cd78f00f1b36f5c7627c25595af8e8d4)
07-29 16:51:40.352 25783 25783 F DEBUG   :       #30 pc 0000000000131914  /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_direct+20) (BuildId: cd78f00f1b36f5c7627c25595af8e8d4)
07-29 16:51:40.352 25783 25783 F DEBUG   :       #31 pc 000000000022e878  [anon:dalvik-classes7.dex extracted in memory from /data/app/com.example.app.android-HqAKiO9lOQ4bwANUB5pHuA==/base.apk!classes7.dex] (shadow.com.getkeepsafe.relinker.ReLinkerInstance.access$000)
07-29 16:51:40.352 25783 25783 F DEBUG   :       #32 pc 00000000005a5838  /apex/com.android.runtime/lib64/libart.so (MterpInvokeStatic+1136) (BuildId: cd78f00f1b36f5c7627c25595af8e8d4)
07-29 16:51:40.352 25783 25783 F DEBUG   :       #33 pc 0000000000131994  /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_static+20) (BuildId: cd78f00f1b36f5c7627c25595af8e8d4)
07-29 16:51:40.352 25783 25783 F DEBUG   :       #34 pc 000000000022e684  [anon:dalvik-classes7.dex extracted in memory from /data/app/com.example.app.android-HqAKiO9lOQ4bwANUB5pHuA==/base.apk!classes7.dex] (shadow.com.getkeepsafe.relinker.ReLinkerInstance$1.run+16)
07-29 16:51:40.352 25783 25783 F DEBUG   :       #35 pc 00000000005a4494  /apex/com.android.runtime/lib64/libart.so (MterpInvokeInterface+1740) (BuildId: cd78f00f1b36f5c7627c25595af8e8d4)
07-29 16:51:40.352 25783 25783 F DEBUG   :       #36 pc 0000000000131a14  /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_interface+20) (BuildId: cd78f00f1b36f5c7627c25595af8e8d4)
07-29 16:51:40.352 25783 25783 F DEBUG   :       #37 pc 00000000000ea9e4  /apex/com.android.runtime/javalib/core-oj.jar (java.lang.Thread.run+8)
07-29 16:51:40.352 25783 25783 F DEBUG   :       #38 pc 00000000002b4668  /apex/com.android.runtime/lib64/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEbb.llvm.16017486636107417700+240) (BuildId: cd78f00f1b36f5c7627c25595af8e8d4)
07-29 16:51:40.352 25783 25783 F DEBUG   :       #39 pc 0000000000593e30  /apex/com.android.runtime/lib64/libart.so (artQuickToInterpreterBridge+1024) (BuildId: cd78f00f1b36f5c7627c25595af8e8d4)
07-29 16:51:40.352 25783 25783 F DEBUG   :       #40 pc 0000000000140468  /apex/com.android.runtime/lib64/libart.so (art_quick_to_interpreter_bridge+88) (BuildId: cd78f00f1b36f5c7627c25595af8e8d4)
07-29 16:51:40.352 25783 25783 F DEBUG   :       #41 pc 0000000000137334  /apex/com.android.runtime/lib64/libart.so (art_quick_invoke_stub+548) (BuildId: cd78f00f1b36f5c7627c25595af8e8d4)
07-29 16:51:40.352 25783 25783 F DEBUG   :       #42 pc 00000000001460ac  /apex/com.android.runtime/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+244) (BuildId: cd78f00f1b36f5c7627c25595af8e8d4)
07-29 16:51:40.352 25783 25783 F DEBUG   :       #43 pc 00000000004b2c20  /apex/com.android.runtime/lib64/libart.so (art::(anonymous namespace)::InvokeWithArgArray(art::ScopedObjectAccessAlreadyRunnable const&, art::ArtMethod*, art::(anonymous namespace)::ArgArray*, art::JValue*, char const*)+104) (BuildId: cd78f00f1b36f5c7627c25595af8e8d4)
07-29 16:51:40.352  4991  5547 D ConnectivityService: filterNetworkStateForUid() uid: 10268, pid: 25635
07-29 16:51:40.352 25783 25783 F DEBUG   :       #44 pc 00000000004b3cd0  /apex/com.android.runtime/lib64/libart.so (art::InvokeVirtualOrInterfaceWithJValues(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, jvalue const*)+416) (BuildId: cd78f00f1b36f5c7627c25595af8e8d4)
07-29 16:51:40.352 25783 25783 F DEBUG   :       #45 pc 00000000004f47f8  /apex/com.android.runtime/lib64/libart.so (art::Thread::CreateCallback(void*)+1176) (BuildId: cd78f00f1b36f5c7627c25595af8e8d4)
07-29 16:51:40.352  4991  5547 D ConnectivityService: filterNetworkStateForUid() uid: 10268, pid: 25635, networkInfo: [type: WIFI[], state: CONNECTED/CONNECTED, reason: (unspecified), extra: (none), failover: false, available: true, roaming: false]
07-29 16:51:40.352 25783 25783 F DEBUG   :       #46 pc 00000000000e3b24  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+36) (BuildId: 13817077d0d892b63e2f982cf91d02fa)
07-29 16:51:40.352 25783 25783 F DEBUG   :       #47 pc 0000000000085330  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) (BuildId: 13817077d0d892b63e2f982cf91d02fa)

2020-07-29 16:24:18.775 20923-21099/com.example.app.android A/libc: Fatal signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 0x7767927018 in tid 21099 (Thread-23), pid 20923 (ing.app.android)

SudoPlz avatar Jul 29 '20 13:07 SudoPlz

Looks like it's related to execute-only-memory which was introduced in API 29 - I wonder if downgrading to 28 fixes that.

Either that, or somehow build a hermes version with XOM disabled?

SudoPlz avatar Jul 29 '20 15:07 SudoPlz

Ok so reverting back to targetSdkVersion: 28 stopped those crashes, it's definitely relevant to XOM.

SudoPlz avatar Jul 29 '20 15:07 SudoPlz

@SudoPlz I am also getting the issue on IOS

Hi, I am getting this error "Error Signal 11 was raised." on IOS with 0.63.0 version

waheedakhtar694 avatar Jul 29 '20 16:07 waheedakhtar694

@SudoPlz I am saying about IOS, not about android.

waheedakhtar694 avatar Jul 29 '20 16:07 waheedakhtar694

Wow my bad, but wait, how can that be? Are you sure it's the same error? Do you have a stacktrace?

SudoPlz avatar Jul 29 '20 16:07 SudoPlz

Yup, multiple times I got this error on IOS and this is the exact error. "Error Signal 11 was raised." and the app gets crashed. Right now I don't have a stack trace but let me try to re-generate it.

waheedakhtar694 avatar Jul 29 '20 16:07 waheedakhtar694

The important part of this stacktrace I believe is this line of code: Cause: execute-only (no-read) memory access error; likely due to data in .text. and I don't understand how execute-only (no-read) memory could be a thing on iOS

SudoPlz avatar Jul 29 '20 16:07 SudoPlz

@SudoPlz I don't have logs rights now but maybe this error will help.

Screenshot 2020-08-10 at 6 53 45 PM

waheedakhtar694 avatar Aug 10 '20 13:08 waheedakhtar694

@waheedakhtar694 Nah, this is too generic, you definitely need logs man.

SudoPlz avatar Aug 10 '20 13:08 SudoPlz

@SudoPlz Here is the log, before this log everything was fine and I certainly get this log, and the app crashed immediately.

2020-08-10 19:39:01.041291+0500 Wefiq[96867:136828492] [javascript] 'Native Error', 'Signal 11 was raised.\n(null)'
2020-08-10 19:39:06.039106+0500 Wefiq[96867:136828431] RELEASING LOCKED RN EXCEPTION HANDLER

is also observed this line thing many times in the logs. [TOO BIG formatValueCalls 216 exceeded limit of 200],

waheedakhtar694 avatar Aug 10 '20 14:08 waheedakhtar694

This looks like a totally separate issue. Also it feels that there's more info to this. Are you using this by any chance: https://sourceapp.tgdd.vn/appplugins/react-native-exception-handler/-/blob/master/ios/ReactNativeExceptionHandler.m#L100 ? I'd start by adding a breakpoint there, checking how that code works and see if I can find more info about the crash there.

SudoPlz avatar Aug 10 '20 14:08 SudoPlz

Yes, I am using this exception handler to the caught the exception because if I don't use this, the app just crashed immediately.

here is an image of the logs from my Xcode, before that crash, everything was normal, If you need complete logs from top to bottom I can send you these as well.

Screenshot 2020-08-10 at 7 58 23 PM

waheedakhtar694 avatar Aug 10 '20 15:08 waheedakhtar694

I think you need to open a new ticket on their page, your issue is not related to the one above.

SudoPlz avatar Aug 10 '20 15:08 SudoPlz

So you are thinking it's more related to the exception handler, not with RN?

waheedakhtar694 avatar Aug 10 '20 15:08 waheedakhtar694

It could be related to the exception handler, or it could be a low memory situation, or there's more to that error than what your current stacktrace reveals - I'd add Xcode breakpoints and see if I can get more info than what's being logged in the console.

11 SIGSEGVs are SUPER generic and always a huge pain to track, so you need to play and see if there's any other info you can retrieve. Worst case scenario start removing code and see if you can track which part of your code leads to that crash.

SudoPlz avatar Aug 10 '20 15:08 SudoPlz

Yeah, I am trying to generate this issue by disabling other things and I have disabled the exception handler and trying to generate this issue, I will let you know if I found more information about this

waheedakhtar694 avatar Aug 10 '20 15:08 waheedakhtar694

This crash is occurring due to behaviour change in Android 10 as System binaries/libraries mapped to execute-only memory on ARM 64 device while we targeting SDK 29.

Check this : https://developer.android.com/about/versions/10/behavior-changes-all#xom-binaries

To work around this issue to perform operations like memory inspection, it's possible to mark execute-only segments as read+execute by calling mprotect() or disabling XOM https://source.android.com/devices/tech/debug/execute-only-memory#disabling

dishantwalia avatar Sep 04 '20 09:09 dishantwalia

Is anyone else in this thread using square reader sdk?

SudoPlz avatar Sep 24 '20 10:09 SudoPlz

Same issue goes for me when live reloading app multiple times (RN 0.63.3).

JB-CHAUVIN avatar Oct 01 '20 13:10 JB-CHAUVIN

Same issue on react-native: 0.63.3

Crashed: Thread :  SIGSEGV  0x0000000000000010
#00 pc 0x7de39e0748 libjsc.so 
#01 pc 0x7de3a2cfe8 libjsc.so 
#02 pc 0x7ef3e8b0c8 libc.so 

RodolfoGS avatar Oct 31 '20 22:10 RodolfoGS

Any update on this, getting the same in react-native 0.63 with Hermes enabled only in releaseMode...

MayoudP avatar Jan 13 '21 13:01 MayoudP

@SudoPlz I am following your crash thread, I am also getting same crash on PlayStore native app without any react-native. I am not understanding where this crash occurring. Surprisingly this cash is happening only in Samsung Galaxy S8, S9, S10 and S10+

balao7 avatar Mar 09 '21 02:03 balao7

Same here @balao7. Need a solution. The crashes are happening on 5.x devices. Samsung only.

signal 11 (SIGSEGV), code 2 (SEGV_ACCERR) art::ArtField_getNameNative(_JNIEnv*, _jobject*)

backtrace: #00 pc 000000000020d9d2 /system/lib/libart.so (art::ArtField_getNameNative(_JNIEnv*, _jobject*)+281) #00 pc 00000000000000e7 /system/framework/arm/boot.oat

Using android app bundles.

ninad458 avatar Mar 16 '21 08:03 ninad458

Any updates here? https://github.com/facebook/react-native/issues/31710

roots-ai avatar Jun 12 '21 18:06 roots-ai


I face this issue as well signal 11 (SIGSEGV), code 2 (SEGV_ACCERR)

pid: 0, tid: 0 >>> com.app.android <<<

backtrace: #00 pc 000000000045bbb0 /apex/com.android.art/javalib/core-oj.jar

emilon avatar May 25 '22 11:05 emilon

Any updates here?

*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
pid: 0, tid: 0 >>> co.kr.on***ok <<<

backtrace:
  #00  pc 0x00000000006703bc  /data/app/~~-wrAcAuXJVHUdfiozVIGVw==/co.kr.on***ok-ROawqm7XzlAuXap57_T3Sg==/split_config.arm64_v8a.apk!libjsc.so
  #01  pc 0x00000000000005d0  [vdso] (__kernel_rt_sigreturn)
  #02  pc 0x000000000009fca4  /apex/com.android.runtime/lib64/bionic/libc.so (__epoll_pwait+4)
  #03  pc 0x000000000001663c  /system/lib64/libutils.so (android::Looper::pollInner(int)+180)
  #04  pc 0x0000000000016520  /system/lib64/libutils.so (android::Looper::pollOnce(int, int*, int*, void**)+112)
  #05  pc 0x0000000000152c20  /system/lib64/libandroid_runtime.so (android::android_os_MessageQueue_nativePollOnce(_JNIEnv*, _jobject*, long, int)+44)
  #06  pc 0x00000000003fe504  /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot.oat (art_jni_trampoline+116)

jason-hwang avatar Dec 01 '22 06:12 jason-hwang

Same. Can't find any solution on the internet.

Error name by Google Play Console:

[split_config.arm64_v8a.apk]
SIGSEGV

and

[split_config.arm64_v8a.apk]
SIGBUS

Google Play Console logging:

*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
pid: 0, tid: 8057 >>> *** <<<

backtrace:
  #00  pc 0x00000000000f2a64  /data/app/***-RHJKXEBXHK549tqyO_I2oQ==/split_config.arm64_v8a.apk
  #01  pc 0x00000000000f2a48  /data/app/***-RHJKXEBXHK549tqyO_I2oQ==/split_config.arm64_v8a.apk

Note: I've replaced the app's package name with ***

App logging: this error wasn't caught by my error logging framework (rollbar).

Error is first seen after the upgrade from React Native 0.63.5 to 0.70.6 in January 2023 (using this helper).

Devices: Android 8.0 (SDK 26) and Android 9 (SDK 28) (just 3 cases at the moment, but I fear it will increase).

package.json:

"@ptomasroos/react-native-multi-slider": "2.2.2",
"@react-native-clipboard/clipboard": "1.11.1",
"@react-navigation/bottom-tabs": "6.5.2",
"@react-navigation/native": "6.1.1",
"@react-navigation/native-stack": "6.9.7",
"abcjs": "git+https://github.com/paulrosen/abcjs.git#6.1.7",
"deprecated-react-native-prop-types": "4.0.0",
"react": "18.2.0",
"react-native": "0.70.6",
"react-native-config": "1.4.11",
"react-native-device-info": "9.0.2",
"react-native-gesture-handler": "2.8.0",
"react-native-get-random-values": "1.8.0",
"react-native-htmlview": "0.16.0",
"react-native-keep-awake": "4.0.0",
"react-native-reanimated": "2.13.0",
"react-native-safe-area-context": "4.4.1",
"react-native-screens": "3.18.2",
"react-native-svg": "13.6.0",
"react-native-vector-icons": "9.2.0",
"realm": "11.3.1",
"rollbar-react-native": "0.9.3"

sampie777 avatar Mar 08 '23 13:03 sampie777

Same. Can't find any solution on the internet.

Error name by Google Play Console:

[split_config.arm64_v8a.apk]
SIGSEGV

and

[split_config.arm64_v8a.apk]
SIGBUS

Google Play Console logging:

*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
pid: 0, tid: 8057 >>> *** <<<

backtrace:
  #00  pc 0x00000000000f2a64  /data/app/***-RHJKXEBXHK549tqyO_I2oQ==/split_config.arm64_v8a.apk
  #01  pc 0x00000000000f2a48  /data/app/***-RHJKXEBXHK549tqyO_I2oQ==/split_config.arm64_v8a.apk

Note: I've replaced the app's package name with ***

App logging: this error wasn't caught by my error logging framework (rollbar).

Error is first seen after the upgrade from React Native 0.63.5 to 0.70.6 in January 2023 (using this helper).

Devices: Android 8.0 (SDK 26) and Android 9 (SDK 28) (just 3 cases at the moment, but I fear it will increase).

package.json:

"@ptomasroos/react-native-multi-slider": "2.2.2",
"@react-native-clipboard/clipboard": "1.11.1",
"@react-navigation/bottom-tabs": "6.5.2",
"@react-navigation/native": "6.1.1",
"@react-navigation/native-stack": "6.9.7",
"abcjs": "git+https://github.com/paulrosen/abcjs.git#6.1.7",
"deprecated-react-native-prop-types": "4.0.0",
"react": "18.2.0",
"react-native": "0.70.6",
"react-native-config": "1.4.11",
"react-native-device-info": "9.0.2",
"react-native-gesture-handler": "2.8.0",
"react-native-get-random-values": "1.8.0",
"react-native-htmlview": "0.16.0",
"react-native-keep-awake": "4.0.0",
"react-native-reanimated": "2.13.0",
"react-native-safe-area-context": "4.4.1",
"react-native-screens": "3.18.2",
"react-native-svg": "13.6.0",
"react-native-vector-icons": "9.2.0",
"realm": "11.3.1",
"rollbar-react-native": "0.9.3"

I have exactly the same problem. but it happens when the user tries to purchase with react native IAP.

Ali72 avatar Mar 15 '23 08:03 Ali72