9 votos

MacBook Pro 2018 Reinicio aleatorio > Causa del apagado anterior: -20

Tengo el MacBook Pro 2018 (Mojave 10.14.1) recién traído hace 3 semanas,

ahora tengo un reinicio aleatorio cuando lo uso.

solo navego por internet, reproduzco spotify pero de repente la pantalla se queda en negro y se reinicia.

es muy molesto, sabiendo que no lo uso para tareas pesadas.

Estoy comprobando con

log show --predicate 'eventMessage contains "Previous shutdown cause"' --last 24h 

Resultado :

2018-12-02 21:23:31.803844+0700 0xb6       Default     0x0                  0      0    kernel: (AppleSMC) Previous shutdown cause: -20
2018-12-03 04:49:02.918465+0700 0x266d3    Default     0x0                  0      0    kernel: (AppleSMC) Previous shutdown cause: 5
2018-12-03 06:49:58.180398+0700 0x26d21    Default     0x0                  0      0    kernel: (AppleSMC) Previous shutdown cause: 5
2018-12-03 07:30:06.076770+0700 0x2721c    Default     0x0                  0      0    kernel: (AppleSMC) Previous shutdown cause: 5
2018-12-03 09:50:55.501253+0700 0xb6       Default     0x0                  0      0    kernel: (AppleSMC) Previous shutdown cause: -20

Este es el resultado de mi EtreCheck :

EtreCheck version: 5.0.3 (5018)
Report generated: 2018-12-03 09:57:27
Download EtreCheck from https://etrecheck.com
Runtime: 1:47
Performance: Excellent
Sandbox: Enabled
Full drive access: Disabled

Problem: Computer is restarting

Major Issues:
Anything that appears on this list needs immediate attention.

No Time Machine backup - Time Machine backup not found.

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.
Heavy I/O usage - Your system is under heavy I/O use. This will reduce your performance.
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 = 10

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 - 96.03 GB used)
disk1s2 - Preboot (APFS) [APFS Preboot] (Shared)
disk1s3 - Recovery (APFS) [Recovery] (Shared)
disk1s4 - VM (APFS) [APFS VM] (Shared - 2.15 GB used)

Mounted Volumes:
disk1s1 - Macintosh HD 250.69 GB (151.81 GB free)
APFS
Mount point: /
Encrypted

disk1s4 - VM [APFS VM] (Shared - 2.15 GB used)
APFS
Mount point: /private/var/vm
Encrypted

Network:
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.1 (18B75)
Time since boot: Less than an hour

Security:
System  Status
Gatekeeper  Enabled
System Integrity Protection Enabled

Unsigned Files:
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.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/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/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/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:
2 32-bit apps

Kernel Extensions:
/Library/Extensions
intelhaxm.kext (Intel Corporation Apps, 7.3.2 - SDK 10.9)

System Launch Agents:
[Not Loaded]    16 Apple tasks
[Loaded]    175 Apple tasks
[Running]   108 Apple tasks

System Launch Daemons:
[Not Loaded]    36 Apple tasks
[Loaded]    187 Apple tasks
[Running]   113 Apple tasks

Launch Agents:
[Not Loaded]    com.oracle.java.Java-Updater.plist (? 4e1c2192 - installed 2018-11-22)
[Running]   com.bjango.istatmenus.agent.plist (Bjango Pty Ltd - installed 2018-11-23)
[Running]   com.bjango.istatmenus.status.plist (Bjango Pty Ltd - installed 2018-11-23)
[Running]   com.teamviewer.teamviewer_desktop.plist (TeamViewer GmbH - installed 2018-12-03)
[Running]   com.teamviewer.teamviewer.plist (TeamViewer GmbH - installed 2018-12-03)

Launch Daemons:
[Running]   com.bjango.istatmenus.daemon.plist (Bjango Pty Ltd - installed 2018-11-23)
[Running]   com.teamviewer.teamviewer_service.plist (TeamViewer GmbH - installed 2018-12-03)
[Loaded]    com.teamviewer.Helper.plist (TeamViewer GmbH - installed 2018-11-14)
[Not Loaded]    com.oracle.java.Helper-Tool.plist (? e3fefdd2 - installed 2018-11-22)
[Loaded]    com.bjango.istatmenus.installerhelper.plist (Bjango Pty Ltd - installed 2018-11-21)
[Running]   com.bjango.istatmenus.fans.plist (? 9a713d46 - installed 2018-11-23)
[Loaded]    com.intel.haxm.plist (? 42f307e7 - installed 2018-09-18)

User Launch Agents:
[Other] com.lminhtm.tempmonitor.helper.plist (? 0 - installed 2018-11-21)
[Loaded]    com.google.keystone.agent.plist (Google, Inc. - installed 2018-11-21)
[Running]   com.github.facebook.watchman.plist (? 0 - installed 2018-11-21)
[Other] com.lminhtm.tempmonitor.menu.plist (? 0 - installed 2018-11-21)

User Login Items:
Macs Fan Control.app (Ilya Parniuk - installed 2018-11-21)
(/Applications/Macs Fan Control.app)
StartUpHelper (Spotify - installed 2018-11-30)
(/Applications/Spotify.app/Contents/Library/LoginItems/StartUpHelper.app)

Internet Plug-ins:
QuickTime Plugin: 7.7.3 (installed 2018-10-24)
JavaAppletPlugin: Java 8 Update 191 build 12 (installed 2018-11-22)

Safari Extensions:
Ghostery Lite Content Blocker - App Store (installed 2018-10-20)
Ghostery Lite UI - App Store (installed 2018-10-20)

3rd Party Preference Panes:
Java (installed 2018-10-06)

Time Machine:
Time Machine Not Configured!

Performance:
System Load: 4.55 (1 min ago) 16.33 (5 min ago) 9.82 (15 min ago)
Nominal I/O speed: 26.43 MB/s
File system: 19.06 seconds
Write speed: 1212 MB/s
Read speed: 3098 MB/s

CPU Usage:
Type    Overall Individual cores
System  5 % 12 %    2 % 9 % 1 % 8 % 1 % 6 % 1 %
User    6 % 16 %    1 % 14 %    1 % 11 %    1 % 8 % 1 %
Idle    89 %    72 %    98 %    77 %    98 %    81 %    98 %    86 %    98 %

Top Processes by CPU:
Process (count) Source  CPU Location
Other processes ?   50.34 % 
com.apple.WebKit.WebContent (3) Apple   13.95 % 
com.apple.WebKit.Networking (2) Apple   8.36 %  
Safari  Apple   7.26 %  
EtreCheck   App Store   6.83 %  

Top Processes by Memory:
Process (count) Source  RAM usage   Location
EtreCheck   App Store   530 MB  
Finder  Apple   128 MB  
Safari  Apple   85 MB   
Spotify Spotify 74 MB   
WhatsApp    App Store   69 MB   

Top Processes by Network Use:
Process Source  Input   Output  Location
corespeechd Apple   2 KB    3 MB    
Spotify Spotify 809 KB  142 KB  
WhatsApp    App Store   513 KB  7 KB    
com.apple.WebKit.Networking Apple   327 KB  15 KB   
biometrickitd   Apple   66 KB   98 KB   

Virtual Memory Information:
Available RAM   1.69 GB
Free RAM    179 MB
Used RAM    6.31 GB
Cached files    1.51 GB
Swap Used   407 MB

Software Installs (past 30 days):
Name    Version Install Date
Disk Speed Test 3.2 2018-11-21
Intel(R) Hardware Accelerated Execution Manager     2018-11-21
Numbers 5.0 2018-11-21
Pages   7.0 2018-11-21
Keynote 8.0 2018-11-21
Safari  12.0.1  2018-11-21
iTunes  12.8    2018-11-21
WhatsApp    0.3.1242    2018-11-21
LINE    5.11.2  2018-11-21
Security Update 2018-002    10.13.6 2018-11-21
GhosteryLite    1.0.0   2018-11-21
Gatekeeper Configuration Data   156 2018-11-21
Transmit    5.2.1   2018-11-21
SHAREit 0.9.0   2018-11-21
JDK 8 Update 191        2018-11-22
TeamViewer  14.0.13880  2018-11-27
Trello  2.10.8  2018-11-27
Movie Video Editor MovieMator   2.4.4   2018-11-27
EtreCheck   5.0.3   2018-11-29
Unity   2018.2.17f1 2018-11-30
Mono Framework      2018-11-30
Unity Documentation 2018.2.17f1 2018-11-30
AndroidPlayer   2018.2.17f1 2018-11-30
iOSSupport  2018.2.17f1 2018-11-30
The Unarchiver  4.0.0   2018-11-30
Microsoft .NET Core SDK 2.1.302 (x64)   2.1.302 2018-11-30
Be Focused  1.7.5   2018-12-01

