In computing, a fatal error or fatal exception error is an error that causes a program to abort and may therefore return the user to the operating system. When this happens, data that the program was processing may be lost. A fatal error is usually distinguished from a fatal system error (colloquially referred to by the error message it produces as a "blue screen of death"). A fatal error occurs typically in any of the following cases:
- An illegal instruction has been attempted
- Invalid data or code has been accessed
- An operation is not allowed in the current ring or CPU mode
- A program attempts to divide by zero. (Only for integers; with the IEEE floating point standard, this creates an infinity instead)
In some systems, such as Mac OS X and Microsoft Windows, a fatal error causes the operating system to create a log entry or to save an image (core dump) of the process.
Famous quotes containing the words fatal and/or error:
“My curiosity to see the melancholy spectacle of the executions was so strong that I could not resist it, although I was sensible that I would suffer much from it.... I got upon a scaffold near the fatal tree so that I could clearly see all the dismal scene.... I was most terribly shocked, and thrown into a very deep melancholy.”
—James Boswell (17401795)
“In religion,
What damned error but some sober brow
Will bless it, and approve it with a text,
Hiding the grossness with fair ornament?”
—William Shakespeare (15641616)