ASCEND_COREDUMP_SIGNAL
Description
Sets the core dump semaphore for trace processing.
The values are as follows:
By default, the stack function is enabled for trace. When a process triggers the following exception scenarios (signals), the stack information is recorded in the stackcore_tracer_*.txt file.
Signal |
Value |
|---|---|
SIGINT |
2 |
SIGQUIT |
3 |
SIGILL |
4 |
SIGTRAP |
5 |
SIGABRT |
6 |
SIGBUS |
7 |
SIGFPE |
8 |
SIGSEGV |
11 |
SIGTERM |
15 |
SIGXCPU |
24 |
SIGXFSZ |
25 |
SIGSYS |
31 |
SIGRTMIN+1 |
35 |
If a function that conflicts with signal registration in Table 1 is used during service deployment (for example, JVM signal acquisition, as shown in Figure 1), use this environment variable to disable signal registration.
After signal registration is disabled, if a core dump exception occurs in the service, the trace does not generate a stack information file. In this case, you need to use other methods to locate the exception.
Example
export ASCEND_COREDUMP_SIGNAL=none
Restrictions
None
