Word 97's ghost in the machine: The crash that vanished the moment anyone looked at it

https://image.theregister.com/262468.jpg?imageId=262468&x=0&y=0&cropw=100&croph=100&panox=0&panoy=0&panow=100&panoh=100&width=1200&height=683

Microsoft veteran recalls how a CPU errata, a mythical ICE, and a single sneaky NOP saved Clippy's big debut

Veteran Microsoft engineer Raymond Chen shared another fireside tale – one to strike fear into the hearts of engineers everywhere: the bug that can't be replicated in the debugger.

The story begins near the end of the Word 97 release cycle, when a defect surfaced in the test labs but vanished the moment engineers reached for a debugger.

It was maddening. A script could trigger the crash fairly reliably, yet the instant anyone tried to hunt it down, the bug ducked out of sight.

Chen recalled: "The development team was very anxious, because a bug that appears only sporadically in the lab is going to occur regularly in the wild. But how do you debug a problem that resists debugging?"

It is every developer's nightmare, even for those smug types who...

Copyright of this story solely belongs to theregister.com. To see the full text click HERE

Read more