Skip to content

Valgrind doesn't understand writing arguments to another stack #1004

Closed
@pcwalton

Description

@pcwalton
Contributor

We write arguments from the Rust stack to the C stack when doing stack switching. This confuses Valgrind, which thinks that it's a mistake. We need to work around this somehow.

Activity

brson

brson commented on Oct 12, 2011

@brson
Contributor

Is this resolved?

brson

brson commented on Mar 6, 2012

@brson
Contributor

Yes.

added a commit that references this issue on Mar 7, 2023
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 overflows

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @brson@pcwalton

        Issue actions

          Valgrind doesn't understand writing arguments to another stack · Issue #1004 · rust-lang/rust