You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

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

Sleep/wake crash OSX Mavericks, Macbook Air 2013

Hi there,


Since the upgrade to Mavericks my 2013 Macbook Air had a few sleep wake crashes. The problem occurs when my air turns to sleep, and I try to wake it with the keyboard within a very short time.(1-3 seconds I think) Happened a few times when I was typing and accidently pressed the on/off button while typing(which is a really stupid feature in the new OSX if you ask me) and a few times when I tried to safe my laptop from going to sleep because it was idle for to long, and just got there to late. What happens is that the Macbook just gives a black screen, but is still on. I cant let it sleep by closing the lid, and the only way to get it running again is by restarting.(holding down the on/off button)


Couldnt find anything similar to this. So i'm hoping if this is a common problem with Mavericks and is on the list to be fixed with the new patch.


I hope you guys have some info.

MacBook Air, OS X Mavericks (10.9)

Posted on Nov 11, 2013 5:37 AM

Reply
353 replies

Dec 14, 2014 8:00 PM in response to Kenny Wiess

Ok guys. I have had the same issue for a while, but after doing the following I have not had these issues since (the problem was a black screen immediately after waking the computer after it went to sleep and having to restart to regain functionality). All I did was go into my account settings under system preferences and removed everything under login items, I then toggled my timemachine off then back on. That's it. Problems went away. Let me know if this solves your problems.

May 28, 2016 1:14 AM in response to Kenny Wiess

This reply may seem unrelated but I have a 2012 Mac mini and like many users I get frequent USB disconnects and the obligatory warning. Well I have tried many things software and hardware and at one point thought that heat and fan speed was the issue, it wasn't, sigh.


Well I am beyond annoyed that Apple has not addressed this, leaving users to live with it.


I was lucky enough to get someone to run the Apple Service Diagnostic (ASD) 3S152, not the crappy one we plebs get access to but the technicians one, the actually useful one.


It found three errors:


Airport (test #41) – wake on Wireless Internal Stimulation test

This test verifies the interconnect between the wireless module and system using an internal simulation mode during sleep/wake.

ERROR – 20 [WakeOnWireless test failed, invalid wake event]


Product: Sleep / Wake 30/60 Test (test #14) – Sleep / Wake 30/60 Test

Verifies that a unit can automatically sleep and wake using the OS sleepx tool with 30/60/1 settings

ERROR – 11 [Invalid wake event]


Memory test #10 – Main Memory Self-refresh test

Tests memory before and after a sleep wake cycle testing the memory's self refresh

ERROR -49018 [Unexpected wake cause.]


So there seems to be a theme here - sleep wake cycle. when I read this thread I thought Id get people to turn off their WiFi and see what happens to the sleep wake issue. Funnily enough since I did this the USB disconnect have stopped. Apparently each ASD is model specific or covers a small number. I would suggest finding the one that matches your machine and run the test. You'll apparently need an external USB to which you load the ASD software, then you boot from it and run the test. Well give it a crack I'm interested to see if this helps.

Jun 3, 2016 12:20 PM in response to marysplacestudio

marysplacestudio wrote:


Thanks Kevin... so far this is working for me too. Have you had any problems since?


Ah... that did not work for long. But I stumbled across another solution that is working, and has been for several days. My computer no longer crashes (kernel panic) after going to sleep:


Open up a Terminal in /Applications/Utilities/Terminal and to disable hibernation type (you may have to enter your login password after the first prompt):

sudo pmset -a hibernatemode 0

then remove any trace of previous hibernations:

rm /private/var/vm/sleepimage

After that reset the SMC aka System Management Controller:

For MacBook Pro's with removable battery:

  • Shut down the computer.
  • Disconnect the power adapter
  • Remove the battery.
  • Press and hold the power for at least for 5 seconds.
  • Release the power button.
  • Reconnect the battery
  • Turn on the computer.

MBP with non removable battery:

  • Shut down the computer.
  • Plug in the MagSafe power adapter if not already connected.
  • Press the Shift-Control-Option left side keys and the power button at the same time.
  • Release all the keys and the power button at the same time.
  • Turn on the computer.


Note: the LED on the MagSafe may change states - if so it means your SMC reset was successfull. To enable Safe Sleep again open Terminal and

sudo pmset -a hibernatemode 3
. Hope that help's!

Sleep/wake crash OSX Mavericks, Macbook Air 2013

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