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] Android 9 and libjsc.co crashes on RN0.60.4 #26066

Closed
taschik opened this issue Aug 14, 2019 · 11 comments
Closed

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

taschik opened this issue Aug 14, 2019 · 11 comments
Labels
Bug Platform: Android Android applications. Resolution: Locked This issue was locked by the bot.

Comments

@taschik
Copy link

taschik commented Aug 14, 2019

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.

@taschik taschik added the Bug label Aug 14, 2019
@taschik taschik changed the title 🔥[CRASH] Android 9 and libjsc.co 🔥[CRASH] Android 9 and libjsc.co crashes on RN0.60.4 Aug 14, 2019
@react-native-bot react-native-bot added the Platform: Android Android applications. label Aug 14, 2019
@sunnylqm
Copy link
Contributor

Current jsc has known crash issues so should try hermes or v8

@laymanZ
Copy link

laymanZ commented Aug 20, 2019

Hello, have you solved this problem ?
I have also encountered it recently. It puzzled me for a long time
#26094

@taschik
Copy link
Author

taschik commented Aug 20, 2019

Unfortunately, I haven't @laymanZ.

@sunnylqm where would I find a working documentation on how to replace jsc with v8 for 0.60.X? Could you please point me to it? Thanks a lot!

@sunnylqm
Copy link
Contributor

@alexblack
Copy link

This is an issue for us too, its the most frequent crash on our app, causing us a big issue. We're using Realm so we can't easily switch to Hermes or V8

@tobi512
Copy link

tobi512 commented Nov 21, 2019

@alexblack See the last few comments in #25494, a new version of the JSC will possibly fix these kind of crashes, we're also waiting patiently...

@TRIPTI-JAIN
Copy link

#24260 (comment)

@taschik
Copy link
Author

taschik commented Jan 22, 2020

We switched to using v8 and are having no issues anymore. It also seems to run faster. Give it a try!

@taschik taschik closed this as completed Jan 22, 2020
@lyseiha
Copy link

lyseiha commented Jun 14, 2020

how to switch to v8

@afkcodes
Copy link

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

@neiker
Copy link

neiker commented 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.

@facebook facebook locked as resolved and limited conversation to collaborators Oct 4, 2021
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Oct 4, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug Platform: Android Android applications. Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

10 participants