Check failed: Thread::Current() != GetDebugThread() (Thread::Current()=0xaa98e400, GetDebugThread()=

断点调式的时候遇到如下问题,程序崩溃,亲测下图方法可以
04-08 20:42:42.560 21405-21412/com.littlegold.littlegoldweather A/art: art/runtime/runtime.cc:422] Runtime aborting...
04-08 20:42:42.560 21405-21412/com.littlegold.littlegoldweather A/art: art/runtime/runtime.cc:422] Aborting thread:
04-08 20:42:42.560 21405-21412/com.littlegold.littlegoldweather A/art: art/runtime/runtime.cc:422] "JDWP" prio=5 tid=4 WaitingForDebuggerSend
04-08 20:42:42.561 21405-21412/com.littlegold.littlegoldweather A/art: art/runtime/runtime.cc:422]   | group="" sCount=0 dsCount=0 obj=0x12cc0ee0 self=0xaa98e400
04-08 20:42:42.561 21405-21412/com.littlegold.littlegoldweather A/art: art/runtime/runtime.cc:422]   | sysTid=21412 nice=0 cgrp=default sched=0/0 handle=0xb1223920
04-08 20:42:42.561 21405-21412/com.littlegold.littlegoldweather A/art: art/runtime/runtime.cc:422]   | state=R schedstat=( 155036521 16028384 182 ) utm=12 stm=2 core=3 HZ=100
04-08 20:42:42.561 21405-21412/com.littlegold.littlegoldweather A/art: art/runtime/runtime.cc:422]   | stack=0xb1127000-0xb1129000 stackSize=1014KB
04-08 20:42:42.561 21405-21412/com.littlegold.littlegoldweather A/art: art/runtime/runtime.cc:422]   | held mutexes= "abort lock"
04-08 20:42:42.561 21405-21412/com.littlegold.littlegoldweather A/art: art/runtime/runtime.cc:422]   native: #00 pc 00351069  /system/lib/libart.so (_ZN3art15DumpNativeStackERNSt3__113basic_ostreamIcNS0_11char_traitsIcEEEEiP12BacktraceMapPKcPNS_9ArtMethodEPv+128)
04-08 20:42:42.561 21405-21412/com.littlegold.littlegoldweather A/art: art/runtime/runtime.cc:422]   native: #01 pc 00331729  /system/lib/libart.so (_ZNK3art6Thread9DumpStackERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEEbP12BacktraceMap+304)
04-08 20:42:42.561 21405-21412/com.littlegold.littlegoldweather A/art: art/runtime/runtime.cc:422]   native: #02 pc 003247a1  /system/lib/libart.so (_ZNK3art10AbortState10DumpThreadERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEEPNS_6ThreadE+24)
04-08 20:42:42.561 21405-21412/com.littlegold.littlegoldweather A/art: art/runtime/runtime.cc:422]   native: #03 pc 00324629  /system/lib/libart.so (_ZNK3art10AbortState4DumpERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEE+424)
04-08 20:42:42.561 21405-21412/com.littlegold.littlegoldweather A/art: art/runtime/runtime.cc:422]   native: #04 pc 0031b351  /system/lib/libart.so (_ZN3art7Runtime5AbortEPKc+92)
04-08 20:42:42.561 21405-21412/com.littlegold.littlegoldweather A/art: art/runtime/runtime.cc:422]   native: #05 pc 000b526b  /system/lib/libart.so (_ZN3art10LogMessageD2Ev+1134)
04-08 20:42:42.561 21405-21412/com.littlegold.littlegoldweather A/art: art/runtime/runtime.cc:422]   native: #06 pc 0023fc93  /system/lib/libart.so (_ZN3art4JDWP9JdwpState24AcquireJdwpTokenForEventEy+398)
04-08 20:42:42.561 21405-21412/com.littlegold.littlegoldweather A/art: art/runtime/runtime.cc:422]   native: #07 pc 0023f5e1  /system/lib/libart.so (_ZN3art4JDWP9JdwpState29SendRequestAndPossiblySuspendEPNS0_9ExpandBufENS0_17JdwpSuspendPolicyEy+180)
04-08 20:42:42.561 21405-21412/com.littlegold.littlegoldweather A/art: art/runtime/runtime.cc:422]   native: #08 pc 0024301b  /system/lib/libart.so (_ZN3art4JDWP9JdwpState16PostClassPrepareEPNS_6mirror5ClassE+914)
04-08 20:42:42.561 21405-21412/com.littlegold.littlegoldweather A/art: art/runtime/runtime.cc:422]   native: #09 pc 000e4db5  /system/lib/libart.so (_ZN3art11ClassLinker11DefineClassEPNS_6ThreadEPKcjNS_6HandleINS_6mirror11ClassLoaderEEERKNS_7DexFileERKNS9_8ClassDefE+560)
04-08 20:42:42.561 21405-21412/com.littlegold.littlegoldweather A/art: art/runtime/runtime.cc:422]   native: #10 pc 000e4a15  /system/lib/libart.so (_ZN3art11ClassLinker26FindClassInPathClassLoaderERNS_33ScopedObjectAccessAlreadyRunnableEPNS_6ThreadEPKcjNS_6HandleINS_6mirror11ClassLoaderEEEPPNS8_5ClassE+1016)
04-08 20:42:42.561 21405-21412/com.littlegold.littlegoldweather A/art: art/runtime/runtime.cc:422]   native: #11 pc 000e55ef  /system/lib/libart.so (_ZN3art11ClassLinker9FindClassEPNS_6ThreadEPKcNS_6HandleINS_6mirror11ClassLoaderEEE+658)
04-08 20:42:42.561 21405-21412/com.littlegold.littlegoldweather A/art: art/runtime/runtime.cc:422]   native: #12 pc 00372d8b  /system/lib/libart.so (_ZN3art8verifier12RegTypeCache12ResolveClassEPKcPNS_6mirror11ClassLoaderE+106)
04-08 20:42:42.561 21405-21412/com.littlegold.littlegoldweather A/art: art/runtime/runtime.cc:422]   native: #13 pc 00372989  /system/lib/libart.so (_ZN3art8verifier12RegTypeCache4FromEPNS_6mirror11ClassLoaderEPKcb+408)
04-08 20:42:42.561 21405-21412/com.littlegold.littlegoldweather A/art: art/runtime/runtime.cc:422]   native: #14 pc 0035d12d  /system/lib/libart.so (_ZN3art8verifier14MethodVerifier26ResolveClassAndCheckAccessEj+192)
04-08 20:42:42.561 21405-21412/com.littlegold.littlegoldweather A/art: art/runtime/runtime.cc:422]   native: #15 pc 0035e173  /system/lib/libart.so (_ZN3art8verifier14MethodVerifier25CodeFlowVerifyInstructionEPj+2918)
04-08 20:42:42.561 21405-21412/com.littlegold.littlegoldweather A/art: art/runtime/runtime.cc:422]   native: #16 pc 0035cecf  /system/lib/libart.so (_ZN3art8verifier14MethodVerifier20CodeFlowVerifyMethodEv+238)
04-08 20:42:42.561 21405-21412/com.littlegold.littlegoldweather A/art: art/runtime/runtime.cc:422]   native: #17 pc 00359e29  /system/lib/libart.so (_ZN3art8verifier14MethodVerifier14VerifyCodeFlowEv+628)
04-08 20:42:42.561 21405-21412/com.littlegold.littlegoldweather A/art: art/runtime/runtime.cc:422]   native: #18 pc 00357579  /system/lib/libart.so (_ZN3art8verifier14MethodVerifier6VerifyEv+484)
04-08 20:42:42.561 21405-21412/com.littlegold.littlegoldweather A/art: art/runtime/runtime.cc:422]   native: #19 pc 00356a79  /system/lib/libart.so (_ZN3art8verifier14MethodVerifier12VerifyMethodEPNS_6ThreadEjPKNS_7DexFileENS_6HandleINS_6mirror8DexCacheEEENS7_INS8_11ClassLoaderEEEPKNS4_8ClassDefEPKNS4_8CodeItemEPNS_9ArtMethodEjPNS_17CompilerCallbacksEbNS_11LogSeverityEbPNSt3__112basic_stringIcNSO_11char_traitsIcEENSO_9allocatorIcEEEE+108)
04-08 20:42:42.561 21405-21412/com.littlegold.littlegoldweather A/art: art/runtime/runtime.cc:422]   native: #20 pc 003562d3  /system/lib/libart.so (_ZN3art8verifier14MethodVerifier13VerifyMethodsILb1EEENS1_11FailureDataEPNS_6ThreadEPNS_11ClassLinkerEPKNS_7DexFileEPKNS8_8ClassDefEPNS_21ClassDataItemIteratorENS_6HandleINS_6mirror8DexCacheEEENSG_INSH_11ClassLoaderEEEPNS_17CompilerCallbacksEbNS_11LogSeverityEbPNSt3__112basic_stringIcNSP_11char_traitsIcEENSP_9allocatorIcEEEE+426)
04-08 20:42:42.561 21405-21412/com.littlegold.littlegoldweather A/art: art/runtime/runtime.cc:422]   native: #21 pc 00355d97  /system/lib/libart.so (_ZN3art8verifier14MethodVerifier11VerifyClassEPNS_6ThreadEPKNS_7DexFileENS_6HandleINS_6mirror8DexCacheEEENS7_INS8_11ClassLoaderEEEPKNS4_8ClassDefEPNS_17CompilerCallbacksEbNS_11LogSeverityEPNSt3__112basic_stringIcNSJ_11char_traitsIcEENSJ_9allocatorIcEEEE+418)
04-08 20:42:42.561 21405-21412/com.littlegold.littlegoldweather A/art: art/runtime/runtime.cc:422]   native: #22 pc 003555c9  /system/lib/libart.so (_ZN3art8verifier14MethodVerifier11VerifyClassEPNS_6ThreadEPNS_6mirror5ClassEPNS_17CompilerCallbacksEbNS_11LogSeverityEPNSt3__112basic_stringIcNSA_11char_traitsIcEENSA_9allocatorIcEEEE+316)
04-08 20:42:42.561 21405-21412/com.littlegold.littlegoldweather A/art: art/runtime/runtime.cc:422]   native: #23 pc 000ebd63  /system/lib/libart.so (_ZN3art11ClassLinker11VerifyClassEPNS_6ThreadENS_6HandleINS_6mirror5ClassEEENS_11LogSeverityE+1298)
04-08 20:42:42.561 21405-21412/com.littlegold.littlegoldweather A/art: art/runtime/runtime.cc:422]   native: #24 pc 000efa29  /system/lib/libart.so (_ZN3art11ClassLinker15InitializeClassEPNS_6ThreadENS_6HandleINS_6mirror5ClassEEEbb+176)
04-08 20:42:42.561 21405-21412/com.littlegold.littlegoldweather A/art: art/runtime/runtime.cc:422]   native: #25 pc 000db619  /system/lib/libart.so (_ZN3art11ClassLinker17EnsureInitializedEPNS_6ThreadENS_6HandleINS_6mirror5ClassEEEbb+120)
04-08 20:42:42.561 21405-21412/com.littlegold.littlegoldweather A/art: art/runtime/runtime.cc:422]   native: #26 pc 001147f7  /system/lib/libart.so (_ZN3artL17GetFieldValueImplEyyyPNS_4JDWP9ExpandBufEb+1058)
04-08 20:42:42.561 21405-21412/com.littlegold.littlegoldweather A/art: art/runtime/runtime.cc:422]   native: #27 pc 00114be1  /system/lib/libart.so (_ZN3art3Dbg19GetStaticFieldValueEyyPNS_4JDWP9ExpandBufE+20)
04-08 20:42:42.561 21405-21412/com.littlegold.littlegoldweather A/art: art/runtime/runtime.cc:422]   native: #28 pc 002454f9  /system/lib/libart.so (_ZN3art4JDWPL12RT_GetValuesEPNS0_9JdwpStateEPNS0_7RequestEPNS0_9ExpandBufE+64)
04-08 20:42:42.561 21405-21412/com.littlegold.littlegoldweather A/art: art/runtime/runtime.cc:422]   native: #29 pc 0024439d  /system/lib/libart.so (_ZN3art4JDWP9JdwpState14ProcessRequestEPNS0_7RequestEPNS0_9ExpandBufEPb+584)
04-08 20:42:42.561 21405-21412/com.littlegold.littlegoldweather A/art: art/runtime/runtime.cc:422]   native: #30 pc 00249205  /system/lib/libart.so (_ZN3art4JDWP9JdwpState12HandlePacketEv+120)
04-08 20:42:42.561 21405-21412/com.littlegold.littlegoldweather A/art: art/runtime/runtime.cc:422]   native: #31 pc 003fc5bb  /system/lib/libart.so (_ZN3art4JDWP12JdwpAdbState15ProcessIncomingEv+678)
04-08 20:42:42.561 21405-21412/com.littlegold.littlegoldweather A/art: art/runtime/runtime.cc:422]   native: #32 pc 002495df  /system/lib/libart.so (_ZN3art4JDWP9JdwpState3RunEv+654)
04-08 20:42:42.561 21405-21412/com.littlegold.littlegoldweather A/art: art/runtime/runtime.cc:422]   native: #33 pc 00248d7f  /system/lib/libart.so (_ZN3art4JDWPL15StartJdwpThreadEPv+22)
04-08 20:42:42.561 21405-21412/com.littlegold.littlegoldweather A/art: art/runtime/runtime.cc:422]   native: #34 pc 00047093  /system/lib/libc.so (_ZL15__pthread_startPv+22)
04-08 20:42:42.561 21405-21412/com.littlegold.littlegoldweather A/art: art/runtime/runtime.cc:422]   native: #35 pc 00019bdd  /system/lib/libc.so (__start_thread+6)
04-08 20:42:42.561 21405-21412/com.littlegold.littlegoldweather A/art: art/runtime/runtime.cc:422]   (no managed stack frames)
04-08 20:42:42.561 21405-21412/com.littlegold.littlegoldweather A/art: art/runtime/runtime.cc:422] Dumping all threads without appropriate locks held: thread list lock mutator lock
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值