ucontext
AssessTechniques
A family of C context-switching APIs including getcontext, setcontext, makecontext, and swapcontext.
Why it's here
Placed in Assess: 2 article(s) of evidence from 2 source(s), led by framework updates, with 0 in the last 30 days. Confidence 38%.
Evidence (2)
- 6InfoQ·7/9/2026securityOpenAI Traces ChatGPT Crashes to Azure Corruption and an Old GNU libunwind Bug
OpenAI reported that two separate issues were behind apparent crashes in ChatGPT's data infrastructure: silent hardware corruption on one Azure host and an 18-year-old race condition in GNU libunwind's setcontext function. The company said the key breakthrough was analyzing crashes at a population level rather than inspecting individual core dumps.
- 7Hacker News·6/30/2026framework_updateFil-C Adds Memory-Safe Context Switching Support
Fil-C now supports setjmp, longjmp, setcontext, getcontext, makecontext, and swapcontext in a memory-safe way, avoiding stack corruption and dangling-stack execution. The update focuses on preserving safety even when these APIs are misused, which is especially relevant for code that implements exceptions, coroutines, and fibers.