Skip to content

Tracking issue for implementing stack probe correctly #49355

@ishitatsuyuki

Description

@ishitatsuyuki
Contributor

Stack guards are hard because it's different on every platform. OpenJDK has a few kLOCs dedicated to correctly probing stack. Our detection is far from perfect, and we probably can use JVM's code as a reference documentation for all the Unixes.

Issues on widely used platforms:

Possibly related:

Others:

Activity

added
A-runtimeArea: std's runtime and "pre-main" init for handling backtraces, unwinds, stack overflows
C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFC
T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.
and removed
C-bugCategory: This is a bug.
on Apr 20, 2020
added
Libs-TrackedLibs issues that are tracked on the team's project board.
on Jul 29, 2020
yaahc

yaahc commented on Jun 1, 2022

@yaahc
Member

we reviewed this issue during todays libs-api meeting and determined that this tracking issue is effectively serving the same role as a label, and that we'd prefer to use a label for this, so I've gone ahead and introduced the A-stack-probe label and applied it to all the referenced issues

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

    A-runtimeArea: std's runtime and "pre-main" init for handling backtraces, unwinds, stack overflowsA-stack-probeArea: Stack probing and guard pagesC-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCLibs-TrackedLibs issues that are tracked on the team's project board.T-libs-apiRelevant to the library API 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

        @jonas-schievink@yaahc@KodrAus@ishitatsuyuki

        Issue actions

          Tracking issue for implementing stack probe correctly · Issue #49355 · rust-lang/rust