Language:
Русский
English
┌───────────────────────────┐
│ General Protection fault │
└───────────────────────────┘
This error results if you try to access memory that is not legal for your application to access. The operating system halts your application and tells you that a general protection (GP) fault occurred, but your system does not crash.
The following practices cause GP faults:
■ Loading constant values into segment registers
■ Performing arithmetic operations on segment registers of selectors
■ Using segment registers for temporary storage
■ Writing to code segments
■ Accessing memory beyond the local address space given to your application
■ Derefencing nil pointers