Contribute
Register

Desperated with Sierra restarting suddenly during sleep or when waking

Status
Not open for further replies.
Joined
May 21, 2017
Messages
28
Motherboard
Gigabyte GA-z170X-Gaming 7
CPU
i7-6700
Graphics
GTX 1050 Ti
Mac
  1. iMac
  2. MacBook Pro
Hi friends,

I've been running an issue for years. Yes, I know, I should have get it solved already, but every time I tried, I spent hours and hours of searching and reading with no success. I am totally frustrated with this. This is the actual problem:

Sometimes (not always, but very frequently), when the computer wakes from sleep it restarts automatically. It might happen that it restarts before waking, during sleep. I detected that this only happens when I have apps open. If the computer sleeps when no programs have been opened yet, it never restart.

Not sure if this can affect, but I'm using thunderbolt3 port for making use of an Universal Audio Apollo audio interface)

(I know Sierra is pretty old since years ago, but I'd rather to keep Sierra because of all of my audio plugins compatibility.)

I would be enormously appreciated if somebody could lead me to a clue or anything, any help would be highly welcome.

Info about my system:
MacOs: Sierra (10.12.6)
Motherboard: Gigabyte GA-z170X-Gaming 7
CPU: i7-6700
Graphics: GTX 1050 Ti (With Nvidia Web Driver 378.05.05.25f13)
 
Joined
May 21, 2017
Messages
28
Motherboard
Gigabyte GA-z170X-Gaming 7
CPU
i7-6700
Graphics
GTX 1050 Ti
Mac
  1. iMac
  2. MacBook Pro
These are my Energy settings in case they help (sorry for the spanish)

Captura de pantalla 2020-09-17 a las 19.45.17.png
 

pastrychef

Moderator
Joined
May 29, 2013
Messages
17,700
Motherboard
Gigabyte Z390 M Gaming
CPU
i9-9900K OC'd @ 5.0GHz
Graphics
Vega 56 (Bios flashed to 64)
Mac
  1. MacBook
  2. Mac Pro
Classic Mac
  1. iBook
  2. Power Mac
  3. PowerBook
Mobile Phone
  1. iOS
Do you get panic reports after the restart?

What version of Clover are you on? Have you tried updating?
 
Joined
May 21, 2017
Messages
28
Motherboard
Gigabyte GA-z170X-Gaming 7
CPU
i7-6700
Graphics
GTX 1050 Ti
Mac
  1. iMac
  2. MacBook Pro
And this is the Console logs right before it restarts:

Code:
Sep 17 14:03:17 iMac-de-insalada syslogd[38]: ASL Sender Statistics
Sep 17 14:03:18 iMac-de-insalada com.apple.xpc.launchd[1] (com.apple.ReportCrash[3096]): Endpoint has been activated through legacy launch(3) APIs. Please switch to XPC or bootstrap_check_in(): com.apple.ReportCrash
Sep 17 14:04:24 iMac-de-insalada com.apple.xpc.launchd[1] (com.apple.ReportCrash[3100]): Endpoint has been activated through legacy launch(3) APIs. Please switch to XPC or bootstrap_check_in(): com.apple.ReportCrash
Sep 17 14:05:31 iMac-de-insalada com.apple.xpc.launchd[1] (com.apple.ReportCrash[3102]): Endpoint has been activated through legacy launch(3) APIs. Please switch to XPC or bootstrap_check_in(): com.apple.ReportCrash
Sep 17 14:06:37 iMac-de-insalada com.apple.xpc.launchd[1] (com.apple.ReportCrash[3104]): Endpoint has been activated through legacy launch(3) APIs. Please switch to XPC or bootstrap_check_in(): com.apple.ReportCrash
Sep 17 14:07:07 iMac-de-insalada com.apple.xpc.launchd[1] (com.apple.quicklook[3106]): Endpoint has been activated through legacy launch(3) APIs. Please switch to XPC or bootstrap_check_in(): com.apple.quicklook
Sep 17 14:07:38 iMac-de-insalada com.apple.xpc.launchd[1] (com.apple.ReportCrash[3109]): Endpoint has been activated through legacy launch(3) APIs. Please switch to XPC or bootstrap_check_in(): com.apple.ReportCrash
Sep 17 14:08:38 iMac-de-insalada com.apple.xpc.launchd[1] (com.apple.ReportCrash[3112]): Endpoint has been activated through legacy launch(3) APIs. Please switch to XPC or bootstrap_check_in(): com.apple.ReportCrash
Sep 17 14:09:45 iMac-de-insalada com.apple.xpc.launchd[1] (com.apple.ReportCrash[3116]): Endpoint has been activated through legacy launch(3) APIs. Please switch to XPC or bootstrap_check_in(): com.apple.ReportCrash
Sep 17 14:10:51 iMac-de-insalada com.apple.xpc.launchd[1] (com.apple.ReportCrash[3118]): Endpoint has been activated through legacy launch(3) APIs. Please switch to XPC or bootstrap_check_in(): com.apple.ReportCrash
Sep 17 14:11:18 iMac-de-insalada com.apple.xpc.launchd[1] (com.apple.quicklook[3119]): Endpoint has been activated through legacy launch(3) APIs. Please switch to XPC or bootstrap_check_in(): com.apple.quicklook
Sep 17 14:11:58 iMac-de-insalada com.apple.xpc.launchd[1] (com.apple.ReportCrash[3121]): Endpoint has been activated through legacy launch(3) APIs. Please switch to XPC or bootstrap_check_in(): com.apple.ReportCrash
Sep 17 14:13:04 iMac-de-insalada com.apple.xpc.launchd[1] (com.apple.ReportCrash[3123]): Endpoint has been activated through legacy launch(3) APIs. Please switch to XPC or bootstrap_check_in(): com.apple.ReportCrash
Sep 17 14:14:11 iMac-de-insalada syslogd[38]: ASL Sender Statistics
Sep 17 14:14:11 iMac-de-insalada com.apple.xpc.launchd[1] (com.apple.ReportCrash[3127]): Endpoint has been activated through legacy launch(3) APIs. Please switch to XPC or bootstrap_check_in(): com.apple.ReportCrash
Sep 17 14:15:41 localhost bootlog[0]: BOOT_TIME 1600344941 0
 
Joined
May 21, 2017
Messages
28
Motherboard
Gigabyte GA-z170X-Gaming 7
CPU
i7-6700
Graphics
GTX 1050 Ti
Mac
  1. iMac
  2. MacBook Pro
Do you get panic reports after the restart?

What version of Clover are you on? Have you tried updating?

I've just post what I found on Console logs above.

Looks like I installed (couple of years ago) this version of Clover:
Installer version: v2.4k r4077 EFI bootloader

Many thanks for answering.
 
Joined
May 21, 2017
Messages
28
Motherboard
Gigabyte GA-z170X-Gaming 7
CPU
i7-6700
Graphics
GTX 1050 Ti
Mac
  1. iMac
  2. MacBook Pro
More info:

looking for the reboot reason via command:
Code:
log show --predicate 'eventMessage contains "Previous shutdown cause"' --last 1h

shows this:
Code:
2020-09-17 14:15:43.040071+0200 0x47f      Default     0x0                  0      kernel: (AppleSMC) Previous shutdown cause: 5




Also I found some errors around the moment of restarting in the Console under System Reports:
 

Attachments

  • Dock_2020-09-17-134946_iMac-de-insalada.memory_resource.diag.txt
    5 KB · Views: 27
  • idea_2020-09-17-141936_iMac-de-insalada.wakeups_resource.diag.txt
    46.4 KB · Views: 49
  • UA Mixer Engine_2020-09-17-141954_iMac-de-insalada.wakeups_resource.diag.txt
    9.1 KB · Views: 35

pastrychef

Moderator
Joined
May 29, 2013
Messages
17,700
Motherboard
Gigabyte Z390 M Gaming
CPU
i9-9900K OC'd @ 5.0GHz
Graphics
Vega 56 (Bios flashed to 64)
Mac
  1. MacBook
  2. Mac Pro
Classic Mac
  1. iBook
  2. Power Mac
  3. PowerBook
Mobile Phone
  1. iOS
Please post your EFI folder.
 
Joined
May 21, 2017
Messages
28
Motherboard
Gigabyte GA-z170X-Gaming 7
CPU
i7-6700
Graphics
GTX 1050 Ti
Mac
  1. iMac
  2. MacBook Pro
I've just gathered more logs from system.log in the moment of the reboot, not sure if this can help:

Code:
Sep 18 13:57:33 iMac-de-insalada com.apple.xpc.launchd[1] (com.apple.imfoundation.IMRemoteURLConnectionAgent): Unknown key for integer: _DirtyJetsamMemoryLimit
Sep 18 13:57:33 iMac-de-insalada com.apple.xpc.launchd[1] (com.apple.xpc.launchd.domain.pid.Google Chrome H.609): Path not allowed in target domain: type = pid, path = /Applications/Google Chrome.app/Contents/Frameworks/Google Chrome Framework.framework/Versions/85.0.4183.102/XPCServices/AlertNotificationService.xpc error = 147: The specified service did not ship in the requestor's bundle, origin = /Applications/Google Chrome.app/Contents/Frameworks/Google Chrome Framework.framework/Versions/85.0.4183.102/Helpers/Google Chrome Helper.app
Sep 18 13:57:34 iMac-de-insalada LCore[607]: adding to startup: /Applications/Logitech/Logitech Gaming Software.app
Sep 18 13:57:34 iMac-de-insalada com.apple.xpc.launchd[1] (tv.plex.player[563]): Could not find and/or execute program specified by service: 2: No such file or directory: /Applications/Plex Media Player.app/Contents/MacOS/../Resources/PMP Helper
Sep 18 13:57:34 iMac-de-insalada com.apple.xpc.launchd[1] (tv.plex.player[563]): Service setup event to handle failure and will not launch until it fires.
Sep 18 13:57:35 iMac-de-insalada com.apple.xpc.launchd[1] (com.apple.WebKit.WebContent.Development): Unknown key for Boolean: _HighBitsASLR
Sep 18 13:57:35 iMac-de-insalada com.apple.xpc.launchd[1] (com.apple.WebKit.Plugin.32): Unknown key for Boolean: _HighBitsASLR
Sep 18 13:57:35 iMac-de-insalada com.apple.xpc.launchd[1] (com.apple.WebKit.WebContent): Unknown key for Boolean: _HighBitsASLR
Sep 18 13:57:35 iMac-de-insalada com.apple.xpc.launchd[1] (com.apple.WebKit.Plugin.64): Unknown key for Boolean: _HighBitsASLR
Sep 18 13:57:35 iMac-de-insalada com.apple.xpc.launchd[1] (com.apple.xpc.launchd.domain.user.501): Service "com.apple.xpc.launchd.unmanaged.AdobeIPCBroker.626" tried to hijack endpoint "com.adobe.AdobeIPCBroker-insalada" from owner: com.apple.xpc.launchd.unmanaged.AdobeIPCBroker.632
Sep 18 13:57:35 --- last message repeated 1 time ---
Sep 18 13:57:35 iMac-de-insalada com.apple.xpc.launchd[1] (com.apple.imfoundation.IMRemoteURLConnectionAgent): Unknown key for integer: _DirtyJetsamMemoryLimit
Sep 18 13:57:35 --- last message repeated 1 time ---
Sep 18 13:57:35 iMac-de-insalada gamed[595]: BUG in libdispatch client: kevent[EVFILT_MACHPORT] monitored resource vanished before the source cancel handler was invoked
Sep 18 13:57:36 iMac-de-insalada LCore[607]: Reachability Flag Status: -R ------- networkStatusForFlags
Sep 18 13:57:37 --- last message repeated 1 time ---
Sep 18 13:57:37 iMac-de-insalada com.apple.xpc.launchd[1] (com.adobe.AdobeCreativeCloud[574]): Service exited with abnormal code: 2
Sep 18 13:57:37 iMac-de-insalada Adobe Desktop Service[641]: objc[641]: Class HTTPHeader is implemented in both /Library/Application Support/Adobe/Adobe Desktop Common/Core/AdobePIM.dylib (0x10c2a34f0) and /Library/Application Support/Adobe/Adobe Desktop Common/Notifications/NotificationManager.dylib (0x10d276ba8). One of the two will be used. Which one is undefined.
Sep 18 13:57:37 iMac-de-insalada Adobe Desktop Service[641]: objc[641]: Class ProxyManager is implemented in both /Library/Application Support/Adobe/Adobe Desktop Common/Core/AdobePIM.dylib (0x10c2a3540) and /Library/Application Support/Adobe/Adobe Desktop Common/Notifications/NotificationManager.dylib (0x10d276bf8). One of the two will be used. Which one is undefined.
Sep 18 13:57:37 iMac-de-insalada Adobe Desktop Service[641]: objc[641]: Class HTTPHeader is implemented in both /Library/Application Support/Adobe/Adobe Desktop Common/Core/AdobePIM.dylib (0x10c2a34f0) and /Library/Application Support/Adobe/Adobe Desktop Common/ExchangePlugin/ExchangePluginDylib.dylib (0x10d52d768). One of the two will be used. Which one is undefined.
Sep 18 13:57:37 iMac-de-insalada Adobe Desktop Service[641]: objc[641]: Class ProxyManager is implemented in both /Library/Application Support/Adobe/Adobe Desktop Common/Core/AdobePIM.dylib (0x10c2a3540) and /Library/Application Support/Adobe/Adobe Desktop Common/ExchangePlugin/ExchangePluginDylib.dylib (0x10d52d7b8). One of the two will be used. Which one is undefined.
Sep 18 13:57:37 iMac-de-insalada Adobe Desktop Service[641]: objc[641]: Class HTTPHeader is implemented in both /Library/Application Support/Adobe/Adobe Desktop Common/Core/AdobePIM.dylib (0x10c2a34f0) and /Library/Application Support/Adobe/Adobe Desktop Common/ADS/ContainerBL.dylib (0x10e8aca80). One of the two will be used. Which one is undefined.
Sep 18 13:57:37 iMac-de-insalada Adobe Desktop Service[641]: objc[641]: Class ProxyManager is implemented in both /Library/Application Support/Adobe/Adobe Desktop Common/Core/AdobePIM.dylib (0x10c2a3540) and /Library/Application Support/Adobe/Adobe Desktop Common/ADS/ContainerBL.dylib (0x10e8acad0). One of the two will be used. Which one is undefined.
Sep 18 13:57:37 iMac-de-insalada Adobe Desktop Service[641]: objc[641]: Class HTTPHeader is implemented in both /Library/Application Support/Adobe/Adobe Desktop Common/Core/AdobePIM.dylib (0x10c2a34f0) and /Library/Application Support/Adobe/Adobe Desktop Common/Notifications/HomePanelBL.bundle/Contents/MacOS/HomePanelBL (0x110e17680). One of the two will be used. Which one is undefined.
Sep 18 13:57:37 iMac-de-insalada Adobe Desktop Service[641]: objc[641]: Class ProxyManager is implemented in both /Library/Application Support/Adobe/Adobe Desktop Common/Core/AdobePIM.dylib (0x10c2a3540) and /Library/Application Support/Adobe/Adobe Desktop Common/Notifications/HomePanelBL.bundle/Contents/MacOS/HomePanelBL (0x110e176d0). One of the two will be used. Which one is undefined.
Sep 18 13:57:37 iMac-de-insalada Adobe Desktop Service[641]: objc[641]: Class HTTPHeader is implemented in both /Library/Application Support/Adobe/Adobe Desktop Common/Core/AdobePIM.dylib (0x10c2a34f0) and /Library/Application Support/Adobe/Adobe Desktop Common/AppsPanel/AppsPanelIL.dylib (0x114c0c590). One of the two will be used. Which one is undefined.
Sep 18 13:57:37 iMac-de-insalada Adobe Desktop Service[641]: objc[641]: Class ProxyManager is implemented in both /Library/Application Support/Adobe/Adobe Desktop Common/Core/AdobePIM.dylib (0x10c2a3540) and /Library/Application Support/Adobe/Adobe Desktop Common/AppsPanel/AppsPanelIL.dylib (0x114c0c5e0). One of the two will be used. Which one is undefined.
Sep 18 13:57:37 iMac-de-insalada Adobe Desktop Service[641]: objc[641]: Class HTTPHeader is implemented in both /Library/Application Support/Adobe/Adobe Desktop Common/Core/AdobePIM.dylib (0x10c2a34f0) and /Library/Application Support/Adobe/Adobe Desktop Common/HDBox/HDPIM.dylib (0x1154cb260). One of the two will be used. Which one is undefined.
Sep 18 13:57:37 iMac-de-insalada Adobe Desktop Service[641]: objc[641]: Class ProxyManager is implemented in both /Library/Application Support/Adobe/Adobe Desktop Common/Core/AdobePIM.dylib (0x10c2a3540) and /Library/Application Support/Adobe/Adobe Desktop Common/HDBox/HDPIM.dylib (0x1154cb2b0). One of the two will be used. Which one is undefined.
Sep 18 13:57:39 iMac-de-insalada LCore[607]: Opening Logitech Updater in automatic mode
Sep 18 13:57:39 iMac-de-insalada LCore[607]: Logitech Updater automatic check not old enough
Sep 18 13:57:49 iMac-de-insalada com.apple.xpc.launchd[1] (com.adobe.ARMDCHelper.cc24aef4a1b90ed56a725c38014c95072f92651fb65e1bf9c8e43c37a23d420d[548]): Service exited with abnormal code: 111
Sep 18 13:58:25 iMac-de-insalada com.apple.xpc.launchd[1] (com.apple.mdworker.single.08000000-0000-0000-0000-000000000000): Service only ran for 2 seconds. Pushing respawn out by 8 seconds.
Sep 18 13:58:27 iMac-de-insalada com.apple.xpc.launchd[1] (com.apple.imfoundation.IMRemoteURLConnectionAgent): Unknown key for integer: _DirtyJetsamMemoryLimit
Sep 18 13:58:27 iMac-de-insalada com.apple.xpc.launchd[1] (com.apple.imtranscoding.IMTranscoderAgent): Unknown key for integer: _DirtyJetsamPriority
Sep 18 13:58:27 iMac-de-insalada com.apple.xpc.launchd[1] (com.apple.imtranscoding.IMTranscoderAgent): Unknown key for integer: _DirtyJetsamMemoryLimit
Sep 18 13:58:27 iMac-de-insalada com.apple.xpc.launchd[1] (com.apple.imdmessageservices.IMDMessageServicesAgent): Unknown key for integer: _DirtyJetsamMemoryLimit
Sep 18 13:58:34 iMac-de-insalada com.apple.xpc.launchd[1] (com.apple.quicklook[703]): Endpoint has been activated through legacy launch(3) APIs. Please switch to XPC or bootstrap_check_in(): com.apple.quicklook
Sep 18 13:58:36 iMac-de-insalada LCore[607]: Logitech Updater automatic check not old enough
Sep 18 13:59:57 iMac-de-insalada Dock[423]: BUG in libdispatch client: kevent[EVFILT_MACHPORT] monitored resource vanished before the source cancel handler was invoked


The programs I had running when it happened:
- Finder
- Chrome
- Telegram Desktop
- Notes
- Calendar
- Spotify
- UAD Meter & Control Panel


Hope it helps.

Thanks again.
 
Joined
May 21, 2017
Messages
28
Motherboard
Gigabyte GA-z170X-Gaming 7
CPU
i7-6700
Graphics
GTX 1050 Ti
Mac
  1. iMac
  2. MacBook Pro
I've been think thinking....

Although I'm operating with usb ports 2.0 and 3.0 indistinctly with no issues (all of them work perfectly, some via a usb hub, some directly to the motherboard, some 2.0, some 3.0., eject and recognition works flawlessly) I never created a Custom USB SSDT, because as I said, all work fine. May it be the reason of my random restart? How could I check that it might be related?
 
Status
Not open for further replies.
Top