Tag: macos

  • Chasing Glitches: From Crash Report to Root Cause on macOS

    Messages wouldn’t open and Safari kept stalling, two ‘unrelated’ bugs that turned out to share one cause: a deadlocked ctkd with a queue of other processes stuck waiting behind it. The fix was one command and no reboot. Here’s the general method for tracing any hang down to the one process that’s actually stuck.

  • How to save an APFS HDD

    A large APFS drive stopped mounting, First Aid gave up, and the data existed nowhere else. Five days, two repairs, one wrong turn that corrupted it again, and the tooling we wrote along the way.

  • Skipping AppleScript to search Apple Mail fast

    AppleScript’s whose filters on Mail.app aren’t index-accelerated by anything, so they crawl on a big mailbox and can wedge Mail’s automation bridge entirely. Mail already keeps its own indexed SQLite database on disk. Read that instead.