Ming Chen

Results 8 comments of Ming Chen

We can disable the sanitizer for this particular function with the `#[no_sanitize(memory)]` attribute. But that is an experimental feature and we need to add `#![feature(no_sanitizer)` to the create attributes to...

I have tried different sleeping times (10ms, 100ms, 1s, 10s) in the Rust test. All consistently hanging. I also added printing logs, and it seems the timer even are submitted:...

I added log into `io_uring_prep_timeout` into liburing: ``` diff --git a/src/include/liburing.h b/src/include/liburing.h index 5b96e02..7b05d6d 100644 --- a/src/include/liburing.h +++ b/src/include/liburing.h @@ -12,6 +12,7 @@ #include #include #include +#include #include #include #include...

Got the `asan` build working, but it is not catching the bug. Turned out I need `--target x86_64-unknown-linux-gnu` to enable the asan build to work: ``` export RUSTFLAGS=-Zsanitizer=address RUSTDOCFLAGS=-Zsanitizer=address cargo...

Tried `msan` and caught an use-of-uninitialized-value error, but without details. ``` $export RUSTFLAGS=-Zsanitizer=memory $cargo +nightly test -Zbuild-std --target x86_64-unknown-linux-gnu timer_impl::test::basic_timer_works -- --test-threads 1 --nocapture ... ==7279==WARNING: MemorySanitizer: use-of-uninitialized-value #0 0x5618c15c87ef...

> Hey @vmingchen -- In the future, can you either fill out the pull request template or at least delete it (if it's not relevant, though that's also debatable..)? It...

Thanks for proposing this PR! This is a missing feature I am looking forward to. It would be nice to have it because otherwise I have to manually type in...

Great! The '-l' filter is working for me now. Thanks a lot for the fix!