Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

C & C++ Remove topic C & C++ Clear all 1 posts RSS

Monday, Jun 29

OpenAI

Core dump epidemiology: fixing an 18-year-old bug

Case study 16 min +160 XP

Mysterious return-to-bogus-address crashes in Rockset's C++ execution layer turned out to be two unrelated bugs: silent register corruption on a single bad Azure host, and an 18-year-old race in GNU libunwind's _Ux86_64_setcontext, which read the synthesized ucontext_t after moving %rsp past it, letting a frequent SIGUSR2 CPU-time signal clobber it during exception unwinding.

The quest for software engineering knowledge.

Look:
Layout: