microZEUS
The whole stack, hand-drawn.

◄ Wiki / OS

fault

A CPU exception raised when a program does something illegal, like touching memory it shouldn't.

When code performs an invalid operation — a bad memory access, a divide by zero — the processor raises a fault and hands control to the operating system to decide what happens. Traditionally a userspace fault kills the offending program. microZeus aims to make userspace faults survivable, so the system recovers instead of crashing.

See also

  • deadlockTwo tasks each frozen forever, each waiting for a resource the other is holding.
  • double freeA memory bug where the same block of memory is released twice, corrupting the allocator.
  • EL0 / EL1ARM's privilege tiers: EL0 is ordinary app code, EL1 is the operating-system kernel.
  • ELFThe standard file format for executable programs and libraries on Linux and similar systems.

Referenced by

deadlock · double free · EL0 / EL1 · ELF