Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Crash on App Startup #34308

Closed
awesome31 opened this issue Jul 30, 2022 · 6 comments
Closed

Crash on App Startup #34308

awesome31 opened this issue Jul 30, 2022 · 6 comments
Labels
Needs: Author Feedback Needs: Repro This issue could be improved with a clear list of steps to reproduce the issue. Stale There has been a lack of activity on this issue and it may be closed soon. Type: New Architecture Issues and PRs related to new architecture (Fabric/Turbo Modules)

Comments

@awesome31
Copy link

awesome31 commented Jul 30, 2022

Description

07-18 14:35:24.441 28953 28953 F libc    : Fatal signal 6 (SIGABRT), code -6 in tid 28953 (main), pid 28953 (main)
07-18 14:35:24.491 28956 28956 F DEBUG   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
07-18 14:35:24.491 28956 28956 F DEBUG   : Build fingerprint: 'OnePlus/OnePlus5/OnePlus5:8.1.0/OPM1.171019.011/1811051725:user/release-keys'
07-18 14:35:24.491 28956 28956 F DEBUG   : Revision: '0'
07-18 14:35:24.491 28956 28956 F DEBUG   : ABI: 'arm64'
07-18 14:35:24.491 28956 28956 F DEBUG   : pid: 28953, tid: 28953, name: main  >>> /system/bin/app_process64 <<<
07-18 14:35:24.491 28956 28956 F DEBUG   : signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
07-18 14:35:24.497 28956 28956 F DEBUG   : Abort message: 'runtime.cc:1564] LoadNativeLibrary failed for "libjavacore.so": '
07-18 14:35:24.497 28956 28956 F DEBUG   :     x0   0000000000000000  x1   0000000000007119  x2   0000000000000006  x3   0000000000000008
07-18 14:35:24.497 28956 28956 F DEBUG   :     x4   007478742e730000  x5   007478742e730000  x6   007478742e730000  x7   0080ffffffffffff
07-18 14:35:24.497 28956 28956 F DEBUG   :     x8   0000000000000083  x9   158b3f4e1d80fcc7  x10  0000000000000000  x11  0000000000000001
07-18 14:35:24.497 28956 28956 F DEBUG   :     x12  ffffffffffffffff  x13  ffffffffffffffff  x14  ffffffffffff0000  x15  ffffffffffffffff
07-18 14:35:24.497 28956 28956 F DEBUG   :     x16  00000010854d2fa8  x17  0000007e431ae60c  x18  2b539c169b75ea69  x19  0000000000007119
07-18 14:35:24.497 28956 28956 F DEBUG   :     x20  0000000000007119  x21  0000000000000002  x22  0000007e45d8fa40  x23  0000007fe8344ce9
07-18 14:35:24.497 28956 28956 F DEBUG   :     x24  0000000000000018  x25  0000000000000031  x26  000000000000002f  x27  00000000000002e0
07-18 14:35:24.497 28956 28956 F DEBUG   :     x28  000000000000002e  x29  0000007fe8344c90  x30  0000007e43163e6c
07-18 14:35:24.497 28956 28956 F DEBUG   :     sp   0000007fe8344c50  pc   0000007e43163e88  pstate 0000000060000000
07-18 14:35:24.519 28956 28956 F DEBUG   :
07-18 14:35:24.519 28956 28956 F DEBUG   : backtrace:
07-18 14:35:24.519 28956 28956 F DEBUG   :     #00 pc 000000000001de88  /system/lib64/libc.so (abort+104)
07-18 14:35:24.519 28956 28956 F DEBUG   :     #01 pc 0000000000473354  /system/lib64/libart.so (art::Runtime::Abort(char const*)+552)
07-18 14:35:24.520 28956 28956 F DEBUG   :     #02 pc 0000000000568ba8  /system/lib64/libart.so (android::base::LogMessage::~LogMessage()+996)
07-18 14:35:24.520 28956 28956 F DEBUG   :     #03 pc 000000000047bb38  /system/lib64/libart.so (art::Runtime::InitNativeMethods()+988)
07-18 14:35:24.520 28956 28956 F DEBUG   :     #04 pc 0000000000479b64  /system/lib64/libart.so (art::Runtime::Start()+1240)
07-18 14:35:24.520 28956 28956 F DEBUG   :     #05 pc 0000000000301ec8  /system/lib64/libart.so (JNI_CreateJavaVM+540)
07-18 14:35:24.520 28956 28956 F DEBUG   :     #06 pc 00000000000aa728  /system/lib64/libandroid_runtime.so (android::AndroidRuntime::startVm(_JavaVM**, _JNIEnv**, bool)+5552)
07-18 14:35:24.520 28956 28956 F DEBUG   :     #07 pc 00000000000aac48  /system/lib64/libandroid_runtime.so (android::AndroidRuntime::start(char const*, android::Vector<android::String8> const&, bool)+376)
07-18 14:35:24.520 28956 28956 F DEBUG   :     #08 pc 00000000000025a8  /system/bin/app_process64 (main+1504)
07-18 14:35:24.520 28956 28956 F DEBUG   :     #09 pc 00000000000a1b74  /system/lib64/libc.so (__libc_init+88)
07-18 14:35:24.520 28956 28956 F DEBUG   :     #10 pc 0000000000001f28  /system/bin/app_process64 (_start_main+80)

Version

0.69.0

Output of npx react-native info

info Fetching system and libraries information...
System:
OS: macOS 12.4
CPU: (8) arm64 Apple M1
Memory: 127.59 MB / 16.00 GB
Shell: 5.8.1 - /bin/zsh
Binaries:
Node: 16.16.0 - /opt/homebrew/bin/node
Yarn: 1.22.17 - /opt/homebrew/bin/yarn
npm: 8.11.0 - /opt/homebrew/bin/npm
Watchman: 2022.06.27.00 - /opt/homebrew/bin/watchman
Managers:
CocoaPods: 1.11.3 - /opt/homebrew/bin/pod
SDKs:
iOS SDK: Not Found
Android SDK:
API Levels: 23, 28, 29, 30, 31
Build Tools: 28.0.3, 29.0.2, 29.0.3, 30.0.2, 30.0.3, 31.0.0, 33.0.0
System Images: android-29 | Intel x86 Atom_64, android-29 | Google APIs Intel x86 Atom, android-30 | Google Play ARM 64 v8a, android-31 | Google APIs ARM 64 v8a
Android NDK: Not Found
IDEs:
Android Studio: 2020.3 AI-203.7717.56.2031.7678000
Xcode: /undefined - /usr/bin/xcodebuild
Languages:
Java: 11.0.11 - /usr/bin/javac
npmPackages:
@react-native-community/cli: Not Found
react: 17.0.2 => 17.0.2
react-native: ^0.67.0 => 0.67.4
react-native-macos: Not Found
npmGlobalPackages:
react-native: Not Found

Steps to reproduce

Open the app after newArch is true.

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

Example to be shared.

@awesome31 awesome31 added Needs: Triage 🔍 Type: New Architecture Issues and PRs related to new architecture (Fabric/Turbo Modules) labels Jul 30, 2022
@cortinico
Copy link
Contributor

> 07-18 14:35:24.519 28956 28956 F DEBUG   : backtrace:
> 07-18 14:35:24.519 28956 28956 F DEBUG   :     #00 pc 000000000001de88  /system/lib64/libc.so (abort+104)
> 07-18 14:35:24.519 28956 28956 F DEBUG   :     #01 pc 0000000000473354  /system/lib64/libart.so (art::Runtime::Abort(char const*)+552)
> 07-18 14:35:24.520 28956 28956 F DEBUG   :     #02 pc 0000000000568ba8  /system/lib64/libart.so (android::base::LogMessage::~LogMessage()+996)
> 07-18 14:35:24.520 28956 28956 F DEBUG   :     #03 pc 000000000047bb38  /system/lib64/libart.so (art::Runtime::InitNativeMethods()+988)
> 07-18 14:35:24.520 28956 28956 F DEBUG   :     #04 pc 0000000000479b64  /system/lib64/libart.so (art::Runtime::Start()+1240)
> 07-18 14:35:24.520 28956 28956 F DEBUG   :     #05 pc 0000000000301ec8  /system/lib64/libart.so (JNI_CreateJavaVM+540)
> 07-18 14:35:24.520 28956 28956 F DEBUG   :     #06 pc 00000000000aa728  /system/lib64/libandroid_runtime.so (android::AndroidRuntime::startVm(_JavaVM**, _JNIEnv**, bool)+5552)
> 07-18 14:35:24.520 28956 28956 F DEBUG   :     #07 pc 00000000000aac48  /system/lib64/libandroid_runtime.so (android::AndroidRuntime::start(char const*, android::Vector<android::String8> const&, bool)+376)
> 07-18 14:35:24.520 28956 28956 F DEBUG   :     #08 pc 00000000000025a8  /system/bin/app_process64 (main+1504)
> 07-18 14:35:24.520 28956 28956 F DEBUG   :     #09 pc 00000000000a1b74  /system/lib64/libc.so (__libc_init+88)
> 07-18 14:35:24.520 28956 28956 F DEBUG   :     #10 pc 0000000000001f28  /system/bin/app_process64 (_start_main+80)

I see no reference of React Native here.

Example to be shared.

Looking forward to this.

@cortinico cortinico added Needs: Author Feedback Needs: Repro This issue could be improved with a clear list of steps to reproduce the issue. and removed Needs: Triage 🔍 labels Jul 30, 2022
@github-actions
Copy link

⚠️ Missing Reproducible Example
ℹ️ It looks like your issue is missing a reproducible example. Please provide a Snack or a repository that demonstrates the issue you are reporting in a minimal, complete, and reproducible manner.

@bytesk
Copy link

bytesk commented Jul 30, 2022

i have this issue to on the fresh project with react native 0.69.3, at android 6 emulator

@github-actions
Copy link

This issue is waiting for author's feedback since 24 days. Please provide the requested feedback or this will be closed in 7 days.

@github-actions github-actions bot added the Stale There has been a lack of activity on this issue and it may be closed soon. label Jan 20, 2023
@github-actions
Copy link

This issue was closed because the author hasn't provided the requested feedback after 7 days.

@github-actions
Copy link

This issue was closed because it has been stalled for 7 days with no activity.

@facebook facebook locked as resolved and limited conversation to collaborators Jan 28, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Needs: Author Feedback Needs: Repro This issue could be improved with a clear list of steps to reproduce the issue. Stale There has been a lack of activity on this issue and it may be closed soon. Type: New Architecture Issues and PRs related to new architecture (Fabric/Turbo Modules)
Projects
None yet
Development

No branches or pull requests

3 participants