All apps crash on click/opening

Seeming randomly all applications start to crash. Sometimes after days. This includes Finder and even the Menubar. I've been trying to debug this problem, but so far with no success. Even a full reinstall did not fix the problem. Currently running Big Sur 11.5.2 on Mac Pro 5,1 with OCLP.

Usage

I mainly use this Mac to login remotely via SSH or Screen Sharing. And as Plex Server (Home Media Server).

Symptoms

  • Click running app --> Crash.
  • Try to open again --> Crash and Coalition Cache Hit.

My system.log is filled with message like below. I think the biggest clue is in Coalition Cache Hit (second to last line). This is shown for any application I try to open. Searching the internet does give some hits, but all are application specific, i.e. "application corrupt/bug". My symptoms are system-wide and across different Big Sur versions.

Another hint?

It seems OnyX is the only application not affected. When I start it from the Dock I get a pop up OnyX requires administrator privileges to enter my credentials. After that it runs normally.

Logs

Aug 12 15:30:55 thor com.apple.xpc.launchd[1] (com.spotify.client.startuphelper[17947]): Could not find and/or execute program specified by service: 155: Refusing to execute/trust quarantined program/file: com.spotify.client.startuphelper
Aug 12 15:30:55 thor com.apple.xpc.launchd[1] (com.spotify.client.startuphelper[17947]): Service exited with abnormal code: 78
Aug 12 15:30:55 thor com.apple.xpc.launchd[1] (com.spotify.client.startuphelper): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
Aug 12 15:30:55 thor com.apple.xpc.launchd[1] (application.com.apple.ProblemReporter.1152921500312182616.1152921500312182621[17948]): Service exited due to SIGBUS | sent by exc handler[17948]
Aug 12 15:30:56 thor com.apple.xpc.launchd[1] (com.apple.systemprofiler[17950]): Service exited due to SIGBUS | sent by exc handler[17950]
Aug 12 15:30:56 thor com.apple.xpc.launchd[1] (com.apple.systemprofiler): Service only ran for 0 seconds. Pushing respawn out by 1 seconds.
Aug 12 15:30:56 thor com.apple.xpc.launchd[1] (com.apple.Finder[17951]): Service exited due to SIGBUS | sent by exc handler[17951]
Aug 12 15:30:56 thor com.apple.xpc.launchd[1] (com.apple.Finder): Service only ran for 0 seconds. Pushing respawn out by 1 seconds.
Aug 12 15:30:56 thor com.apple.xpc.launchd[1] (com.apple.screensharing.menuextra[17952]): Service exited due to SIGBUS | sent by exc handler[17952]
Aug 12 15:30:56 thor com.apple.xpc.launchd[1] (com.apple.screensharing.menuextra): Service only ran for 0 seconds. Pushing respawn out by 1 seconds.
Aug 12 15:01:07 thor com.apple.xpc.launchd[1] (com.apple.systemprofiler[12629]): Service exited due to SIGBUS | sent by exc handler[12629]
Aug 12 15:01:07 thor com.apple.xpc.launchd[1] (com.apple.systemprofiler): Service only ran for 0 seconds. Pushing respawn out by 1 seconds.
Aug 12 15:01:07 thor com.apple.xpc.launchd[1]: Coalition Cache Hit: app<application.com.googlecode.iterm2.258218.258224(501)> [1141]
Aug 12 15:01:07 thor com.apple.xpc.launchd[1] (application.com.googlecode.iterm2.258218.258224[12630]): Service exited due to SIGBUS | sent by exc handler[12630]

Login session, hint or red herring?

It also seems something fishy is going on with my login session:

~  ps aux | grep -i login
koen             29307   0.0  0.2  4566564  30092   ??  Ss    4:08PM   0:01.03 /System/Library/CoreServices/loginwindow.app/Contents/MacOS/loginwindow console
root               136   0.0  0.0  4468908   4424   ??  Ss   10:06AM   0:00.20 /System/Library/CoreServices/logind
koen             29572   0.0  0.0  4268340    572 s000  R+    4:11PM   0:00.00 grep --color=auto --exclude-dir=.bzr --exclude-dir=CVS --exclude-dir=.git --exclude-dir=.hg --exclude-dir=.svn --exclude-dir=.idea --exclude-dir=.tox -i login

Compared to a functioning Mac I miss /usr/libexec/loginitemregisterd and login -fp koen (where koen is my username). Log out, log in does not bring the applications back. So this might be a red herring.

Crash Reports

Added a link to some crash reports from /Library/Logs/DiagnosticReports: https://www.dropbox.com/t/PUXHhMAQACUxXxqh

Tests

I've run memtest86. It did not return any errors. Also, ran Apple Hardware Test. I had to swap the original graphics card back in. But then it also ran without any error.

Replication

I've not been able to replicate/force the crash.

Breakthrough?

This morning I ran purge from an SSH session and everything came back to life. I didn't check any stats before running te command. So..? Memory failures, even though memtest and AHT did not show any problems? Run away programs?

Any help getting this sorted is greatly appreciated.


I do have exactly the same problem Typically if I run Safari the system deteriorated to the point that it crashes and subsequently no apps can be open

Subler and qbitorrent are 2 apps that definitely gets me to the problem. Hackintool is another one

My system is MacPro3,1 running 11.5.2 with OCLP 0.25 NB and latebloom. I have 2 Samsung EVO 970 NVME, 2 HDD, 1 SSD, and external Raid box. Graphic is GTX 680 to 2 x displays

BREAKTHROUGH I nuked 1 HDD containing Mojave, since then the system seems to perform flawlessly