[android-developers] Re: Random phone restarts, anyone else experience this?

2009-11-24 Thread rflexor
It's probably something different, but I had problems like this myself
and found it connected to an application aquiring a lot of wakelocks
(75.000). You might want to try this out, just to rule the wakelocks
out:

Connect to your phone with adb -d shell

ls -l /data/system/batterystats.bin

On my phone this currently is 42k big. When I had the error it had
become a 1.5m monster.

If you should have the same problem, pull the batterystats.bin from
the device and analyze which user-id has allocated the wakelocks. Then
find out which app has this userid and uninstall. In my case it was
ITweet.

You can find my bugreport here:

http://code.google.com/p/android/issues/detail?id=4043

Ralf

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Random phone restarts, anyone else experience this?

2009-11-21 Thread Matt Kanninen
My Droid restarts about once a day.  This discussion probably belongs
another board, perhaps Android discuss, or as a bug report.

On Nov 21, 6:38 am, Mark Wyszomierski mar...@gmail.com wrote:
 Hi,

 Not sure if anyone else is experiencing this. My G1 will randomly
 restart itself up to two times a day. Found this in DDMS as the
 possible cause. I'm wondering if my app has anything to do with it,
 but I doubt it since my app is usually closed or will have been idle
 for hours when this happens (and only uses at most 5mb of memory):

 The tag for all these messages is AndroidRuntime:

 11-21 09:06:49.811: ERROR/LockPatternKeyguardView(3813): Failed to
 bind to GLS while checking for account
 11-21 09:06:49.831: ERROR/dalvikvm-heap(3813): 614400-byte external
 allocation too large for this process.
 11-21 09:06:49.831: ERROR/(3813): VM won't let us allocate 614400
 bytes
 11-21 09:06:49.881: WARN/dalvikvm(3813): threadid=37: thread exiting
 with uncaught exception (group=0x4000fe70)
 11-21 09:06:49.881: ERROR/AndroidRuntime(3813): Uncaught handler:
 thread WindowManagerPolicy exiting due to uncaught exception
 11-21 09:06:49.881: ERROR/AndroidRuntime(3813): *** EXCEPTION IN
 SYSTEM PROCESS.  System will crash.
 11-21 09:06:50.081: ERROR/AndroidRuntime(3813):
 java.lang.OutOfMemoryError: bitmap size exceeds VM budget
 11-21 09:06:50.081: ERROR/AndroidRuntime(3813):     at
 android.graphics.BitmapFactory.nativeDecodeAsset(Native Method)
 11-21 09:06:50.081: ERROR/AndroidRuntime(3813):     at
 android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:363)
 11-21 09:06:50.081: ERROR/AndroidRuntime(3813):     at
 android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:212)
 11-21 09:06:50.081: ERROR/AndroidRuntime(3813):     at
 android.graphics.drawable.Drawable.createFromResourceStream
 (Drawable.java:663)
 11-21 09:06:50.081: ERROR/AndroidRuntime(3813):     at
 android.content.res.Resources.loadDrawable(Resources.java:1637)
 11-21 09:06:50.081: ERROR/AndroidRuntime(3813):     at
 android.content.res.Resources.getDrawable(Resources.java:535)
 11-21 09:06:50.081: ERROR/AndroidRuntime(3813):     at
 android.app.ApplicationContext.getWallpaper(ApplicationContext.java:
 505)
 11-21 09:06:50.081: ERROR/AndroidRuntime(3813):     at
 com.android.internal.policy.impl.LockPatternKeyguardView.init
 (LockPatternKeyguardView.java:265)
 11-21 09:06:50.081: ERROR/AndroidRuntime(3813):     at
 com.android.internal.policy.impl.LockPatternKeyguardViewProperties.createKe 
 yguardView
 (LockPatternKeyguardViewProperties.java:48)
 11-21 09:06:50.081: ERROR/AndroidRuntime(3813):     at
 com.android.internal.policy.impl.KeyguardViewManager.show
 (KeyguardViewManager.java:123)
 11-21 09:06:50.081: ERROR/AndroidRuntime(3813):     at
 com.android.internal.policy.impl.KeyguardViewMediator.handleShow
 (KeyguardViewMediator.java:860)
 11-21 09:06:50.081: ERROR/AndroidRuntime(3813):     at
 com.android.internal.policy.impl.KeyguardViewMediator.access$500
 (KeyguardViewMediator.java:85)
 11-21 09:06:50.081: ERROR/AndroidRuntime(3813):     at
 com.android.internal.policy.impl.KeyguardViewMediator$2.handleMessage
 (KeyguardViewMediator.java:770)
 11-21 09:06:50.081: ERROR/AndroidRuntime(3813):     at
 android.os.Handler.dispatchMessage(Handler.java:99)
 11-21 09:06:50.081: ERROR/AndroidRuntime(3813):     at
 android.os.Looper.loop(Looper.java:123)
 11-21 09:06:50.081: ERROR/AndroidRuntime(3813):     at
 com.android.server.WindowManagerService$PolicyThread.run
 (WindowManagerService.java:474)

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en