Kernel panic on Mojave 10.14.5

I have a long-term problem with a 2017 macbook pro. Approximately once every 2-3 weeks I experience a CATERR kernel panic, example:


https://m.rkw.io/Kernel_2019-06-26-160214_mb.panic.txt


This has been occurring for nearly a year now on all of the Mojave release builds and I have been unable to determine the cause. I have tried the following:


1) Reinstalled the OS from scratch


2) Had the logic board replaced under AppleCare


3) Removed all software that has kernel extensions


4) Removed all peripheral dongles, all I ever plug into it now is an official apple power adapter and an apple keyboard


5) Religiously keep the number of running processes down as low as possible. I use a bunch of stuff for work but it all runs in user mode and I turn services off when I'm not using them. I routinely pore over the output of ps auxww for anything not OS-related that I don't recognise.


The panic most frequently happens just after I've turned the screensaver on using the hot corners feature, when I come back after a few minutes the machine is off and on reboot the panic report is there. It has occasionally happened without the screensaver on though. I am using a simple Apple-provided screensaver that came with the OS. I've tried using different screensavers or none, the problem still occurs. I've also tried having the hot-corner turn the display off instead; same issue. Other than the screensaver trigger I've not been able to tie the issue to anything specific happening on the machine like high load, scheduled jobs or specific actions.


It's infrequent enough that it doesn't bother me too but it irritates me that I can't figure it out. The odds of my having received two logic boards that were broken in exactly the same irritating way seems extremely improbable.


I don't run any particularly complicated software, typically just:


- Arq Backup

- 1Password Pro

- iTerm2

- Safari

- Slack

- OmniFocus


and a handful of the built-in apple apps.


Occasionally I run other more complicated stuff for work, like Docker or VirtualBox, but the issue has occurred in the absence of both of these and after loading the VirtualBox kernel extensions I always reboot later to un-taint the kernel. I also am required to use AV for business purposes and for that I use Cylance, which does have a kernel extension, but I ran without it for a while and still got two of exactly the same kernel panics so I think I've ruled that out as being the cause.


I cannot find any information online about userland software triggering CATERR kernel panics, typically when people report such issues on other platforms it indicates hardware failure but having had the logic board replaced I struggle to believe this is the case. Also the machine often runs perfectly for weeks without a problem.


It doesn't seem to be environmental either as it happens at work, at home and in foreign countries.


If anyone has any suggestions or ideas I'd be most grateful as the only thing I can come up with now is some kind of very edge-case operating system bug.


Thanks.

MacBook Pro 13", macOS 10.14

Posted on Jun 26, 2019 1:36 PM

Reply

Similar questions

9 replies

Jun 26, 2019 2:06 PM in response to m4rkw

I cannot find any information online about userland software triggering CATERR kernel panics, typically when people report such issues on other platforms it indicates hardware failure

You're correct. As far as I've ever seen, a Machine Check is an internal hardware problem. Use the Support site to find out where you can take it to have it evaluated and repaired.


Regular software (i.e. not a kernel extension) does not cause kernel panics of any kind. Kernel extensions can cause panics.

Jun 26, 2019 2:04 PM in response to m4rkw

Diagnosing problems- crash, freeze, panic, or spinning beachball?

Understanding and Debugging Kernel Panics,

Don’t Panic! Understanding & Troubleshooting Kernel Panics in macOS


Dealing with Kernel Panics


Disconnect any third-party peripherals including any USB hubs. Use safe mode to isolate issues with your Mac - Apple Support then boot the computer into Safe Mode. See Diagnosing problems- crash, freeze, panic, or spinning beach ball?, Don’t Panic! Understanding & Troubleshooting Kernel Panics in macOS, and How to fix kernel panics after installing OS X updates | MacIssues.


Kernel panics are indicative of possible hardware failure, so you should Check your Mac with hardware diagnostics or AHT. Read the kernel panic log: Mac OS X- How to log a kernel panic.


If you have no success figuring what is happening then you may need to examine the software you have running when the panics occur. Be sure it’s all current. If you must to resolve the problem erase the disk and reinstall macOS. Follow this outline to reset the computer to the factory-new state:


How To Do A Factory Reset


Selection A should be used on computers that came with Lion or later when factory new. These models had no disks included when new. Selection B is for Macs that came originally with Snow Leopard or earlier. These models shipped with Software Restore disks when new.


A. Factory reset of your Mac - Apple Support

B. Factory Reset Your Pre-Lion Mac


Follow these instructions until you get to Step 5 of Factory reset of your Mac - Apple Support. At Step 5 you will need a Snow Leopard DVD or the installer disc that came with the computer.


    1. Boot the computer using the Snow Leopard Installer Disc or the Disc 1 that came with your computer.  Insert the disc into the optical drive and restart the computer. After the chime press and hold down the  "C" key.  Release the key when you see a small spinning gear appear below the dark gray Apple logo.
    2. After the installer loads select your language and click on the Continue button. When the menu bar appears select Disk Utility from the Utilities' menu. After Disk Utility loads select the hard drive entry from the left side list (out-dented entry - mfgr.'s ID and drive size.)  Click on the Partition tab in the Disk Utility main window.  Set the number of partitions to one (1) from the Partitions drop down menu, click on Options button and select GUID, click on OK, then set the format type to MacOS Extended (Journaled), then click on the Apply button.
    3. When the formatting has finished quit Disk Utility.  Proceed with the OS X installation and follow the directions included with the installer.
    4. If you are planning to sell or give your computer away, then do the following: After you reformat your hard drive and reinstall OS X, the computer restarts to a Welcome screen and asks you to choose a country or region. If you want to leave the Mac in an out-of-box state, don't continue with the setup of the system. Instead, press Command-Q to shut down the Mac. When the new owner turns on the Mac, the Setup Assistant will guide them through the setup process.



Jun 26, 2019 2:19 PM in response to Barney-15E

@Kappy several of your suggestions were things I said I'd already tried.


@Barney-15E what else though? What other hardware is there in the machine that hasn't already been replaced? I struggle to believe that an SSD that works perfectly all other times is the cause of an infrequent CATERR. It just seems unlikely, as is the idea that I got two boards in a row that had the exact same weird infrequent problem.

Jun 26, 2019 2:05 PM in response to Kappy

If none of the above prove helpful, then it may be a hardware error such as malfunctioning RAM or SSD. In this case, Make an appointment at the Apple Genius Bar for service. If you need to find an Apple Store - Find a Store - Apple. Also, see How to find your nearest Apple Authorized Service Provider (AASP) or Distributor (AAD).


"Your Apple-branded or Beats-branded hardware product (“Product”) is warranted against defects in materials and workmanship for a period of ONE (1) YEAR from the date of original retail purchase (“Warranty Period”) when used in accordance with Apple`s user manuals (refer to www.apple.com/support/country). Under this warranty, you will be able to direct your claims to Apple even in situations where you purchased the Apple Product from a third party.” [Apple One (1) Year Limited Warranty – Accessory - For Apple and Beats Branded Products Only.]



This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Kernel panic on Mojave 10.14.5

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