I had this problem when I was on High Sierra, so I copied my files on a hard drive and installed El Capitan. I'm just curious now — was that error recoverable? What I did: reset VRAM, reset SMC, repair startup disc, reinstall MacOS, fix file system and nothing helped.
This solution worked for my MacBook Pro: https://mrsystems.co.uk/blogs/news/too-many-corpses-being-created
Steps from the article:
- boot and hold cmd-R to start up from macOS Recovery
- If Filevault is on, mount the disk with Disk Utility and password
- Run these two in Terminal
cd /Volumes/Macintosh\ HD/var/db/caches/opendirectory
mv ./mbr_cache ./mbr_cache-old