|
1 | 1 | Debugging stories are fun! This is a collection of links to various debugging stories. |
2 | 2 |
|
3 | | -[An experience of fixing a memory-corruption bug](http://nanxiao.me/en/an-experience-of-fixing-a-memory-corruption-bug/) |
4 | | - |
5 | 3 | [Atop segfaults](http://rachelbythebay.com/w/2014/03/02/sync/) |
6 | 4 |
|
| 5 | +[Breakpoint takes 15ms](http://blog.jwhitham.org/2015/04/the-mystery-of-fifteen-millisecond.html) |
| 6 | + |
7 | 7 | [Bug that hides from breakpoints](http://www.drewdevault.com/2014/02/02/The-worst-bugs.html) |
8 | 8 |
|
9 | | -[Crash Bandicoot Memory Card Corruption](http://www.gamasutra.com/blogs/DaveBaggett/20131031/203788/My_Hardest_Bug_Ever.php) |
| 9 | +[Crash Bandicoot memory card corruption](http://www.gamasutra.com/blogs/DaveBaggett/20131031/203788/My_Hardest_Bug_Ever.php) |
10 | 10 |
|
11 | 11 | [Crashes only on Wednesdays](http://gyrovague.com/2015/07/29/crashes-only-on-wednesdays/) |
12 | 12 |
|
13 | 13 | [Custom Rust OS crashes](http://jvns.ca/blog/2013/12/04/day-37-how-a-keyboard-works/) |
14 | 14 |
|
15 | | -[Debugging Behind the Iron Curtain](http://www.jakepoz.com/debugging-behind-the-iron-curtain/) |
16 | | - |
17 | | -[Debugging file corruption on iOS](https://code.facebook.com/posts/313033472212144/debugging-file-corruption-on-ios/) |
| 15 | +[Debian package data corruption, but only on sparc64](https://web.archive.org/web/20060612203753/http://vger.kernel.org/~davem/cgi-bin/blog.cgi/index.html) |
18 | 16 |
|
19 | 17 | [Digital divider with wrong output](http://danluu.com/teach-debugging/) |
20 | 18 |
|
| 19 | +[Email only goes 500 miles](http://www.ibiblio.org/harris/500milemail.html) |
| 20 | + |
| 21 | +[Incorrect sign masking operation](https://labs.spotify.com/2015/08/27/underflow-bug/) |
| 22 | + |
| 23 | +[iOS file corruption](https://code.facebook.com/posts/313033472212144/debugging-file-corruption-on-ios/) |
| 24 | + |
21 | 25 | [FIRST robotics dashboard segfaults due to finalizer](https://lukeshu.com/blog/java-segfault.html) |
22 | 26 |
|
23 | | -[Grep segfaults](http://blog.loadzero.com/blog/tracking-down-a-segfault-in-grep/) |
| 27 | +[FriendNet / WoW message corruption](http://blog.makandra.com/2010/04/the-greatest-bug-i-never-fixed/) |
24 | 28 |
|
25 | | -[GWT test passes during normal runs but fails during coverage runs](http://ismail.badawi.io/blog/2014/02/04/an-obscure-bug-story/) |
| 29 | +[FPGA / CPU timing bug](http://eli.thegreenplace.net/2003/10/30/hardware-debugging-is-hard) |
26 | 30 |
|
27 | | -[hardware debugging is hard](http://eli.thegreenplace.net/2003/10/30/hardware-debugging-is-hard) |
| 31 | +[Gdb set follow-fork-mode child doesn't work](http://nanxiao.me/en/use-dtrace-to-diagnose-gdb-issues/) |
28 | 32 |
|
29 | | -[How to find a bug...](https://web.archive.org/web/20060612203753/http://vger.kernel.org/~davem/cgi-bin/blog.cgi/index.html) (Wayback Machine copy; scroll down for post) |
| 33 | +[Grep segfaults](http://blog.loadzero.com/blog/tracking-down-a-segfault-in-grep/) |
30 | 34 |
|
31 | | -[I don't always use logging, but when I do I make sure it's to /dev/null](http://www.nikola-breznjak.com/blog/miscellaneou/i-dont-always-use-logging-but-when-i-do-i-make-sure-its-to-devnull/) |
| 35 | +[GWT test passes during normal runs but fails during coverage runs](http://ismail.badawi.io/blog/2014/02/04/an-obscure-bug-story/) |
32 | 36 |
|
33 | 37 | [JVM has 6-7 second GC pauses](http://www.evanjones.ca/jvm-mmap-pause-finding.html) |
34 | 38 |
|
35 | 39 | [Login only works when sitting down (and other stories)](https://books.google.ca/books?id=kse_7qbWbjsC&lpg=PP1&pg=PA56). From Jon Bentley's _Programming Pearls_, section 5.10 |
36 | 40 |
|
| 41 | +[Mandrill stops sending messages](https://www.seancassidy.me/sherlock-holmes-debugging.html) |
| 42 | + |
37 | 43 | [Matrix transformation is 10x faster in a test harness than in the game](https://randomascii.wordpress.com/2015/01/19/knowing-where-to-type-zero/) |
38 | 44 |
|
| 45 | +[Memory-corruption / threading bug](http://nanxiao.me/en/an-experience-of-fixing-a-memory-corruption-bug/) |
| 46 | + |
39 | 47 | [MS Money crashes](http://blogs.msdn.com/b/oldnewthing/archive/2012/11/13/10367904.aspx). Includes reverse engineered binary patch fix! |
40 | 48 |
|
| 49 | +[Multicast to 237.0.0.1 acts craters performance](http://blog.outerthoughts.com/2004/10/perfect-multicast-storm/) |
| 50 | + |
41 | 51 | [Network link instability due to DB caching policies](https://code.facebook.com/posts/1499322996995183/solving-the-mystery-of-link-imbalance-a-metastable-failure-state-at-scale/) |
42 | 52 |
|
| 53 | +[Node.js memory leak](https://www.joyent.com/blog/walmart-node-js-memory-leak) |
| 54 | + |
43 | 55 | [OS crashes on boot if machine was used recently](http://blog.valerieaurora.org/2013/12/17/heres-my-favorite-operating-systems-war-story-whats-yours/) |
44 | 56 |
|
45 | | -[Perfect multicast storm](http://blog.outerthoughts.com/2004/10/perfect-multicast-storm/) |
| 57 | +[PDP-11 crashes only when live cattle are being shipped from northern Ukraine and western Russia](http://www.jakepoz.com/debugging-behind-the-iron-curtain/) |
| 58 | + |
| 59 | +[Polish S doesn't appear on medium](https://medium.com/medium-eng/the-curious-case-of-disappearing-polish-s-fa398313d4df) |
46 | 60 |
|
47 | 61 | [Python hashes files differently on different days](http://dpb.bitbucket.org/unexpected-behavior-from-the-python-3-built-in-hash-function.html) |
48 | 62 |
|
49 | | -[Sherlock Holmes Debugging](https://www.seancassidy.me/sherlock-holmes-debugging.html) |
| 63 | +[SIGALRM timer hangs] (https://nativeguru.wordpress.com/2015/02/19/why-you-should-avoid-using-sigalrm-for-timer) |
50 | 64 |
|
51 | 65 | [Signal fails only when returning from page fault handler](https://news.ycombinator.com/item?id=7684824) |
52 | 66 |
|
53 | 67 | [Signal handling on 286 emulator for Xenix](https://news.ycombinator.com/item?id=7684827) |
54 | 68 |
|
55 | | -[The case of the 500-mile email](http://www.ibiblio.org/harris/500milemail.html) |
56 | | - |
57 | | -[The curious case of the disappearing Polish S](https://medium.com/medium-eng/the-curious-case-of-disappearing-polish-s-fa398313d4df) |
58 | | - |
59 | | -[The greatest bug I never fixed](http://blog.makandra.com/2010/04/the-greatest-bug-i-never-fixed/) |
60 | | - |
61 | | -[The little ssh that (sometimes) couldn't](http://mina.naguib.ca/blog/2012/10/22/the-little-ssh-that-sometimes-couldnt.html) |
62 | | - |
63 | | -[The mystery of the fifteen-millisecond breakpoint instruction](http://blog.jwhitham.org/2015/04/the-mystery-of-fifteen-millisecond.html) |
64 | | - |
65 | | -[Tracking down tmux/vim strangeness](http://www.daniellesucher.com/2014/04/24/my-new-favorite-vim-tmux-bug/) |
66 | | - |
67 | | -[Use DTrace to diagnose gdb issues](http://nanxiao.me/en/use-dtrace-to-diagnose-gdb-issues/) |
| 69 | +[Slow logons](http://blogs.technet.com/b/markrussinovich/archive/2012/07/02/3506849.aspx) |
68 | 70 |
|
69 | | -[Veeerrry Slow Logons](http://blogs.technet.com/b/markrussinovich/archive/2012/07/02/3506849.aspx) |
| 71 | +[SSH sometimes fails from cron](http://mina.naguib.ca/blog/2012/10/22/the-little-ssh-that-sometimes-couldnt.html) |
70 | 72 |
|
71 | | -[Walmart Node.js Memory Leak](https://www.joyent.com/blog/walmart-node-js-memory-leak) |
| 73 | +[Switch crashes machine despite not being connected](http://www.catb.org/jargon/html/magic-story.html) |
72 | 74 |
|
73 | | -[Why Did CHICKEN Cross the... oh nevermind](https://web.archive.org/web/20080627131350/http://www.nnl-labs.com/cblog/index.php) (Wayback Machine copy; scroll down to find the actual post) |
| 75 | +[Tmux/vim strangeness](http://www.daniellesucher.com/2014/04/24/my-new-favorite-vim-tmux-bug/) |
74 | 76 |
|
75 | | -[Why you should avoid using SIGALRM for timers] (https://nativeguru.wordpress.com/2015/02/19/why-you-should-avoid-using-sigalrm-for-timer) |
| 77 | +[uint32_t gets truncated to 16 bits](http://kdc-blog.blogspot.com/2008/03/one-day-one-of-my-co-workers-stopped-me.html) |
76 | 78 |
|
77 | 79 | [Windows crash dump of nonsensical instruction](http://blogs.msdn.com/b/oldnewthing/archive/2014/12/26/10583035.aspx) |
78 | 80 |
|
79 | | -[When Solid State Drives are not that solid](https://blog.algolia.com/when-solid-state-drives-are-not-that-solid/) |
80 | | - |
81 | | -[Magic or 'more magic'](http://www.catb.org/jargon/html/magic-story.html) |
82 | | - |
83 | | -[Cosmic ray ? ](https://blogs.oracle.com/ksplice/entry/attack_of_the_cosmic_rays1) |
84 | | - |
85 | | -[Sometimes a bug is hit only after code was executed 100 trillion times -- Spotify's underflow bug](https://labs.spotify.com/2015/08/27/underflow-bug/) |
86 | | - |
87 | | -[Rebuilding the 747 at 35,000 Feet](http://blog.freecodecamp.com/2015/08/rebuilding-the-747-at-35000-feet.html) |
88 | | - |
89 | | -[The "Buggy" C Compiler](http://kdc-blog.blogspot.com/2008/03/one-day-one-of-my-co-workers-stopped-me.html) |
90 | | - |
91 | | -[I am a fan of Programming by Contract and gcc's -Wcast-qual](http://kdc-blog.blogspot.com/2008/05/i-am-fan-of-programming-by-contract-and.html) |
92 | | - |
93 | 81 | ## Contributors |
94 | 82 |
|
95 | 83 | * André Luiz |
|
0 commit comments