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

apps crash after sleep

Hello


I have a brand new 15" MBP with touchbar (Mac Sierra 10.12.2 / i7-6700 / Radeon Pro 460 4GB / 512GB SSD) and I keep having this problem with apps crashing after I open my macbook and wake it from sleep mode.

Also the crash reporter itself crashes each time as far as I know.


I've had this problem with Firefox (newest version, 50.1.0) and VLC (newest version, 2.2.4) and tried restarting first and after that I reset the SMC.

This seems to maybe have fixed VLC crashing but Firefox still crashes each and every time after sleep mode.

MacBook Pro (15-inch, Late 2016), macOS Sierra (10.12.2)

Posted on Dec 30, 2016 10:43 AM

Reply
Question marked as Best reply

Posted on Jan 7, 2017 8:35 AM

I was having this problem too with a new TouchBar MacBook Pro, and got a solution courtesy of our friends at Red Sweater Software. See my blog post here:


http://www.mactechnologies.com/wordpress/2017/01/avoiding-wake-from-sleep-crashe s-with-the-touchbar-macbook-pro/


In short, there seems to be a bug in the OS related to the TouchBar and older apps. Adding a plist entry for the app seems to fix the problem.


defaults write 'com.bundle.indentifier' NSLayerPerformanceUpdates -bool YES

13 replies
Question marked as Best reply

Jan 7, 2017 8:35 AM in response to AntsInMyEyesJohnson

I was having this problem too with a new TouchBar MacBook Pro, and got a solution courtesy of our friends at Red Sweater Software. See my blog post here:


http://www.mactechnologies.com/wordpress/2017/01/avoiding-wake-from-sleep-crashe s-with-the-touchbar-macbook-pro/


In short, there seems to be a bug in the OS related to the TouchBar and older apps. Adding a plist entry for the app seems to fix the problem.


defaults write 'com.bundle.indentifier' NSLayerPerformanceUpdates -bool YES

Jan 4, 2017 9:37 PM in response to Kappy

First 3 fixes definitely don't work, will try the others when I have time.


Some partial crash logs:


VLC

Process: VLC [1117]
Path: /Applications/VLC.app/Contents/MacOS/VLC
Identifier: org.videolan.vlc
Version: 2.2.4 (2.2.4)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: VLC [1117]
User ID: 501


Date/Time: 2017-01-04 19:24:27.116 +0100
OS Version: Mac OS X 10.12.2 (16C67)
Report Version: 12
Anonymous UUID: DA644E6F-28B3-57C7-1363-569905F0948A


Sleep/Wake UUID: 8FE489F0-3254-4AD0-B804-A35BACC48E40


Time Awake Since Boot: 13000 seconds

Time Since Wake: 5 seconds


System Integrity Protection: enabled


Crashed Thread: 0 Dispatch queue: com.apple.main-thread


Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x000040dedeadbec8
Exception Note: EXC_CORPSE_NOTIFY


Termination Signal:Segmentation fault: 11
Termination Reason:Namespace SIGNAL, Code 0xb

Terminating Process: exc handler [0]


Crash Reporter (Firefox)

Process: crashreporter [1069]
Path: /Applications/Firefox.app/Contents/MacOS/crashreporter.app/Contents/MacOS/crashr eporter
Identifier: org.mozilla.crashreporter
Version: 1.0
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: crashreporter [1069]
User ID: 501


Date/Time: 2017-01-04 15:08:09.375 +0100
OS Version: Mac OS X 10.12.2 (16C67)
Report Version: 12
Anonymous UUID: DA644E6F-28B3-57C7-1363-569905F0948A


Sleep/Wake UUID: EB5BDE84-130F-4B52-9C75-D8EAC37092A9


Time Awake Since Boot: 12000 seconds

Time Since Wake: 4 seconds


System Integrity Protection: enabled


Crashed Thread: 0 Dispatch queue: com.apple.main-thread


Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000020
Exception Note: EXC_CORPSE_NOTIFY


Termination Signal:Segmentation fault: 11
Termination Reason:Namespace SIGNAL, Code 0xb

Terminating Process: exc handler [0]

Jun 17, 2017 4:10 AM in response to Kappy

The concern I have with this "Apple Recommended" solution is that it's a nuclear solution.

On a *brand new* computer, one shouldn't have to do this.

I've had this issue just about every other update of macOS Sierra. It's happening again now.

There has to be a better issue than nuking the entire computer, logging out, removing files, installing the combo updater, and everything else.

That's just nonsense - it's a flaw. Apple should fix it. Not recommend 6-10 hours of effort.

Dec 30, 2016 11:02 AM in response to AntsInMyEyesJohnson

Possible Fixes for El Capitan and Later Installations


You should try each, one at a time, then test to see if the problem is fixed before going on to the next.


Be sure to backup your files before proceeding if possible.


  1. Resetting your Mac’s PRAM and NVRAM
  2. Reset the System Management Controller (SMC)
  3. Start the computer in Safe Mode, then restart normally. This is slower than a standard startup.
  4. Repair the disk by booting the from the Recovery HD. Immediately after the chime hold down the Command and R keys until the Utility Menu appears. Choose Disk Utility and click on the Continue button. Select the indented (usually, Macintosh HD) volumeentry from the side list. Click on the First Aid button in the toolbar. Wait for the Done button to appear. Quit Disk Utility and returnto the Utility Menu. Restart the computer from the Apple Menu.
  5. Create a New User Account Open Users & Groups preferences. Click on the lock icon and enter your Admin password when prompted. On the left under Current User click on the Add [+] button below Login Options. Setup a new Admin user account. Upon completion log out of your current account then log into the new account. If your problems cease, then consider switching to the new account and transferring your files to it - Transferring files from one User Account to another.
  6. Install Combo Updater Download macOS Sierra 10.12.2 Combo Update and install.
  7. Reinstall OS X by booting from the Recovery HD using the Command and R keys. When the Utility Menu appears select Reinstall OS X then click on the Continue button.
  8. Erase and Install OS X Restart the computer. Immediately after the chime hold down the Command and R keys until the Apple logo appears. When the Utility Menu appears:
  1. Select Disk Utility from the Utility Menu and click on Continue button.
  2. When Disk Utility loads select the drive (out-dented entry) from the Device list.
  3. Click on the Erase icon in Disk Utility's toolbar. A panel will drop down.
  4. Set the Format type to Mac OS Extended (Journaled.)
  5. Click on the Apply button, then wait for the Done button to activate and click on it.
  6. Quit Disk Utility and return to the Utility Menu.
  7. Select Reinstall OS X and click on the Continuebutton.

If you have enabled iCloud Disk and are storing your Documents and Data in iCloud, then consider turning that off and signing out of iCloud. It can slow down the computer considerably. Please see the following from the user, fotomac: "The solution was to SIGN OUT of iCloud and my problem STOPPED! NO MORE SPINNING BEACHBALL! My computer's speed increased to what it should be and all my Apps now work!"

apps crash after sleep

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