How to debug memory errors?

I have a new system that's overall working well:

  • 14900K
  • Asus z790 Pro Art Creator board
  • 64 G Corsair DDR5 RAM
  • XFX Radeon 6950 XT
  • Sonoma

It boots and runs, and everything works except for WiFi, which I'm Ok without for now.

My problem is that I'm getting a lot of memory errors that are causing programs to crash. Eventually I get one serious enough to cause a reboot.

I added the -v boot arg to my config.plist, but I'm not sure where it logs that data.

The errors (from the Console app) are almost all:

Exception Type: EXC_BAD_ACCESS (SIGSEGV)

Sometimes I get:

Exception Codes: KERN_INVALID_ADDRESS

There are some that say "Code Signature Invalid" as well.

I ran diskutil First Aid on the disk, and it did not report any errors. I also ran Memtest86 from the BIOS, for one full cycle plus 60% of a second one, also no errors, and it ran longer than I've ever had it last when booted into Sonoma. Everything runs in Windows just fine as well. I was able to play a AAA game on high graphics settings for about 2 hours with no issues. I haven't done any overclocking, undervolting, or otherwise tweaked the BIOS, other than to disable the WiFi.

I've done a lot of web searching trying to find a cause, and haven't found anything specific to Hackintosh other than a report regarding a kext that I don't have (FeatureUnlock).

Any help on where to look or what to try next would be greatly appreciated.

Author: @OfAnOldRepublic