Segfault

Updated: 06/21/2017 by Computer Hope

SegfaultA segfault, also known as a segmentation fault or access violation, is a computer error that occurs when a piece of software attempts to access a portion of memory incorrectly. The error is raised by the MMU, a hardware component (usually located on the CPU) that manages all memory access instructions in the computer.

A segfault may occur, for instance, if improperly-written software attempts to write data to a read-only portion of memory, or if it attempts to dereference a null pointer. The name "segmentation fault" originated in the 1950s, and it refers to the fact that only the data segment of a program's allocated memory is writable, while the code segment is not.

Error, Memory, Programming terms, Segmentation