Home
Main website
Display Sidebar
Hide Ads
Recent Changes
View Source:
SIGSEGV
Edit
PageHistory
Diff
Info
LikePages
You are viewing an old revision of this page.
View the current version
.
!!!Signal: Segmentation Violation (Fault) This is raised when the program attempts has a bad memory reference such as: * Address not mapped to object (accessing memory that isn't mapped) * Invalid Permission for mapped object (accessing memory that permissions deny). The default action for this signal is to cause the program to terminate and dump core. A classic example is to deference a pointer in [C] that is either uninitialised, or has already been freed. Here is some C code: #include <stdio.h> int main(void) { int *pointer; pointer=0; printf("value pointed to by pointer is %d\n", *pointer /* this will cause SEGV */ );
10 pages link to
SIGSEGV
:
sigaction(2)
NullPointerException
mmap(2)
mlockall(2)
munmap(2)
Signal
SegmentationFault
CoreDump
DeBugging
WikiHistory