Skip to content

Valgrind warning with the last incoming repo #6953

Closed
@jeremyletang

Description

@jeremyletang

Hi,

I have a strange message with the latest version of the compiler from the incoming repo. This message is provided by valgrind with only a simple main.

This is the message :

Warning: client switching stacks?  SP change: 0x7fefff9e0 --> 0x7fedca738
==17001==          to suppress, use: --max-stackframe=2314920 or greater
==17001== Syscall param read(buf) points to unaddressable byte(s)
==17001==    at 0x4018877: read (syscall-template.S:81)
==17001==    by 0x4005FDC: open_verify (dl-load.c:2093)
==17001==    by 0x4006406: open_path (dl-load.c:2210)
==17001==    by 0x4008E88: _dl_map_object (dl-load.c:2418)
==17001==    by 0x400CD61: openaux (dl-deps.c:63)
==17001==    by 0x400F705: _dl_catch_error (dl-error.c:177)
==17001==    by 0x400D438: _dl_map_object_deps (dl-deps.c:256)
==17001==    by 0x40036AA: dl_main (rtld.c:1744)
==17001==    by 0x401678D: _dl_sysdep_start (dl-sysdep.c:241)
==17001==    by 0x4005227: _dl_start (rtld.c:337)
==17001==    by 0x4001657: ??? (in /lib/x86_64-linux-gnu/ld-2.17.so)
==17001==  Address 0x7fedca750 is on thread 1's stack
==17001== 
==17001== Warning: client switching stacks?  SP change: 0x7fedca740 --> 0x7fefffa18
==17001==          to suppress, use: --max-stackframe=2314968 or greater

I just compile the program like this :

> rustc main.rs

And i use no flag with valgrind.

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