Skip to content

atexit() finalizers should not run after encountering SIGSEGV #54573

Open

Description

This has been noticed recently as a cause of hangs.

Most recently, we hit a GC segfault due to data corruption. When that happens, finalizers are trigger during process teardown and then the GC is re-entered, causing an indefinite hang as in: https://discourse.julialang.org/t/modelingtoolkit-takes-forever-to-precompile-on-windows-11/114492

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

Metadata

Assignees

No one assigned

    Labels

    bugIndicates an unexpected problem or unintended behaviorerror handlingHandling of exceptions by Julia or the user

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions