Skip to content

Calling libc::exit immediately after startup causes assertion failure in rust_initialize_rt_tls_key #9473

Closed
@brson

Description

@brson

As in #8870. To fix that we stopped calling exit, but there's a deeper problem that might be fixable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-runtimeArea: std's runtime and "pre-main" init for handling backtraces, unwinds, stack overflowsI-crashIssue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions