https://bugs.winehq.org/show_bug.cgi?id=52757
Bug ID: 52757 Summary: Reqwest tests fails with "Bad device type" error Product: Wine Version: 7.5 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: mikrutrafal@protonmail.com Distribution: ---
Running tests inside Reqwest repository, shows 5 failed tests like
``` ---- connect::tests::test_tunnel stdout ---- thread 'connect::tests::test_tunnel' panicked at 'failed to park: Os { code: 66, kind: Uncategorized, message: "Bad device type." }', C:\users\rafal.cargo\re gistry\src\github.com-1ecc6299db9ec823\tokio-1.17.0\src\runtime\basic_scheduler.rs:315:31 note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace thread '<unnamed>' panicked at 'assertion failed: `(left == right)` left: `[]`, right: `[67, 79, 78, 78, 69, 67, 84, 32, 49, 50, 55, 46, 48, 46, 48, 46, 49, 58, 51, 53, 52, 51, 53, 32, 72, 84, 84, 80, 47, 49, 46, 49, 13, 10, 72, 111, 115 , 116, 58, 32, 49, 50, 55, 46, 48, 46, 48, 46, 49, 58, 51, 53, 52, 51, 53, 13, 10, 85, 115, 101, 114, 45, 65, 103, 101, 110, 116, 58, 32, 116, 117, 110, 110, 101, 108, 45, 116, 101, 115, 116, 47, 120, 46, 121, 13, 10, 13, 10]`', src\connect.rs:1248:20
``` which points at https://github.com/tokio-rs/tokio/blob/702d6dccc948b6a460caa52da4e4c03b252c5...
Reproduce steps
- Install - https://static.rust-lang.org/dist/rust-1.59.0-x86_64-pc-windows-gnu.msi ``` git clone https://github.com/seanmonstar/reqwest cd reqwest git checkout 798df70fb0a4cd786ecc8cf770b33f1d56528524 wine cargo test ```
https://bugs.winehq.org/show_bug.cgi?id=52757
Skylords Reborn admin@skylords.eu changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |admin@skylords.eu
--- Comment #1 from Skylords Reborn admin@skylords.eu --- This bug ('failed to park: Os { code: 66, kind: Uncategorized, message: "Bad device type." }') has likely been fixed in release 7.13 (https://www.winehq.org/announce/7.13). The relevant fix seems to be: "server: Allow IOCTL_AFD_POLL for sockets without unix fd."
Related Github issues for Tokio/Mio: - https://github.com/tokio-rs/tokio/issues/4781 - https://github.com/tokio-rs/mio/issues/1444
https://bugs.winehq.org/show_bug.cgi?id=52757
Zeb Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |DUPLICATE CC| |z.figura12@gmail.com
--- Comment #2 from Zeb Figura z.figura12@gmail.com --- Yes, I think it's fair to call this a duplicate of bug 52594.
*** This bug has been marked as a duplicate of bug 52594 ***
https://bugs.winehq.org/show_bug.cgi?id=52757
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #3 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- Closing duplicate.