Skip to content

LeakSanitizer: Dynamic linker not found #8

@PSeitz

Description

@PSeitz

When I try execute the example lsan/examples/memory-leak.rs, I get following error.
Os is Ubuntu 16.04.3 LTS

➜  lsan git:(master) RUSTFLAGS="-Z sanitizer=leak" cargo run --target x86_64-unknown-linux-gnu --example memory-leak
   Compiling lsan v0.1.0 (file:///home/D056831/dev/rust-san/lsan)
    Finished dev [optimized + debuginfo] target(s) in 1.6 secs
     Running `target/x86_64-unknown-linux-gnu/debug/examples/memory-leak`
==16518==LeakSanitizer: Dynamic linker not found. TLS will not be handled correctly.
==16552==Could not attach to thread 16518 (errno 1).
==16552==Failed suspending threads.
==16518==LeakSanitizer has encountered a fatal error.
==16518==HINT: For debugging, try setting environment variable LSAN_OPTIONS=verbosity=1:log_threads=1
==16518==HINT: LeakSanitizer does not work under ptrace (strace, gdb, etc)

Same issue at #7 ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions