How a hidden CPU flaw and a clever NOP patch saved Word 97’s Clippy debut
Veteran Microsoft engineer Raymond Chen recounted a mysterious Word 97 crash that disappeared when debugged, traced to a CPU erratum and fixed with a binary NOP insertion.
Raymond Chen, a long-time Microsoft engineer, described a baffling bug that appeared near the end of the Word 97 release cycle. A script could reliably trigger a crash in the lab, yet the fault disappeared as soon as a debugger was used, leaving the team frustrated. Investigation pointed to a particular CPU manufacturer’s erratum, but the development toolchain was already frozen, making a compiler swap risky.
To avoid introducing new problems, engineers scanned the binaries, located the offending code sequence, and applied a binary patch that inserted a single NOP instruction. This subtle change stabilized the application, ensuring that high-profile features such as Clippit (Clippy) and VBA reached customers without incident.
Why it matters
The story shows how low-level hardware quirks can threaten major software releases and the creative fixes engineers employ.
In this story