Clean up:
~/Library/LaunchAgents/com.lminhtm.tempmonitor.helper.plist
/private/var/folders/7q/sm127g612mz1fh2pylgq_6680000gn/T/AppTranslocation/6FD62EBD-11A0-4599-B688-796A5E8C370D/d/Temp Monitor.app/Contents/Components/Temp Monitor Helper.app/Contents/MacOS/Temp Monitor Helper
Executable not found
~/Library/LaunchAgents/com.lminhtm.tempmonitor.menu.plist
/private/var/folders/7q/sm127g612mz1fh2pylgq_6680000gn/T/AppTranslocation/6FD62EBD-11A0-4599-B688-796A5E8C370D/d/Temp Monitor.app/Contents/Components/Temp Monitor Menu.app/Contents/MacOS/Temp Monitor Menu
Executable not found

Diagnostics Information (past 7 days):
2018-12-03 09:50:55 Last Shutdown Cause: -20 - Unknown

Directory /Library/Logs/DiagnosticReports is not accessible without Full Drive Access.

End of report

He buscado en internet sobre este código de apagado -20, pero no encuentro la respuesta.

¿Es un nuevo tipo de código de apagado de Mojave?

Cualquier opinión y solución será apreciada, ¡gracias!

EDITAR

intentó llamar a :

sudo log show --start "2018-12-2 10:45:17" --end "2018-12-3 23:45:47" --info --debug --signpost | grep -i Restart 

y trató de coincidir el registro con el tiempo de registro de apagado, y esto es lo que encontré :

2018-12-03 09:47:10.007046+0700 0x2bf      Default     0x0                  0      0    kernel: (AppleSmartBatteryManager) Restarting poll type 4
2018-12-03 09:48:10.019603+0700 0x2bf      Default     0x0                  0      0    kernel: (AppleSmartBatteryManager) Restarting poll type 4
2018-12-03 09:50:55.499364+0700 0xca       Default     0x0                  0      0    kernel: (AppleSmartBatteryManager) Restarting poll type 1
2018-12-03 09:50:55.522901+0700 0x7a       Default     0x0                  0      0    kernel: (AppleSmartBatteryManager) AppleSmartBattery::pollBatteryState already polling (1 <= 1). Restarting poll
2018-12-03 09:50:55.527298+0700 0x7a       Default     0x0                  0      0    kernel: (AppleSmartBatteryManager) Restarting poll type 1
2018-12-03 09:50:58.206753+0700 0x2c1      Default     0x0                  0      0    kernel: (AppleSmartBatteryManager) Restarting poll type 1
2018-12-03 09:50:58.345994+0700 0x2c1      Default     0x0                  0      0    kernel: (AppleSmartBatteryManager) Restarting poll type 1
2018-12-03 09:50:58.387372+0700 0x44d      Default     0x0                  161    0    contextstored: (KnowledgeMonitor) [com.apple.coreduet.context:] Restart preventer: <private>
2018-12-03 09:50:58.849621+0700 0x2ea      Default     0x0                  90     8    dasd: (DuetActivitySchedulerDaemon) [com.apple.duetactivityscheduler:default] Using restart times of <private>
2018-12-03 09:51:04.835339+0700 0x45b      Default     0x0                  90     8    dasd: (DuetActivitySchedulerDaemon) [com.apple.duetactivityscheduler:lifecycle] Attempting to suspend based on triggers: (     "com.apple.duetactivityscheduler.restartpolicy.assertionsheld" )
2018-12-03 09:51:07.008186+0700 0x2d7      Default     0x0                  94     0    loginwindow: (BezelServices) [com.apple.BezelServices:loginwindow] timer restarted. _keyDimTime 300 idleTime 0.520
2018-12-03 09:51:07.008465+0700 0x2d7      Default     0x0                  94     5    loginwindow: [com.apple.loginwindow.logging:Standard] -[HardwareStartupManager needsHardwareUpdateCheck] | checking EOS
2018-12-03 09:51:07.010448+0700 0x2d7      Default     0x0                  94     5    loginwindow: [com.apple.loginwindow.logging:Standard] -[HardwareStartupManager needsHardwareUpdateCheck] | returning: 0
2018-12-03 09:51:07.192429+0700 0x2d7      Default     0x0                  94     0    loginwindow: (BezelServices) [com.apple.BezelServices:loginwindow] timer restarted. _keyDimTime 300 idleTime 0.704
2018-12-03 09:51:07.501926+0700 0x3f0      Default     0x0                  90     8    dasd: (DuetActivitySchedulerDaemon) [com.apple.duetactivityscheduler:lifecycle] Attempting to suspend based on triggers: (     "com.apple.duetactivityscheduler.restartpolicy.assertionsheld" )
2018-12-03 09:51:07.501957+0700 0x3f0      Default     0x0                  90     8    dasd: (DuetActivitySchedulerDaemon) [com.apple.duetactivityscheduler:default] Ignoring trigger com.apple.duetactivityscheduler.restartpolicy.assertionsheld because conditions are deteriorating
2018-12-03 09:51:09.788532+0700 0x2d7      Default     0x0                  94     5    loginwindow: [com.apple.loginwindow.logging:Standard] -[ScreenSaverDaemon restartForUser:] | restartForUser, userName == nil:0
2018-12-03 09:51:09.791831+0700 0x2d7      Default     0x0                  94     5    loginwindow: [com.apple.loginwindow.logging:Standard] -[ScreenSaverDaemon restartForUser:] | no screen saver running, call _handleIdleTimer
2018-12-03 09:51:09.820568+0700 0x2d7      Default     0x0                  94     5    loginwindow: [com.apple.loginwindow.logging:TAL] -[PersistentAppsSupport previousStartupWasAPanicOrHardRestart] | returning:0
2018-12-03 09:51:09.820572+0700 0x2d7      Default     0x0                  94     5    loginwindow: [com.apple.loginwindow.logging:TAL] -[PersistentAppsSupport checkTALLoginOptions] |      firstLoginAfterPanic:0, firstLoginAfterHardRestart:0, lastTALLogoutPrefSetting:1, previousStartupWasPanicOrHardReset:0, skipTALWarningPrefIsSet:0
2018-12-03 09:51:12.021717+0700 0xbf3      Default     0x0                  280    0    secd: [com.apple.securityd:ckksoutgoing-Engram] End of operation group: <CKOperationGroup: 0x7fb153d26bb0; configs=, operationGroupID=1A9266C4DD0EBFB4, recv-size=Kilobytes, full-name=restart-setup, defaultConfiguration=<CKOperationConfiguration: 0x7fb153d28020>, send-size=Kilobytes>

