I have MacBook Pro 2018 (Mojave 10.14.1) just brought it 2 months ago,
now i have random restart when i use it.
i only browse internet, play spotify but suddenly the screen goes black and it restarted.
it's very annoying, knowing im not use it for heavy task.
im checking with
log show --predicate 'eventMessage contains "Previous shutdown cause"' --last 24h
This is my EtreCheck result :
I searched on the internet about this -20 shutdown code, but i can't find the answer.
Is it a new kind of shutdown code from Mojave or I have a faulty board?
Any opinion and solution will be appreciated, thanks!
tried calling :
sudo log show --start "2019-2-3 10:45:17" --end "2019-2-3 15:40:47" --info --debug --signpost | grep -i Restart
and tried matching the log with the shutdown log time, and here's what i found :
Any of you other new MBP users experiencing the same? im getting crazed by having this issue ..
now i have random restart when i use it.
i only browse internet, play spotify but suddenly the screen goes black and it restarted.
it's very annoying, knowing im not use it for heavy task.
im checking with
log show --predicate 'eventMessage contains "Previous shutdown cause"' --last 24h
Result :
2019-02-02 20:06:05.878986+0700 0xadcc Default 0x0 0 0 kernel: (AppleSMC) Previous shutdown cause: 5
2019-02-03 09:48:33.554985+0700 0xb7 Default 0x0 0 0 kernel: (AppleSMC) Previous shutdown cause: 5
2019-02-03 14:53:12.548104+0700 0xb7 Default 0x0 0 0 kernel: (AppleSMC) Previous shutdown cause: -20
2019-02-02 20:06:05.878986+0700 0xadcc Default 0x0 0 0 kernel: (AppleSMC) Previous shutdown cause: 5
2019-02-03 09:48:33.554985+0700 0xb7 Default 0x0 0 0 kernel: (AppleSMC) Previous shutdown cause: 5
2019-02-03 14:53:12.548104+0700 0xb7 Default 0x0 0 0 kernel: (AppleSMC) Previous shutdown cause: -20
This is my EtreCheck result :
EtreCheck version: 5.1 (5020)
Report generated: 2019-02-03 15:44:16
Download EtreCheck from https://etrecheck.com
Runtime: 1:52
Performance: Excellent
Sandbox: Enabled
Full drive access: Disabled
Problem: Computer is restarting
Major Issues: None
Minor Issues:
These issues do not need immediate attention but they may indicate future problems.
Clean up - There are orphan files that could be removed.
Unsigned files - There are unsigned software files installed. They appear to be legitimate but should be reviewed.
32-bit Apps - This machine has 32-bits apps that may have problems in the future.
Abnormal shutdown - Your machine shut down abnormally.
Limited drive access - More information may be available with Full Drive Access.
Hardware Information:
MacBook Pro (13-inch, 2018)
MacBook Pro Model: MacBookPro15,2
1 2,3 GHz Intel Core i5 (i5-8259U) CPU: 4-core
8 GB RAM - Not upgradeable
BANK 0/ChannelA-DIMM0 - 4 GB LPDDR3 2133 ok
BANK 2/ChannelB-DIMM0 - 4 GB LPDDR3 2133 ok
Battery: Health = Normal - Cycle count = 43
Video Information:
Intel Iris Plus Graphics 655 - VRAM: 1536 MB
Color LCD 2880 x 1800
Drives:
disk0 - APPLE SSD AP0256M 251.00 GB (Solid State - TRIM: Yes)
Internal PCI-Express 8.0 GT/s x4 NVM Express
disk0s1 - EFI [EFI] 315 MB
disk0s2 [APFS Container] 250.69 GB
disk1 [APFS Virtual drive] 250.69 GB (Shared by 4 volumes)
disk1s1 - Macintosh HD (APFS) (Shared - 101.54 GB used)
disk1s2 - Preboot (APFS) [APFS Preboot] (Shared)
disk1s3 - Recovery (APFS) [Recovery] (Shared)
disk1s4 - VM (APFS) [APFS VM] (Shared - 1.07 GB used)
Mounted Volumes:
disk1s1 - Macintosh HD 250.69 GB (147.36 GB free)
APFS
Mount point: /
Encrypted
disk1s4 - VM [APFS VM] (Shared - 1.07 GB used)
APFS
Mount point: /private/var/vm
Encrypted
Network:
Interface en7: iPhone
Interface en0: Wi-Fi
802.11 a/b/g/n/ac
Interface en6: Bluetooth PAN
Interface bridge0: Thunderbolt Bridge
System Software:
macOS Mojave 10.14.4 (18E174f)
Time since boot: Less than an hour
Security:
GatekeeperEnabled
System Integrity ProtectionEnabled
Unsigned Files:
Launchd: ~/Library/LaunchAgents/com.google.keystone.agent.plist
Executable: ~/Library/Google/GoogleSoftwareUpdate/GoogleSoftwareUpdate.bundle/Contents/Resources/GoogleSoftwareUpdateAgent.app/Contents/MacOS/GoogleSoftwareUpdateAgent -runMode ifneeded
Details: Exact match found in the whitelist - probably OK
Launchd: /Library/LaunchAgents/com.oracle.java.Java-Updater.plist
Executable: /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Resources/Java Updater.app/Contents/MacOS/Java Updater -bgcheck
Details: Exact match found in the whitelist - probably OK
Launchd: /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Resources/com.oracle.java.Java-Updater.plist
Executable: /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Resources/Java Updater.app/Contents/MacOS/Java Updater -bgcheck
Details: Exact match found in the whitelist - probably OK
Launchd: /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Resources/com.oracle.java.Helper-Tool.plist
Executable: /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Resources/Helper-Tool
Details: Exact match found in the whitelist - probably OK
Launchd: /Library/LaunchDaemons/com.intel.haxm.plist
Executable: /Library/Extensions/intelhaxm.kext/Contents/Resources/haxm_start.sh
Details: Exact match found in the whitelist - probably OK
Launchd: /Library/LaunchDaemons/com.oracle.java.Helper-Tool.plist
Executable: /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Resources/Helper-Tool
Details: Exact match found in the whitelist - probably OK
Launchd: ~/Library/LaunchAgents/com.github.facebook.watchman.plist
Executable: /usr/local/Cellar/watchman/4.9.0_2/libexec/bin/watchman --foreground --logfile --log-level --sockname --statefile --pidfile
Details: Exact match found in the whitelist - probably OK
32-bit Applications:
One 32-bit app
Kernel Extensions:
/Library/Extensions
intelhaxm.kext (Intel Corporation Apps, 7.3.2 - SDK 10.9)
System Launch Agents:
[Not Loaded] 16 Apple tasks
[Loaded] 178 Apple tasks
[Running] 107 Apple tasks
System Launch Daemons:
[Not Loaded] 36 Apple tasks
[Loaded] 190 Apple tasks
[Running] 110 Apple tasks
Launch Agents:
[Not Loaded] com.oracle.java.Java-Updater.plist (? 352d3994 - installed 2018-12-14)
[Other] com.microsoft.update.agent.plist (? 5cdbb3ff - installed 2018-12-25)
[Not Loaded] com.teamviewer.teamviewer_desktop.plist (TeamViewer GmbH - installed 2018-12-07)
[Not Loaded] com.teamviewer.teamviewer.plist (TeamViewer GmbH - installed 2018-12-07)
Launch Daemons:
[Loaded] com.microsoft.OneDriveUpdaterDaemon.plist (Microsoft Corporation - installed 2018-12-25)
[Loaded] com.microsoft.autoupdate.helper.plist (Microsoft Corporation - installed 2018-12-25)
[Not Loaded] com.teamviewer.teamviewer_service.plist (TeamViewer GmbH - installed 2018-12-07)
[Loaded] com.teamviewer.Helper.plist (TeamViewer GmbH - installed 2018-12-07)
[Not Loaded] com.oracle.java.Helper-Tool.plist (? e3fefdd2 - installed 2018-12-14)
[Loaded] com.apple.installer.osmessagetracing.plist (Apple - installed 2019-01-19)
[Loaded] com.microsoft.office.licensingV2.helper.plist (Microsoft Corporation - installed 2018-08-04)
[Loaded] com.intel.haxm.plist (? 42f307e7 - installed 2018-09-18)
User Launch Agents:
[Loaded] com.google.keystone.agent.plist (? 0 - installed 2018-12-14)
[Running] com.github.facebook.watchman.plist (? 0 - installed 2018-12-15)
Internet Plug-ins:
QuickTime Plugin: 7.7.3 (installed 2019-01-29)
JavaAppletPlugin: Java 8 Update 191 build 12 (installed 2018-12-15)
3rd Party Preference Panes:
Java (installed 2018-12-15)
Time Machine:
Time Machine information not available without Full Drive Access.
Performance:
System Load: 1.83 (1 min ago) 2.15 (5 min ago) 1.95 (15 min ago)
Nominal I/O speed: 3.64 MB/s
File system: 20.93 seconds
Write speed: 1292 MB/s
Read speed: 2999 MB/s
CPU Usage:
Type Overall
System 4 %
User 11 %
Idle 85 %
Top Processes by CPU:
Process (count) CPU (Source - Location)
Other processes 51.51 % (?)
Google Chrome 23.46 % (Google, Inc.)
avconferenced 21.66 % (Apple)
AppleSpell 16.09 % (Apple)
EtreCheck 5.89 % (App Store)
Top Processes by Memory:
Process (count) RAM usage (Source - Location)
EtreCheck 528 MB (App Store)
Google Chrome 251 MB (Google, Inc.)
Google Chrome Helper 142 MB (Google, Inc.)
Mail 111 MB (Apple)
Spotlight 71 MB (Apple)
Top Processes by Network Use:
Process Input / Output (Source - Location)
avconferenced 275 MB / 21 MB (Apple)
corespeechd 4 KB / 8 MB (Apple)
Mail 2 MB / 10 KB (Apple)
biometrickitd 74 KB / 125 KB (Apple)
mDNSResponder 87 KB / 6 KB (Apple)
Virtual Memory Information:
Available RAM 1.23 GB
Free RAM 31 MB
Used RAM 6.77 GB
Cached files 1.20 GB
Swap Used 0 B
Software Installs (past 30 days):
Install Date Name (Version)
2019-01-25 Gatekeeper Configuration Data (160)
2019-01-30 LINE (5.13.1)
Clean up:
/Library/LaunchAgents/com.microsoft.update.agent.plist
/Library/Application Support/Microsoft/MAU2.0/Microsoft AutoUpdate.app/Contents/MacOS/Microsoft AU Daemon.app/Contents/MacOS/Microsoft AU Daemon
Executable not found
Diagnostics Information (past 7 days):
2019-02-03 14:53:12 Last Shutdown Cause: -20 - Unknown
Directory /Library/Logs/DiagnosticReports is not accessible without Full Drive Access.
End of report
Report generated: 2019-02-03 15:44:16
Download EtreCheck from https://etrecheck.com
Runtime: 1:52
Performance: Excellent
Sandbox: Enabled
Full drive access: Disabled
Problem: Computer is restarting
Major Issues: None
Minor Issues:
These issues do not need immediate attention but they may indicate future problems.
Clean up - There are orphan files that could be removed.
Unsigned files - There are unsigned software files installed. They appear to be legitimate but should be reviewed.
32-bit Apps - This machine has 32-bits apps that may have problems in the future.
Abnormal shutdown - Your machine shut down abnormally.
Limited drive access - More information may be available with Full Drive Access.
Hardware Information:
MacBook Pro (13-inch, 2018)
MacBook Pro Model: MacBookPro15,2
1 2,3 GHz Intel Core i5 (i5-8259U) CPU: 4-core
8 GB RAM - Not upgradeable
BANK 0/ChannelA-DIMM0 - 4 GB LPDDR3 2133 ok
BANK 2/ChannelB-DIMM0 - 4 GB LPDDR3 2133 ok
Battery: Health = Normal - Cycle count = 43
Video Information:
Intel Iris Plus Graphics 655 - VRAM: 1536 MB
Color LCD 2880 x 1800
Drives:
disk0 - APPLE SSD AP0256M 251.00 GB (Solid State - TRIM: Yes)
Internal PCI-Express 8.0 GT/s x4 NVM Express
disk0s1 - EFI [EFI] 315 MB
disk0s2 [APFS Container] 250.69 GB
disk1 [APFS Virtual drive] 250.69 GB (Shared by 4 volumes)
disk1s1 - Macintosh HD (APFS) (Shared - 101.54 GB used)
disk1s2 - Preboot (APFS) [APFS Preboot] (Shared)
disk1s3 - Recovery (APFS) [Recovery] (Shared)
disk1s4 - VM (APFS) [APFS VM] (Shared - 1.07 GB used)
Mounted Volumes:
disk1s1 - Macintosh HD 250.69 GB (147.36 GB free)
APFS
Mount point: /
Encrypted
disk1s4 - VM [APFS VM] (Shared - 1.07 GB used)
APFS
Mount point: /private/var/vm
Encrypted
Network:
Interface en7: iPhone
Interface en0: Wi-Fi
802.11 a/b/g/n/ac
Interface en6: Bluetooth PAN
Interface bridge0: Thunderbolt Bridge
System Software:
macOS Mojave 10.14.4 (18E174f)
Time since boot: Less than an hour
Security:
GatekeeperEnabled
System Integrity ProtectionEnabled
Unsigned Files:
Launchd: ~/Library/LaunchAgents/com.google.keystone.agent.plist
Executable: ~/Library/Google/GoogleSoftwareUpdate/GoogleSoftwareUpdate.bundle/Contents/Resources/GoogleSoftwareUpdateAgent.app/Contents/MacOS/GoogleSoftwareUpdateAgent -runMode ifneeded
Details: Exact match found in the whitelist - probably OK
Launchd: /Library/LaunchAgents/com.oracle.java.Java-Updater.plist
Executable: /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Resources/Java Updater.app/Contents/MacOS/Java Updater -bgcheck
Details: Exact match found in the whitelist - probably OK
Launchd: /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Resources/com.oracle.java.Java-Updater.plist
Executable: /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Resources/Java Updater.app/Contents/MacOS/Java Updater -bgcheck
Details: Exact match found in the whitelist - probably OK
Launchd: /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Resources/com.oracle.java.Helper-Tool.plist
Executable: /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Resources/Helper-Tool
Details: Exact match found in the whitelist - probably OK
Launchd: /Library/LaunchDaemons/com.intel.haxm.plist
Executable: /Library/Extensions/intelhaxm.kext/Contents/Resources/haxm_start.sh
Details: Exact match found in the whitelist - probably OK
Launchd: /Library/LaunchDaemons/com.oracle.java.Helper-Tool.plist
Executable: /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Resources/Helper-Tool
Details: Exact match found in the whitelist - probably OK
Launchd: ~/Library/LaunchAgents/com.github.facebook.watchman.plist
Executable: /usr/local/Cellar/watchman/4.9.0_2/libexec/bin/watchman --foreground --logfile --log-level --sockname --statefile --pidfile
Details: Exact match found in the whitelist - probably OK
32-bit Applications:
One 32-bit app
Kernel Extensions:
/Library/Extensions
intelhaxm.kext (Intel Corporation Apps, 7.3.2 - SDK 10.9)
System Launch Agents:
[Not Loaded] 16 Apple tasks
[Loaded] 178 Apple tasks
[Running] 107 Apple tasks
System Launch Daemons:
[Not Loaded] 36 Apple tasks
[Loaded] 190 Apple tasks
[Running] 110 Apple tasks
Launch Agents:
[Not Loaded] com.oracle.java.Java-Updater.plist (? 352d3994 - installed 2018-12-14)
[Other] com.microsoft.update.agent.plist (? 5cdbb3ff - installed 2018-12-25)
[Not Loaded] com.teamviewer.teamviewer_desktop.plist (TeamViewer GmbH - installed 2018-12-07)
[Not Loaded] com.teamviewer.teamviewer.plist (TeamViewer GmbH - installed 2018-12-07)
Launch Daemons:
[Loaded] com.microsoft.OneDriveUpdaterDaemon.plist (Microsoft Corporation - installed 2018-12-25)
[Loaded] com.microsoft.autoupdate.helper.plist (Microsoft Corporation - installed 2018-12-25)
[Not Loaded] com.teamviewer.teamviewer_service.plist (TeamViewer GmbH - installed 2018-12-07)
[Loaded] com.teamviewer.Helper.plist (TeamViewer GmbH - installed 2018-12-07)
[Not Loaded] com.oracle.java.Helper-Tool.plist (? e3fefdd2 - installed 2018-12-14)
[Loaded] com.apple.installer.osmessagetracing.plist (Apple - installed 2019-01-19)
[Loaded] com.microsoft.office.licensingV2.helper.plist (Microsoft Corporation - installed 2018-08-04)
[Loaded] com.intel.haxm.plist (? 42f307e7 - installed 2018-09-18)
User Launch Agents:
[Loaded] com.google.keystone.agent.plist (? 0 - installed 2018-12-14)
[Running] com.github.facebook.watchman.plist (? 0 - installed 2018-12-15)
Internet Plug-ins:
QuickTime Plugin: 7.7.3 (installed 2019-01-29)
JavaAppletPlugin: Java 8 Update 191 build 12 (installed 2018-12-15)
3rd Party Preference Panes:
Java (installed 2018-12-15)
Time Machine:
Time Machine information not available without Full Drive Access.
Performance:
System Load: 1.83 (1 min ago) 2.15 (5 min ago) 1.95 (15 min ago)
Nominal I/O speed: 3.64 MB/s
File system: 20.93 seconds
Write speed: 1292 MB/s
Read speed: 2999 MB/s
CPU Usage:
Type Overall
System 4 %
User 11 %
Idle 85 %
Top Processes by CPU:
Process (count) CPU (Source - Location)
Other processes 51.51 % (?)
Google Chrome 23.46 % (Google, Inc.)
avconferenced 21.66 % (Apple)
AppleSpell 16.09 % (Apple)
EtreCheck 5.89 % (App Store)
Top Processes by Memory:
Process (count) RAM usage (Source - Location)
EtreCheck 528 MB (App Store)
Google Chrome 251 MB (Google, Inc.)
Google Chrome Helper 142 MB (Google, Inc.)
Mail 111 MB (Apple)
Spotlight 71 MB (Apple)
Top Processes by Network Use:
Process Input / Output (Source - Location)
avconferenced 275 MB / 21 MB (Apple)
corespeechd 4 KB / 8 MB (Apple)
Mail 2 MB / 10 KB (Apple)
biometrickitd 74 KB / 125 KB (Apple)
mDNSResponder 87 KB / 6 KB (Apple)
Virtual Memory Information:
Available RAM 1.23 GB
Free RAM 31 MB
Used RAM 6.77 GB
Cached files 1.20 GB
Swap Used 0 B
Software Installs (past 30 days):
Install Date Name (Version)
2019-01-25 Gatekeeper Configuration Data (160)
2019-01-30 LINE (5.13.1)
Clean up:
/Library/LaunchAgents/com.microsoft.update.agent.plist
/Library/Application Support/Microsoft/MAU2.0/Microsoft AutoUpdate.app/Contents/MacOS/Microsoft AU Daemon.app/Contents/MacOS/Microsoft AU Daemon
Executable not found
Diagnostics Information (past 7 days):
2019-02-03 14:53:12 Last Shutdown Cause: -20 - Unknown
Directory /Library/Logs/DiagnosticReports is not accessible without Full Drive Access.
End of report
I searched on the internet about this -20 shutdown code, but i can't find the answer.
Is it a new kind of shutdown code from Mojave or I have a faulty board?
Any opinion and solution will be appreciated, thanks!
tried calling :
sudo log show --start "2019-2-3 10:45:17" --end "2019-2-3 15:40:47" --info --debug --signpost | grep -i Restart
and tried matching the log with the shutdown log time, and here's what i found :
2019-02-03 14:49:29.002914+0700 0x2bf Default 0x0 0 0 kernel: (AppleSmartBatteryManager) Restarting poll type 2
2019-02-03 14:53:12.546728+0700 0xca Default 0x0 0 0 kernel: (AppleSmartBatteryManager) Restarting poll type 1
2019-02-03 14:53:12.569430+0700 0x7b Default 0x0 0 0 kernel: (AppleSmartBatteryManager) AppleSmartBattery:ollBatteryState already polling (1 <= 1). Restarting poll
2019-02-03 14:53:12.575040+0700 0x7b Default 0x0 0 0 kernel: (AppleSmartBatteryManager) Restarting poll type 1
2019-02-03 14:53:18.488787+0700 0x2ba Default 0x0 0 0 kernel: (AppleSmartBatteryManager) Restarting poll type 1
2019-02-03 14:53:19.041224+0700 0x2ba Default 0x0 0 0 kernel: (AppleSmartBatteryManager) Restarting poll type 1
2019-02-03 14:53:19.500727+0700 0x2e3 Default 0x0 86 8 dasd: (DuetActivitySchedulerDaemon) [com.apple.duetactivityscheduler:default] Using restart times of <private>
2019-02-03 14:53:26.907532+0700 0x4b1 Default 0x0 86 8 dasd: (DuetActivitySchedulerDaemon) [com.apple.duetactivityscheduler:lifecycle] Attempting to suspend based on triggers: ( "com.apple.duetactivityscheduler.thermalpolicypolicy.thermalpressurechange", "com.apple.duetactivityscheduler.restartpolicy.assertionsheld" )
2019-02-03 14:53:26.908515+0700 0x4b1 Default 0x0 86 8 dasd: (DuetActivitySchedulerDaemon) [com.apple.duetactivityscheduler:default] Ignoring trigger com.apple.duetactivityscheduler.restartpolicy.assertionsheld because conditions are deteriorating
2019-02-03 14:53:27.999351+0700 0x2cf Default 0x0 90 5 loginwindow: [com.apple.loginwindow.logging:Standard] -[HardwareStartupManager needsHardwareUpdateCheck] | checking EOS
2019-02-03 14:53:12.546728+0700 0xca Default 0x0 0 0 kernel: (AppleSmartBatteryManager) Restarting poll type 1
2019-02-03 14:53:12.569430+0700 0x7b Default 0x0 0 0 kernel: (AppleSmartBatteryManager) AppleSmartBattery:ollBatteryState already polling (1 <= 1). Restarting poll
2019-02-03 14:53:12.575040+0700 0x7b Default 0x0 0 0 kernel: (AppleSmartBatteryManager) Restarting poll type 1
2019-02-03 14:53:18.488787+0700 0x2ba Default 0x0 0 0 kernel: (AppleSmartBatteryManager) Restarting poll type 1
2019-02-03 14:53:19.041224+0700 0x2ba Default 0x0 0 0 kernel: (AppleSmartBatteryManager) Restarting poll type 1
2019-02-03 14:53:19.500727+0700 0x2e3 Default 0x0 86 8 dasd: (DuetActivitySchedulerDaemon) [com.apple.duetactivityscheduler:default] Using restart times of <private>
2019-02-03 14:53:26.907532+0700 0x4b1 Default 0x0 86 8 dasd: (DuetActivitySchedulerDaemon) [com.apple.duetactivityscheduler:lifecycle] Attempting to suspend based on triggers: ( "com.apple.duetactivityscheduler.thermalpolicypolicy.thermalpressurechange", "com.apple.duetactivityscheduler.restartpolicy.assertionsheld" )
2019-02-03 14:53:26.908515+0700 0x4b1 Default 0x0 86 8 dasd: (DuetActivitySchedulerDaemon) [com.apple.duetactivityscheduler:default] Ignoring trigger com.apple.duetactivityscheduler.restartpolicy.assertionsheld because conditions are deteriorating
2019-02-03 14:53:27.999351+0700 0x2cf Default 0x0 90 5 loginwindow: [com.apple.loginwindow.logging:Standard] -[HardwareStartupManager needsHardwareUpdateCheck] | checking EOS
Any of you other new MBP users experiencing the same? im getting crazed by having this issue ..