Skip to content

Disable backtrace on SIGINT/SIGTERM signals by default #41057

@david-macmahon

Description

@david-macmahon

When a Julia process is interrupted with SIGINT or terminated with SIGTERM, Julia outputs a fairly long stack backtrace to stderr. This backtrace may be of interest to Julia developers, but it is of little use to the end user. SIGINT and SIGTERM are commonly used to terminate a running process. Getting such a backtrace on stderr when doing so is not expected (what other program does this???) and can lead to pollution of log files. Not outputting these backtraces on SIGINT/SIGTERM by default would make Julia a better behaved program. If there are cases where these backtraces are useful, they could be optionally enabled by an environment variable and/or command line option.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions