Futurelock
· 1h 37m
We're big users of async Rust at Oxide, and recently we found (another) very odd and hard to debug pathology related to async Rust that we dubbed "Futurelock". Oxide engineers who diagnosed the problem join Bryan and Adam to describe Futurelock and discuss methods to identify and avoid it. In addition to Bryan Cantrill and Adam Leventhal , speakers included our Oxide colleagues Dave Pacheco , John Gallagher , Rain Paharia . Sean Klein , and Eliza Weisman . Previously, on Oxide and Friends: OxF s05e22 - When Async Attacks! OxF s05e26 - Technological Revolutions with Jerry Neumann Some of the…
Chapters
- Opening banter and World Series
- Recalling earlier async discussions
- Live update hang on the dog food rack
- Dave's initial investigation of the hung Nexus
- Database checks and ruling out locks
- DTrace and PID provider tracing
- Corb actor design and bookkeeping
- Senders blocked on Tokyo channel
- Core dump and Ghidra analysis
- Semaphore review and Loom tests
- Accidentally killing the process
- Core analysis and four theories
- Recreating the breakthrough moment from transcript
- Writing a minimal reproducer
- Explaining the futurelock mechanism
- Deadlocks, livelocks, and tooling
- Futurelock as a non-reentrant mutex deadlock
- Green threads and Solaris history
- Blameless postmortem and language design
- RFD 609 and naming the problem
- Testing the reproducer with ChatGPT
- Hacker News discussion and reactions
- Wrap-up and next episode preview
Speakers
Bryan Cantrill (host), Adam Leventhal (host), Rain Paharia, John Gallagher, Dave Pacheco, Sean Klein, Eliza Weisman
From the transcript
How are you? I'm doing very well, Brian. How are you? I'm doing well. You know, we were very concerned, or rather the internet was concerned that we We're scheduling last week's podcast over the World Series. How cruel. and that they were…