[G1 Android Development] SilentMobius:
Hi all,

Fantastic work on the 4.2.5 Rom, the performance increase is astonishing (is that really due to the Eclair Dalvic VM or more about your optimisations?)

Anywhoo, while I feel like I've got a new phone again I am having some crashign issues, seems to happen the most when plugged in and wifi on, I managed to catch it while running logcat. here's the important bit:

I/ActivityManager(20097): Stopping service: fm.last.android/.scrobbler.ScrobblerService
I/ActivityManager(20097): Process fm.last.android (pid 23281) has died.
I/ActivityManager(20097): Start proc com.android.voicedialer for broadcast com.android.voicedialer/.VoiceDialerReceiver: pid=23295 uid=10010 gids={3002}
W/dalvikvm(20097): threadid=37: thread exiting with uncaught exception (group=0x4001e170)
E/AndroidRuntime(20097): Uncaught handler: thread WindowManagerPolicy exiting due to uncaught exception
E/AndroidRuntime(20097): *** EXCEPTION IN SYSTEM PROCESS. System will crash.
E/AndroidRuntime(20097): java.lang.RuntimeException: Canvas: trying to use a recycled bitmap android.graphics.Bitmap@4376b058
E/AndroidRuntime(20097): at android.graphics.Canvas.throwIfRecycled(Canvas.java:955)
E/AndroidRuntime(20097): at android.graphics.Canvas.drawBitmap(Canvas.java:980)
E/AndroidRuntime(20097): at com.android.internal.policy.impl.LockPatternKeyguardView$FastBitmapDrawable.draw(LockPatternKeyguardView.java:602)
E/AndroidRuntime(20097): at android.view.View.draw(View.java:6259)
E/AndroidRuntime(20097): at android.widget.FrameLayout.draw(FrameLayout.java:352)
E/AndroidRuntime(20097): at android.view.ViewGroup.drawChild(ViewGroup.java:1526)
E/AndroidRuntime(20097): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1256)
E/AndroidRuntime(20097): at com.android.internal.policy.impl.KeyguardViewManager$KeyguardViewHost.dispatchDraw(KeyguardViewManager.java:85)
E/AndroidRuntime(20097): at android.view.View.draw(View.java:6277)
E/AndroidRuntime(20097): at android.widget.FrameLayout.draw(FrameLayout.java:352)
E/AndroidRuntime(20097): at android.view.ViewRoot.draw(ViewRoot.java:1332)
E/AndroidRuntime(20097): at android.view.ViewRoot.performTraversals(ViewRoot.java:1097)
E/AndroidRuntime(20097): at android.view.ViewRoot.handleMessage(ViewRoot.java:1613)
E/AndroidRuntime(20097): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime(20097): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime(20097): at com.android.server.WindowManagerService$PolicyThread.run(WindowManagerService.java:509)
D/dalvikvm(20097): GC freed 17112 objects / 804816 bytes in 299ms
I/ActivityManager(20097): Process com.levelup.beautifulwidgets (pid 23267) has died.
D/VoiceDialerReceiver(23295): onReceive Intent { act=android.intent.action.PACKAGE_CHANGED dat=package:com.twidroidpro flg=0x20000000 cmp=com.android.voicedialer/.VoiceDialerReceiver (has extras) }
D/RecognizerEngine(23295): deleteCachedGrammarFiles /data/data/com.android.voicedialer/files/openentries.txt
I/ActivityManager(20097): Start proc com.levelup.beautifulwidgets for broadcast com.levelup.beautifulwidgets/.HomeWidget: pid=23301 uid=10096 gids={3003, 3002, 3001}
I/Process (20097): Sending signal. PID: 20097 SIG: 9
I/ServiceManager( 130): service 'activity.providers' died
I/ServiceManager( 130): service 'SurfaceFlinger' died

Wondering if it's a badly behaved widget or if it's a dalvik bug, any thoughts?

*EDIT*

Right, removed all widgets, still happened, removed the app "beautifulwidgets" just in case. Rebooted, still dies, this time:

D/Guardian( 423): Associating UK News with 'Gordon Brown hopes to fix Afghanistan pullout date' at position=0
D/dalvikvm( 507): GC freed 12661 objects / 553992 bytes in 130ms
I/Guardian( 423): Number of articles found: 1
I/Guardian( 423): Finished downloading images
I/ActivityManager( 143): Stopping service: com.futureplatforms.android.guardian/.widget.WidgetUpdateService
I/Guardian( 423): RSS downloading finished
W/dalvikvm( 143): threadid=37: thread exiting with uncaught exception (group=0x4001e170)
E/AndroidRuntime( 143): Uncaught handler: thread WindowManagerPolicy exiting due to uncaught exception
E/AndroidRuntime( 143): *** EXCEPTION IN SYSTEM PROCESS. System will crash.
E/AndroidRuntime( 143): java.lang.RuntimeException: Canvas: trying to use a recycled bitmap android.graphics.Bitmap@43783800
E/AndroidRuntime( 143): at android.graphics.Canvas.throwIfRecycled(Canvas.java:955)
E/AndroidRuntime( 143): at android.graphics.Canvas.drawBitmap(Canvas.java:980)
E/AndroidRuntime( 143): at com.android.internal.policy.impl.LockPatternKeyguardView$FastBitmapDrawable.draw(LockPatternKeyguardView.java:602)
E/AndroidRuntime( 143): at android.view.View.draw(View.java:6259)
E/AndroidRuntime( 143): at android.widget.FrameLayout.draw(FrameLayout.java:352)
E/AndroidRuntime( 143): at android.view.ViewGroup.drawChild(ViewGroup.java:1526)
E/AndroidRuntime( 143): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1256)
E/AndroidRuntime( 143): at com.android.internal.policy.impl.KeyguardViewManager$KeyguardViewHost.dispatchDraw(KeyguardViewManager.java:85)
E/AndroidRuntime( 143): at android.view.View.draw(View.java:6277)
E/AndroidRuntime( 143): at android.widget.FrameLayout.draw(FrameLayout.java:352)
E/AndroidRuntime( 143): at android.view.ViewRoot.draw(ViewRoot.java:1332)
E/AndroidRuntime( 143): at android.view.ViewRoot.performTraversals(ViewRoot.java:1097)
E/AndroidRuntime( 143): at android.view.ViewRoot.handleMessage(ViewRoot.java:1613)
E/AndroidRuntime( 143): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 143): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 143): at com.android.server.WindowManagerService$PolicyThread.run(WindowManagerService.java:509)
D/WifiService( 143): ACTION_BATTERY_CHANGED pluggedType: 2
I/ActivityManager( 143): Process com.futureplatforms.android.guardian (pid 423) has died.
I/Process ( 143): Sending signal. PID: 143 SIG: 9

Now, I've been using the "Guardian anywhere" app for a while, but I've only recently had a look at the widget, I don't use it and only added it then removed it pretty much straight away so I'm not sure why the app would be doing any widget operations... Hmmm maybe the widget cleanup is up to the launcher? I switched to openhome just after installing 4.2.5, though I was getting the dalvik crashes in the 4.2.4 rom as well.