Comment 4 for bug 1183781

Revision history for this message
Tixy (Jon Medhurst) (tixy) wrote :

logcat output is in comment #1 but I didn't trim it so it's not obvious where to look. The point where ActivityManager crashes is at the log line which says "W/dalvikvm( 2374): threadid=14: thread exiting with uncaught exception (group=0x40f63930)", i.e. this is the interesting bit...

W/dalvikvm( 2374): threadid=14: thread exiting with uncaught exception (group=0x40f63930)
E/AndroidRuntime( 2374): *** FATAL EXCEPTION IN SYSTEM PROCESS: ActivityManager
E/AndroidRuntime( 2374): java.lang.ArrayIndexOutOfBoundsException: length=8; index=8
E/AndroidRuntime( 2374): at com.android.internal.os.ProcessStats.getCpuSpeedTimes(ProcessStats.java:573)
E/AndroidRuntime( 2374): at com.android.internal.os.ProcessStats.getLastCpuSpeedTimes(ProcessStats.java:546)
E/AndroidRuntime( 2374): at com.android.server.am.ActivityManagerService.updateCpuStatsNow(ActivityManagerService.java:1734)
E/AndroidRuntime( 2374): at com.android.server.am.ActivityManagerService.batteryNeedsCpuUpdate(ActivityManagerService.java:1786)
E/AndroidRuntime( 2374): at com.android.internal.os.BatteryStatsImpl$MyHandler.handleMessage(BatteryStatsImpl.java:129)
E/AndroidRuntime( 2374): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 2374): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 2374): at com.android.server.am.ActivityManagerService$AThread.run(ActivityManagerService.java:1480)