ASCEND_COREDUMP_SIGNAL

Description

Sets the core dump semaphore for trace processing.

The values are as follows:

  • none: The signal set in Table 1 is disabled.
  • Other values: The signal set in Table 1 is enabled.

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.

Table 1 Signal set

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.

Figure 1 Core dump stack generated when the JVM conflicts with the trace signal acquisition

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

Applicability

Atlas 200/300/500 Inference Product

Atlas Training Series Product