Access violation at address general Protection fault

Source: Internet
Author: User

Https://en.wikipedia.org/wiki/General_protection_fault

In memory errors, the faulting program accesses memory, which it should not access. Examples include:

    • Attempting to write to a read-only portion of memory
    • Attempting to execute bytes in memory which is not designated as instructions
    • Attempting to read as data bytes in memory which is designated as instructions
    • Other miscellaneous conflicts between the designation of a part of memory and its use

However, many modern operating systems implement their memory access-control schemes via paging instead of segmentation, s o It is often, the case, invalid memory references in operating systems such as Windows be reported via page faults in Stead of general protection faults. Operating systems typically provide an abstraction layer (such as exception handling or signals) that hides whatever inter NAL processor mechanism is used to raise a memory access error from a program, for the purposes of providing a standard I Nterface for handling many different types of processor-generated error conditions.

A General Protection Fault (GPF) in the Intel x86 and AMD x86-64 types of computer microprocessor Archit Ectures, and other unrelated architectures, was a fault (a type of interrupt) that can encompass several cases in which pro Tection mechanisms within the processor architecture is violated by any of the programs that is running, either the Kern El 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 are implemented as an interrupt (vector number of decimal) in both the x86 and the AMD64 Archi Tectures.

Access violation at address general Protection fault

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.