SegFault

In computing, a segmentation fault (often shortened to segfault) or access violation is a failure condition raised by hardware with memory protection, notifying an operating system (OS) that the software has attempted to access a restricted area of memory (a memory access violation). On standard x86 computers, this is a form of general protection fault. The operating system kernel will, in response, usually perform some corrective action, generally passing the fault on to the offending process by sending the process a signal. Processes can in some cases install a custom signal handler, allowing them to recover on their own, but otherwise the OS default signal handler is used, generally causing abnormal termination of the process (a program crash), and sometimes a core dump. Segmentation faults are a common class of error in programs written in languages like some older versions of C that provide low-level memory access and few to no memory checks or are turing-complete. They arise primarily due to errors in use of pointers for virtual memory addressing, particularly access that some hardware that may try to disallow that type of use of the hardware. Another type of memory access error is a bus error, which also has various causes, but is today much rarer; these occur primarily due to incorrect physical memory addressing, or due to misaligned memory access – these are memory references that the hardware cannot address, rather than references that a process is not allowed to address. Many programming languages have mechanisms designed to help programmers avoid using segmentation faults in their program and improve checking of hardware that has memory protection. For example, Rust employs an ownership-based model to try to ensure checking for memory safety. Other languages, such as Lisp and Java, employ garbage collection, which avoids certain classes of memory errors that could lead to segmentation faults.

Similar Artists

Degiheugi

Ours Samplus

Boogie Belgique

Kognitif

Hugo Kant

Spectateur

Senbeï

Sixfingerz

Giyo

Akshin Alizadeh

MR. GREEN

Travelling Day

Keizan

NYM

Al'Tarba

Blockhead

Onra

Pretty Lights

The Geek x Vrv

Ancient Astronauts