Frequent crashes (supposedly Kernel Panics) on Mac Studio M1 Max for a few weeks now.

I have experienced random crashes on my M1 Mac Studio every few days for a few weeks now. Unfortunately I’m never at the computer, when it happens, so I don't know, what happens right before the crash. The problem therefore cannot be traced back to an active user interaction, though.


The error message right after rebooting indicates a Kernel panic, so does the attached EtreCheck report.


I would be very thankful for any help.



Mac Studio, macOS 13.4

Posted on Jul 1, 2023 04:20 AM

Reply
Question marked as Top-ranking reply

Posted on Jul 1, 2023 07:39 AM

there are a number of problems with the very large number of things you have added to your Mac.


You appear to have installed a version of GPG tools, a paid subscription that supposedly provides secure encrypted emails. This function is already available directly in macOS. The version of the software you installed was not installed using a valid developer certificate, so the integrity of its code is suspect. Pretty poor for security software:


Unsigned Files:


  Launchd: /Library/LaunchAgents/org.gpgtools.macgpg2.fix.plist

    Executable: /usr/local/MacGPG2/libexec/fixGpgHome

    Details: Exact match found in the legitimate list - probably OK


  Launchd: /Library/LaunchAgents/org.gpgtools.macgpg2.shutdown-gpg-agent.plist

    Executable: /usr/local/MacGPG2/libexec/shutdown-gpg-agent

    Details: Exact match found in the legitimate list - probably OK


You have also installed a replacement of the Apple screenshot functions, and it is also Not signed with a Valid developer certificate.


  Running app: /Applications/CleanShot X.app/Contents/MacOS/CleanShot X


in my opinion, ANY legitimate commercial-calibre software you use daily should come to you with a Valid Mac Developer Certificate (i.e., "signed".) This insures the developer is serious about Mac Development, is keeping up with current trends in MacOS software, and most of all that their code has not been changed on its way to you.


AppCleaner and other third-party semi-automated app removers are not a good idea in general. If you want to remove an App, you should use the software-makers Un-Installer, if one is provided.


VPN you install yourself is generally not a good idea. It does not improve your security in the slightest. Unless you need to work inside a country that requires you to cloak yourself to obtain Internet access, you should not install such software yourself.


Dropbox, an add-on ported from a different environment, is running at all times, constantly scanning your files non-stop looking for changes. This wastes computer resources you could be using for productive work. You should not start it at login, but instead run only when needed, and quit it afterward.


You have far, far too many share services running:


It is EXTREMELY unusual to see any process (except perhaps active video processing) running more CPU than WindowServer. Do you expect this?


Top Processes Snapshot by CPU:

  Process (count) CPU (Source - Location)

  PHP Language Server 98.52 % (Not signed)

  WindowServer 39.14 % (Apple)

  Brave Browser Helper (GPU) 20.58 % (Brave Software, Inc.)

  Brave Browser Helper (Renderer) (39) 16.98 % (Brave Software, Inc.)

  kernel_task 13.25 % (Apple)


diagnostic information section.


Athena widget extension crashed four times.


the other panic has something to do with the frame buffer, but considering how heavily modified your system is with so many add-ons, that may simply be the price you pay for so many add-ons -- instability.


>> My overall advice would be to SIMPLIFY. Eliminate the add-ons you do not use Every day, and try to use MacOS instead of replacing so many parts of it with third-party add-ons.



8 replies
Question marked as Top-ranking reply

Jul 1, 2023 07:39 AM in response to joe-tofu

there are a number of problems with the very large number of things you have added to your Mac.


You appear to have installed a version of GPG tools, a paid subscription that supposedly provides secure encrypted emails. This function is already available directly in macOS. The version of the software you installed was not installed using a valid developer certificate, so the integrity of its code is suspect. Pretty poor for security software:


Unsigned Files:


  Launchd: /Library/LaunchAgents/org.gpgtools.macgpg2.fix.plist

    Executable: /usr/local/MacGPG2/libexec/fixGpgHome

    Details: Exact match found in the legitimate list - probably OK


  Launchd: /Library/LaunchAgents/org.gpgtools.macgpg2.shutdown-gpg-agent.plist

    Executable: /usr/local/MacGPG2/libexec/shutdown-gpg-agent

    Details: Exact match found in the legitimate list - probably OK


You have also installed a replacement of the Apple screenshot functions, and it is also Not signed with a Valid developer certificate.


  Running app: /Applications/CleanShot X.app/Contents/MacOS/CleanShot X


in my opinion, ANY legitimate commercial-calibre software you use daily should come to you with a Valid Mac Developer Certificate (i.e., "signed".) This insures the developer is serious about Mac Development, is keeping up with current trends in MacOS software, and most of all that their code has not been changed on its way to you.


AppCleaner and other third-party semi-automated app removers are not a good idea in general. If you want to remove an App, you should use the software-makers Un-Installer, if one is provided.


VPN you install yourself is generally not a good idea. It does not improve your security in the slightest. Unless you need to work inside a country that requires you to cloak yourself to obtain Internet access, you should not install such software yourself.


Dropbox, an add-on ported from a different environment, is running at all times, constantly scanning your files non-stop looking for changes. This wastes computer resources you could be using for productive work. You should not start it at login, but instead run only when needed, and quit it afterward.


You have far, far too many share services running:


It is EXTREMELY unusual to see any process (except perhaps active video processing) running more CPU than WindowServer. Do you expect this?


Top Processes Snapshot by CPU:

  Process (count) CPU (Source - Location)

  PHP Language Server 98.52 % (Not signed)

  WindowServer 39.14 % (Apple)

  Brave Browser Helper (GPU) 20.58 % (Brave Software, Inc.)

  Brave Browser Helper (Renderer) (39) 16.98 % (Brave Software, Inc.)

  kernel_task 13.25 % (Apple)


diagnostic information section.


Athena widget extension crashed four times.


the other panic has something to do with the frame buffer, but considering how heavily modified your system is with so many add-ons, that may simply be the price you pay for so many add-ons -- instability.


>> My overall advice would be to SIMPLIFY. Eliminate the add-ons you do not use Every day, and try to use MacOS instead of replacing so many parts of it with third-party add-ons.



Jul 1, 2023 10:47 PM in response to Grant Bennet-Alder

Thank you for your answer and your suggestions.


I’m totally on board with the idea of „keeping it simple“. I got rid of GPG tools (which I thought, was credible enough, but didn’t use anyway so bye bye).


I’ve been using AppCleaner for probably close to 10 years now and have been relying on it to uninstall programs that don’t come with a dedicated uninstaller. I’ve never read anything negative about it. Could you direct me to an article or discussion that goes into more detail about the problem with third-party uninstallers? I’m trying to install/uninstall everything if possible through homebrew btw.


The problem is, that I can’t get rid of NordVPN, Dropbox or a more feature rich screenshot tool (although I immediately replaced Cleanshot with Shottr, which seems to be certified). I need all three of these for day to day tasks.


What I found kinda worrying immediately too though is the huge CPU usage of „PHP Language Server“. I honestly don’t really know, where this is coming from.


First I thought that it probably has to do with my development setup which is based on Lando and Docker. But PHP should only run in the Docker container in that case.


I also don’t know what the „Athena widget extension“ is. All I can find about that is tied to Unix and old Apple implementations.

Jul 2, 2023 12:31 AM in response to joe-tofu

I think I have figured out what triggers the enormous spikes of "PHP Language Server". The VS Code Extension PHP IntelliSense scans all the files every time a project is opened, but it can go into a loop. I disabled the extension and no longer see this kind of performance spike from the php process, at least in the activity monitor. Fingers crossed.

Jul 2, 2023 06:56 AM in response to joe-tofu

removing:


anything installed by drag-and-drop can be completely removed by drag-and-drop to the Trash. After a restart, the files will not be part of MacOS, so the trash can be emptied.


anything that uses a complex installer program provided by the software maker REQUIRES the software-maker's un-installer. There is no 'standard place' where those are provided. Some provide the un-installer on the Intall image, others require a separate download from the original site.


No third-party un-installer tool can know everything about what stuff has been placed where. Things may have been included from third-parties and have no obvious connection to the original app. So with third-party un-installers, there is always some guessing involved. There are cases where the 'guessed' item was actually a part of MacOS, and that did not go well, requiring a re-install of MacOS.


As an example, Fidelity Active Trader installs WineServer and Microsoft .NET, typically not installed on most Macs. Should your app remover 'guess' they should be removed? If they have been present and running, what if other software needs them now? It's better NOT to guess.

Jul 2, 2023 08:08 AM in response to Grant Bennet-Alder

Thank you for the explanation. So the classic "dragging the app from the DMG" can be easily and safely removed by simply putting it into the trash. And programs that come with an installer usually come with an uninstaller too and so that one should be used (to be fair, I already did that, so I only used AppCleaner on the drag'n'drop applications and brew uninstall for homebrew-stuff). Noted.

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.

Frequent crashes (supposedly Kernel Panics) on Mac Studio M1 Max for a few weeks now.

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