News for hackers. Stuff that matters.
Re:Comfort with meaninglessness the key to good programmers by Retric on Friday December 12, 2008 @04:49PM (#396144)
I have only once found the problem to be bad memory on the test machine. But let me tell you the joy, figuring that out was hard to describe.
Re:Comfort with meaninglessness the key to good programmers by blasdel on Friday December 12, 2008 @11:43PM (#396484)
Worse is when you think you've proved it to be bad memory, but it turns to be something way more ridiculous.

I dealt with a batch of 60 identical PCs that would occasionally fail in odd ways during the disk imaging process, and upon further inspection would fail memtest spectacularly. It didn't make sense, as they were stable when running an operating system, just not in memtest or while imaging. Plus the memory tested fine in other computers!

I eventually figured out that while the BIOS was in real mode, the USB controller would write to extended memory when the USB mouse sent it events. They would have no problems with the mouse unplugged, and the problem went away with a BIOS update. It took a lot of yelling to figure this out!