Invalid Operand with Locked Compare Exchange 8 Byte (CMPXCHG8B) Instruction

This article was previously published under Q163852
This article has been archived. It is offered "as is" and will no longer be updated.
When an Intel processor receives a specific invalid instruction, yourcomputer may stop responding (hang). Your computer must be turned off andrestarted to return to normal operation.

NOTE: Although there is no known operating system or application thatissues such an invalid instruction, you should be aware that a program canbe written maliciously to contain such an instruction. The operating systemwould not trap this error, as it should, which results in the processorhang.
This problem can occur due to an error in the following Intel processors:
  • Pentium processor
  • Pentium processor with MMX technology
  • Pentium OverDrive processor
  • Pentium OverDrive processors with MMX technology
NOTE: This problem cannot occur on the following Intel processors:
  • Pentium Pro processor
  • Pentium II processor
  • i486 and earlier processors
This problem is known as "Invalid Operand with Locked CMPXCHG8BInstruction" and is erratum 81 on the Pentium processor errata list. Formore information, please contact Intel or go to the following Intel website:
Intel has identified a workaround to this problem that allows the operatingsystem to trap the invalid instruction and not pass it to the processor.Microsoft has worked closely with Intel to provide the following hotfixes:

Windows NT 4.0

To resolve this problem, obtain the latest service pack for Windows NT 4.0 or Windows NT Server 4.0, Terminal Server Edition. For additional information, click the following article number to view the article in theMicrosoft Knowledge Base:
152734 How to Obtain the Latest Windows NT 4.0 Service Pack

For your convenience, the English version of this post-SP3 hotfix has beenposted to the following Internet location. However, Microsoft recommendsthat you install Windows NT 4.0 Service Pack 4 to correct this problem.

Windows NT 3.51

To resolve this problem for Windows NT 3.51, obtain the following fix.

This fix should have the following time stamp:
   11/24/97  12:42p                49,840 Hal.dll   11/24/97  12:42p                48,768 Hal486c.dll   11/24/97  12:42p                65,648 Halapic.dll   11/24/97  12:42p                46,704 Halast.dll   11/24/97  12:42p                81,056 Halcbus.dll   11/24/97  12:42p                79,200 Halcbusm.dll   11/24/97  12:42p                46,912 Halmca.dll   11/24/97  12:42p                67,696 Halmps.dll   11/24/97  12:42p                40,480 Haloli.dll   11/24/97  12:42p                53,744 Halsp.dll   11/24/97  12:42p                49,840 Halws3.dll   11/24/97  12:42p                41,072 Halwyse7.dll   11/21/97  01:35p               821,904 Ntkrnlmp.exe   11/21/97  01:34p               810,016 Ntoskrnl.exe				
This hotfix has been posted to the following Internet location:

Windows 95

A fix for Windows 95 is not yet available.

Windows NT 4.0

Intel has confirmed this to be a problem in the Intel processors listedabove. This problem was first corrected in Windows NT 4.0 Service Pack 4.0 and Windows NT Server 4.0, Terminal Server Edition Service Pack 4.

Windows NT 3.51

Intel has confirmed this to be a problem in the Intel processors listedabove. A supported fix is now available from Microsoft, but has not beenfully regression-tested and should be applied only to systems experiencingthis specific problem. Unless you are severely impacted by this specificproblem, Microsoft recommends that you wait for the next Service Pack thatcontains this fix. Contact Microsoft Technical Support for moreinformation.

Windows 95

Intel has confirmed this to be a problem in the Intel processors listedabove. Microsoft is researching this problem and will post new informationhere in the Microsoft Knowledge Base as it becomes available.
95 3.50 3.51 4.00 i386 malicious hangs freeze freezes erratum cmpxchg8b compare and exchange 8 bytes cold boot hard

Article ID: 163852 - Last Review: 02/24/2014 08:27:09 - Revision: 4.1

Microsoft Windows NT Server 4.0, Terminal Server Edition, Microsoft Windows NT Workstation 3.5, Microsoft Windows NT Workstation 3.51, Microsoft Windows NT Workstation 4.0 Developer Edition, Microsoft Windows NT Server 3.5, Microsoft Windows NT Server 3.51, Microsoft Windows NT Server 4.0 Standard Edition, Microsoft Windows 95

  • kbnosurvey kbarchive kbbug kbfix kbqfe kbhardware kbhotfixserver KB163852