Causes of General Protection FaultsLast reviewed: February 11, 1998Article ID: Q82710 |
********************************************************************
BETA INFORMATION BETA INFORMATION BETA INFORMATION BETA This article discusses a Beta release of a Microsoft product. The information in this article is provided as-is and is subject to change without notice. No formal product support is available from Microsoft for this Beta product. For information about obtaining support for a Beta release, please see the documentation included with the Beta product files, or check the Web location from which you downloaded the release. BETA INFORMATION BETA INFORMATION BETA INFORMATION BETA******************************************************************** The information in this article applies to:
SUMMARYIntel 80286, 80386, and 80486 CPUs can detect when a program does something wrong. The most common problems are stack faults, invalid instructions, divide errors (divide by zero), and general protection faults. These generally indicate nonstandard code in an application.
MORE INFORMATIONThe following faults can occur in a Windows application, in Windows itself, or in a Windows device driver (for example, a video display driver).
Stack Fault (Interrupt 12)Reasons for a stack fault are:
Invalid Instruction (Interrupt 6)The CPU detects most invalid instructions, and generates an Interrupt 6. This is always fatal to the application. This should never happen, and is usually caused by executing data instead of code.
Divide Error (Interrupt 0)This is caused when the destination register cannot hold the result of a divide operation. It could be divide by zero, or divide overflow.
General Protection Fault (Interrupt 13)All protection violations that do not cause another exception cause a general protection exception. This includes, but is not limited to:
|
Additional query words: 3.10 gpfault 3.0a
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |