SIG_CORE

Crash on Unix signals and Windows or OpenVMS exceptions

WSupported on Windows
USupported on Unix
VSupported on OpenVMS

 

The SIG_CORE environment variable causes a program to crash rather than giving a runtime-assisted message with the Synergy line number on certain Unix signals and Windows or OpenVMS exceptions, such as segmentation faults. It is primarily used for system fault diagnosis.

Any value.

SIG_CORE must be set when trying to use the debugger on the advice of Synerg/DE Developer Support.

When SIG_CORE is set to any value, the program will crash with a system core dump on any signal or exception that would normally be interpreted by the runtime. On Unix, you’ll have to reset your terminal settings with the stty command.

Note that SIG_CORE must be set in the environment before the dbr is launched. To turn SIG_CORE off, issue the following command at the command line:

unset SIG_CORE
Note

On Linux, you must set

ulimit -c unlimited

Otherwise, SIG_CORE won’t work and core files will not be produced.

The environment.

Runtime

On Unix,

SIG_CORE=on  ;export SIG_CORE