Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Computer randomly going to sleep

Hey everyone,


I have a brand new iMac that is going to sleep on me randomly and I can't figure out why. Below is the console log. Can anyone shed some light as to what might be going on?


11/23/12 8:52:28.780 PM WindowServer[72]: handle_will_sleep_auth_and_shield_windows: releasing authw 0x7fa768c5b840(2000), shield 0x7fa768e262b0(2001), lock state 3

11/23/12 8:52:28.780 PM WindowServer[72]: handle_will_sleep_auth_and_shield_windows: err 0x0

11/23/12 8:52:41.964 PM WindowServer[72]: CGXSetWindowBackgroundBlurRadius: Invalid window 0xffffffff

11/23/12 8:52:41.965 PM loginwindow[48]: find_shared_window: WID -1

11/23/12 8:52:41.965 PM loginwindow[48]: CGSGetWindowTags: Invalid window 0xffffffff

11/23/12 8:52:41.965 PM loginwindow[48]: find_shared_window: WID -1

11/23/12 8:52:41.965 PM loginwindow[48]: CGSSetWindowTags: Invalid window 0xffffffff

11/23/12 8:52:41.966 PM loginwindow[48]: find_shared_window: WID 50

11/23/12 8:52:41.972 PM loginwindow[48]: ERROR | -[LWBuiltInScreenLockAuthLion preLoad] | guestEnabled is true, but guest mode is not set to a usable value

11/23/12 8:52:41.000 PM kernel[0]: PM notification timeout (pid 213, Google Chrome)

11/23/12 8:52:41.000 PM kernel[0]: PM notification timeout (pid 319, Google Chrome He)

11/23/12 8:52:41.000 PM kernel[0]: PM notification timeout (pid 321, Google Chrome He)

11/23/12 8:52:41.000 PM kernel[0]: PM notification timeout (pid 1576, Google Chrome He)

11/23/12 8:52:41.000 PM kernel[0]: PM notification timeout (pid 2002, Google Chrome He)

11/23/12 8:52:41.000 PM kernel[0]: PM notification timeout (pid 2199, Google Chrome He)

11/23/12 8:52:41.000 PM kernel[0]: PM notification timeout (pid 2272, Google Chrome He)

11/23/12 8:52:41.000 PM kernel[0]: PM notification timeout (pid 2275, Google Chrome He)

11/23/12 8:52:41.000 PM kernel[0]: PM notification timeout (pid 2276, Google Chrome He)

11/23/12 8:52:41.000 PM kernel[0]: PM notification timeout (pid 2280, Google Chrome He)

11/23/12 8:52:41.000 PM kernel[0]: PM notification timeout (pid 2494, Google Chrome He)

11/23/12 8:52:41.000 PM kernel[0]: PM notification timeout (pid 2963, Google Chrome He)

11/23/12 8:52:42.091 PM WindowServer[72]: Created shield window 0x54f for display 0x04280300

11/23/12 8:52:42.091 PM WindowServer[72]: device_generate_desktop_screenshot: authw 0x7fa768c5efd0(2000), shield 0x7fa76a243a20(2001)

11/23/12 8:52:42.123 PM WindowServer[72]: device_generate_lock_screen_screenshot: authw 0x7fa768c5efd0(2000), shield 0x7fa76a243a20(2001)

11/23/12 8:52:42.178 PM com.apple.time[11]: Next maintenance wake [Backup Interval]: <date: 0x7fc81b90d860> Fri Nov 23 21:21:19 2012 EST (approx)

11/23/12 8:52:42.178 PM com.apple.time[11]: Requesting maintenance wake [Backup Interval]: <date: 0x7fc81b90d860> Fri Nov 23 21:21:19 2012 EST (approx)

11/23/12 8:52:45.000 PM kernel[0]: 104610.278956: ar9300WowEnable: Skip PCIE WA programming

11/23/12 8:52:49.315 PM hidd[52]: MultitouchHID: device bootloaded

11/23/12 8:52:49.323 PM loginwindow[48]: ERROR | -[LWScreenLock(Private) screenIsLockedTimeExpired:] | No lock state found, use built in check

11/23/12 8:52:49.409 PM WindowServer[72]: handle_will_sleep_auth_and_shield_windows: no lock state data

11/23/12 8:52:45.000 PM kernel[0]: Wake reason: EHC2

11/23/12 8:52:49.000 PM kernel[0]: Previous Sleep Cause: 5

iMac, OS X Mountain Lion

Posted on Nov 23, 2012 6:07 PM

Reply
6 replies

Dec 1, 2012 11:38 PM in response to scottishsaiyan

Same thing happening to me. Air wakes from sleep, everything is fine for maybe 30 seconds, then it goes back to sleep -- while I'm typing! Then I wake it a second time and observe the same log entries, including the ones about Chrome.


Immediately after the second wake, I also observe the Wifi being grayed out and re-initializing (plus log entries), then a bunch of network connection-aware apps (e.g. Adium) come back online, too.

Feb 6, 2013 12:58 PM in response to scottishsaiyan

I'm having the exact same issue, including this part:


My local apple store has swapped the graphics card but to no avail. Resetting PRAM seems to be a solution, at least now, 30 minutes after the computer had it's last fit, and decided to lock up on me every 10 seconds.


06.02.13 21:12:31,410 WindowServer[91]: CGXSetWindowBackgroundBlurRadius: Invalid window 0xffffffff

06.02.13 21:12:31,411 loginwindow[41]: find_shared_window: WID -1

06.02.13 21:12:31,411 loginwindow[41]: CGSGetWindowTags: Invalid window 0xffffffff

06.02.13 21:12:31,411 loginwindow[41]: find_shared_window: WID -1

06.02.13 21:12:31,411 loginwindow[41]: CGSSetWindowTags: Invalid window 0xffffffff

06.02.13 21:12:31,430 loginwindow[41]: ERROR | -[LWBuiltInScreenLockAuthLion preLoad] | guestEnabled is true, but guest mode is not set to a usable value

06.02.13 21:12:31,625 WindowServer[91]: Created shield window 0x132 for display 0x042735c0

06.02.13 21:12:31,625 WindowServer[91]: device_generate_desktop_screenshot: authw 0x7fac02450fb0(2000), shield 0x7fac0244a650(2001)

06.02.13 21:12:31,675 WindowServer[91]: device_generate_lock_screen_screenshot: authw 0x7fac02450fb0(2000), shield 0x7fac0244a650(2001)

06.02.13 21:12:32,466 WindowServer[91]: handle_will_sleep_auth_and_shield_windows: releasing authw 0x7fac02450fb0(2000), shield 0x7fac0244a650(2001), lock state 3

Jun 21, 2013 2:22 PM in response to scottishsaiyan

It's chrome, just discovered the same problem with mine.


Try this:


Set your display to sleep at 3 min, and your computer to sleep at 4 (restart after making the change)

Make sure chrome is quit.

Start a timer and let the computer idle, don't touch any keys.

The display should go dark at 3 min,

At 4 min the light at the front should pulse, if it does, it's asleep, if not, it's something else.


For me I noticed that it took 4.5 min for the light to start pulsing, and I checked the console. The same PM timeout error I got. I closed Chrome and ran the test and the computer slept at 4 min.

Computer randomly going to sleep

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.