Skip to content
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

Test failure: Os { code: 9, kind: Uncategorized, message: "Bad file descriptor" } #59

Closed
tkaitchuck opened this issue Oct 20, 2021 · 3 comments · Fixed by #60 or #69
Closed

Test failure: Os { code: 9, kind: Uncategorized, message: "Bad file descriptor" } #59

tkaitchuck opened this issue Oct 20, 2021 · 3 comments · Fixed by #60 or #69

Comments

@tkaitchuck
Copy link
Contributor

Upon checking out the code and running cargo test I observe:

---- too_many_submissions stdout ----
thread 'too_many_submissions' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 9, kind: Uncategorized, message: "Bad file descriptor" }', tests/driver.rs:84:56
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

---- complete_ops_on_drop stdout ----
thread 'complete_ops_on_drop' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 9, kind: Uncategorized, message: "Bad file descriptor" }', tests/driver.rs:53:56

@Noah-Kennedy
Copy link
Contributor

I'm getting this from 5.14

@carllerche
Copy link
Member

Interesting. I am seeing that as well now. My guess there was a change in kernel behavior.

@BraulioVM
Copy link
Contributor

I believe it's not related to a change in kernel behaviour. I believe it's related to rust-lang/rust#85746 . Some of the logic in this crate depends on io::ErrorKind::Other, which we may not be getting from upstream libraries (std or otherwise) anymore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants