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

[Android Bug] Native crash on Nexus 5X (Android 7.1.1) #12415

Closed
desmond1121 opened this issue Feb 16, 2017 · 2 comments
Closed

[Android Bug] Native crash on Nexus 5X (Android 7.1.1) #12415

desmond1121 opened this issue Feb 16, 2017 · 2 comments
Labels
Resolution: Locked This issue was locked by the bot.

Comments

@desmond1121
Copy link
Contributor

desmond1121 commented Feb 16, 2017

Crash:

SIGABRT
0x2054
#00  pc 00049db4  /system/lib/libc.so (tgkill+12) [armeabi-v7a::ef3a1881d2b9ea5f56101fbe0a97a35a]
#01  pc 00047553  /system/lib/libc.so (pthread_kill+34) [armeabi-v7a::ef3a1881d2b9ea5f56101fbe0a97a35a]
#02  pc 0001d8a5  /system/lib/libc.so (raise+10) [armeabi-v7a::ef3a1881d2b9ea5f56101fbe0a97a35a]
#03  pc 000193f1  /system/lib/libc.so (__libc_android_abort+34) [armeabi-v7a::ef3a1881d2b9ea5f56101fbe0a97a35a]
#04  pc 00017034  /system/lib/libc.so (abort+4) [armeabi-v7a::ef3a1881d2b9ea5f56101fbe0a97a35a]
#05  pc 00040a73  /data/app/tv.danmaku.bili-1/lib/arm/libfb.so (_ZN9__gnu_cxx27__verbose_terminate_handlerEv+226) [armeabi-v7a::cf8cac92d5bc3095c238dda34640161f]
#06  pc 00015d49  /data/app/tv.danmaku.bili-1/lib/arm/libfb.so (_ZN10__cxxabiv111__terminateEPFvvE+4) [armeabi-v7a::cf8cac92d5bc3095c238dda34640161f]
#07  pc 00015dbd  /data/app/tv.danmaku.bili-1/lib/arm/libfb.so (_ZSt9terminatev+8) [armeabi-v7a::cf8cac92d5bc3095c238dda34640161f]
#08  pc 00015f17  /data/app/tv.danmaku.bili-1/lib/arm/libfb.so (__cxa_rethrow+46) [armeabi-v7a::cf8cac92d5bc3095c238dda34640161f]
#09  pc 000102e7  /data/app/tv.danmaku.bili-1/lib/arm/libfb.so [armeabi-v7a::cf8cac92d5bc3095c238dda34640161f]
#10  pc 000106d3  /data/app/tv.danmaku.bili-1/lib/arm/libfb.so (_ZN8facebook3jni43translatePendingCppExceptionToJavaExceptionEv+50) [armeabi-v7a::cf8cac92d5bc3095c238dda34640161f]
#11  pc 0001d681  /data/app/tv.danmaku.bili-1/lib/arm/libreactnativejnifb.so [armeabi-v7a::c211f7800c1986679abc8acc5d24102e]
#12  pc 0161d03f  /data/app/tv.danmaku.bili-1/oat/arm/base.odex (oatexec+864319) [armeabi::1c040000000000000379160000000000]
java:
android.os.Handler.handleCallback(Handler.java:751)
android.os.Handler.dispatchMessage(Handler.java:95)
com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:31)
android.os.Looper.loop(Looper.java:154)
com.facebook.react.bridge.queue.MessageQueueThreadImpl$3.run(MessageQueueThreadImpl.java:196)
java.lang.Thread.run(Thread.java:761)

Addr2line output:

  • 11 0001d681 (libreactnativefb.so)
facebook::jni::detail::NativeMethodWrapper* facebook::jni::detail::exceptionWrapJNIMethod<void (facebook::react::JNativeRunnable::*)(), &facebook::react::JNativeRunnable::run, facebook::react::JNativeRunnable>(void (facebook::react::JNativeRunnable::*)())::funcWrapper::call(_JNIEnv*, _jobject*)
/Users/desmond/CodeFiles/rn-codes/react-native/ReactAndroid/src/main/jni/first-party/fb/include/fb/fbjni/Registration-inl.h:129

Registration-inl.h#129

  • 10 000106d3 (libfb.so)
facebook::jni::translatePendingCppExceptionToJavaException()
/Users/desmond/CodeFiles/rn-codes/react-native/ReactAndroid/src/main/jni/first-party/fb/jni/Exceptions.cpp:221 (discriminator 2)

Exceptions.h#221

  • 9 000102e7 (libfb.so)
denest
/Users/desmond/CodeFiles/rn-codes/react-native/ReactAndroid/src/main/jni/first-party/fb/jni/Exceptions.cpp:175

Exceptions.h#175

Reproduction

Everytime react-native instance startup.

