Handling Illegal Accesses and Invalid Page Faults
Illegal accesses and invalid page faults can result in a program crash, segmentation error, bus error or core dump depending on the operating system environment. Often these problems are caused by software bugs, but hardware memory errors, such as those caused by overclocking, may corrupt pointers and make correct software fail.
Operating systems such as Windows and UNIX (and other UNIX-like systems) provide differing mechanisms for reporting errors caused by page faults. Windows uses structured exception handling to report page fault-based invalid accesses as access violation exceptions, and UNIX (and UNIX-like) systems typically use signals, such as SIGSEGV, to report these error conditions to programs.
If the program receiving the error does not handle it, the operating system performs a default action, typically involving the termination of the running process that caused the error condition, and notifying the user that the program has malfunctioned. Recent versions of Windows often report such problems by simply stating something like "this program must close" (an experienced user or programmer with access to a debugger can still retrieve detailed information). Recent Windows versions also write a minidump (similar in principle to a core dump) describing the state of the crashed process. UNIX and UNIX-like operating systems report these conditions to the user with error messages such as "segmentation violation", or "bus error", and may also produce a core dump.
Read more about this topic: Page Fault
Famous quotes containing the words handling, illegal, invalid, page and/or faults:
“Madam, a circulating library in a town is as an evergreen tree of diabolical knowledge; it blossoms through the year. And depend on it ... that they who are so fond of handling the leaves, will long for the fruit at last.”
—Richard Brinsley Sheridan (17511816)
“No more astounding relic of the subjection of women survives in western civilization than the status of the prostitute.... In connection with what other illegal vice is the seller alone penalized, and not the buyer?”
—Crystal Eastman (18811928)
“The invalid is a parasite on society. In a certain state it is indecent to go on living. To vegetate on in cowardly dependence on physicians and medicaments after the meaning of life, the right to life, has been lost ought to entail the profound contempt of society.”
—Friedrich Nietzsche (18441900)
“When you write down your life, every page should contain something no one has ever heard about.”
—Elias Canetti (b. 1905)
“Wit is often concise and sparkling, compressed into an original pun or metaphor. Brevity is said to be its soul. Humor can be more leisurely, diffused through a whole story or picture which undertakes to show some of the comic aspects of life. What it devalues may be human nature in general, by showing that certain faults or weaknesses are universal. As such it is kinder and more philosophic than wit which focuses on a certain individual, class, or social group.”
—Thomas Munro (18971974)