Dumping all threads without appropriate locks held: thread list lock mutator lock报错原因?
以下报错是什么原因呢?跟了很久的代码,也没有找到具体原因
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)
看了一下,应该是多线程造成的。
可以参考一下:https://blog.csdn.net/itheimach/article/details/78952304的解决方案,先试一下,看有没有效果。
Dumping all threads without appropriate locks held: thread list lock mutator lock报错原因?相关推荐
- 编译Android源码:Exception in thread main java.lang.UnsupportedClassVersionError:报错解决
报错: Exception in thread "main" java.lang.UnsupportedClassVersionError: com/android/verity/ ...
- jpa 报错:No EntityManager with actual transaction available for current thread - cannot reliably proce
No EntityManager with actual transaction available for current thread - cannot reliably process 'rem ...
- json报错Exception in thread http-bio-8888-exec- java.lang.StackOverflowError
今天遇到一个报错,用json解析的时候报错,报错的是这行JSONObject jsonObject = JSONObject.fromObject(obj);代码,因为这行代码陷入了死循环,我自己分析 ...
- undefined reference to `pthread_create‘(linux下Clion使用thread报错)
完整报错: ====================[ Build | AsyncLogger | Debug ]============================= /snap/clion/1 ...
- Python报错: Unhandled exception in thread started by Error in sys.excepthook
今天要写个简单脚本,模拟同时50个用户往服务器上传东西. 就简单用 thread.start_new_thread(func, ()) 结果运行的时候报错: Unhandled exception i ...
- 解决pycharm运行多线程程序报错Unhandled exception in thread started by sys.excepthook is missing
运行报错实例代码: import time import threaddef timer(no, interval):cnt = 0 while cnt < 3:print 'Thread:(% ...
- php 线程池 thread,c++,thread_使用C++实现线程池报错,std::thread,c++,thread - phpStudy
使用C++实现线程池报错,std::thread 我想用C++实现一个线程池,有2个文件:一个是thread.cpp,还有一个是threadpool_test.cpp.thread.cpp有2个类,一 ...
- ECLIPSE启动不了,报错org.eclipse.swt.SWTException: Invalid thread access
春节上班第二天一大早ECLIPSE启动不了,报错 org.eclipse.swt.SWTException: Invalid thread access 打开这个日志文件一看,里面报了一个异常: or ...
- 【错误记录】Groovy 运行报错 ( Exception in thread “main“ groovy.lang.MissingMethodException: No signature of )
一.报错信息 在使用 Groovy 闭包时 , 会报如下错误 : Exception in thread "main" groovy.lang.MissingMethodExcep ...
最新文章
- Material-UI使用
- 感知机算法的两种表示
- ERP系统的一般构成示意图
- 计算机服务业纳税,2018年全国软件和信息技术服务业增值税、消费税、营业税等各税收收入情况(附各地区)...
- html5点击按钮出现弹窗 怎么实现_HTML5游戏开发过程中的二三事
- 利用Matlab拟合时序植被生长季曲线,并求解物候参数
- 华为在爱尔兰增设150个LTE研发职位
- c语言统计输入的字符数字的个数字,请问这个用c怎么做:输入一串字符,分别统计其中数字和字母的个数...
- mysql中表的约束,主键外键唯一键
- ggplot2 | 注释函数
- c语言高精度计算函数库
- 编程之美2.2 不要被阶乘吓到
- 车载蓝牙音频系统测试
- 1.爬虫系统学习--爬虫应知知识(后续还会更新)
- 阿里云产品之基于OSS快速搭建Web网站
- IAR调试stm8的优化设置
- 电信近期有充值送红包的活动
- X10 电阻屏tsc2007调试
- [日常训练] Surprise me
- ARM主板跑java_在ARM Cortex-M3上编写一个简单的C任意代码执行漏洞?
热门文章
- Qt按ESC关闭模态对话框不触发closeEvent()问题解析(转)
- 腾讯云网站备案咨询类解答:网站是否需要备案?
- 我爱我家半年报:营收60.82亿,长租公寓成为品牌护城河
- json里读取电视源
- 洛谷P1365 WJMZBMR打osu 题解
- P1365 WJMZBMR打osu! / Easy
- 数字图像处理(12): 形态学处理——图像腐蚀与图像膨胀
- 阿里云产品推荐——网关
- 基于VMware Workstation 15.5版本软件安装虚拟机和Linux系统
- “同声译”荣获计算机软件著作权登记证书