So I had this neat bug in my 3B2 emulator. Hear me out.
Build new kernel on SVR3. Kernel fails to boot, KERNEL TRAP! A full day of debugging. Turns out 12 bytes of kernel was being overwritten with garbage. Days more debugging. Things get WEIRD. The kernel object files are fine, the linked kernel is not. Yet more debugging. Then a breakthrough: New kernel get corrupted shortly after loading the objects and linking, but before saving to disk. HUH...
Long story slightly less long: I fixed the CIO bug so it only writes test results when it's asked to, and not later. Suddenly, I can compile and boot a new kernel without corruption. Yay for small victories.
"I appreciate SDF but it's a general-purpose server and the name doesn't make it obvious that it's about art." - Eugen Rochko