当前位置:网站首页>SWT/ANR问题--SWT 导致 low memory killer(LMK)
SWT/ANR问题--SWT 导致 low memory killer(LMK)
2022-07-01 22:40:00 【专业开发者】
问题描述:
这是一个可以在一天内通过稳定性测试重现的SWT问题,概率为30%。
根据SWT trace .txt和log,在软件看门狗发生时间,一些线程在不同代码中被随机阻塞和阻塞,但大约9秒后,被阻塞的线程进入空闲状态。我们怀疑软件看门狗是由于整个手机的性能不好造成的。
当这个SWT发生时触发 memory dumps。已检查内存信息,空闲内存低,正常缓存内存。内核日志中有许多用于低优先级进程的LMK日志。
问题分析:
从logcat日志中,这个SWT被线程“android.fg”,“android.ui”和“android.display”。
根据跟踪日志,线程“android.fg”和“android.ui " was waiting to lock " 0x0ecf3bbc " hold by thread " ActivityManager ",这是等待锁定" 0x0f3257a8 " hold by thread "android.bg”调用非重函数Process.readProcFile()。大约9秒后,在“WATCHDOG KILLING”日志中,所有被阻塞的线程都在等待新任务准备就绪。
线程的锁等待序列
Thread "main"-> "ActivityManager"(lock:0x0ecf3bbc)->"android.bg"(lock:0x0f3257a8)
"android.ui"-> "ActivityManager"(lock:0x0ecf3bbc)-> "android.bg"(lock:0x0f3257a8)
日志分析ÿ
边栏推荐
- Explain ThreadLocal in detail
- 91. (cesium chapter) cesium rocket launch simulation
- win 10 mstsc连接 RemoteApp
- Demo program implementation of QT version Huarui camera
- [micro service sentinel] @sentinelresource details
- 软件测试之「 性能测试」总结,新手上路必会知识点
- 什么是马赛克?
- Zhongang Mining: it has inherent advantages to develop the characteristic chemical industry dominated by fluorine chemical industry
- 2022安全员-C证考试题模拟考试题库及模拟考试
- 证券开户选哪个证券公司比较好,哪个更安全
猜你喜欢

建模和影视后期有什么关联?

Zhongang Mining: it has inherent advantages to develop the characteristic chemical industry dominated by fluorine chemical industry

Wechat personal small store one click opening assistant applet development

数字化转型道阻且长,如何迈好关键的第一步

window10安装wsl(一)(WslRegisterDistribution ERROR)

91. (cesium chapter) cesium rocket launch simulation

rviz打开后如何显示实时2D地图

Stimulate new kinetic energy and promote digital economy in multiple places

CKS CKA ckad change terminal to remote desktop

使用3DMax制作一个象棋棋子
随机推荐
第三方验收测试有什么好处?专业第三方软件测试机构推荐
Cisco -- an external tool for WAN's concept examination
Treatment of insufficient space in the root partition of armbain system
Explain the use of locksupport in detail
Where can the courses purchased by CSDN be accessed
Map container
【微服务|Sentinel】SentinelResourceAspect详解
Cisco -- highly available and reliable network examination
mysql ---- Oracle中的rownum转换成MySQL
Wechat personal small store one click opening assistant applet development
Groups and ranges of regular series
I graduated from college in 14 years and changed to software testing in 3 months. My monthly salary was 13.5k. At the age of 32, I finally found the right direction
建模和影视后期有什么关联?
[target tracking] | single target tracking indicator
认识线程
2022年危险化学品经营单位安全管理人员考试题及在线模拟考试
locust的使用
【Kotlin 第三方 】coil koltin协程图片加载库Coil类似Glide的图片加载第三方
dat.GUI
Istio, ebpf and rsocket Broker: in depth study of service grid