以下报错是什么原因呢?跟了很久的代码,也没有找到具体原因
2021-07-16 16:30:15 07-16 16:30:15.825 11812 13216 I HwAudioRecordImpl: sendStateChangedIntent, state=1
2021-07-16 16:30:15 07-16 16:30:15.826 11812 13216 I HwAudioRecordImpl: sendStateChangedIntent, state=1
2021-07-16 16:30:15 07-16 16:30:15.888 11812 13163 F art : art/runtime/java_vm_ext.cc:470] JNI DETECTED ERROR IN APPLICATION: obj == null
2021-07-16 16:30:15 07-16 16:30:15.889 11812 13163 F art : art/runtime/java_vm_ext.cc:470] in call to CallVoidMethodV
2021-07-16 16:30:15 07-16 16:30:15.889 11812 13163 F art : art/runtime/java_vm_ext.cc:470] "Thread-33" prio=5 tid=34 Runnable
2021-07-16 16:30:15 07-16 16:30:15.889 11812 13163 F art : art/runtime/java_vm_ext.cc:470] | group="main" sCount=0 dsCount=0 obj=0x13664c10 self=0x7b97a0e800
2021-07-16 16:30:15 07-16 16:30:15.889 11812 13163 F art : art/runtime/java_vm_ext.cc:470] | sysTid=13163 nice=0 cgrp=default sched=0/0 handle=0x7bbbbff450
2021-07-16 16:30:15 07-16 16:30:15.889 11812 13163 F art : art/runtime/java_vm_ext.cc:470] | state=R schedstat=( 4989646882 360926036 3412 ) utm=414 stm=84 core=3 HZ=100
2021-07-16 16:30:15 07-16 16:30:15.889 11812 13163 F art : art/runtime/java_vm_ext.cc:470] | stack=0x7bbbb05000-0x7bbbb07000 stackSize=1005KB
2021-07-16 16:30:15 07-16 16:30:15.889 11812 13163 F art : art/runtime/java_vm_ext.cc:470] | held mutexes= "mutator lock"(shared held)
2021-07-16 16:30:15 07-16 16:30:15.889 11812 13163 F art : art/runtime/java_vm_ext.cc:470] (no managed stack frames)
2021-07-16 16:30:15 07-16 16:30:15.889 11812 13163 F art : art/runtime/java_vm_ext.cc:470]
2021-07-16 16:30:15 07-16 16:30:15.966 11812 13163 F art : art/runtime/runtime.cc:408] Runtime aborting...
2021-07-16 16:30:15 07-16 16:30:15.966 11812 13163 F art : art/runtime/runtime.cc:408] Aborting thread:
2021-07-16 16:30:15 07-16 16:30:15.966 11812 13163 F art : art/runtime/runtime.cc:408] "Thread-33" prio=5 tid=34 Native
2021-07-16 16:30:15 07-16 16:30:15.966 11812 13163 F art : art/runtime/runtime.cc:408] | group="" sCount=0 dsCount=0 obj=0x13664c10 self=0x7b97a0e800
2021-07-16 16:30:15 07-16 16:30:15.966 11812 13163 F art : art/runtime/runtime.cc:408] | sysTid=13163 nice=0 cgrp=default sched=0/0 handle=0x7bbbbff450
2021-07-16 16:30:15 07-16 16:30:15.966 11812 13163 F art : art/runtime/runtime.cc:408] | state=R schedstat=( 4990639590 360926036 3412 ) utm=414 stm=84 core=3 HZ=100
2021-07-16 16:30:15 07-16 16:30:15.966 11812 13163 F art : art/runtime/runtime.cc:408] | stack=0x7bbbb05000-0x7bbbb07000 stackSize=1005KB
2021-07-16 16:30:15 07-16 16:30:15.966 11812 13163 F art : art/runtime/runtime.cc:408] | held mutexes= "abort lock"
2021-07-16 16:30:15 07-16 16:30:15.966 11812 13163 F art : art/runtime/runtime.cc:408] (no managed stack frames)
2021-07-16 16:30:15 07-16 16:30:15.966 11812 13163 F art : art/runtime/runtime.cc:408] Dumping all threads without appropriate locks held: thread list lock mutator lock
2021-07-16 16:30:15 07-16 16:30:15.966 11812 13163 F art : art/runtime/runtime.cc:408] All threads:
2021-07-16 16:30:16 07-16 16:30:15.966 11812 13163 F art : art/runtime/runtime.cc:408] DALVIK THREADS (38):
2021-07-16 16:30:16 07-16 16:30:15.966 11812 13163 F art : art/runtime/runtime.cc:408] "Thread-33" prio=5 tid=34 Runnable
2021-07-16 16:30:16 07-16 16:30:15.966 11812 13163 F art : art/runtime/runtime.cc:408] | group="" sCount=0 dsCount=0 obj=0x13664c10 self=0x7b97a0e800
2021-07-16 16:30:16 07-16 16:30:15.966 11812 13163 F art : art/runtime/runtime.cc:408] | sysTid=13163 nice=0 cgrp=default sched=0/0 handle=0x7bbbbff450
2021-07-16 16:30:16 07-16 16:30:15.966 11812 13163 F art : art/runtime/runtime.cc:408] | state=R schedstat=( 5015196360 361138016 3417 ) utm=414 stm=86 core=3 HZ=100
2021-07-16 16:30:16 07-16 16:30:15.966 11812 13163 F art : art/runtime/runtime.cc:408] | stack=0x7bbbb05000-0x7bbbb07000 stackSize=1005KB
2021-07-16 16:30:16 07-16 16:30:15.966 11812 13163 F art : art/runtime/runtime.cc:408] | held mutexes= "abort lock" "mutator lock"(shared held)
2021-07-16 16:30:16 07-16 16:30:15.966 11812 13163 F art : art/runtime/runtime.cc:408] (no managed stack frames)
2021-07-16 16:30:16 07-16 16:30:15.966 11812 13163 F art : art/runtime/runtime.cc:408]
2021-07-16 16:30:16 07-16 16:30:15.966 11812 13163 F art : art/runtime/runtime.cc:408] "main" prio=5 tid=1 Native
2021-07-16 16:30:16 07-16 16:30:15.966 11812 13163 F art : art/runtime/runtime.cc:408] | group="" sCount=1 dsCount=0 obj=0x77e810b0 self=0x7bedea1a00
2021-07-16 16:30:16 07-16 16:30:15.966 11812 13163 F art : art/runtime/runtime.cc:408] | sysTid=11812 nice=0 cgrp=default sched=0/0 handle=0x7bf1e77aa0
2021-07-16 16:30:16 07-16 16:30:15.966 11812 13163 F art : art/runtime/runtime.cc:408] | state=S schedstat=( 7586139133 1600515603 18521 ) utm=648 stm=109 core=1 HZ=100
2021-07-16 16:30:16 07-16 16:30:15.966 11812 13163 F art : art/runtime/runtime.cc:408] | stack=0x7fd8be8000-0x7fd8bea000 stackSize=8MB
2021-07-16 16:30:16 07-16 16:30:15.966 11812 13163 F art : art/runtime/runtime.cc:408] | held mutexes=
2021-07-16 16:30:16 07-16 16:30:15.966 11812 13163 F art : art/runtime/runtime.cc:408] kernel: __switch_to+0x80/0x98
2021-07-16 16:30:16 07-16 16:30:15.966 11812 13163 F art : art/runtime/runtime.cc:408] kernel: SyS_epoll_wait+0x36c/0x4e8
2021-07-16 16:30:16 07-16 16:30:15.966 11812 13163 F art : art/runtime/runtime.cc:408] kernel: SyS_epoll_pwait+0x170/0x17c
2021-07-16 16:30:16 07-16 16:30:15.966 11812 13163 F art : art/runtime/runtime.cc:408] kernel: el0_svc_naked+0x24/0x28
2021-07-16 16:30:16 07-16 16:30:15.966 11812 13163 F art : art/runtime/runtime.cc:408] at android.os.MessageQueue.nativePollOnce(Native method)
看了一下,应该是多线程造成的。