[Galaxy Tab Pro 12.2, 10.1, 8.4 Original Android De] roustabout:
Wakeup Loop

Intermittently since the CM 12 builds started, my device has been hard to wake from sleep.

Symptoms are the screen flashing a lot but not showing an unlock ring, or alternately drawing the unlock screen, but not acccepting the unlock wipe (if no passcode is set) or accepting it but then not being able to register the pattern input.

Just now, I had a 15 minute or so "wakeup loop" go on, long enough to logcat it and take video of what I was seeing. The video is at https://youtu.be/nDaaiEiMUvk

The loop seems repetitive, with stanzas of errors and warnings.

I finally gave up and issued an adb reboot, whereupon everything is fine.

Usually, the longer the device has been up the more often it does this. I'm on the 7/30 nightly just now, but as I say i've seen this on the 12.0 and 12.1 builds for the 8.4.

Sometimes, powering the screen off and then back on again after a few seconds resolves the problem - not tonight, though.

Any thoughts?

E/AndroidRuntime( 3697): FATAL EXCEPTION: main

E/AndroidRuntime( 3697): Process: com.android.systemui, PID: 3697

E/AndroidRuntime( 3697): java.lang.NullPointerException: Attempt to get length of null array

E/AndroidRuntime( 3697):	at com.android.systemui.statusbar.BaseStatusBar$5$1.run(BaseStatusBar.java:433)

E/AndroidRuntime( 3697):	at android.os.Handler.handleCallback(Handler.java:739)

E/AndroidRuntime( 3697):	at android.os.Handler.dispatchMessage(Handler.java:95)

E/AndroidRuntime( 3697):	at android.os.Looper.loop(Looper.java:135)

E/AndroidRuntime( 3697):	at android.app.ActivityThread.main(ActivityThread.java:5289)

E/AndroidRuntime( 3697):	at java.lang.reflect.Method.invoke(Native Method)

E/AndroidRuntime( 3697):	at java.lang.reflect.Method.invoke(Method.java:372)

E/AndroidRuntime( 3697):	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:904)

E/AndroidRuntime( 3697):	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:699)

W/ActivityManager( 710): Process com.android.systemui has crashed too many times: killing!

and atlas warnings:

D/OpenGLRenderer( 3795): Use EGL_SWAP_BEHAVIOR_PRESERVED: true

D/Atlas ( 3795): Validating map...

W/Atlas ( 3795): Pointer 0x0, not in getPreloadedDrawables?

W/Atlas ( 3795): Pointer 0x0, not in getPreloadedDrawables?

W/Atlas ( 3795): Pointer 0x0, not in getPreloadedDrawables?

W/Atlas ( 3795): Pointer 0x0, not in getPreloadedDrawables?

W/Atlas ( 3795): Pointer 0x0, not in getPreloadedDrawables?

W/Atlas ( 3795): Pointer 0x0, not in getPreloadedDrawables?

W/Atlas ( 3795): Pointer 0x0, not in getPreloadedDrawables?

W/Atlas ( 3795): Pointer 0x0, not in getPreloadedDrawables?

W/Atlas ( 3795): Pointer 0x0, not in getPreloadedDrawables?

W/Atlas ( 3795): Pointer 0x0, not in getPreloadedDrawables?

W/Atlas ( 3795): Pointer 0x0, not in getPreloadedDrawables?

W/Atlas ( 3795): Pointer 0x0, not in getPreloadedDrawables?

W/Atlas ( 3795): Pointer 0x0, not in getPreloadedDrawables?

W/Atlas ( 3795): Pointer 0x0, not in getPreloadedDrawables?

W/Atlas ( 3795): Pointer 0x0, not in getPreloadedDrawables?

W/Atlas ( 3795): Pointer 0x0, not in getPreloadedDrawables?

W/Atlas ( 3795): Pointer 0x0, not in getPreloadedDrawables?

W/Atlas ( 3795): Pointer 0x0, not in getPreloadedDrawables?

W/Atlas ( 3795): Pointer 0x0, not in getPreloadedDrawables?

W/Atlas ( 3795): Pointer 0x0, not in getPreloadedDrawables?

W/Atlas ( 3795): Pointer 0x0, not in getPreloadedDrawables?