Core dump epidemiology: fixing an 18-year-old bug
AI-generated summary of reporting by OpenAI News. Read the original for the full story.
Why it matters
OpenAI engineers tracked impossible-seeming crashes in their C++ data infrastructure to a single bad Azure host and an 18-year-old race condition in GNU libunwind, showing population-level core dump analysis beats one-at-a-time debugging.
OpenAI engineers spent months chasing crashes in Rockset, a search system that powers ChatGPT's ability to look up information. The crashes looked impossible: programs returning to memory addresses that contained no code. By analyzing a year's worth of crash snapshots like an epidemiologist studying a population, they found two separate causes: one physically faulty computer at Microsoft's Azure cloud, and an 18-year-old race condition bug hidden inside a widely used free software library called GNU libunwind.
OpenAI's ChatGPT search infrastructure, Rockset (acquired in 2024), suffered crashes traced to two unrelated causes: silent CPU corruption on a single Azure physical host, which was denylisted, and an 18-year-old race condition in GNU libunwind that surfaced during C++ exception unwinding. The lesson for engineering leaders: log-based triage produced false positives and negatives; only a pipeline analyzing every core dump revealed the two distinct crash clusters. OpenAI also changed its control plane to reuse VMs, making bad-host detection easier.
Crashes in Rockset's C++ execution layer showed either NULL saved return addresses or %rsp misaligned by 8 bytes, with red-zone preservation via folly's fatal signal handler confirming post-return corruption. Building a parallel pipeline (largely written by ChatGPT) over a year of production core dumps split the population: misaligned-stack crashes clustered on one Azure physical host (silent register corruption, unreproducible under weeks of stress testing), while return-to-null crashes all occurred during exception unwinding, where GNU libunwind, not libgcc, had won symbol resolution and carried an 18-year-old race condition.
Read the original
This summary exists to save you time, not to replace the source.
Key terms
Was this summary useful?
One click, anonymous. It tells us which summaries to re-run.
Related reading
Samsung is testing a feature that changes the angle of photos you’ve already taken
Samsung’s new Recompose lets users change photo angles after shooting, potentially reducing the need for multiple shots and improving post-capture editing workflows for photographers and casual users alike.
iCloud apps for Windows, Linux and Android, written in Rust
Skykeep gives Rust-based native iCloud apps for Windows, Linux and Android, ending the iCloud.com-browser workaround for non-Apple-device users.
Taking Trainium3 to the Track: Generating Videos with LTX-2.5
Video generation on AWS Trainium3 can now rival Lightricks' paid API in speed, giving teams a non-CUDA inference option, though only after heavy custom patching.
The Download: Better bionic hands and AI’s natural-gas boom
This newsletter roundup mostly relays other outlets' reporting; its two own stories flag sensory-linked prosthetics reaching home use and AI data centers locking the US grid into natural gas.
sqlite3_rsync: Database Remote-Copy Tool For SQLite
sqlite3_rsync lets developers snapshot or sync a live SQLite database to a remote machine over SSH without needing free disk space for a full local copy.