Bit Flip
I got a frantic email from John Baez, Saturday night. Evidently, our MovableType installation had suddenly gone haywire, and various CGI actions were producing Perl errors, rather the desired results.
It sometimes happens that my mucking about with the software produces untoward side-effects. But that wasn’t the case here. I’d been out for the evening, and hadn’t touched anything.
Eventually, I tracked down the problem. The file, in which the Perl error occurred had changed. A single occurrence of “>” had become a “?”. Changing it back cured the problem.
Mind you:
- The file is writable only by root.
- The mtime of the file had not changed.
- There were no other changes to the file, or to anything else in our MT installation.
- There were no signs of intrusion or system compromise.
Now, “>” is the byte 00111110 and “?” is the byte “00111111”. So a single bit had changed. This was quite enough to send our MovableType installation into upheaval. As far as I can tell, it happened without the intervention of human hand.
I’ve read about cosmic rays causing bit-flips. Seemed like a rather unlikely risk. Now I’m not so sure …
Posted by distler at June 5, 2007 11:29 PM
Re: Bit Flip
Many years ago, in the days of DOS, I once encountered bit flips in files as a prelude to hard drive failure.