Fault

from Wikipedia, the free encyclopedia
Classification of a fault in various exceptional situations

When Fault ( English error ) is a special type of exceptional situation when running computer programs referred. Faults belong to the so-called processor-internal exceptional situations. In contrast to a “trap”, faults only occur before a ( processor ) operation is carried out and thus prevent the pending operation from being carried out. It is typical that, in the event of a fault, the problematic condition is eliminated and then an attempt is made to repeat the failed operation. This is not the case with a trap - the execution of the operation is aborted here.

example

An important example of a so-called fault of is page fault ( English page fault ). The problematic condition here is access to a memory page that is currently not available in main memory . This leads to the reloading of the missing page and ultimately to a repeated attempt to perform the previously interrupted operation.