General Protection Fault

A general protection fault (GPF) in the Intel x86 and AMD x86-64 architectures, and other unrelated architectures, is a fault (a type of interrupt) that can encompass several cases in which protection mechanisms within the processor architecture are violated by any of the programs that are running, either the kernel or a user program. The mechanism is first described in section 9.8.13 in the Intel 80386 programmer's reference manual from 1986. A general protection fault is implemented as an interrupt (vector number 13 in decimal) in both x86 and AMD64 architectures.

If the processor detects a protection violation, it stops executing the code and sends a GPF interrupt. In most cases the operating system will simply remove the failing process from the execution queue, signal the user, and continue executing another program. If however the operating system fails to catch the general protection fault, i.e. another protection violation occurs before the operating system returns from the previous GPF interrupt, the processor will signal a double fault (interrupt vector 8, a typical BSOD scenario). If yet another failure occurs, the processor will shut down (see triple fault). It will then only respond to a reset (that is, pressing the reset-button) or init (rebooting the entire system) and non-maskable interrupts (unless it has previously failed when handling NM interrupts, in which case it will ignore these too).

Read more about General Protection Fault:  Behaviour in Specific Operating Systems, Memory Errors, Privilege Errors, Technical Causes For Faults, Miscellaneous, Notes and References

Famous quotes containing the words general, protection and/or fault:

    According to the historian, they escaped as by a miracle all roving bands of Indians, and reached their homes in safety, with their trophies, for which the General Court paid them fifty pounds. The family of Hannah Dustan all assembled alive once more, except the infant whose brains were dashed out against the apple tree, and there have been many who in later time have lived to say that they have eaten of the fruit of that apple tree.
    Henry David Thoreau (1817–1862)

    Men speak of natural rights, but I challenge any one to show where in nature any rights existed or were recognized until there was established for their declaration and protection a duly promulgated body of corresponding laws.
    Calvin Coolidge (1872–1933)

    If the dignity as well as the prestige and influence of the United States are not to be wholly sacrificed, we must protect those who, in foreign ports, display the flag or wear the colors of this Government against insult, brutality, and death, inflicted in resentment of the acts of their Government, and not for any fault of their own.
    Benjamin Harrison (1833–1901)