The signal SIGTERM
is caught. The signal handler for
SIGTERM
releases all currently used resources and terminates
Natural smoothly.
Natural's default signal handlers for SIGBUS
,
SIGSEGV
and SIGILL
are only installed if the command
gcore
(or a script with the same name which supplies
gcore
functionality on Solaris) is available and if
the user running Natural has execution rights for this command. If one of these
signal handlers gets control, the handlers that were valid at startup time are
restored, gcore
is executed and an attempt is made
to behave as if the signal SIGTERM
was caught.
Note:
If the operating system is AIX, the function
coredump
is called.