Additional Information

  • React Native version: 0.42.0-rc3
  • Platform: Android 7.1.1, Nexus 5X
  • Operating System: MacOS
@hramos
Copy link
Contributor

hramos commented May 25, 2017

We're cutting down on the number of outstanding issues, in order to allow us to focus. I'm closing this issue because it has been open for over 60 days with no activity. If you think it should still be opened let us know why. PRs are always welcome.

@hramos hramos closed this as completed May 25, 2017
@hramos hramos added the Icebox label May 26, 2017
@liuwenping828
Copy link

Android Bug (xiaomi Mobile Version: Android 7.0)
06-24 01:31:01.936 32461-32461/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
06-24 01:31:01.936 32461-32461/? A/DEBUG: Build fingerprint: 'Xiaomi/hydrogen/hydrogen:7.0/NRD90M/V8.5.1.0.NBCCNED:user/release-keys'
06-24 01:31:01.937 32461-32461/? A/DEBUG: Revision: '0'
06-24 01:31:01.937 32461-32461/? A/DEBUG: ABI: 'arm64'
06-24 01:31:01.937 32461-32461/? A/DEBUG: pid: 32460, tid: 32460, name: ls >>> ls <<<
06-24 01:31:01.937 32461-32461/? A/DEBUG: signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
06-24 01:31:01.937 32461-32461/? A/DEBUG: x0 0000000000000000 x1 0000000000007ecc x2 0000000000000006 x3 0000000000000008
06-24 01:31:01.937 32461-32461/? A/DEBUG: x4 ffffffffffffffff x5 0000000000000000 x6 0000008000808080 x7 2c33351f656e1f63
06-24 01:31:01.937 32461-32461/? A/DEBUG: x8 0000000000000083 x9 ffffffffffffffdf x10 0000000000000000 x11 0000000000000001
06-24 01:31:01.937 32461-32461/? A/DEBUG: x12 ffffffffffffffff x13 0000000000000000 x14 0000000000000000 x15 002ea0f85e176821
06-24 01:31:01.937 32461-32461/? A/DEBUG: x16 0000007fcfc7a190 x17 0000007fcfc7a05f x18 00000000ffffffff x19 0000007f9f0c8b40
06-24 01:31:01.937 32461-32461/? A/DEBUG: x20 0000000000000006 x21 0000007f9f0c8a98 x22 0000000000000002 x23 0000000000000004
06-24 01:31:01.937 32461-32461/? A/DEBUG: x24 0000000000000000 x25 0000007fcfc7adf0 x26 0000007fcfc7ae10 x27 0000007f9f0c4348
06-24 01:31:01.937 32461-32461/? A/DEBUG: x28 0000007f9f0c4258 x29 0000007fcfc7ac60 x30 0000007f9f08a2f8
06-24 01:31:01.937 32461-32461/? A/DEBUG: sp 0000007fcfc7ac40 pc 0000007f9f08ae40 pstate 0000000060000000
06-24 01:31:01.946 32461-32461/? A/DEBUG: backtrace:
06-24 01:31:01.946 32461-32461/? A/DEBUG: #00 pc 0000000000073e40 /system/bin/linker64 (__dl_tgkill+8)
06-24 01:31:01.947 32461-32461/? A/DEBUG: #1 pc 00000000000732f4 /system/bin/linker64 (__dl_pthread_kill+64)
06-24 01:31:01.947 32461-32461/? A/DEBUG: #2 pc 0000000000066de4 /system/bin/linker64 (__dl_raise+24)
06-24 01:31:01.947 32461-32461/? A/DEBUG: #3 pc 00000000000647b8 /system/bin/linker64 (__dl_abort+52)
06-24 01:31:01.947 32461-32461/? A/DEBUG: #4 pc 000000000006696c /system/bin/linker64 (__dl___libc_fatal+104)
06-24 01:31:01.947 32461-32461/? A/DEBUG: #5 pc 000000000000fc98 /system/bin/linker64 (__dl__ZL29__linker_init_post_relocationR19KernelArgumentBlocky+3668)
06-24 01:31:01.947 32461-32461/? A/DEBUG: #6 pc 000000000000eda4 /system/bin/linker64 (__dl___linker_init+528)
06-24 01:31:01.947 32461-32461/? A/DEBUG: #7 pc 0000000000006c78 /system/bin/linker64 (_start+4)
06-24 01:55:59.914 4253-4253/? A/libc: CANNOT LINK EXECUTABLE "ls": "/system/lib/libcutils.so" is 32-bit instead of 64-bit
06-24 01:55:59.914 4253-4253/? A/libc: Fatal signal 6 (SIGABRT), code -6 in tid 4253 (ls)
06-24 01:55:59.984 4254-4254/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***

@facebook facebook locked as resolved and limited conversation to collaborators May 29, 2018
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Jul 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

5 participants