-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Undefined behavior reported by miri #6729
Comments
This also happens with other runtimes. I'm guessing this is an instance of rust-lang/rust#63818. |
I thought Anyways, given that this also happens with |
Closing in favor of rust-lang/miri#3780, thanks for your help! |
It is arguable whether this is our fault, but we can still fix it on our end. I will reopen this so we can avoid triggering miri on this. |
Version
tokio 1.39.1
Platform
miri 😉
Description
Recently, when working on a library for observables, I found new miri test failures (I had been getting them on a specific test before, but didn't investigate after ensuring it wasn't my own UB) and decided to finally build a minimal reproducer.
Here is the minimized code, on which miri reports undefined behavior both under stacked borrows and under tree borrows:
It only requires tokio as a dependency with the
rt
feature. I also pushed it to this repo, complete with aCargo.lock
for maximum reproducibility.The text was updated successfully, but these errors were encountered: