I'm going to describe the symptoms I'm seeing, diagnostic steps I've taken, then give the hardware configuration below. I would love to have any suggestions on how to fix this, or where to take my investigation next.
- When the laptop starts "cold", i.e. it has not been used for a few hours, it is just fine
- After a few hours of use (3 or 4), it will hard reboot itself. No error messages visible, no kernel panics found in the logs, as far as I can see.
- After that, the hard reboots come more and more frequently
- It appears that the machine stays on indefinitely if not used
UPDATED SYMPTOMS Having charged the computer with an appropriate charger, the computer seems able to sustain more life and longer downloads. However, now the computer is experiencing screen glitching, especially related to vibration.
Diagnostic steps
- Suspecting this to be a temperature issue, I installed Fanny and put the laptop on ice (literally, on ice). Even with CPU temperature consistently below 50C, it still would reboot frequently.
- Looking at the Console application, no messages about "kernel" "panic" "restart" or the like.
- Booting into Ubuntu from an external USB drive has the computer working just fine, even if it gets hot.
Hypotheses
- Either a software problem under macos; or
- An issue with the harddrive (or possibly some other hardware that ubuntu isn't activating)
Hardware configuration
Macbook Pro (Mid 2014), 15.4 inch, 2.5 GHz, 16 Gb ram Sierra 10.12.6 (Multiple upgrades over original).
System.log
System.log only has entries mentioning shutdown at times corresponding to intentional shutdowns. Nothing for these hard reboots.
However, right before one of the hard reboots there's this:
Aug 26 23:39:53 Marcins-MBP-2 filecoordinationd[381]: BUG in libdispatch client: kevent[EVFILT_MACHPORT] monitored resource vanished before the source
cancel handler was invoked
Aug 26 23:39:53 Marcins-MBP-2 com.apple.xpc.launchd[1] (com.apple.imfoundation.IMRemoteURLConnectionAgent): Unknown key for integer: _DirtyJetsamMemor
yLimit
Aug 26 23:39:54 Marcins-MBP-2 gamed[964]: BUG in libdispatch client: kevent[EVFILT_MACHPORT] monitored resource vanished before the source cancel handler was invoked
Aug 26 23:40:13 Marcins-MBP-2 hidd[116]: BUG in libdispatch client: kevent[EVFILT_MACHPORT] monitored resource vanished before the source cancel handler was invoked
Aug 26 23:40:31 Marcins-MBP-2 Console[324]: BUG in libdispatch client: kevent[EVFILT_MACHPORT] monitored resource vanished before the source cancel handler was invoked
Aug 26 23:40:46 Marcins-MBP-2 com.apple.xpc.launchd[1] (com.apple.imfoundation.IMRemoteURLConnectionAgent): Unknown key for integer: _DirtyJetsamMemoryLimit
Aug 26 23:40:46 Marcins-MBP-2 com.apple.xpc.launchd[1] (com.apple.imtranscoding.IMTranscoderAgent): Unknown key for integer: _DirtyJetsamPriority
Aug 26 23:40:46 Marcins-MBP-2 com.apple.xpc.launchd[1] (com.apple.imtranscoding.IMTranscoderAgent): Unknown key for integer: _DirtyJetsamMemoryLimit
Aug 26 23:40:46 Marcins-MBP-2 com.apple.xpc.launchd[1] (com.apple.imdmessageservices.IMDMessageServicesAgent): Unknown key for integer: _DirtyJetsamMemoryLimit
Aug 26 23:40:54 Marcins-MBP-2 Dock[326]: BUG in libdispatch client: kevent[EVFILT_MACHPORT] monitored resource vanished before the source cancel handler was invoked
Apple Hardware Test
The only information it gives is that I have the wrong wattage of power adapter
Resolution
I got the HDD and logic board replaced by Apple. The computer works now.