01.10.2026 · 8 min read A heap overflow in Accelerate's DGEQRF on a macOS 27 beta Random crashes in a PyTorch job on my Mac turned out to be Apple's QR routine writing past a buffer. What I found and how I narrowed it down.