Open tiif opened 1 month ago
This seems like another case of https://github.com/tokio-rs/tokio/pull/6744.
with the extra complication that an immutable reference is used to read the Option
discriminant via size_hint
.
It should be fixed in the latest nightly (https://github.com/rust-lang/rust/pull/129313).
I tried again with the latest nightly
rustc 1.83.0-nightly (7042c269c 2024-09-23)
binary: rustc
commit-hash: 7042c269c166191cd5d8daf0409890903df7af57
commit-date: 2024-09-23
host: x86_64-unknown-linux-gnu
release: 1.83.0-nightly
LLVM version: 19.1.0
but miri still produced the same error.
Version Tokio master branch commit
27539ae3
Platform
rustc version:
Description Miri reported UB with
MIRIFLAGS="-Zmiri-disable-isolation -Zmiri-strict-provenance -Zmiri-retag-fields" cargo +nightly miri test --features full --test stream_chain
on tokio master branch27539ae3
:Full trace:
cc @Darksonn