Skip to content

Incorrect hard limit for stack protection for MacOS and TSAN #139291

@markshannon

Description

@markshannon

Bug description:

Largely as a result of mixing the logic for determining the hardware stack limits and for setting the software stack limits, the incorrect hard limit is set for both TSAN and MacOS. MacOS is too low by _PyOS_STACK_MARGIN_BYTES and for TSAN by half the stack size.

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    OS-macinterpreter-core(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions