[Desire Q&A, Help & Troubleshooting] Tomdarkness:
Hey,

I'm running CM7.0.3 with the default lock screen (i.e I've not changed it) and now and again the lockscreen freezes. By freeze I mean the time does not change and I can't unlock the phone - it is unresponsive (However, I can still receive SMS & Calls as well as reboot and shutdown the phone)

Here is logcat from when I turn the screen on, attempt to unlock it and it turns off again:

D/KeyguardViewMediator( 182): wakeWhenReadyLocked(26)
I/power ( 182): *** set_screen_state 1
D/SurfaceFlinger( 182): Screen about to return, flinger = 0x94e70
D/AK8973 ( 138): Compass Start
D/WifiService( 182): ACTION_SCREEN_ON
E/qsd8k.gralloc( 182): /dev/pmem: no more pmem available
E/qsd8k.gralloc( 182): couldn't open pmem (Interrupted system call)
E/qsd8k.gralloc( 182): gralloc failed err=Out of memory
W/GraphicBufferAllocator( 182): alloc(480, 762, 1, 00000133, ...) failed -12 (Out of memory)
D/GraphicBufferAllocator( 182): Allocated buffers:
D/GraphicBufferAllocator( 182): 0xa7668: 136.88 KiB | 480 ( 480) x 73 | 1 | 0x00000133
D/GraphicBufferAllocator( 182): 0x1ff4b0: 228.12 KiB | 800 ( 800) x 73 | 1 | 0x00000133
D/GraphicBufferAllocator( 182): 0x268ab8: 1500.00 KiB | 480 ( 480) x 800 | 2 | 0x00000133
D/GraphicBufferAllocator( 182): 0x27cc70: 1500.00 KiB | 480 ( 480) x 800 | 1 | 0x00000133
D/GraphicBufferAllocator( 182): 0x28a808: 105.00 KiB | 198 ( 224) x 120 | 1 | 0x00000133
D/GraphicBufferAllocator( 182): 0x2d7210: 748.12 KiB | 480 ( 480) x 399 | 1 | 0x00000133
D/GraphicBufferAllocator( 182): 0x2dc0c8: 60.00 KiB | 126 ( 128) x 120 | 1 | 0x00000133
D/GraphicBufferAllocator( 182): 0x2e4278: 136.88 KiB | 480 ( 480) x 73 | 1 | 0x00000133
D/GraphicBufferAllocator( 182): 0x2e9378: 228.12 KiB | 800 ( 800) x 73 | 1 | 0x00000133
D/GraphicBufferAllocator( 182): 0x366e58: 1500.00 KiB | 480 ( 480) x 800 | 2 | 0x00000133
D/GraphicBufferAllocator( 182): 0x374ff0: 748.12 KiB | 480 ( 480) x 399 | 1 | 0x00000133
D/GraphicBufferAllocator( 182): 0x377d88: 228.12 KiB | 800 ( 800) x 73 | 1 | 0x00000133
D/GraphicBufferAllocator( 182): 0x37b410: 60.00 KiB | 102 ( 128) x 120 | 1 | 0x00000133
D/GraphicBufferAllocator( 182): 0x3e2e48: 748.12 KiB | 480 ( 480) x 399 | 1 | 0x00000133
D/GraphicBufferAllocator( 182): 0x3ea7d8: 228.12 KiB | 800 ( 800)
E/SurfaceFlinger( 182): Layer::requestBuffer(this=0x59b6a0), index=1, w=480, h=762 failed (Out of memory)
E/Surface ( 182): Surface (identity=5167) requestBuffer(1, 0, 0, 0, 00000033) returned a buffer with a null handle
E/Surface ( 182): getBufferLocked(1, 0, 0, 0, 00000033) failed (Out of memory)
E/Surface ( 182): dequeueBuffer failed (Out of memory)
E/ViewRoot( 182): OutOfResourcesException locking surface
E/ViewRoot( 182): android.view.Surface$OutOfResourcesException
E/ViewRoot( 182): at android.view.Surface.lockCanvasNative(Native Method)
E/ViewRoot( 182): at android.view.Surface.lockCanvas(Surface.java:314)
E/ViewRoot( 182): at android.view.ViewRoot.draw(ViewRoot.java:1457)
E/ViewRoot( 182): at android.view.ViewRoot.performTraversals(ViewRoot.java:1259)
E/ViewRoot( 182): at android.view.ViewRoot.handleMessage(ViewRoot.java:1860)
E/ViewRoot( 182): at android.os.Handler.dispatchMessage(Handler.java:99)
E/ViewRoot( 182): at android.os.Looper.loop(Looper.java:123)
E/ViewRoot( 182): at com.android.server.WindowManagerService$PolicyThread.run(WindowManagerService.java:596)

The logcat is from a SSH session (I've got dropbear on the phone)

I notice a out of memory error. I'm not sure what this is about though as I'm not out of memory:

# free
total used free shared buffers
Mem: 415268 330440 84828 0 304
Swap: 0 0 0
Total: 415268 330440 84828

Any assistance on how to resolve this problem would be greatly appreciated as this is a recurring problem :)

Thanks!