In computing, a segmentation fault (often shortened to segfault) or access violation is a failure condition raised by hardware with memory protection,...
19 KB (2,432 words) - 18:38, 22 July 2025
Ryzen (section Segmentation fault)
vulnerability. Some early shipments of Ryzen 1000 series processors produced segmentation faults on some workloads on Linux, especially while compiling code with...
103 KB (8,774 words) - 05:55, 6 August 2025
the errors are reported separately (e.g. segmentation fault for memory errors). In memory errors, the faulting program accesses memory that it should not...
12 KB (1,285 words) - 22:37, 11 July 2025
is called an invalid page fault. The page fault handler in the operating system will then generally pass a segmentation fault to the offending process...
9 KB (1,171 words) - 01:59, 22 July 2025
Memory protection (section Segmentation)
attempt to access unauthorized memory results in a hardware fault, e.g., a segmentation fault, storage violation exception, generally causing abnormal termination...
18 KB (2,268 words) - 16:46, 24 January 2025
Cascadia subduction zone (redirect from Cascadia fault zone)
regime". ResearchGate. Brudzinski, Michael R.; Allen, Richard M. (2007). "Segmentation in episodic tremor and slip all along Cascadia". Geology. 35 (10): 907...
38 KB (4,146 words) - 14:30, 30 July 2025
undefined behavior. This usually leads to crash (due to the resulting segmentation fault on the null pointer dereference), but there is no guarantee that a...
36 KB (4,141 words) - 04:19, 26 June 2025
length of the segment. Otherwise, a hardware exception such as a segmentation fault is raised. Segments may also be used to implement virtual memory....
19 KB (2,337 words) - 04:24, 28 July 2025
binary can now be run: $ ./example Segmentation fault Since the example code, when executed, generates a segmentation fault, GDB can be used to inspect the...
22 KB (2,221 words) - 16:11, 22 July 2025
name. In modern use on most architectures these are much rarer than segmentation faults, which occur primarily due to memory access violations: problems...
8 KB (1,037 words) - 17:10, 26 January 2025
on the stack each time, until the stack overflows, resulting in a segmentation fault. However, some compilers implement tail-call optimization, allowing...
11 KB (963 words) - 15:06, 5 July 2025
attempted read or write from memory that is not mapped, triggering a segmentation fault or memory access violation. This may manifest itself as a program...
17 KB (2,095 words) - 02:51, 20 July 2025
first[0], copy[0]); } // (1) first[0] = 10; // (2) } Output 25 25 Segmentation fault Since we did not specify a copy constructor, the compiler generated...
12 KB (1,586 words) - 19:09, 4 August 2025
Interrupt (redirect from Fault (computing))
resolution of a page fault is to make the required page accessible in physical memory. But in other cases such as a segmentation fault the operating system...
46 KB (5,726 words) - 14:31, 9 July 2025
reading or writing by that application (e.g., segmentation fault, x86-specific general protection fault) attempting to execute privileged or invalid instructions...
13 KB (1,424 words) - 00:59, 6 July 2025
dereference the dangling pointer can cause segmentation faults (UNIX, Linux) or general protection faults (Windows). If the program has sufficient privileges...
15 KB (1,894 words) - 22:49, 1 August 2025
Dereferencing a null pointer value is undefined, often resulting in a segmentation fault. Null pointer values are useful for indicating special cases such...
98 KB (10,894 words) - 18:37, 6 August 2025
protection Bus error General protection fault Memory paging Memory protection Protection ring Segmentation fault Virtual memory Storage access, file systems...
13 KB (1,799 words) - 05:59, 15 April 2025
binary can now be run: $ ./test Segmentation fault Since the example code, when executed, generates a segmentation fault, lldb can be used to inspect the...
10 KB (830 words) - 07:17, 8 January 2025
certain platforms such as the Intel x86 architecture, be called a segmentation fault (segfault). The second case is possible in the current implementation...
72 KB (9,654 words) - 12:42, 19 July 2025
Electric Fence causes the errant program to abort immediately via a segmentation fault. Normally, these two errors would cause heap corruption, which would...
2 KB (264 words) - 16:03, 10 December 2024
memory can sometimes be detected by the operating system to generate a segmentation fault error that terminates the process. To prevent the buffer overflow...
46 KB (5,132 words) - 08:55, 25 May 2025
x86 memory segmentation is a term for the kind of memory segmentation characteristic of the Intel x86 computer instruction set architecture. The x86 architecture...
23 KB (3,302 words) - 13:26, 24 June 2025
programming, and technology in general. The name "segfault" refers to the segmentation fault, a computer software error. Most stories were written and submitted...
5 KB (645 words) - 11:56, 23 November 2022
deal with the problem. On modern operating systems, it will cause a segmentation fault signal being sent to the offending program. The lookup may also fail...
17 KB (2,462 words) - 20:30, 8 April 2025
makes an invalid virtual memory reference, or segmentation fault, i.e. when it performs a segmentation violation. SIGSTOP The SIGSTOP signal instructs...
31 KB (3,432 words) - 00:48, 4 May 2025
memory until the program fails as the operating system runs out. A segmentation fault results when a program tries to access memory that it does not have...
29 KB (3,273 words) - 09:28, 5 July 2025
so.2 (gdb) continue Continuing. Program received signal SIGSEGV, Segmentation fault. 0x08048414 in main () at hello_world.c:10 10 printf("x[%d] = %g\n"...
3 KB (360 words) - 23:35, 29 July 2024
in memory as the multiply deleted object, program crashes due to a segmentation fault (violation of memory protection) and other forms of undefined behavior...
11 KB (1,384 words) - 13:30, 10 December 2024
attempting to allocate the memory to terminate itself, or to generate a segmentation fault. Some programs are designed to recover from this situation (possibly...
19 KB (2,615 words) - 21:38, 21 February 2025