Differences between version 3 and previous revision of SIGSEGV.
Other diffs: Previous Major Revision, Previous Author, or view the Annotated Edit History
Newer page: | version 3 | Last edited on Saturday, November 16, 2002 1:13:57 pm | by JohnMcPherson | Revert |
Older page: | version 2 | Last edited on Friday, September 27, 2002 11:32:07 am | by JohnMcPherson | Revert |
@@ -2,8 +2,10 @@
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).
+
+This is almost invariably a programming fault.
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: