You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is an issue we're having trouble reproducing, however, there have been instances of crashing on Windows due to the unreachable! line in the snippet of the read_done function below:
letmut buf = match mem::replace(&mut io.read,State::None){
State::Pending(buf, _) => buf,
_ => unreachable!(),
I don't see an apparent cause, but I'm curious as to whether it could be possible the snippet below inside scheduled_read is returning an error that causes mem::forget not to be run as anticipated so the state is Err rather than Pending?
This is an issue we're having trouble reproducing, however, there have been instances of crashing on Windows due to the
unreachable!
line in the snippet of theread_done
function below:mio/src/sys/windows/named_pipe.rs
Lines 859 to 863 in 9bd0e95
I don't see an apparent cause, but I'm curious as to whether it could be possible the snippet below inside
scheduled_read
is returning an error that causesmem::forget
not to be run as anticipated so the state isErr
rather thanPending
?mio/src/sys/windows/named_pipe.rs
Lines 705 to 709 in 9bd0e95
The text was updated successfully, but these errors were encountered: