question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

🔥[CRASH] Android 9 and libjsc.co crashes on RN0.60.4

See original GitHub issue

Hi, First of all a big thanks to this great community that develops this amazing platform. You are all doing an amazing work!

Now to the issue: We rolled out our app with RN0.60.4 to our users and are experiences some crashes across a multiple range of Android devices all running Android 9. We do not have Hermes enabled as it is not stable for us at the moment.

Affected devices:

  • OnePlus 6 & 6T
  • Google Pixel 3
  • Xiaomi POCO F1
  • Samsung Galaxy S9

Here is an example stacktrace we collect through Crashlytics, unfortunately not very verbose:

# Platform: android
# Version: X.XX (XXXX)
# Bundle Identifier: com.app
# Issue ID: 5beb248ff8b28c2963ca6292
# Session ID: 5d5471e90120c00014b9bf4b36c6b2644_DNE_0_v2
# Date: 2019-08-14T20:48:00Z
# OS Version: 9
# Device: Pixel 3
# RAM Free: 2.8%
# Disk Free: 14.1%

#0. Crashed: Thread
0  libjsc.so                      0x7240e5335c (Missing)
1  libjsc.so                      0x7240e533e4 (Missing)
2  libjsc.so                      0x7240e53140 (Missing)
3  libjsc.so                      0x7240cc85b4 (Missing)
4  libjsc.so                      0x7240e4ce34 (Missing)
5  libjsc.so                      0x7240cd9d10 (Missing)
6  libjsc.so                      0x724113151c (Missing)
7  libjsc.so                      0x7240c7b5c0 (Missing)
8  libjsc.so                      0x7240c7b5c0 (Missing)
9  libjsc.so                      0x7240e4d4bc (Missing)
10 libjsc.so                      0x7240cdd770 (Missing)
11 libjsc.so                      0x7240cc8c78 (Missing)
12 libjsc.so                      0x7240ca2fa4 (Missing)
13 libjsc.so                      0x7240cefa9c (Missing)
14 libjsc.so                      0x7240cfaed4 (Missing)
15 libc.so                        0x72e22ee994 (Missing)
16 libutils.so                    0x72e1ddbe80 (Missing)
17 libutils.so                    0x72e1ddbd4c (Missing)
18 libandroid_runtime.so          0x72e28e9a44 (Missing)
19 (Missing)                      0x70ab8bfc (Missing)
20 (Missing)                      0x7ffffffb (Missing)
21 (Missing)                      0x13f3fffc (Missing)
22 (Missing)                      0x70614154 (Missing)
23 (Missing)                      0x7060d94c (Missing)
24 boot-framework.oat             0x72bc31a0 (Missing)
25 (Missing)                      0x70ab8ea4 (Missing)
26 (Missing)                      0x14a8f3bc (Missing)
27 (Missing)                      0x13f4005c (Missing)
28 (Missing)                      0x6fc7d6b4 (Missing)
29 (Missing)                      0x705f31f4 (Missing)
30 (Missing)                      0x6fccb2ec (Missing)
31 (Missing)                      0x6fcd281c (Missing)
32 boot-framework.oat             0x72bc0b2c (Missing)
33 (Missing)                      0x70985eec (Missing)
34 (Missing)                      0x13f3fffc (Missing)
35 (Missing)                      0x12c4588c (Missing)
36 (Missing)                      0x12c425e4 (Missing)
37 (Missing)                      0x13f3fffc (Missing)
38 (Missing)                      0x702d7b24 (Missing)
39 (Missing)                      0x13f4008c (Missing)
40 (Missing)                      0x13f4009c (Missing)
41 (Missing)                      0x13f400b4 (Missing)
42 (Missing)                      0x12c425e4 (Missing)
43 (Missing)                      0x705b5394 (Missing)
44 boot-framework.oat             0x7298db88 (Missing)
45 (Missing)                      0x70a9ab14 (Missing)
46 (Missing)                      0x739dff7d (Missing)
47 libart.so                      0x725e11ee4c (Missing)
48 (Missing)                      0x12c43a6c (Missing)
49 (Missing)                      0x12c43a7c (Missing)
50 libart.so                      0x725dca86b8 (Missing)
51 (Missing)                      0x739dff7d (Missing)
52 (Missing)                      0x70a9ab14 (Missing)
53 (Missing)                      0x739dff7d (Missing)
54 (Missing)                      0x702d7b24 (Missing)
55 (Missing)                      0x70a9ab14 (Missing)
56 (Missing)                      0x70a9ab14 (Missing)
57 (Missing)                      0x739dff7d (Missing)
58 libart.so                      0x725e028524 (Missing)
59 (Missing)                      0x737a4bc4 (Missing)
60 (Missing)                      0x702d7b24 (Missing)
61 (Missing)                      0x6fd09b44 (Missing)
62 (Missing)                      0x12c43a7c (Missing)
63 (Missing)                      0x702d7b24 (Missing)
64 (Missing)                      0x7062a7a4 (Missing)

React Native version:

info Fetching system and libraries information...
System:
    OS: macOS 10.14.6
    CPU: (12) x64 Intel(R) Core(TM) i9-8950HK CPU @ 2.90GHz
    Memory: 24.51 MB / 32.00 GB
    Shell: 5.3 - /bin/zsh
  Binaries:
    Node: 10.16.0 - /usr/local/bin/node
    Yarn: 1.17.3 - /usr/local/bin/yarn
    npm: 6.9.0 - /usr/local/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  SDKs:
    iOS SDK:
      Platforms: iOS 12.4, macOS 10.14, tvOS 12.4, watchOS 5.3
    Android SDK:
      API Levels: 23, 26, 27, 28
      Build Tools: 23.0.1, 25.0.0, 26.0.3, 27.0.3, 28.0.1, 28.0.2, 28.0.3
      System Images: android-24 | Google APIs Intel x86 Atom, android-24 | Google Play Intel x86 Atom, android-27 | Google APIs Intel x86 Atom, android-28 | Google APIs Intel x86 Atom, android-29 | Google APIs Intel x86 Atom
  IDEs:
    Android Studio: 3.4 AI-183.6156.11.34.5692245
    Xcode: 10.3/10G8 - /usr/bin/xcodebuild
  npmPackages:
    react: ^16.8.6 => 16.8.6
    react-native: ^0.60.4 => 0.60.4
  npmGlobalPackages:
    eslint-plugin-react-native: 3.5.0
    react-native-cli: 2.0.1
    react-native-git-upgrade: 0.2.7

Steps To Reproduce

We are unfortunately not able to reproduce it locally but I am sure we are not the only one with this problem. This has not been before with RN0.57.8

Describe what you expected to happen: Android should not crash.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:3
  • Comments:11 (2 by maintainers)

github_iconTop GitHub Comments

31reactions
neikercommented, Sep 1, 2020

A couple of weeks ago our project had a crash report on some devices because of Hermes, so I disabled it. Now we have a report on other devices because of JSC and the solution is switch to Hermes. Life is endless pain.

0reactions
afkcodescommented, Aug 27, 2020

@sunnylqm @taschik how should i update to v8 facing similar crash

Read more comments on GitHub >

github_iconTop Results From Across the Web

Crashes - Android Developers
An Android app crashes whenever there's an unexpected exit caused by an unhandled exception or signal. An app that is written using Java...
Read more >
Android App crash "libjsc.so" missing with stacktrace Crashed ...
Our react-native App seems to sometimes crash on Android, PRD instance with error "libjsc.so" missing and the only details in Firebase is ...
Read more >
Online Crash Logs - Kansas Highway Patrol
The Kansas Highway Patrol Crash Log allows you to retrieve preliminary injury or fatality crash information for 14 days from the event. Crashes...
Read more >
Why do my apps keep crashing on Android, How to fix it
1. Force stop the app · 2. Restart the device · 4. Reinstall the app · 5. Check app permissions · 6. Keep...
Read more >
South Dakota Accident Reports & Records | SD DPS
The South Dakota Office of Accident Records maintains a database of motor vehicle traffic crash information for public roadways.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found