Science Fair Projects Ideas - SIGSEGV

All Science Fair Projects

      

Science Fair Project Encyclopedia for Schools!

  Search    Browse    Forum  Coach    Links    Editor    Help    Tell-a-Friend    Encyclopedia    Dictionary     

Science Fair Project Encyclopedia

For information on any area of science that interests you,
enter a keyword (eg. scientific method, molecule, cloud, carbohydrate etc.).
Or else, you can start by choosing any of the categories below.

SIGSEGV


SEGV_ACCERR invalid permissions for mapped object

SIGSEGV is the symbolic name for the signal thrown by computer programs making invalid memory references on POSIX compliant platforms. SIGSEGV is a symbolic constant defined in signal.h, the name is a contraction of Segmentation Violation, SIG is a common prefix for signal names.

Symbolic signal names are used as signal numbers can vary across platforms.


Computer programs may throw SIGSEGV for improper memory handling (for further discussion, see segmentation fault). The operating system may inform the application of the nature of the error using the signal stack , which developers can use to debug their programs or handle errors.

The default action on being sent SIGSEGV is an abnormal termination, this will end the process but may generate a core file to aid debugging, or other platform dependent action. For example, Linux systems using the grsecurity patch may log SIGSEGV signals in order to monitor for possible intrusion attempts using buffer overflows.

SIGSEGV can be handled (caught), that is, applications can request what action they want to occur. Examples of such action might be ignoring it, calling a function, or restoring the default action. In some circumstances, ignoring SIGSEGV can result in undefined behaviour.

An example of an application that might handle SIGSEGV is a debugger, which might check the signal stack and inform the developer of what happened, and where his program terminated.

SIGSEGV is usually generated by the Operating System, however users with appropriate permissions can use the kill() system call, or kill command (userland program, or sometimes a shell builtin) to send the signal to a process at will.


Last updated: 08-16-2005 08:16:52
10-26-2009 08:16:03
The contents of this article is licensed from www.wikipedia.org under the GNU Free Documentation License. Click here to see the transparent copy and copyright details
Science kits, science lessons, science toys, maths toys, hobby kits, science games and books - these are some of many products that can help give your kid an edge in their science fair projects, and develop a tremendous interest in the study of science. When shopping for a science kit or other supplies, make sure that you carefully review the features and quality of the products. Compare prices by going to several online stores. Read product reviews online or refer to magazines.

Start by looking for your science kit review or science toy review. Compare prices but remember, Price $ is not everything. Quality does matter.
Science Fair Coach
What do science fair judges look out for?
ScienceHound
Science Fair Projects for students of all ages
All Science Fair Projects.com Site
All Science Fair Projects Homepage
Search | Browse | Links | From-our-Editor | Books | Help | Contact | Privacy | Disclaimer | Copyright Notice