Debugging stories are fun! This is a collection of links to various debugging stories.
An experience of fixing a memory-corruption bug
Bug that hides from breakpoints
Crash Bandicoot Memory Card Corruption
Debugging Behind the Iron Curtain
Debugging file corruption on iOS
Debugging Insights (collection of stories on separate pages, submitted to Dave Agans, the author of "Debugging: The 9 Indispensable Rules for Finding Even the Most Elusive Software and Hardware Problems")
Digital divider with wrong output
FIRST robotics dashboard segfaults due to finalizer
GWT test passes during normal runs but fails during coverage runs
How to find a bug... (Wayback Machine copy; scroll down for post)
I don't always use logging, but when I do I make sure it's to /dev/null
Login only works when sitting down (and other stories). From Jon Bentley's Programming Pearls, section 5.10
Matrix transformation is 10x faster in a test harness than in the game
MS Money crashes. Includes reverse engineered binary patch fix!
Network link instability due to DB caching policies
OS crashes on boot if machine was used recently
Python hashes files differently on different days
Signal fails only when returning from page fault handler
Signal handling on 286 emulator for Xenix
The case of the 500-mile email
The curious case of the disappearing Polish S
The greatest bug I never fixed
The little ssh that (sometimes) couldn't
The mystery of the fifteen-millisecond breakpoint instruction
Tracking down tmux/vim strangeness
Use DTrace to diagnose gdb issues
Why Did CHICKEN Cross the... oh nevermind (Wayback Machine copy; scroll down to find the actual post)
[Why you should avoid using SIGALRM for timers] (https://nativeguru.wordpress.com/2015/02/19/why-you-should-avoid-using-sigalrm-for-timer)
Windows crash dump of nonsensical instruction
When Solid State Drives are not that solid
Sometimes a bug is hit only after code was executed 100 trillion times -- Spotify's underflow bug
Rebuilding the 747 at 35,000 Feet
I am a fan of Programming by Contract and gcc's -Wcast-qual
- Dan Luu
- Dimitry (unknownexception)
- Florent Viel
- Howard Mao
- Jani Patokallio
- Jouke Waleson
- Jyrki Vesterinen
- Louis Vela
- Matteo Castellini
- michaelx386
- Nan Xiao
- Nathan Isom
- Ramon Fried
- Sean Cassidy
- Florent Viel
- Kirtan Gajjar
- Kevin D. Clark
Improve formatting.
Write up some interesting bugs: 40 hour hang, hardware bug caused by copying behavior of Intel engineering sample found on ebay, etc.