android如何分析进程被杀问题
Crash
am_proc_died
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
- 上面是明显的crash、anr,相关ApplicationExitInfo.REASON_ANR、ApplicationExitInfo.REASON_CRASH
- 有时只有am_proc_died和wm_finish_activity
案例 crashanr 低内存查杀(LowMemoryKiller) CPU占用率过高
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)进程自己退出 正常查杀 installPackageLI/ deletePackageX等查杀关联进程 Signal 9自杀
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
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)