Definition
Plain language
A bug that only shows up when two things happen at just the wrong moment relative to each other.
As stated in the literature
A concurrency defect where correctness depends on the timing or interleaving of operations on shared state; the vulnerability class (use-after-free, double-free) that slyp autonomously discovers in Windows COM services.
Also called: race conditions
Why it matters: These timing-dependent bugs are hard to reproduce yet can be serious security holes, making them valuable for automated tools to find.
For example, two threads both try to free the same chunk of memory, and depending on which goes first the program crashes only once in a while.
Heard on the show
“Intermittent bugs, race conditions, bugs that depend on production data the agent doesn't have.”Episode 012 — Why AI Coding Agents Keep Trying to Debug Without a Debugger