0 votos

Le sugiero que pruebe sudo log show --start "2018-10-23 23:45:17" --end "2018-10-24 23:45:47" --info --debug --signpost | grep -i Restart ajuste la fecha/hora a su situación.

0 votos

Lo hice, ¿tienes alguna idea de lo que dice el registro? @Buscar

0 votos

No muestra nada inusual, vamos a ver si alguien está enviando Sigkill sudo log show --start start "2018-12-2 10:45:17" --end "2018-12-3 23:45:47 --info --debug --signpost | grep -i Sigkill

2voto

ash Puntos 336

Solía apagarse por causa de -20. Entonces desinstalé McAfee VirusScan. Todavía no sé a qué se refiere la causa -20, pero no ha vuelto a ocurrir desde que desinstalé McAfee VirusScan. Si tienes algún software que instale una extensión del kernel, como hacen muchos escáneres de virus, intenta desinstalar ese software o arrancar en modo seguro ( https://support.apple.com/en-us/HT201262 ) y ver si el problema desaparece.

0 votos

Yo secundaría esta corazonada / correlación / informe. ¿Podría recordar o guardar si tiene algún archivo panic.log que se volcó en el momento de una causa -20 en los registros?

0 votos

Creo que a estas alturas todos los registros relevantes han salido, lamentablemente. Pero fue una correlación muy fuerte, literalmente el único software que eliminé fue McAfee.

1voto

m0drzew Puntos 11

Yo para experimentar el mismo problema de reinicio aleatorio. Estoy de acuerdo en que parece que alguna aplicación solicitó un reinicio del sistema sin ningún error asociado. Parece que sólo está asociado a mi cuenta, la cuenta de invitado no presentaba el mismo problema pero borrar mi antigua cuenta e iniciar una nueva no lo solucionó. Lo único que me funcionó fue borrar el disco y reinstalar el SO, como la persona anterior.

Por cierto, instalé iStat Menu después de empezar a experimentar el problema, así que no creo que fuera esa aplicación.

Antes de encontrar este post, una solución que utilizaba cuando tenía que dejar el ordenador trabajando en algo desatendido era abrir un editor y hacer un cambio en un archivo pero no guardarlo. El sistema operativo detendrá el reinicio hasta que se pueda cerrar el editor. Usé emacs pero estoy seguro de que cualquier SW de edición no basado en la nube funcionaría.

1 votos

Bueno, creo que tengo el problema de nuevo, es reiniciar de nuevo durante las últimas 2 semanas, en este momento estoy downgrade mi os en alta sierra, si el problema persiste, creo que voy a centro de servicio de Apple para una reclamación de servicio ...

AppleAyuda.com

AppleAyuda es una comunidad de usuarios de los productos de Apple en la que puedes resolver tus problemas y dudas.
Puedes consultar las preguntas de otros usuarios, hacer tus propias preguntas o resolver las de los demás.

Powered by:

X