Skip to content

A collection of debugging stories. PRs welcome, although I'm way behind on merging :-)

Notifications You must be signed in to change notification settings

intrigus/debugging-stories

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

89 Commits
 
 

Repository files navigation

Debugging stories are fun! This is a collection of links to various debugging stories.

Atop segfaults

Breakpoint takes 15ms

Bug that hides from breakpoints

Crash Bandicoot memory card corruption

Crashes only on Wednesdays

Custom Rust OS crashes

Debian package data corruption, but only on sparc64

Digital divider with wrong output

Email only goes 500 miles

Incorrect sign masking operation

iOS file corruption

FIRST robotics dashboard segfaults due to finalizer

FriendNet / WoW message corruption

FPGA / CPU timing bug

Gdb set follow-fork-mode child doesn't work

Grep segfaults

GWT test passes during normal runs but fails during coverage runs

JVM has 6-7 second GC pauses

Login only works when sitting down (and other stories). From Jon Bentley's Programming Pearls, section 5.10

Mandrill stops sending messages

Matrix transformation is 10x faster in a test harness than in the game

Memory-corruption / threading bug

MS Money crashes. Includes reverse engineered binary patch fix!

Multicast to 237.0.0.1 acts craters performance

Network link instability due to DB caching policies

Node.js memory leak

OS crashes on boot if machine was used recently

PDP-11 crashes only when live cattle are being shipped from northern Ukraine and western Russia

Polish S doesn't appear on medium

Python hashes files differently on different days

[SIGALRM timer hangs] (https://nativeguru.wordpress.com/2015/02/19/why-you-should-avoid-using-sigalrm-for-timer)

Signal fails only when returning from page fault handler

Signal handling on 286 emulator for Xenix

Slow logons

SSH sometimes fails from cron

Switch crashes machine despite not being connected

Tmux/vim strangeness

uint32_t gets truncated to 16 bits

Windows crash dump of nonsensical instruction

Contributors

  • André Luiz
  • bussiere
  • Dan Luu
  • Dimitry (unknownexception)
  • Florent Viel
  • Howard Mao
  • Jani Patokallio
  • Jessie Weinstein
  • José Manuel Díez
  • Jouke Waleson
  • Jyrki Vesterinen
  • Kevin D. Clark
  • Kirtan Gajjar
  • Louis Vela
  • Matteo Castellini
  • michaelx386
  • Nan Xiao
  • Nathan Isom
  • Nikola Brežnjak
  • Rafik Draoui
  • Ramon Fried
  • Sean Cassidy

TODOs:

Improve formatting.

Write up some interesting bugs: 40 hour hang, hardware bug caused by copying behavior of Intel engineering sample found on ebay, etc.

About

A collection of debugging stories. PRs welcome, although I'm way behind on merging :-)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published