Get the latest tech news

Debugging an evil Go runtime bug: From heat guns to kernel compiler flags (2017)


From heat guns to kernel compiler flags

Event dashboard for Euskal Encounter (fake staging data) Since it’s so easy to throw node_exporter onto any random machine and have a Prometheus instance scrape it for basic system-level metrics (CPU, memory, network, disk, filesystem usage, etc), I figured, why not also monitor my laptop? This kind of problem would be largely unnoticeable, perhaps causing a pixel error in some graphics, a single letter to flip in some text, an instruction to be corrupted that probably won’t ever be run, and perhaps the rare segfault when something actually important does land on the bad bit. vDSO is a small shared library that the kernel places in the address space of every process, and which allows apps to perform certain special system calls without ever leaving user mode.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of compiler flags

compiler flags

Photo of evil Go runtime bug

evil Go runtime bug

Photo of heat guns

heat guns