Skip to main content

Windows typical exception codes cheatsheet

· 2 min read

For somehow strange reason, there is no handy list of common Windows application exception codes list on the entire Internet. At least, I can't find it in Google. So I decided to make this one here. Also I think in future this list can be extended with more info.

Exception codeNameCause of exception
0xC0000005STATUS_ACCESS_VIOLATIONReading or writing to an inaccessible memory location
0x80000003STATUS_BREAKPOINTEncountering a hardware-defined breakpoint; used only by debuggers
0x80000002STATUS_DATATYPE_MISALIGNMENTReading or writing to data at an address that is not properly aligned; for example, 16-bit entities must be aligned on 2-byte boundaries (Not applicable to Intel 80x86 processors)
0xC000008ESTATUS_FLOAT_DIVIDE_BY_ZERODividing floating-point type by 0.0
0xC0000091STATUS_FLOAT_OVERFLOWExceeding maximum positive exponent of floating-point type
0xC0000093STATUS_FLOAT_UNDERFLOWExceeding magnitude of lowest negative exponent of floating-point type
0xC000001DSTATUS_ILLEGAL_INSTRUCTIONAttempting to execute an instruction code not defined by the processor
0xC0000096STATUS_PRIVILEGED_INSTRUCTIONExecuting an instruction not allowed in current machine mode
0xC0000094STATUS_INTEGER_DIVIDE_BY_ZERODividing an integer type by 0
0xC0000095STATUS_INTEGER_OVERFLOWAttempting an operation that exceeds the range of the integer
0x80000004STATUS_SINGLE_STEPExecuting one instruction in single-step mode; used only by debuggers