#debugging

Wiki 3

  • Data race Unordered concurrent access to one memory location with at least one write; distinct from a general race, and what lockset and vector-clock detectors hunt
  • Data races and the limits of ThreadSanitizer Phil Eaton rebuilds a FastTrack-style race detector, then shows TSan missing obvious races in C and Golang once its fixed budgets run out
  • Golang's goroutine leak profiler Go 1.27's goroutineleak profile reuses the GC's mark phase to find goroutines blocked forever on channels and sync primitives, in production

Books 1

  • Building a Debugger Sy Brand walks through writing a Linux debugger in C++ — ptrace, breakpoints, DWARF unwinding