capstone-rs icon indicating copy to clipboard operation
capstone-rs copied to clipboard

Valgrind failures in CI

Open tmfink opened this issue 3 years ago • 1 comments

Regular Valgrind tests fail in master branch. This could be a false positive.

https://github.com/capstone-rust/capstone-rs/runs/6753889756?check_suite_focus=true

tmfink avatar Aug 03 '22 15:08 tmfink

Seems to be caused by https://stdrs.dev/nightly/x86_64-unknown-linux-gnu/src/std/sys/unix/fs.rs.html#157-160. The stdlib calls statx will a NULL pointer to check if the syscall is available. It seems to have been fixed in upstream Valgrind https://sourceware.org/git/?p=valgrind.git;a=commit;h=2a7d3ae768f9e5b29acd5cb743c3fb13640a391c

clubby789 avatar Aug 04 '22 12:08 clubby789