android软重启问题


u 软重启 :系统 进程出现严重 异常或者因为一些核心进程挂住, Watchdog 主动发起软重启
1.找到大片servicediedlog
2.Died处上溯,找到exception发生的地方
3.根据exception的提示,需要具体问题具体分析,watchdog主动发起的软重启需要结合tracelog进行分析


03-2519:30:06.072   795  4673 E AndroidRuntime: *** FATAL EXCEPTION IN SYSTEMPROCESS: TransferPipe

03-2519:30:06.072   795  4673 E AndroidRuntime: java.lang.NullPointerException

03-2519:30:06.072   795  4673 E AndroidRuntime:   atcom.android.internal.os.TransferPipe.run(TransferPipe.java:184)

03-2519:30:06.072   795  4673 E AndroidRuntime:   atjava.lang.Thread.run(Thread.java:841)

03-2519:30:07.872   146   146 I ServiceManager: service 'telephony.registry' died

03-2519:30:07.872   146   146 I ServiceManager: service 'scheduling_policy' died

03-2519:30:07.872   146   146 I ServiceManager: service 'sensorservice' died

03-2519:30:07.872   146   146 I ServiceManager: service 'power' died

03-2519:30:07.872   146   146 I ServiceManager: service 'batterystats' died

03-2519:30:07.872   146   146 I ServiceManager: service 'appops' died

03-2519:30:07.872   146   146 I ServiceManager: service 'display' died

03-2519:30:07.872   146   146 I ServiceManager: service 'device_policy' died

03-2519:30:07.872   146   146 I ServiceManager: service 'window' died

03-2519:30:07.872   146   146 I ServiceManager: service 'lock_settings' died

03-2519:30:07.872   146   146 I ServiceManager: service 'input' died

03-2519:30:07.872   146   146 I ServiceManager: service 'clipboard' died

03-2519:30:07.872   146   146 I ServiceManager: service 'textservices' died

03-2519:30:07.872   146   146 I ServiceManager: service 'statusbar' died

03-2519:30:07.872   146   146 I ServiceManager: service 'package' died

03-2519:30:07.872   146   146 I ServiceManager: service 'account' died

03-2519:30:07.872   146   146 I ServiceManager: service 'content' died

03-2519:30:07.872   146   146 I ServiceManager: service 'activity' died

03-2519:30:07.872   146   146 I ServiceManager: service 'procstats' died



如果是死锁问题,确保两个线程持锁的顺序一致!

你可能感兴趣的:(android软重启问题)