-
Notifications
You must be signed in to change notification settings - Fork 16
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
cargo valgrind halts and catches fire even though I have valgrind installed? #106
Comments
And no, |
Thanks for your report. Looks kind of funny, since this implies, that the tool cannot invoke itself as the driver? Line 127 in de70356
This suggests, that the issue is entirely unrelated to the valgrind -binary itself (the program crashes before even running valgrind ).
Unfortunately, I cannot reproduce locally, so I have some questions:
|
Yes. $ rustc --version --verbose
rustc 1.83.0-nightly (f7c53a2df 2024-11-25)
binary: rustc
commit-hash: f7c53a2df0aea1187879a37653480b31afb11417
commit-date: 2024-11-25
host: x86_64-unknown-linux-gnu
release: 1.83.0-nightly
LLVM version: 19.1.1 |
I use Arch Linux. $ which cargo-valgrind
/home/jubilee/.cargo/bin/cargo-valgrind |
Hm, I've tried for a bit, but I cannot reproduce. I also use Arch Linux, hence our setup should be similar enough. Nevertheless, it works for me (a really bad sentence, I know): $ cargo +nightly-2024-11-25 install cargo-valgrind
$ which cargo-valgrind
/home/jfrimmel/.cargo/bin/cargo-valgrind
$ cd tests/ffi-bug/
$ cargo +nightly-2024-11-25 valgrind run --example no-leak -q
Hello, world!
$ cargo +stable valgrind run --example no-leak -q
Hello, world!
Error leaked 56 B in 1 block
Info stack trace (user code at the bottom)
<snip>
Summary Leaked 56 B total (0 other errors)
$ valgrind --version
valgrind-3.24.0 I try a different setup, but would you mind running |
The text was updated successfully, but these errors were encountered: