Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LeakSanitizer: Dynamic linker not found #8

Open
PSeitz opened this issue Feb 7, 2018 · 0 comments
Open

LeakSanitizer: Dynamic linker not found #8

PSeitz opened this issue Feb 7, 2018 · 0 comments

Comments

@PSeitz
Copy link

PSeitz commented Feb 7, 2018

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 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant