Skip to content

inconsistent exit code on ICE #130105

Not planned
Not planned
@matthiaskrgr

Description

@matthiaskrgr
Member

Most of the time, rustc seems to exit with 101, but there are a couple of cases where rust rustc exits with 134

#130015 for example shows exit code 101
but #130104 shows exit code 134

this makes it harder for automated tooling to handle ICEs

Activity

added
needs-triageThis issue may need triage. Remove it if it has been sufficiently triaged.
on Sep 8, 2024
asquared31415

asquared31415 commented on Sep 8, 2024

@asquared31415
Contributor

the exit code 134 error panicked when trying to print the query stack, and then aborted, rather than just exiting due to the ICE panic.

added
T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.
on Sep 8, 2024
removed
needs-triageThis issue may need triage. Remove it if it has been sufficiently triaged.
on Sep 26, 2024
Enselic

Enselic commented on Jan 2, 2025

@Enselic
Member

Triage: Shouldn't we close this as "works as designed" then?

Enselic

Enselic commented on Jun 21, 2025

@Enselic
Member

Triage: no objection so let's close as works as designed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: This is a bug.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @Enselic@matthiaskrgr@saethlin@lolbinarycat@asquared31415

        Issue actions

          inconsistent exit code on ICE · Issue #130105 · rust-lang/rust