当前位置:网站首页>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 ÿ
边栏推荐
- Istio, ebpf and rsocket Broker: in depth study of service grid
- "35 years old, the boss of the company, with a monthly salary of 20000, give away takeout": the times abandoned you, not even saying goodbye
- Istio、eBPF 和 RSocket Broker:深入研究服务网格
- Groups and ranges of regular series
- Linux基础 —— CentOS7 离线安装 MySQL
- shell 自定义函数
- 物联网应用技术专业是属于什么类
- What are the benefits of third party acceptance testing? Recommended by professional third-party software testing institutions
- 【Swoole系列1】在Swoole的世界中,你将学习到什么?
- MT manager test skiing Adventure
猜你喜欢
CADD course learning (3) -- target drug interaction
Cisco -- highly available and reliable network examination
云信小课堂 | IM及音视频中常见的认知误区
flutter Unable to load asset: assets/images/888.png
win 10 mstsc连接 RemoteApp
Multiple smart pointers
2022年危险化学品经营单位安全管理人员考试题及在线模拟考试
常见的二十种软件测试方法详解(史上最全)
2022安全员-C证考试题模拟考试题库及模拟考试
Some abilities can't be learned from work. Look at this article, more than 90% of peers
随机推荐
2022 examination questions and online simulation examination for safety management personnel of hazardous chemical business units
window10安装wsl(一)(WslRegisterDistribution ERROR)
上海炒股开户选择手机办理安全吗?
数字化转型道阻且长,如何迈好关键的第一步
Linux基础 —— CentOS7 离线安装 MySQL
Who do you want to know when opening a stock account? Is it safe to open an account online?
You probably haven't noticed the very important testing strategy in your work
The online beggar function of Japanese shopping websites
为什么PHP叫超文本预处理器
内存泄露和内存溢出的区别是什么?
2022 crane driver (limited to bridge crane) examination questions and simulation examination
window安装wsl(二)
win 10 mstsc连接 RemoteApp
问题随记 —— file /usr/share/mysql/charsets/README from install of MySQL-server-5.1.73-1.glibc23.x86_64 c
Matplotlib常用設置
Understanding threads
Design of ESP automatic download circuit
【嵌入式系统课设】单个按键控制LED灯
What is the relationship between modeling and later film and television?
openresty 负载均衡