应用程序在Nougat 7.1.1中以调试模式崩溃

时间:2018-03-08 09:34:47

标签: android

应用程序在Nougat 7.1.1中以调试模式崩溃。 它只在我在Android 7.1.1中调试时崩溃,在Android 6.0和5.1中,它在调试模式和运行模式下运行良好。 log cat中显示的错误是 -

03-08 14:50:35.227 17744-17751/my.package.name A/art: art/runtime/jdwp/jdwp_event.cc:661] Check failed: Thread::Current() != GetDebugThread() (Thread::Current()=0xaa00e400, GetDebugThread()=0xaa00e400) Expected event thread
03-08 14:50:35.479 17744-17751/my.package.name A/art: art/runtime/runtime.cc:460] Runtime aborting...
03-08 14:50:35.479 17744-17751/my.package.name A/art: art/runtime/runtime.cc:460] Aborting thread:
03-08 14:50:35.479 17744-17751/my.package.name A/art: art/runtime/runtime.cc:460] "JDWP" prio=5 tid=4 WaitingForDebuggerSend
03-08 14:50:35.479 17744-17751/my.package.name A/art: art/runtime/runtime.cc:460]   | group="" sCount=0 dsCount=0 obj=0x12c65280 self=0xaa00e400
03-08 14:50:35.479 17744-17751/my.package.name A/art: art/runtime/runtime.cc:460]   | sysTid=17751 nice=0 cgrp=default sched=0/0 handle=0xb02a1920
03-08 14:50:35.479 17744-17751/my.package.name A/art: art/runtime/runtime.cc:460]   | state=R schedstat=( 1170626602 80340702 9916 ) utm=69 stm=48 core=0 HZ=100
03-08 14:50:35.479 17744-17751/my.package.name A/art: art/runtime/runtime.cc:460]   | stack=0xb01a5000-0xb01a7000 stackSize=1014KB
03-08 14:50:35.479 17744-17751/my.package.name A/art: art/runtime/runtime.cc:460]   | held mutexes= "abort lock"
03-08 14:50:35.479 17744-17751/my.package.name A/art: art/runtime/runtime.cc:460]   native: #00 pc 00353965  /system/lib/libart.so (_ZN3art15DumpNativeStackERNSt3__113basic_ostreamIcNS0_11char_traitsIcEEEEiP12BacktraceMapPKcPNS_9ArtMethodEPv+128)
03-08 14:50:35.479 17744-17751/my.package.name A/art: art/runtime/runtime.cc:460]   native: #01 pc 003340d1  /system/lib/libart.so (_ZNK3art6Thread9DumpStackERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEEbP12BacktraceMap+632)
03-08 14:50:35.479 17744-17751/my.package.name A/art: art/runtime/runtime.cc:460]   native: #02 pc 00327019  /system/lib/libart.so (_ZNK3art10AbortState10DumpThreadERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEEPNS_6ThreadE+24)
03-08 14:50:35.479 17744-17751/my.package.name A/art: art/runtime/runtime.cc:460]   (no managed stack frames)
03-08 14:50:35.479 17744-17751/my.package.name A/art: art/runtime/runtime.cc:460] Dumping all threads without appropriate locks held: thread list lock mutator lock
03-08 14:50:35.479 17744-17751/my.package.name A/art: art/runtime/runtime.cc:460] All threads:
03-08 14:50:35.479 17744-17751/my.package.name A/art: art/runtime/runtime.cc:460] DALVIK THREADS (22):
03-08 14:50:35.479 17744-17751/my.package.name A/art: art/runtime/runtime.cc:460] "JDWP" prio=5 tid=4 Runnable
03-08 14:50:35.479 17744-17751/my.package.name A/art: art/runtime/runtime.cc:460]   | group="" sCount=0 dsCount=0 obj=0x12c65280 self=0xaa00e400
03-08 14:50:35.479 17744-17751/my.package.name A/art: art/runtime/runtime.cc:460]   | sysTid=17751 nice=0 cgrp=default sched=0/0 handle=0xb02a1920
03-08 14:50:35.479 17744-17751/my.package.name A/art: art/runtime/runtime.cc:460]   | state=R schedstat=( 1231708294 80453702 9917 ) utm=74 stm=49 core=3 HZ=100
03-08 14:50:35.479 17744-17751/my.package.name A/art: art/runtime/runtime.cc:460]   | stack=0xb01a5000-0xb01a7000 stackSize=1014KB
03-08 14:50:35.479 17744-17751/my.package.name A/art: art/runtime/runtime.cc:460]   | held mutexes= "abort lock" "mutator lock"(shared held)
03-08 14:50:35.479 17744-17751/my.package.name A/art: art/runtime/runtime.cc:460]   native: #00 pc 00353965  /system/lib/libart.so (_ZN3art15DumpNativeStackERNSt3__113basic_ostreamIcNS0_11char_traitsIcEEEEiP12BacktraceMapPKcPNS_9ArtMethodEPv+128)
03-08 14:50:35.479 17744-17751/my.package.name A/art: art/runtime/runtime.cc:460]   native: #01 pc 003340d1  /system/lib/libart.so (_ZNK3art6Thread9DumpStackERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEEbP12BacktraceMap+632)
03-08 14:50:35.479 17744-17751/my.package.name A/art: art/runtime/runtime.cc:460]   native: #02 pc 00346185  /system/lib/libart.so (_ZN3art14DumpCheckpoint3RunEPNS_6ThreadE+620)
03-08 14:50:35.479 17744-17751/my.package.name A/art: art/runtime/runtime.cc:460]   native: #03 pc 003401cb  /system/lib/libart.so (_ZN3art10ThreadList13RunCheckpointEPNS_7ClosureE+330)
03-08 14:50:35.479 17744-17751/my.package.name A/art: art/runtime/runtime.cc:460]   native: #04 pc 0033fec7  /system/lib/libart.so (_ZN3art10ThreadList4DumpERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEEb+586)
03-08 14:50:35.479 17744-17751/my.package.name A/art: art/runtime/runtime.cc:460]   native: #05 pc 00326e6d  /system/lib/libart.so (_ZNK3art10AbortState4DumpERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEE+372)
03-08 14:50:35.479 17744-17751/my.package.name A/art: art/runtime/runtime.cc:460]   native: #06 pc 0031dcc9  /system/lib/libart.so (_ZN3art7Runtime5AbortEPKc+92)
03-08 14:50:35.479 17744-17751/my.package.name A/art: art/runtime/runtime.cc:460]   native: #07 pc 000b5745  /system/lib/libart.so (_ZN3art10LogMessageD2Ev+1132)
03-08 14:50:35.479 17744-17751/my.package.name A/art: art/runtime/runtime.cc:460]   native: #08 pc 00242881  /system/lib/libart.so (_ZN3art4JDWP9JdwpState24AcquireJdwpTokenForEventEy+396)
03-08 14:50:35.479 17744-17751/my.package.name A/art: art/runtime/runtime.cc:460]   native: #09 pc 002421d9  /system/lib/libart.so (_ZN3art4JDWP9JdwpState29SendRequestAndPossiblySuspendEPNS0_9ExpandBufENS0_17JdwpSuspendPolicyEy+180)
03-08 14:50:35.479 17744-17751/my.package.name A/art: art/runtime/runtime.cc:460]   native: #10 pc 00245bf3  /system/lib/libart.so (_ZN3art4JDWP9JdwpState16PostClassPrepareEPNS_6mirror5ClassE+914)
03-08 14:50:35.479 17744-17751/my.package.name A/art: art/runtime/runtime.cc:460]   native: #11 pc 000e508f  /system/lib/libart.so (_ZN3art11ClassLinker11DefineClassEPNS_6ThreadEPKcjNS_6HandleINS_6mirror11ClassLoaderEEERKNS_7DexFileERKNS9_8ClassDefE+562)
03-08 14:50:35.479 17744-17751/my.package.name A/art: art/runtime/runtime.cc:460]   native: #12 pc 000e4ced  /system/lib/libart.so (_ZN3art11ClassLinker26FindClassInPathClassLoaderERNS_33ScopedObjectAccessAlreadyRunnableEPNS_6ThreadEPKcjNS_6HandleINS_6mirror11ClassLoaderEEEPPNS8_5ClassE+1008)
03-08 14:50:35.479 17744-17751/my.package.name A/art: art/runtime/runtime.cc:460]   native: #13 pc 000e58c3  /system/lib/libart.so (_ZN3art11ClassLinker9FindClassEPNS_6ThreadEPKcNS_6HandleINS_6mirror11ClassLoaderEEE+658)
03-08 14:50:35.479 17744-17751/my.package.name A/art: art/runtime/runtime.cc:460]   native: #14 pc 00375517  /system/lib/libart.so (_ZN3art8verifier12RegTypeCache12ResolveClassEPKcPNS_6mirror11ClassLoaderE+106)
03-08 14:50:35.479 17744-17751/my.package.name A/art: art/runtime/runtime.cc:460]   native: #15 pc 00375119  /system/lib/libart.so (_ZN3art8verifier12RegTypeCache4FromEPNS_6mirror11ClassLoaderEPKcb+408)
03-08 14:50:35.480 17744-17751/my.package.name A/art: art/runtime/runtime.cc:460]   native: #16 pc 0035f9b3  /system/lib/libart.so (_ZN3art8verifier14MethodVerifier26ResolveClassAndCheckAccessEj+190)
03-08 14:50:35.480 17744-17751/my.package.name A/art: art/runtime/runtime.cc:460]   native: #17 pc 003614c3  /system/lib/libart.so (_ZN3art8verifier14MethodVerifier25CodeFlowVerifyInstructionEPj+5678)
03-08 14:50:35.480 17744-17751/my.package.name A/art: art/runtime/runtime.cc:460]   native: #18 pc 0035f757  /system/lib/libart.so (_ZN3art8verifier14MethodVerifier20CodeFlowVerifyMethodEv+242)
03-08 14:50:35.480 17744-17751/my.package.name A/art: art/runtime/runtime.cc:460]   native: #19 pc 0035c6b1  /system/lib/libart.so (_ZN3art8verifier14MethodVerifier14VerifyCodeFlowEv+632)
03-08 14:50:35.480 17744-17751/my.package.name A/art: art/runtime/runtime.cc:460]   native: #20 pc 00359e0d  /system/lib/libart.so (_ZN3art8verifier14MethodVerifier6VerifyEv+484)
03-08 14:50:35.480 17744-17751/my.package.name A/art: art/runtime/runtime.cc:460]   native: #21 pc 00359311  /system/lib/libart.so (_ZN3art8verifier14MethodVerifier12VerifyMethodEPNS_6ThreadEjPKNS_7DexFileENS_6HandleINS_6mirror8DexCacheEEENS7_INS8_11ClassLoaderEEEPKNS4_8ClassDefEPKNS4_8CodeItemEPNS_9ArtMethodEjPNS_17CompilerCallbacksEbNS_11LogSeverityEbPNSt3__112basic_stringIcNSO_11char_traitsIcEENSO_9allocatorIcEEEE+112)
03-08 14:50:35.480 17744-17751/my.package.name A/art: art/runtime/runtime.cc:460]   native: #22 pc 00358fd1  /system/lib/libart.so (_ZN3art8verifier14MethodVerifier13VerifyMethodsILb0EEENS1_11FailureDataEPNS_6ThreadEPNS_11ClassLinkerEPKNS_7DexFileEPKNS8_8ClassDefEPNS_21ClassDataItemIteratorENS_6HandleINS_6mirror8DexCacheEEENSG_INSH_11ClassLoaderEEEPNS_17CompilerCallbacksEbNS_11LogSeverityEbPNSt3__112basic_stringIcNSP_11char_traitsIcEENSP_9allocatorIcEEEE+432)

0 个答案:

没有答案