当前位置:网站首页>App hangs~
App hangs~
2022-06-23 05:18:00 【xhBruce】
The app hangs
android How to analyze process killing
Crash
| tagNum | keyword | Parameter description | Brief description |
|---|---|---|---|
| 30039 | am_crash | (User|1|5),(PID|1|5),(Process Name|3),(Flags|1|5),(Exception|3),(Message|3),(File|3),(Line|1|5) | # Unhandled exception |
ANR
| tagNum | keyword | Parameter description | Brief description |
|---|---|---|---|
| 30008 | am_anr | (User|1|5),(pid|1|5),(Package Name|3),(Flags|1|5),(reason|3) | # Application Not Responding |
am_proc_died
| tagNum | keyword | Parameter description | Brief description |
|---|---|---|---|
| 30011 | am_proc_died | (User|1|5),(PID|1|5),(Process Name|3),(OomAdj|1|5),(ProcState|1|5) | # Application process died |
| 30023 | am_kill | (User|1|5),(PID|1|5),(Process Name|3),(OomAdj|1|5),(Reason|3) | # Kill a process to reclaim memory. |
frameworks/base/services/core/java/com/android/server/am/ActivityManagerService.java
frameworks/base/services/core/java/com/android/server/am/ProcessRecord.java
frameworks/base/core/java/android/app/ApplicationExitInfo.java


- The above is obvious crash、anr, relevant
ApplicationExitInfo.REASON_ANR、ApplicationExitInfo.REASON_CRASH
- Sometimes it's just
am_proc_diedandwm_finish_activity
Case study
crash\anr
Low memory killing (LowMemoryKiller)
CPU High occupancy
am_kill : [0,22157,com.ximalaya.ting.android,900,excessive cpu 16720 during 300044 dur=2221553 limit=2]
ActivityManager: Killing 22157:com.ximalaya.ting.android/u0a239 (adj 900): excessive cpu 16720 during 300044 dur=2221553 limit=2
Zygote : Process 22157 exited due to signal 9 (Killed)
The process exits itself
Normal killing
installPackageLI/ deletePackageX And so on
Signal 9 commit suicide
09-07 16:53:03.027 1000 2566 2582 I Process : Sending signal. PID: 2566 SIG: 9
09-07 16:53:03.154 root 681 681 I Zygote : Process 2566 exited due to signal 9 (Killed)
09-07 16:53:03.167 1000 1734 4006 I ActivityManager: Process com.android.systemui (pid 2566) has died: pers PER
边栏推荐
猜你喜欢

Penetration test basis | attached test points and test scenarios

A bug in rtklib2.4.3 B34 single point positioning

工作5-8年的外包测试员,平均年薪有多少?

(IntelliJ)插件一 Background Image Plus

如何进行探索性数据分析

Introduction and use of precise ephemeris

UI自动化定位利器-xpath实战

李宏毅《机器学习》丨5. Tips for neural network design(神经网络设计技巧)

代码片段管理器SnippetsLab

BGP第二次试验
随机推荐
618如何冲出重围?海尔智家:做好用户的数字化
掌握 Shell,一篇就够了!
The tiobe programming language ranking is an indicator of the popular trend of programming languages
② Cocoapods principle and podspec file uploading operation
Swiftui 2.0 course notes Chapter 4
气象绘图软件Panoply使用教程 (不定时更新)
Arduino flame sensor (with code)
Introduction to s file generated by TEQC for GNSS data quality analysis
Ams:startactivity desktop launch application
Rtklib new version 2.4.3 B34 test comparison
HCIP第五次作业
硬核,成为高素质测试人员:学会和产品沟通需求
Economic development is driven by new technology
飞桨框架v2.3发布高可复用算子库PHI!重构开发范式,降本增效
Course design C for freshmen -- clothing management system
Getting started with the shutter AppBar
UI自动化定位利器-xpath实战
Three tier architecture experiment
【Leetcode】最长递增子序列问题及应用
1010 Radix