当前位置:网站首页>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 ÿ
边栏推荐
- RPA: Bank digitalization, business process automation "a small step", and loan review efficiency "a big step"
- 会声会影2022智能、快速、简单的视频剪辑软件
- Jerry's records are powered by Vbat with a power supply voltage of 4.2V [chapter]
- Jielizhi Bluetooth headset quality control and production skills [chapter]
- Cisco -- highly available and reliable network examination
- JS - use of arguments
- typescript枚举
- AAAI22 | 结构标记和交互建模:用于图分类的“SLIM”网络
- shell 流程控制
- The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received
猜你喜欢

STM32F030F4驱动TIM1637数码管芯片

91. (cesium chapter) cesium rocket launch simulation

【Kotlin 第三方 】coil koltin协程图片加载库Coil类似Glide的图片加载第三方

2022年危险化学品经营单位安全管理人员考试题及在线模拟考试

数字峰会人气火爆,城链科技引发新一轮商业变革

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

What is the mosaic tailgate?

Wechat personal small store one click opening assistant applet development

什么是马赛克?

2022年起重机司机(限桥式起重机)考试试题及模拟考试
随机推荐
CKS CKA CKAD 将终端更改为远程桌面
Jielizhi, production line assembly link [chapter]
Business visualization - make your flowchart'run'up
shell 流程控制
软考信息系统项目管理师_整理的十大管理过程的简写帮助记忆背诵---软考高级之信息系统项目管理师054
会声会影2022智能、快速、简单的视频剪辑软件
AirServer最新Win64位个人版投屏软件
win 10 mstsc连接 RemoteApp
Detailed explanation of twenty common software testing methods (the most complete in History)
物联网现状及未来发展趋势
Design of ESP automatic download circuit
Jielizhi Bluetooth headset quality control and production skills [chapter]
2022 safety officer-c certificate examination question simulation examination question bank and simulation examination
纪念成为首个DAYUs200三方demo贡献者
Groups and ranges of regular series
【微服务|Sentinel】sentinel整合openfeign
【微服务|Sentinel】SentinelResourceAspect详解
每日三题 6.28
2022 R1 fast opening pressure vessel operation test questions and answers
Jielizhi, production line assembly link [chapter]