Segmentation, Page Fault, and Access Violation
A segmentation fault occurs when a program attempts to access a memory location that it is not allowed to access, or attempts to access a memory location in a way that is not allowed (for example, attempting to write to a read-only location, or to overwrite part of the operating system).
Segmentation is a historic term for the approach to memory management nowadays known as paging (see e.g. Lions' Commentary on UNIX 6th Edition, with Source Code), but the term is still used in the context of "segmentation fault".
On Unix-like operating systems, a signal called SIGSEGV is sent to a process that accesses an invalid memory address. On Microsoft Windows, a process that accesses invalid memory receives the STATUS_ACCESS_VIOLATION exception.
Read more about this topic: Segmentation Fault
Famous quotes containing the words page, access and/or violation:
“Digressions, incontestably, are the sunshine;Mthey are the life, the soul of reading!take them out of this book, for instance,you might as well take the book along with them;Mone cold external winter would reign in every page of it; restore them to the writer;Mhe steps forth like a bridegroom,bids All-hail; brings in variety, and forbids the appetite to fail.”
—Laurence Sterne (17131768)
“The Hacker Ethic: Access to computersand anything which might teach you something about the way the world worksshould be unlimited and total.
Always yield to the Hands-On Imperative!
All information should be free.
Mistrust authoritypromote decentralization.
Hackers should be judged by their hacking, not bogus criteria such as degrees, age, race, or position.
You can create art and beauty on a computer.
Computers can change your life for the better.”
—Steven Levy, U.S. writer. Hackers, ch. 2, The Hacker Ethic, pp. 27-33, Anchor Press, Doubleday (1984)
“Injustice, cruelty, restraint of conscience, oppression, falsity, dishonour, deceit, violation of law and equity?But look how they have cleaned up the cities and what wonderful roads they have built!”
—Johan Huizinga (18721945)