https://kotlinlang.org logo
#android
Title
# android
t

Tim Malseed

07/18/2020, 7:52 AM
Has anyone here got any experience debugging native crashes? I’ve got on occurring in production, which I cant reproduce. I’ve got what looks like a tombstone.. I’ve tried using the ndk tools ‘stack’ and ‘addr2line’ but they’re not giving me any additional information.. Stack just spits out basically the same output as the original dump, and addr2line can’t seem to locate the associated line number.
Copy code
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
pid: 0, tid: 0 >>> com.simplecityapps.shuttle <<<

backtrace:
  #00  pc 000000000005fcb2  /apex/com.android.runtime/lib/bionic/libc.so (abort+166)
  #01  pc 000000000037b34f  /apex/com.android.runtime/lib/libart.so (art::Runtime::Abort(char const*)+1770)
  #02  pc 000000000000859b  /system/lib/libbase.so (android::base::LogMessage::~LogMessage()+418)
  #03  pc 00000000002891ff  /apex/com.android.runtime/lib/libart.so (art::JavaVMExt::JniAbort(char const*, char const*)+1206)
  #04  pc 0000000000289399  /apex/com.android.runtime/lib/libart.so (art::JavaVMExt::JniAbortF(char const*, char const*, ...)+64)
  #05  pc 00000000003b120f  /apex/com.android.runtime/lib/libart.so (art::Thread::DecodeJObject(_jobject*) const+538)
  #06  pc 0000000000374eef  /apex/com.android.runtime/lib/libart.so (art::(anonymous namespace)::ArgArray::BuildArgArrayFromVarArgs(art::ScopedObjectAccessAlreadyRunnable const&, art::ObjPtr<art::mirror::Object>, std::__va_list)+82)
  #07  pc 0000000000374dc5  /apex/com.android.runtime/lib/libart.so (art::InvokeWithVarArgs(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, std::__va_list)+272)
  #08  pc 00000000002ac96f  /apex/com.android.runtime/lib/libart.so (art::JNI::CallNonvirtualVoidMethodV(_JNIEnv*, _jobject*, _jclass*, _jmethodID*, std::__va_list)+462)
  #09  pc 0000000000295ca5  /apex/com.android.runtime/lib/libart.so (art::JNI::NewObjectV(_JNIEnv*, _jclass*, _jmethodID*, std::__va_list)+712)
  #10  pc 00000000000034c9  /data/app/com.simplecityapps.shuttle-WrasQbvTVV_iAv69FUUuHA==/split_config.armeabi_v7a.apk!libktaglib.so (offset 0x8d000) (_JNIEnv::NewObject(_jclass*, _jmethodID*, ...)+28)
  #11  pc 00000000000033f1  /data/app/com.simplecityapps.shuttle-WrasQbvTVV_iAv69FUUuHA==/split_config.armeabi_v7a.apk!libktaglib.so (offset 0x8d000) (Java_com_simplecityapps_ktaglib_KTagLib_getAudioFile+872)
  #12  pc 00000000000dc519  /apex/com.android.runtime/lib/libart.so (art_quick_generic_jni_trampoline+40)
  #13  pc 00000000000d7bc5  /apex/com.android.runtime/lib/libart.so (art_quick_invoke_stub_internal+68)
  #14  pc 0000000000434767  /apex/com.android.runtime/lib/libart.so (art_quick_invoke_stub+250)

...
4 Views