Android tombstone on a clean "npx react-native init" project
See original GitHub issueMy Environment
- Mac M1
- React Native version 0.69.3
- react-native-bignumber 0.8.1
Steps to reproduce
npx react-native init helloRN
yarn add react-native-bignumber
- In
App.js
:
- `import {BN} from ‘react-native-bignumber’;
- add a
console.log(new BN("0x111");
When running npx react-native run-android
I get the following tombstone:
08-04 08:20:53.312 6099 6099 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
08-04 08:20:53.312 6099 6099 F DEBUG : Build fingerprint: 'google/sdk_gphone64_arm64/emulator64_arm64:12/SE1A.220203.002.A1/8151367:userdebug/dev-keys'
08-04 08:20:53.312 6099 6099 F DEBUG : Revision: '0'
08-04 08:20:53.312 6099 6099 F DEBUG : ABI: 'arm64'
08-04 08:20:53.312 6099 6099 F DEBUG : Timestamp: 2022-08-04 08:20:53.144832398+0300
08-04 08:20:53.312 6099 6099 F DEBUG : Process uptime: 0s
08-04 08:20:53.312 6099 6099 F DEBUG : Cmdline: com.hellorn
08-04 08:20:53.312 6099 6099 F DEBUG : pid: 6030, tid: 6081, name: mqt_js >>> com.hellorn <<<
08-04 08:20:53.312 6099 6099 F DEBUG : uid: 10147
08-04 08:20:53.312 6099 6099 F DEBUG : tagged_addr_ctrl: 0000000000000001
08-04 08:20:53.312 6099 6099 F DEBUG : signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------
08-04 08:20:53.312 6099 6099 F DEBUG : x0 0000000000000000 x1 00000000000017c1 x2 0000000000000006 x3 0000006d1c4b4320
08-04 08:20:53.312 6099 6099 F DEBUG : x4 00000000ebad808a x5 00000000ebad808a x6 00000000ebad808a x7 00000000ebad808b
08-04 08:20:53.312 6099 6099 F DEBUG : x8 00000000000000f0 x9 0c0bea7f82fdc56d x10 0000000000000000 x11 ffffff80fffffbdf
08-04 08:20:53.312 6099 6099 F DEBUG : x12 0000000000000001 x13 0000000000000045 x14 00000063f996e3c1 x15 00000063f99829c0
08-04 08:20:53.312 6099 6099 F DEBUG : x16 000000705c19b050 x17 000000705c177eb0 x18 0000006d16bf4000 x19 000000000000178e
08-04 08:20:53.312 6099 6099 F DEBUG : x20 00000000000017c1 x21 00000000ffffffff x22 ffffffffffffffff x23 0000006d1c4b4580
08-04 08:20:53.312 6099 6099 F DEBUG : x24 0000000000000000 x25 0000006d375bb1f0 x26 0000000000000001 x27 b400006f28340df0
08-04 08:20:53.312 6099 6099 F DEBUG : x28 b400006e78314e90 x29 0000006d1c4b43a0
08-04 08:20:53.312 6099 6099 F DEBUG : lr 000000705c12aba0 sp 0000006d1c4b4300 pc 000000705c12abcc pst 0000000000001000
08-04 08:20:53.312 6099 6099 F DEBUG : backtrace:
08-04 08:20:53.312 6099 6099 F DEBUG : #00 pc 000000000004fbcc /apex/com.android.runtime/lib64/bionic/libc.so (abort+164) (BuildId: ba489d4985c0cf173209da67405662f9)
08-04 08:20:53.312 6099 6099 F DEBUG : #01 pc 00000000000af7e4 /data/app/~~pnHSV1U4W5mJ4pBc4Hq8jg==/com.hellorn-5FMUw2-Y0ruT8Ydw-TT1NQ==/lib/arm64/libc++_shared.so (BuildId: ece72a2eb
c3774a1be9fd21271258acd3bcdfaa7)
08-04 08:20:53.312 6099 6099 F DEBUG : #02 pc 00000000000aedc8 /data/app/~~pnHSV1U4W5mJ4pBc4Hq8jg==/com.hellorn-5FMUw2-Y0ruT8Ydw-TT1NQ==/lib/arm64/libc++_shared.so (BuildId: ece72a2eb
c3774a1be9fd21271258acd3bcdfaa7)
08-04 08:20:53.312 6099 6099 F DEBUG : #03 pc 00000000000aebf8 /data/app/~~pnHSV1U4W5mJ4pBc4Hq8jg==/com.hellorn-5FMUw2-Y0ruT8Ydw-TT1NQ==/lib/arm64/libc++_shared.so (__gxx_personality_
v0+200) (BuildId: ece72a2ebc3774a1be9fd21271258acd3bcdfaa7)
08-04 08:20:53.312 6099 6099 F DEBUG : #04 pc 00000000002c5ec4 /data/app/~~pnHSV1U4W5mJ4pBc4Hq8jg==/com.hellorn-5FMUw2-Y0ruT8Ydw-TT1NQ==/lib/arm64/libreactnativeBigNumber.so (BuildId:
863b4fcd31a6cce63769ea5f08d80ed76399fadc)
08-04 08:20:53.312 6099 6099 F DEBUG : #05 pc 00000000002c5f94 /data/app/~~pnHSV1U4W5mJ4pBc4Hq8jg==/com.hellorn-5FMUw2-Y0ruT8Ydw-TT1NQ==/lib/arm64/libreactnativeBigNumber.so (BuildId:
863b4fcd31a6cce63769ea5f08d80ed76399fadc)
08-04 08:20:53.312 6099 6099 F DEBUG : #06 pc 000000000013aa78 /data/app/~~pnHSV1U4W5mJ4pBc4Hq8jg==/com.hellorn-5FMUw2-Y0ruT8Ydw-TT1NQ==/lib/arm64/libreactnativeBigNumber.so (facebook
::jni::HybridClass<BigNumberCppAdapter, facebook::jni::detail::BaseHybridClass>::javaClassLocal()+184) (BuildId: 863b4fcd31a6cce63769ea5f08d80ed76399fadc)
08-04 08:20:53.312 6099 6099 F DEBUG : #07 pc 000000000013a8d4 /data/app/~~pnHSV1U4W5mJ4pBc4Hq8jg==/com.hellorn-5FMUw2-Y0ruT8Ydw-TT1NQ==/lib/arm64/libreactnativeBigNumber.so (facebook
::jni::HybridClass<BigNumberCppAdapter, facebook::jni::detail::BaseHybridClass>::registerHybrid(std::initializer_list<JNINativeMethod>)+40) (BuildId: 863b4fcd31a6cce63769ea5f08d80ed76399fadc)
08-04 08:20:53.312 6099 6099 F DEBUG : #08 pc 000000000013a880 /data/app/~~pnHSV1U4W5mJ4pBc4Hq8jg==/com.hellorn-5FMUw2-Y0ruT8Ydw-TT1NQ==/lib/arm64/libreactnativeBigNumber.so (BigNumbe
rCppAdapter::registerNatives()+84) (BuildId: 863b4fcd31a6cce63769ea5f08d80ed76399fadc)
08-04 08:20:53.312 6099 6099 F DEBUG : #09 pc 000000000013a81c /data/app/~~pnHSV1U4W5mJ4pBc4Hq8jg==/com.hellorn-5FMUw2-Y0ruT8Ydw-TT1NQ==/lib/arm64/libreactnativeBigNumber.so (BuildId:
863b4fcd31a6cce63769ea5f08d80ed76399fadc)
08-04 08:20:53.312 6099 6099 F DEBUG : #10 pc 000000000013a7e8 /data/app/~~pnHSV1U4W5mJ4pBc4Hq8jg==/com.hellorn-5FMUw2-Y0ruT8Ydw-TT1NQ==/lib/arm64/libreactnativeBigNumber.so (BuildId:
863b4fcd31a6cce63769ea5f08d80ed76399fadc)
08-04 08:20:53.312 6099 6099 F DEBUG : #11 pc 000000000013a79c /data/app/~~pnHSV1U4W5mJ4pBc4Hq8jg==/com.hellorn-5FMUw2-Y0ruT8Ydw-TT1NQ==/lib/arm64/libreactnativeBigNumber.so (BuildId:
863b4fcd31a6cce63769ea5f08d80ed76399fadc)
08-04 08:20:53.312 6099 6099 F DEBUG : #12 pc 000000000013a774 /data/app/~~pnHSV1U4W5mJ4pBc4Hq8jg==/com.hellorn-5FMUw2-Y0ruT8Ydw-TT1NQ==/lib/arm64/libreactnativeBigNumber.so (BuildId:
863b4fcd31a6cce63769ea5f08d80ed76399fadc)
08-04 08:20:53.312 6099 6099 F DEBUG : #13 pc 0000000000139358 /data/app/~~pnHSV1U4W5mJ4pBc4Hq8jg==/com.hellorn-5FMUw2-Y0ruT8Ydw-TT1NQ==/lib/arm64/libreactnativeBigNumber.so (BuildId:
863b4fcd31a6cce63769ea5f08d80ed76399fadc)
08-04 08:20:53.312 6099 6099 F DEBUG : #14 pc 00000000000102c4 /data/app/~~pnHSV1U4W5mJ4pBc4Hq8jg==/com.hellorn-5FMUw2-Y0ruT8Ydw-TT1NQ==/lib/arm64/libfbjni.so (facebook::jni::initiali
ze(_JavaVM*, std::__ndk1::function<void ()>&&)+108) (BuildId: 5b9237c4cf8ff477d69b3a6401b060d9b7f17a75)
08-04 08:20:53.312 6099 6099 F DEBUG : #15 pc 0000000000138d08 /data/app/~~pnHSV1U4W5mJ4pBc4Hq8jg==/com.hellorn-5FMUw2-Y0ruT8Ydw-TT1NQ==/lib/arm64/libreactnativeBigNumber.so (JNI_OnLo
ad+68) (BuildId: 863b4fcd31a6cce63769ea5f08d80ed76399fadc)
08-04 08:20:53.312 6099 6099 F DEBUG : #16 pc 0000000000453ffc /apex/com.android.art/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> >*)+3116) (BuildId: e6c658201ef1
ec3760112fa1b838ab2c)
Issue Analytics
- State:
- Created a year ago
- Reactions:2
- Comments:6 (1 by maintainers)
Top Results From Across the Web
RN 0.63.1 and enableHermes leads to quit on start · Issue #325
Bug Description. The app quits directly after the debug release is installed. I have run gradle clean and confirmed this bug does not...
Read more >Issue while running "npx react-native run-android". How to ...
I am using Windows, I have initialised project like 4-5 days ago. I run adb, java, javac in cmd, they are showing usage...
Read more >Debugging Native Android Platform Code
Crash dumps and tombstones; Getting a stack trace/tombstone from a ... This meant that to create a wrap property with the name of...
Read more >Fixed: React Native new Android project Build Issue - YouTube
Fixed: React Native new Android project Build IssueIn this video, I will take you through a Step by step guide to fix Android...
Read more >failed to initialize react-native-reanimated library - You.com
I tried to follow the official guide and a brand new project so all is cleaned. Create a new project. create-react-native-app delete. Eject...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I have the very same error on the same setup and versions. @mrousavy do you need a repo with an example?
@kantorm , actually
0.1.9
fixed the problem on my side (https://github.com/margelo/react-native-bignumber/commit/581a7dc8907b8a5b6b1c9b85929fec617036c1ba)