-
Notifications
You must be signed in to change notification settings - Fork 614
CrashlyticsNdk stacktrace is not symbolicated #2341
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
Comments
I found a few problems with this issue:
|
Hi @Timashkov, Could you run |
Hi, @kmandrika , alx-myapp@timashkov-E590:~/myapp-fb-ndk/myapp/client_app/android$ ./gradlew uploadCrashlyticSymbolFileProdFullRelease -d | grep "com.google.firebase.crashlytics" |
any ideas or questions ? |
@Timashkov it looks like you only uploaded symbols for Are you building libTango yourself? If not, do you have an unstripped version of it? |
libmyapp-webdev-unstripped.so is unstripped version of libTango.so. Before pack apk buildsystem renames , strips and replaces it. |
Ah, ok - can you run You should see something similar to: |
unfortunately "readelf -n" for both versions shows nothing |
Do you build with |
Build system instructions do not contain such flag, so I will try with adding -Wl,--build-id. Will come back with result later, thank you |
Many thanks, looks like such info missing was root cause of missing stack trace. |
could you ask somebody to include this answer to troubleshooting guide? It provides frame pointers related notes , but nothing about discussed in this thread flags. |
Great idea - I will see if we can update the troubleshooting guide, thanks for working through this issue! |
[READ] Step 1: Are you in the right place?
Support team recommends to write an issue here
[REQUIRED] Step 2: Describe your environment
Android Studio version 4.1.1
Component : Firebase Crashlytics Ndk, version 17.3.0,
Project level classpath dependency: 'com.google.firebase:firebase-crashlytics-gradle:2.4.1'
[REQUIRED] Step 3: Describe the problem
Fabric crashlytics report does not contain native symbols from our app.
Stacktrace from Firebase :
Crashed: Thread : SIGSEGV 0xffffffffffffffff
#00 pc 0x74b95ad0d0
#1 pc 0x74b95b7498
#2 pc 0x74bb07fffc
#3 pc 0x74b95ce858
#4 pc 0x74baf7cd54
#5 pc 0x74bb072e9c
#6 pc 0x74bb0f212c
#7 pc 0x74baf7cd7c
#8 pc 0x74bb0f212c
#9 pc 0x74b95bfffc
#10 pc 0x74bb0f1e0c
#11 pc 0x74bb0f217c
#12 pc 0x74bb0f2aec
#13 pc 0x74bb07fffc
#14 pc 0x74b957e5a0
#15 pc 0x74baf7cd54
#16 pc 0x74baf7cf5c
#17 pc 0x74bb0f212c
#18 pc 0x74baf7c84c
#19 pc 0x74bb0f212c
#20 pc 0x74bb0f1e0c
#21 pc 0x74bb0f217c
#22 pc 0x74bb0f2aec
#23 pc 0x74b957d0f4
#24 pc 0x74b942f0e0
#25 pc 0x74b942f0fc
#26 pc 0x754b2509b4 libart.so
#27 pc 0x754b3b5944 libart.so
#28 pc 0x74b95cddb8
#29 pc 0x74b95ce8b8
#30 pc 0x74df85a014
#31 pc 0x74df859fe8
#32 pc 0x74dfd3b9b4
#33 pc 0x74dfd582d0
#34 pc 0x711c47b0 boot.oat
#35 pc 0x71e31454 boot-framework.oat
#36 pc 0x71e34ac8 boot-framework.oat
#37 pc 0x71b93a44 boot-framework.oat
#38 pc 0x754b3f2ffc libart.so
#39 pc 0x754af5c5b8 libart.so
#40 pc 0x754af6b00c libart.so
#41 pc 0x754b2d54fc libart.so
#42 pc 0x754b3b5944 libart.so
#43 pc 0x754b3b5a14 libart.so
#44 pc 0x754b3f2ffc libart.so
#45 pc 0x754b2d70a0 libart.so
#46 pc 0x71334110 boot.oat
#47 pc 0x71336cb8 boot.oat
#48 pc 0x720ee210 boot-framework.oat
#49 pc 0x720edddc boot-framework.oat
#50 pc 0x720f2660 boot-framework.oat
#51 pc 0x720fba48 boot-framework.oat
#52 pc 0x71537e18 boot-core-libart.oat
#53 pc 0x720f404c boot-framework.oat
#54 pc 0x754b261de4 libart.so
#55 pc 0x754b261e1c libart.so
#56 pc 0x711a6d34 boot.oat
#57 pc 0x720edb78 boot-framework.oat
#58 pc 0x720f62c4 boot-framework.oat
#59 pc 0x754af5c5b8 libart.so
#60 pc 0x754af6b00c libart.so
#61 pc 0x754b2d54fc libart.so
#62 pc 0x754aef22e4 libart.so
#63 pc 0x754b2d50ec libart.so
Stacktrace from Android device logcat is:
01-19 22:13:46.668 7448 7448 F DEBUG : backtrace:
01-19 22:13:46.668 7448 7448 F DEBUG : #00 pc 00000000010070d0 /data/app/com.mycompany.appinstance-HB-6b9zkvpPBFwP1gOq6rg==/lib/arm64/libTango.so (some_cpp_code_namespace::crashForce()+20)
01-19 22:13:46.668 7448 7448 F DEBUG : #1 pc 0000000001011498 /data/app/com.mycompany.appinstance-HB-6b9zkvpPBFwP1gOq6rg==/lib/arm64/libTango.so (some_cpp_code_2_namespace::ServiceImpl::onLoaded(std::string const&)+252)
01-19 22:13:46.668 7448 7448 F DEBUG : #2 pc 0000000001028858 /data/app/com.mycompany.appinstance-HB-6b9zkvpPBFwP1gOq6rg==/lib/arm64/libTango.so (some_cpp_code_2_namespace::somnotifyer::notifyLoaded(std::string const&)+440)
01-19 22:13:46.668 7448 7448 F DEBUG : #3 pc 0000000000fd85a0 /data/app/com.mycompany.appinstance-HB-6b9zkvpPBFwP1gOq6rg==/lib/arm64/libTango.so (some_cpp_code_3_namespace::threaddispatcherandroid::AndroidThreadDispatcherImpl::onDispatched()+296)
01-19 22:13:46.668 7448 7448 F DEBUG : #4 pc 0000000000e890fc /data/app/com.mycompany.appinstance-HB-6b9zkvpPBFwP1gOq6rg==/lib/arm64/libTango.so (Java_com_mycompany_corefacade_threaddispatcherandroid_threaddispatcherandroidJNI_AndroidThreadDispatcher_1onDispatched+24)
01-19 22:13:46.668 7448 7448 F DEBUG : #5 pc 0000000000140350 /apex/com.android.runtime/lib64/libart.so (art_quick_generic_jni_trampoline+144) (BuildId: b74bac135a4a49549839add4992dc308)
01-19 22:13:46.668 7448 7448 F DEBUG : #6 pc 00000000001375b8 /apex/com.android.runtime/lib64/libart.so (art_quick_invoke_static_stub+568) (BuildId: b74bac135a4a49549839add4992dc308)
01-19 22:13:46.668 7448 7448 F DEBUG : #7 pc 000000000014600c /apex/com.android.runtime/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+276) (BuildId: b74bac135a4a49549839add4992dc308)
01-19 22:13:46.668 7448 7448 F DEBUG : #8 pc 00000000002e2d7c /apex/com.android.runtime/lib64/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+384) (BuildId: b74bac135a4a49549839add4992dc308)
01-19 22:13:46.668 7448 7448 F DEBUG : #9 pc 00000000002ddfdc /apex/com.android.runtime/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+892) (BuildId: b74bac135a4a49549839add4992dc308)
01-19 22:13:46.668 7448 7448 F DEBUG : #10 pc 00000000005a344c /apex/com.android.runtime/lib64/libart.so (MterpInvokeStatic+372) (BuildId: b74bac135a4a49549839add4992dc308)
01-19 22:13:46.668 7448 7448 F DEBUG : #11 pc 0000000000131994 /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_static+20) (BuildId: b74bac135a4a49549839add4992dc308)
01-19 22:13:46.668 7448 7448 F DEBUG : #12 pc 000000000031b788 [anon:dalvik-classes3.dex extracted in memory from /data/app/com.mycompany.appinstance-HB-6b9zkvpPBFwP1gOq6rg==/base.apk!classes3.dex] (com.mycompany.corefacade.threaddispatcherandroid.AndroidThreadDispatcher.onDispatched+4)
01-19 22:13:46.668 7448 7448 F DEBUG : #13 pc 00000000005a0c38 /apex/com.android.runtime/lib64/libart.so (MterpInvokeVirtual+1352) (BuildId: b74bac135a4a49549839add4992dc308)
01-19 22:13:46.668 7448 7448 F DEBUG : #14 pc 0000000000131814 /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_virtual+20) (BuildId: b74bac135a4a49549839add4992dc308)
01-19 22:13:46.668 7448 7448 F DEBUG : #15 pc 000000000033ab8c [anon:dalvik-classes3.dex extracted in memory from /data/app/com.mycompany.appinstance-HB-6b9zkvpPBFwP1gOq6rg==/base.apk!classes3.dex] (f.i.f.a$b.handleMessage+44)
01-19 22:13:46.668 7448 7448 F DEBUG : #16 pc 00000000005a0c38 /apex/com.android.runtime/lib64/libart.so (MterpInvokeVirtual+1352) (BuildId: b74bac135a4a49549839add4992dc308)
01-19 22:13:46.668 7448 7448 F DEBUG : #17 pc 0000000000131814 /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_virtual+20) (BuildId: b74bac135a4a49549839add4992dc308)
01-19 22:13:46.668 7448 7448 F DEBUG : #18 pc 0000000000355db2 /system/framework/framework.jar (android.os.Handler.dispatchMessage+38)
01-19 22:13:46.668 7448 7448 F DEBUG : #19 pc 00000000005a0c38 /apex/com.android.runtime/lib64/libart.so (MterpInvokeVirtual+1352) (BuildId: b74bac135a4a49549839add4992dc308)
01-19 22:13:46.668 7448 7448 F DEBUG : #20 pc 0000000000131814 /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_virtual+20) (BuildId: b74bac135a4a49549839add4992dc308)
01-19 22:13:46.668 7448 7448 F DEBUG : #21 pc 00000000003965d6 /system/framework/framework.jar (android.os.Looper.loop+466)
01-19 22:13:46.668 7448 7448 F DEBUG : #22 pc 00000000005a36e8 /apex/com.android.runtime/lib64/libart.so (MterpInvokeStatic+1040) (BuildId: b74bac135a4a49549839add4992dc308)
01-19 22:13:46.668 7448 7448 F DEBUG : #23 pc 0000000000131994 /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_static+20) (BuildId: b74bac135a4a49549839add4992dc308)
01-19 22:13:46.668 7448 7448 F DEBUG : #24 pc 00000000001a85c4 /system/framework/framework.jar (android.app.ActivityThread.main+208)
01-19 22:13:46.668 7448 7448 F DEBUG : #25 pc 00000000002b4090 /apex/com.android.runtime/lib64/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEbb.llvm.16106872745542385443+240) (BuildId: b74bac135a4a49549839add4992dc308)
01-19 22:13:46.668 7448 7448 F DEBUG : #26 pc 0000000000591ee0 /apex/com.android.runtime/lib64/libart.so (artQuickToInterpreterBridge+1032) (BuildId: b74bac135a4a49549839add4992dc308)
01-19 22:13:46.668 7448 7448 F DEBUG : #27 pc 0000000000140468 /apex/com.android.runtime/lib64/libart.so (art_quick_to_interpreter_bridge+88) (BuildId: b74bac135a4a49549839add4992dc308)
01-19 22:13:46.668 7448 7448 F DEBUG : #28 pc 00000000001375b8 /apex/com.android.runtime/lib64/libart.so (art_quick_invoke_static_stub+568) (BuildId: b74bac135a4a49549839add4992dc308)
01-19 22:13:46.668 7448 7448 F DEBUG : #29 pc 000000000014600c /apex/com.android.runtime/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+276) (BuildId: b74bac135a4a49549839add4992dc308)
01-19 22:13:46.668 7448 7448 F DEBUG : #30 pc 00000000004b04fc /apex/com.android.runtime/lib64/libart.so (art::(anonymous namespace)::InvokeWithArgArray(art::ScopedObjectAccessAlreadyRunnable const&, art::ArtMethod*, art::(anonymous namespace)::ArgArray*, art::JValue*, char const*)+104) (BuildId: b74bac135a4a49549839add4992dc308)
01-19 22:13:46.668 7448 7448 F DEBUG : #31 pc 00000000004b20a0 /apex/com.android.runtime/lib64/libart.so (art::InvokeMethod(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jobject*, _jobject*, unsigned long)+1480) (BuildId: b74bac135a4a49549839add4992dc308)
01-19 22:13:46.668 7448 7448 F DEBUG : #32 pc 000000000043ce1c /apex/com.android.runtime/lib64/libart.so (art::Method_invoke(_JNIEnv*, _jobject*, _jobject*, _jobjectArray*)+52) (BuildId: b74bac135a4a49549839add4992dc308)
01-19 22:13:46.668 7448 7448 F DEBUG : #33 pc 00000000000c9d34 /system/framework/arm64/boot.oat (art_jni_trampoline+180) (BuildId: b2aa9cd2dc34c289d045894dca2d1c36aa5774fd)
01-19 22:13:46.668 7448 7448 F DEBUG : #34 pc 0000000000137334 /apex/com.android.runtime/lib64/libart.so (art_quick_invoke_stub+548) (BuildId: b74bac135a4a49549839add4992dc308)
01-19 22:13:46.668 7448 7448 F DEBUG : #35 pc 0000000000145fec /apex/com.android.runtime/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+244) (BuildId: b74bac135a4a49549839add4992dc308)
01-19 22:13:46.668 7448 7448 F DEBUG : #36 pc 00000000002e2d7c /apex/com.android.runtime/lib64/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+384) (BuildId: b74bac135a4a49549839add4992dc308)
01-19 22:13:46.669 7448 7448 F DEBUG : #37 pc 00000000002ddfdc /apex/com.android.runtime/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+892) (BuildId: b74bac135a4a49549839add4992dc308)
01-19 22:13:46.669 7448 7448 F DEBUG : #38 pc 00000000005a0978 /apex/com.android.runtime/lib64/libart.so (MterpInvokeVirtual+648) (BuildId: b74bac135a4a49549839add4992dc308)
01-19 22:13:46.669 7448 7448 F DEBUG : #39 pc 0000000000131814 /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_virtual+20) (BuildId: b74bac135a4a49549839add4992dc308)
01-19 22:13:46.669 7448 7448 F DEBUG : #40 pc 0000000000500776 /system/framework/framework.jar (com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run+22)
01-19 22:13:46.669 7448 7448 F DEBUG : #41 pc 00000000002b4090 /apex/com.android.runtime/lib64/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEbb.llvm.16106872745542385443+240) (BuildId: b74bac135a4a49549839add4992dc308)
01-19 22:13:46.669 7448 7448 F DEBUG : #42 pc 0000000000591ee0 /apex/com.android.runtime/lib64/libart.so (artQuickToInterpreterBridge+1032) (BuildId: b74bac135a4a49549839add4992dc308)
01-19 22:13:46.669 7448 7448 F DEBUG : #43 pc 0000000000140468 /apex/com.android.runtime/lib64/libart.so (art_quick_to_interpreter_bridge+88) (BuildId: b74bac135a4a49549839add4992dc308)
01-19 22:13:46.669 7448 7448 F DEBUG : #44 pc 0000000000abb2c4 /system/framework/arm64/boot-framework.oat (com.android.internal.os.ZygoteInit.main+3012) (BuildId: a3949773e5d350f93ac576b1af866f3738d6ec09)
01-19 22:13:46.669 7448 7448 F DEBUG : #45 pc 00000000001375b8 /apex/com.android.runtime/lib64/libart.so (art_quick_invoke_static_stub+568) (BuildId: b74bac135a4a49549839add4992dc308)
01-19 22:13:46.669 7448 7448 F DEBUG : #46 pc 000000000014600c /apex/com.android.runtime/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+276) (BuildId: b74bac135a4a49549839add4992dc308)
01-19 22:13:46.669 7448 7448 F DEBUG : #47 pc 00000000004b04fc /apex/com.android.runtime/lib64/libart.so (art::(anonymous namespace)::InvokeWithArgArray(art::ScopedObjectAccessAlreadyRunnable const&, art::ArtMethod*, art::(anonymous namespace)::ArgArray*, art::JValue*, char const*)+104) (BuildId: b74bac135a4a49549839add4992dc308)
01-19 22:13:46.669 7448 7448 F DEBUG : #48 pc 00000000004b00ec /apex/com.android.runtime/lib64/libart.so (art::InvokeWithVarArgs(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, std::__va_list)+408) (BuildId: b74bac135a4a49549839add4992dc308)
01-19 22:13:46.669 7448 7448 F DEBUG : #49 pc 00000000003babc0 /apex/com.android.runtime/lib64/libart.so (art::JNI::CallStaticVoidMethodV(_JNIEnv*, _jclass*, _jmethodID*, std::__va_list)+624) (BuildId: b74bac135a4a49549839add4992dc308)
01-19 22:13:46.669 7448 7448 F DEBUG : #50 pc 00000000000ee05c /system/lib64/libandroid_runtime.so (_JNIEnv::CallStaticVoidMethod(_jclass*, _jmethodID*, ...)+116) (BuildId: 17fe182cba1495ed84590ee6a57e9d9a)
01-19 22:13:46.669 7448 7448 F DEBUG : #51 pc 00000000000f117c /system/lib64/libandroid_runtime.so (android::AndroidRuntime::start(char const*, android::Vectorandroid::String8 const&, bool)+792) (BuildId: 17fe182cba1495ed84590ee6a57e9d9a)
01-19 22:13:46.669 7448 7448 F DEBUG : #52 pc 0000000000003510 /system/bin/app_process64 (main+1216) (BuildId: c176a5f9fa2426a07b85cabd1c26ea38)
01-19 22:13:46.669 7448 7448 F DEBUG : #53 pc 000000000007e898 /apex/com.android.runtime/lib64/bionic/libc.so (__libc_init+108) (BuildId: d00c50b4798c95f2447d684ed3ea7dcb)
from gradle configuration:
buildTypes {
release {
...
firebaseCrashlytics {
nativeSymbolUploadEnabled true
strippedNativeLibsDir rootProject.ext.native_libs
unstrippedNativeLibsDir rootProject.ext.unstripped_native_lib
}
}
}
The text was updated successfully, but these errors were encountered: