[HTC EVO 3D] d0cx:
+1

Also happened to me as well. ADB still works and you can connect to the shell. Latest logcat messages I got are the following:

I/DEBUG ( 134): debuggerd committing suicide to free the zombie!
I/DEBUG ( 4941): debuggerd: Aug 8 2011 17:44:48
I/ServiceManager( 131): service 'iphonesubinfo' died
I/ServiceManager( 131): service 'isms' died
I/ServiceManager( 131): service 'simphonebook' died
I/ServiceManager( 131): service 'htctelephony' died
I/ServiceManager( 131): service 'phone' died
I/ServiceManager( 131): service 'sip' died
W/BinderNative( 1565): Uncaught exception from death notification
W/BinderNative( 1565): java.lang.NullPointerException
W/BinderNative( 1565): at android.app.ActivityThread.removeDeadProvider(Activit
yThread.java:4078)
W/BinderNative( 1565): at android.app.ActivityThread$ProviderClientRecord.binde
rDied(ActivityThread.java:284)
W/BinderNative( 1565): at android.os.BinderProxy.sendDeathNotice(Binder.java:38
1)
W/BinderNative( 1565): at dalvik.system.NativeStart.run(Native Method)
W/BinderNative( 1565): Uncaught exception from death notification
W/BinderNative( 1565): java.lang.NullPointerException
W/BinderNative( 1565): at android.app.ActivityThread.removeDeadProvider(Activit
yThread.java:4078)
W/BinderNative( 1565): at android.app.ActivityThread$ProviderClientRecord.binde
rDied(ActivityThread.java:284)
W/BinderNative( 1565): at android.os.BinderProxy.sendDeathNotice(Binder.java:38
1)
W/BinderNative( 1565): at dalvik.system.NativeStart.run(Native Method)

---------- Post added at 06:47 PM ---------- Previous post was at 06:41 PM ----------

yup... got a better logcat. this time i got the time when it crashed.

