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
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.