当前位置:网站首页>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 the volatile keyword
- Treatment of insufficient space in the root partition of armbain system
- [MySQL] basic use of explain and the function of each column
- Mysql 5.7 实现 rank 排名
- typescript枚举
- Use of locust
- Map container
- 毕业季,既是告别,也是新的开始
- 有些能力,是工作中学不来的,看看这篇超过90%同行
- Jielizhi Bluetooth headset quality control and production skills [chapter]
猜你喜欢

Copy ‘XXXX‘ to effectively final temp variable

AirServer最新Win64位个人版投屏软件

STM32F030F4驱动TIM1637数码管芯片

Airserver latest win64 bit personal screen projection software

玻璃马赛克

What is the relationship between modeling and later film and television?

思科考试--冗余网络

Aaai22 | structural tagging and interaction modeling: a "slim" network for graph classification

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

tcpdump命令使用详解
随机推荐
ESP自动下载电路设计
MySQL -- deduction of index storage model
AAAI22 | 结构标记和交互建模:用于图分类的“SLIM”网络
认识线程
dat.GUI
2022年起重机司机(限桥式起重机)考试试题及模拟考试
Advanced skills of testers: a guide to the application of unit test reports
“35岁,公司老总,月薪2万送外卖“:时代抛弃你,连声再见都没有
工作中非常重要的测试策略,你大概没注意过吧
关于游戏性能优化的一些感想
Detailed explanation of twenty common software testing methods (the most complete in History)
[applet] realize the left and right [sliding] list through the scroll view component
Genicam gentl standard ver1.5 (4) Chapter 5 acquisition engine
CKS CKA ckad change terminal to remote desktop
vim给目录加颜色
Redis~02 cache: how to ensure data consistency in MySQL and redis when updating data?
What are the benefits of third party acceptance testing? Recommended by professional third-party software testing institutions
js——arguments的使用
window安装wsl(二)
毕业季,既是告别,也是新的开始