当前位置:网站首页>SWT / anr problem - SWT causes low memory killer (LMK)
SWT / anr problem - SWT causes low memory killer (LMK)
2022-07-01 23:20:00 【Professional developer】
Problem description :
This is one that can be reproduced by stability tests in one day SWT problem , The probability of 30%.
according to SWT trace .txt and log, When the software watchdog occurs , Some threads are randomly blocked and blocked in different code , But about 9 Seconds later , The blocked thread enters the idle state . We suspect that the software watchdog is caused by the poor performance of the whole mobile phone .
When this SWT Trigger when it happens memory dumps. Checked memory information , Low free memory , Normal cache memory . There are many for low priority processes in the kernel log LMK journal .
Problem analysis :
from logcat In the log , This SWT Threaded “android.fg”,“android.ui” and “android.display”.
According to the trace log , Threads “android.fg” and “android.ui " was waiting to lock " 0x0ecf3bbc " hold by thread " ActivityManager ", This is waiting for locking " 0x0f3257a8 " hold by thread "android.bg” Call non duplicate functions Process.readProcFile(). about 9 Seconds later , stay “WATCHDOG KILLING” In the log , All blocked threads are waiting for the new task to be ready .
Lock waiting sequence of thread
Thread "main"-> "ActivityManager"(lock:0x0ecf3bbc)->"android.bg"(lock:0x0f3257a8)
"android.ui"-> "ActivityManager"(lock:0x0ecf3bbc)-> "android.bg"(lock:0x0f3257a8)
Log analysis ÿ
边栏推荐
- Design of ESP automatic download circuit
- Matplotlib常用设置
- 【嵌入式系统课设】单个按键控制LED灯
- [micro service sentinel] sentinel integrates openfeign
- MySQL binlog cleanup
- Three development trends of enterprise application from the perspective of the third technological revolution
- 问题随记 —— file /usr/share/mysql/charsets/README from install of MySQL-server-5.1.73-1.glibc23.x86_64 c
- 数字化转型道阻且长,如何迈好关键的第一步
- 赵福全:短期解决保供,长期要打造安全、高效有韧性的供应链
- The online beggar function of Japanese shopping websites
猜你喜欢

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

Cisco -- an external tool for WAN's concept examination

shell 流程控制

2022 safety officer-c certificate examination question simulation examination question bank and simulation examination

The online beggar function of Japanese shopping websites

Paramètres communs de matplotlib

What is the mosaic tailgate?

Zhao Fuquan: to ensure supply in the short term, we should build a safe, efficient and resilient supply chain in the long term

SWT/ANR问题--SWT 导致 kernel fuse deadlock

什么是马赛克?
随机推荐
dat.GUI
[micro service sentinel] sentinel integrates openfeign
Zhongang Mining: it has inherent advantages to develop the characteristic chemical industry dominated by fluorine chemical industry
CKS CKA CKAD 将终端更改为远程桌面
2022 examination questions and online simulation examination for safety management personnel of hazardous chemical business units
物联网应用技术专业是属于什么类
Design of ESP automatic download circuit
openresty 负载均衡
Glass mosaic
Jielizhi, production line assembly link [chapter]
js——arguments的使用
Detailed explanation of twenty common software testing methods (the most complete in History)
What is the relationship between modeling and later film and television?
Use 3DMAX to make a chess piece
What is the mosaic tailgate?
问题随记 —— file /usr/share/mysql/charsets/README from install of MySQL-server-5.1.73-1.glibc23.x86_64 c
什么是马赛克?
2022年R1快开门式压力容器操作考题及答案
MySQL -- convert rownum in Oracle to MySQL
共享电商的背后: 共创、共生、共享、共富,共赢的共富精神