android zygote进程重启问题调试

最近遇到一个连接wifi后zygote进程重启的问题。


打印log如下:

D/CPU Manager(  351): CPU Count: 1
W/System.err(  351): java.lang.NumberFormatException: Invalid int: "
W/System.err(  351): "
W/System.err(  351):    at java.lang.Integer.invalidInt(Integer.java:138)
W/System.err(  351):    at java.lang.Integer.parse(Integer.java:375)
W/System.err(  351):    at java.lang.Integer.parseInt(Integer.java:366)
W/System.err(  351):    at android.softwinner.utils.CpuManager.getChipID(CpuManager.java:224)
W/System.err(  351):    at android.softwinner.utils.UserInfo.getCpuInfo(UserInfo.java:41)
W/System.err(  351):    at com.softwinner.service.DeviceInfoService.getData(DeviceInfoService.java:126)
W/System.err(  351):    at com.softwinner.service.DeviceInfoService$PostThread.run(DeviceInfoService.java:234)
D/CPU Manager(  351): CPU Count: 1
W/dalvikvm(  351): threadid=77: thread exiting with uncaught exception (group=0x41e5f930)
E/AndroidRuntime(  351): *** FATAL EXCEPTION IN SYSTEM PROCESS: Thread-108
E/AndroidRuntime(  351): java.lang.NumberFormatException: Invalid int: "
E/AndroidRuntime(  351): "
E/AndroidRuntime(  351):        at java.lang.Integer.invalidInt(Integer.java:138)
E/AndroidRuntime(  351):        at java.lang.Integer.parse(Integer.java:375)
E/AndroidRuntime(  351):        at java.lang.Integer.parseInt(Integer.java:366)
E/AndroidRuntime(  351):        at android.softwinner.utils.CpuManager.getChipID(CpuManager.java:224)
E/AndroidRuntime(  351):        at android.softwinner.utils.UserInfo.getCpuInfo(UserInfo.java:41)
E/AndroidRuntime(  351):        at com.softwinner.service.OtaService.sendPostAndGetResult(OtaService.java:122)
E/AndroidRuntime(  351):        at com.softwinner.service.OtaService.access$100(OtaService.java:54)
E/AndroidRuntime(  351):        at com.softwinner.service.OtaService$PostThread.run(OtaService.java:272)
D/dalvikvm(  351): GC_CONCURRENT freed 1867K, 40% free 7709K/12792K, paused 6ms+9ms, total 166ms
D/ConnectivityService(  351): handleInetConditionChange: net=-1 != default=1 - ignore
I/Process (  351): Sending signal. PID: 351 SIG: 9
[  212.230071] binder: release 351:587 transaction 62062 in, still active
E/installd(   86): eof[  212.242675] alarm_release: clear alarm, pending 0


E/installd(   86): failed to r[  212.250283] alarm_release: clear alarm, pending 0
ead size
I/installd(   86): clo[  212.250283] alarm_release: clear alarm, pending 0
sing connection
[  212.265183] binder: release 351:587 transaction 62057 out, still active
[  212.273234] alarm_release: clear alarm, pending 0
E/InputEventReceiver(  517): channel '424acd58 com.android.systemui.ImageWallpaper (client)' ~ Publisher closed input channel or[  212.290046] binder: send failed reply for transaction 
62062 to 1032:1046
[  212.290046] binder: undelivered transaction 62073


E/InputEventReceiver(  517): channel '423663c8 SystemBar (clien[  212.306766] init: waitpid returned pid 133, status = 00000009
t)' ~ Publisher closed input cha[  212.318062] init: process 'zygote', pid 133 exited
nnel or an error occurred.  events=0x9
E/InputEventReceiver(  517): channel '4236b550 NotificationPanel (client)' ~ Publisher closed input channel or an error occurred.  events=0x9
E/InputEv[  212.340051] init: process 'zygote' killing any children in process group





通过log查找到是某个APK调用了不存在的服务导致,删掉APK后解决问题。



你可能感兴趣的:(android zygote进程重启问题调试)