D/RPC ( 665): written RPC packet size: [28]
W/dalvikvm( 665): threadid=21: thread exiting with uncaught exception (group=0x
4001d648)
I/Process ( 665): Sending signal. PID: 665 SIG: 9
E/AndroidRuntime( 665): *** FATAL EXCEPTION IN SYSTEM PROCESS: PowerManagerServ
ice
E/AndroidRuntime( 665): java.lang.ArithmeticException: divide by zero
E/AndroidRuntime( 665): at com.android.server.PowerManagerService$Bright
nessState.setTargetLocked(PowerManagerService.java:2274)
E/AndroidRuntime( 665): at com.android.server.PowerManagerService.update
LightsLocked(PowerManagerService.java:2107)
E/AndroidRuntime( 665): at com.android.server.PowerManagerService.setPow
erState(PowerManagerService.java:1890)
E/AndroidRuntime( 665): at com.android.server.PowerManagerService.setPow
erState(PowerManagerService.java:1832)
E/AndroidRuntime( 665): at com.android.server.PowerManagerService.setPow
erState(PowerManagerService.java:1827)
E/AndroidRuntime( 665): at com.android.server.PowerManagerService.access
$2800(PowerManagerService.java:84)
E/AndroidRuntime( 665): at com.android.server.PowerManagerService$Timeou
tTask.run(PowerManagerService.java:1385)
E/AndroidRuntime( 665): at android.os.Handler.handleCallback(Handler.jav
a:587)
E/AndroidRuntime( 665): at android.os.Handler.dispatchMessage(Handler.ja
va:92)
E/AndroidRuntime( 665): at android.os.Looper.loop(Looper.java:150)
E/AndroidRuntime( 665): at android.os.HandlerThread.run(HandlerThread.ja
va:60)
I/ServiceManager( 130): service 'window' died
I/ActivityThread( 1621): Removing dead content provider: settings
I/ActivityThread( 977): Removing dead content provider: settings
I/ActivityThread( 964): Removing dead content provider: settings
I/ActivityThread( 960): Removing dead content provider: settings
I/ActivityThread( 992): Removing dead content provider: settings
I/ActivityThread( 972): Removing dead content provider: settings
I/ActivityThread( 941): Removing dead content provider: settings
I/ServiceManager( 130): service 'telephony.registry' died
I/ServiceManager( 130): service 'SurfaceFlinger' died
I/ServiceManager( 130): service 'sensorservice' died
I/ServiceManager( 130): service 'entropy' died
I/ServiceManager( 130): service 'power' died
I/ServiceManager( 130): service 'batteryinfo' died
I/ServiceManager( 130): service 'usagestats' died
I/ServiceManager( 130): service 'throttle' died
I/ServiceManager( 130): service 'mount' died
I/ServiceManager( 130): service 'package' died
I/ServiceManager( 130): service 'notification' died
I/ServiceManager( 130): service 'connectivity' died
I/ServiceManager( 130): service 'wimax' died
I/ServiceManager( 130): service 'uimode' died
I/ServiceManager( 130): service 'backup' died
I/ServiceManager( 130): service 'appwidget' died
I/ServiceManager( 130): service 'diskstats' died
I/ServiceManager( 130): service 'bluetooth_hid' died
I/ServiceManager( 130): service 'bt_fm_radio' died
I/ServiceManager( 130): service 'usb' died
I/ServiceManager( 130): service 'audio' died
I/ServiceManager( 130): service 'account' died
I/ServiceManager( 130): service 'location' died
I/ServiceManager( 130): service 'activity' died
I/ServiceManager( 130): service 'meminfo' died
I/ServiceManager( 130): service 'cpuinfo' died
I/ServiceManager( 130): service 'permission' died
I/ServiceManager( 130): service 'wallpaper' died
I/ServiceManager( 130): service 'display' died
I/ServiceManager( 130): service 'devicestoragemonitor' died
I/ServiceManager( 130): service 'accessibility' died
I/ServiceManager( 130): service 'search' died
I/ServiceManager( 130): service 'content' died
I/ServiceManager( 130): service 'battery' died
I/ServiceManager( 130): service 'hardware' died
I/ServiceManager( 130): service 'vibrator' died
I/ServiceManager( 130): service 'htchardware' died
I/ServiceManager( 130): service 'alarm' died
I/ServiceManager( 130): service 'bluetooth' died
I/ServiceManager( 130): service 'bluetooth_a2dp' died
I/ServiceManager( 130): service 'device_policy' died
I/ServiceManager( 130): service 'statusbar' died
I/ServiceManager( 130): service 'clipboard' died
I/ServiceManager( 130): service 'network_management' died
I/ServiceManager( 130): service 'input_method' died
I/ServiceManager( 130): service 'netstat' died
I/ServiceManager( 130): service 'usbnet' died
I/ServiceManager( 130): service 'wifi' died
I/ActivityThread( 1593): Removing dead content provider: settings
I/ActivityThread( 1360): Removing dead content provider: settings
I/ActivityThread( 1891): Removing dead content provider: settings
I/ActivityThread( 1267): Removing dead content provider: settings
I/ActivityThread( 1638): Removing dead content provider: settings
I/ActivityThread( 1740): Removing dead content provider: settings
I/ActivityThread( 1720): Removing dead content provider: settings
I/ActivityThread( 1651): Removing dead content provider: settings
I/ActivityThread( 1584): Removing dead content provider: settings
I/ActivityThread( 1575): Removing dead content provider: settings
I/ActivityThread( 1554): Removing dead content provider: settings
I/ActivityThread( 1492): Removing dead content provider: settings
I/ActivityThread( 1448): Removing dead content provider: settings
I/ActivityThread( 1309): Removing dead content provider: settings
I/ActivityThread( 1218): Removing dead content provider: settings
I/ActivityThread( 1201): Removing dead content provider: settings
I/ActivityThread( 987): Removing dead content provider: settings
I/ActivityThread( 1106): Removing dead content provider: settings
I/ActivityThread( 1080): Removing dead content provider: settings
W/BinderNative( 987): Uncaught exception from death notification
W/BinderNative( 987): java.lang.NullPointerException
W/BinderNative( 987): at android.app.ActivityThread.removeDeadProvider(Activit
yThread.java:4078)
W/BinderNative( 987): at android.app.ActivityThread$ProviderClientRecord.binde
rDied(ActivityThread.java:284)
W/BinderNative( 987): at android.os.BinderProxy.sendDeathNotice(Binder.java:38
1)
W/BinderNative( 987): at dalvik.system.NativeStart.run(Native Method)
E/installd( 139): eof
E/installd( 139): failed to read size
I/installd( 139): closing connection
D/DxSecureClock( 1213): Time has been modified.
D/DxSecureClock( 1213): Updated deltas successfully.
E/InputQueue-JNI( 941): channel '4071ee68 StatusBar (client)' ~ Publisher close
d input channel or an error occurred. events=0x8
E/InputQueue-JNI( 941): channel '408fb0b0 TrackingView (client)' ~ Publisher cl
osed input channel or an error occurred. events=0x8
E/InputQueue-JNI( 941): channel '409e3340 StatusBarExpanded (client)' ~ Publish
er closed input channel or an error occurred. events=0x8
E/InputQueue-JNI( 987): channel '409ad390 com.htc.launcher/com.htc.launcher.Lau
ncher (client)' ~ Publisher closed input channel or an error occurred. events=0
x8
E/InputQueue-JNI( 977): channel '40a9a3b0 com.android.htcdialer/com.android.htc
dialer.Dialer (client)' ~ Publisher closed input channel or an error occurred.
events=0x8
E/InputQueue-JNI( 972): channel '4087c728 com.android.phone/com.android.phone.I
nCallScreen (client)' ~ Publisher closed input channel or an error occurred. ev
ents=0x8
D/SensorGUI( 972): ~SensorChannel: mSendFd = -1, mReceiveFd = 102
I/Zygote ( 135): Exit zygote because system server (665) has terminated
W/SharedBufferStack( 941): waitForCondition(LockCondition) timed out (identity=
3, status=0). CPU may be pegged. trying again.
W/SharedBufferStack( 941): waitForCondition(LockCondition) timed out (identity=
3, status=0). CPU may be pegged. trying again.
W/SharedBufferStack( 941): waitForCondition(LockCondition) timed out (identity=
3, status=0). CPU may be pegged. trying again.
W/SharedBufferStack( 941): waitForCondition(LockCondition) timed out (identity=
3, status=0). CPU may be pegged. trying again.
W/SharedBufferStack( 941): waitForCondition(LockCondition) timed out (identity=
3, status=0). CPU may be pegged. trying again.
W/SharedBufferStack( 941): waitForCondition(LockCondition) timed out (identity=
3, status=0). CPU may be pegged. trying again.
W/SharedBufferStack( 941): waitForCondition(LockCondition) timed out (identity=
3, status=0). CPU may be pegged. trying again.
W/SharedBufferStack( 941): waitForCondition(LockCondition) timed out (identity=
3, status=0). CPU may be pegged. trying again.
W/SharedBufferStack( 941): waitForCondition(LockCondition) timed out (identity=
3, status=0). CPU may be pegged. trying again.
W/SharedBufferStack( 941): waitForCondition(LockCondition) timed out (identity=
3, status=0). CPU may be pegged. trying again.
W/SharedBufferStack( 941): waitForCondition(LockCondition) timed out (identity=
3, status=0). CPU may be pegged. trying again.
W/SharedBufferStack( 941): waitForCondition(LockCondition) timed out (identity=
3, status=0). CPU may be pegged. trying again.

it crashes exactly when it's supposed to be decreasing the brightness and going to sleep.

---------- Post added at 06:55 PM ---------- Previous post was at 06:47 PM ----------

Perfect. Debugging shows that the problem is indeed happening when the kernel tries to decrease the brightness before shutting down the screen. Seems to happen whenever the ambient light is dim (very dark) and Android tries to push the phone brightness even lower than possible. Doesn't seem to occur frequently under lit conditions.

Confirmed workaround: Uncheck "Auto Brightness" and manually set it up. It won't crash this way since PowerManager won't try to decrease the brightness.