Skip to content

PythonStackTracker::recordAllStacks() is not thread-safe in free-threading builds #799

@godlygeek

Description

@godlygeek

We likely need to detect that we're in a free-threading build and use _PyEval_StopTheWorld and _PyEval_StartTheWorld to make it safe to traverse the linked list of thread states.

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