l_h89 2019-04-13 14:58
浏览 5253

signal 6 (SIGABRT), code -6 (SI_TKILL)错误,需要addr2line定位错误代码的详细步骤

crash proc name : Thread-5
happen time : 2019-04-03 10:48:37
<>
cannot get valid ams trace info this time.
<>
pid: 2692, tid: 2733, name: Thread-5 >>> com.mxpipe.lih.mxpipe <<<
signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
Abort message: 'java_vm_ext.cc:534] JNI DETECTED ERROR IN APPLICATION: JNI NewStringUTF called with pending exception java.lang.NumberFormatException: empty String'
r0 00000000 r1 00000aad r2 00000006 r3 00000008
r4 00000a84 r5 00000aad r6 c29ff5ac r7 0000010c
r8 00000000 r9 e58991b8 sl 0000000a fp c29ff5f8
ip c9545440 sp c29ff598 lr e6ca9cad pc e6ca374e cpsr 200f0030
backtrace:
#00 pc 0001a74e /system/lib/libc.so (abort+63)
#01 pc 0035ba5d /system/lib/libart.so (art::Runtime::Abort(char const*)+392)
#02 pc 0041b82d /system/lib/libart.so (android::base::LogMessage::~LogMessage()+452)
#03 pc 0024ddf5 /system/lib/libart.so (art::JavaVMExt::JniAbort(char const*, char const*)+1212)
#04 pc 0024df77 /system/lib/libart.so (art::JavaVMExt::JniAbortV(char const*, char const*, std::__va_list)+58)
#05 pc 000d609b /system/lib/libart.so (art::ScopedCheck::AbortF(char const*, ...)+42)
#06 pc 000d5c1b /system/lib/libart.so (art::ScopedCheck::CheckThread(_JNIEnv*)+274)
#07 pc 000d45c5 /system/lib/libart.so (art::ScopedCheck::Check(art::ScopedObjectAccess&, bool, char const*, art::JniValueType*)+596)
#08 pc 000ccd57 /system/lib/libart.so (art::CheckJNI::NewStringUTF(_JNIEnv*, char const*)+438)
#09 pc 00bc7071 /data/app/com.mxpipe.lih.mxpipe-BLdMLJLFE4s9FKr_u1cgKA==/base.apk (offset 0x500b000)
#10 pc 00bc7105 /data/app/com.mxpipe.lih.mxpipe-BLdMLJLFE4s9FKr_u1cgKA==/base.apk (offset 0x500b000)
#11 pc 00bb072d /data/app/com.mxpipe.lih.mxpipe-BLdMLJLFE4s9FKr_u1cgKA==/base.apk (offset 0x500b000)
#12 pc 00bb07d3 /data/app/com.mxpipe.lih.mxpipe-BLdMLJLFE4s9FKr_u1cgKA==/base.apk (offset 0x500b000)
#13 pc 00bcdeb9 /data/app/com.mxpipe.lih.mxpipe-BLdMLJLFE4s9FKr_u1cgKA==/base.apk (offset 0x500b000)
#14 pc 00be3f21 /data/app/com.mxpipe.lih.mxpipe-BLdMLJLFE4s9FKr_u1cgKA==/base.apk (offset 0x500b000)
#15 pc 022777c5 /data/app/com.mxpipe.lih.mxpipe-BLdMLJLFE4s9FKr_u1cgKA==/base.apk (offset 0x500b000)
#16 pc 022773eb /data/app/com.mxpipe.lih.mxpipe-BLdMLJLFE4s9FKr_u1cgKA==/base.apk (offset 0x500b000)
#17 pc 02277779 /data/app/com.mxpipe.lih.mxpipe-BLdMLJLFE4s9FKr_u1cgKA==/base.apk (offset 0x500b000)
#18 pc 02277791 /data/app/com.mxpipe.lih.mxpipe-BLdMLJLFE4s9FKr_u1cgKA==/base.apk (offset 0x500b000)
#19 pc 0255854b /data/app/com.mxpipe.lih.mxpipe-BLdMLJLFE4s9FKr_u1cgKA==/base.apk (offset 0x500b000)
#20 pc 00047a1f /system/lib/libc.so (__pthread_start(void*)+22)
#21 pc 0001b31d /system/lib/libc.so (__start_thread+32)

    想用ndk中的addr2line来定位错误代码位置,但是不知道所需要的.so文件到底是哪个到底在哪里,项目中有引用aar包。
希望有大佬能解答一下,感谢万分!
  • 写回答

0条回答

    报告相同问题?

    悬赏问题

    • ¥15 js调用html页面需要隐藏某个按钮
    • ¥15 ads仿真结果在圆图上是怎么读数的
    • ¥20 Cotex M3的调试和程序执行方式是什么样的?
    • ¥15 一道python难题3
    • ¥15 牛顿斯科特系数表表示
    • ¥15 arduino 步进电机
    • ¥20 程序进入HardFault_Handler
    • ¥15 oracle集群安装出bug
    • ¥15 关于#python#的问题:自动化测试
    • ¥20 问题请教!vue项目关于Nginx配置nonce安全策略的问题