https://bugs.winehq.org/show_bug.cgi?id=51813 --- Comment #12 from Joel Holdsworth <joel(a)airwebreathe.org.uk> --- In my testing, still a problem: $ wine --version wine-9.0-rc1 $ wine python.exe -c 'print("Hello World")' > out.txt 007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005 007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005 007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005 007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005 007c:fixme:wineusb:query_id Unhandled ID query type 0x5. 007c:fixme:wineusb:query_id Unhandled ID query type 0x5. 007c:fixme:wineusb:query_id Unhandled ID query type 0x5. 007c:fixme:wineusb:query_id Unhandled ID query type 0x5. 007c:fixme:wineusb:query_id Unhandled ID query type 0x5. Fatal Python error: init_sys_streams: can't initialize sys standard streams Python runtime state: core initialized OSError: [WinError 6] Invalid handle Current thread 0x00000024 (most recent call first): <no Python frame> As a workaround, I have cherry-picked your fix into my branch: https://gitlab.winehq.org/epo/wine/-/commit/cde092dd35463fff95a22f27256f6fe5... For other readers: This patch fixes the issue in kernelbase by removing unnecessary call to NtQueryInformationFile with FileAllInformation in GetFileInformationByHandle, which fails to retrieve the name (FileNameInformation) of the pipe-file. Instead it queries FileBaicInformation, FileStandardInformation and FileInternalInformation which provide sufficient information without failing. Alternatively, there is also this patch: https://www.winehq.org/pipermail/wine-devel/2020-September/174029.html This patch solves the issue in wineserver implementing NtQueryInformationFile FileNameInformation for pipes. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.