
How we found a bug in Go's arm64 compiler
10/8/2025
This post details the discovery of a race condition bug in Go's arm64 compiler that caused sporadic panics and segmentation faults. It outlines the investigation process, including initial theories, analysis of coredumps, understanding Go's scheduler structs (g, m, p), and the eventual identification of the bug's root cause related to asynchronous preemption and the `github.com/vishvananda/netlink` library.
