[Desire Android Development] devil466:
I reproducted the situation by setting a lock screen and switch on and off the system after I generated a log with dmesg. Here are some parts of it of which I think are maybe relevant.

07/26/2011 19:17:56 [DEBUG] AutoSetting(18173) service - mBroadcastReceiver: action = com.htc.content.Intent.ACTION_BACKGROUND_OP_GO

07/26/2011 19:17:56 [WARNING] dalvikvm(16553) disableGcForExternalAlloc: false

07/26/2011 19:17:56 [DEBUG] mode10(24718) [StreamSource] cannot open asset: /system/app/fusion.apk default/drawable_land/shared.m10

07/26/2011 19:17:56 [DEBUG] mode10(24718) [StreamSource] cannot open asset: /system/app/fusion.apk default/drawable/shared.m10

07/26/2011 19:17:57 [INFORMATION] TaskSwitcherService(15171) Handle command: org.rabold.android.taskswitcher.action.UPDATE_THUMBNAILS

07/26/2011 19:17:57 [INFORMATION] TaskSwitcherService(15171) Querying thumbnail for task #94: ComponentInfo{com.google.code.appsorganizer/com.google.code.appsorganizer.shortcut.LabelShortcut}

07/26/2011 19:17:57 [DEBUG] Database(24669) dbopen(): path = /data/data/com.google.code.appsorganizer/databases/data, flag = 6

07/26/2011 19:17:57 [DEBUG] Database(24669) dbopen(): path = /data/data/com.google.code.appsorganizer/databases/data, free size = 116

07/26/2011 19:17:57 [INFORMATION] IdleScreen_base(24718) IdleState: init

07/26/2011 19:17:57 [INFORMATION] IdleScreen_base(24718) ReminderCtrl: startCtrl

07/26/2011 19:17:57 [INFORMATION] IdleScreen_base(24718) ReminderCtrl: register

07/26/2011 19:17:57 [INFORMATION] IdleScreen_base(24718) OOBEMonitor: startMonitor mIsOOBEDone:false

07/26/2011 19:17:57 [DEBUG] mode10(24718) Load: scenes/base/Lockscreen_time.m10

07/26/2011 19:17:57 [DEBUG] mode10(24718) [Localization] FxResourceManager::Initialize load r10 file faliure

07/26/2011 19:17:57 [DEBUG] mode10(24718) Fallback to read timeline from asset.

07/26/2011 19:17:57 [ERROR] mode10(24718) Unable to get the font table length

07/26/2011 19:17:57 [ERROR] mode10(24718) Unable to get the font table length

07/26/2011 19:17:57 [ERROR] mode10(24718) Unable to get the font table length

07/26/2011 19:17:57 [ERROR] mode10(24718) Unable to get the font table length

07/26/2011 19:17:57 [ERROR] mode10(24718) Unable to get the font table length

07/26/2011 19:17:57 [INFORMATION] IdleScreen_base(24718) ShortcutDB: getActivityInfo packageName:com.android.htcdialer className:com.android.htcdialer.Dialer

and here an other part:

07/26/2011 19:18:17 [INFORMATION] HtcLockScreen3.0(864) OOM: onDetachedFromWindow:com.htc.lockscreen.app.widget.DigitalClock@405b6550

07/26/2011 19:18:17 [INFORMATION] HtcLockScreen3.0(864) OOM: onDetachedFromWindow finishedcom.htc.lockscreen.app.widget.DigitalClock@405b6550

07/26/2011 19:18:17 [DEBUG] HtcLockScreen(864) createPatternUnlockScreen() ...

07/26/2011 19:18:17 [DEBUG] HtcLockScreen(864) packageInfo - PackageInfo{40f32c10 com.htc.lockscreen}

07/26/2011 19:18:17 [DEBUG] Sensors(864) Enable akm: en = 0

07/26/2011 19:18:17 [DEBUG] SensorService(864) noteStopSensor: uid = 0x3e8, handle = 0x0

07/26/2011 19:18:17 [DEBUG] PhoneWindow(24747) couldn't save which view has focus because the focused view com.android.internal.policy.impl.PhoneWindow$DecorView@4054a5d0 has no id.

07/26/2011 19:18:17 [INFORMATION] HtcLockScreen3.0(864) UnlockScreen: HtcPatternUnlockScreen mCreationOrientation:1

07/26/2011 19:18:17 [DEBUG] SurfaceFlinger(864) About to give-up screen, flinger = 0x2a75c8

07/26/2011 19:18:17 [DEBUG] AK8973(622) Compass CLOSE

I hope you guys can find the problem with this.

DeViL466