https://bugs.winehq.org/show_bug.cgi?id=55813
Bug ID: 55813 Summary: [Errno 9] Bad file descriptor Product: Wine Version: 8.18 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: naworldw@gmail.com Distribution: ---
Created attachment 75302 --> https://bugs.winehq.org/attachment.cgi?id=75302 Unexecutable
"https://github.com/KurtBestor/Hitomi-Downloader/releases/download/Technical-..."
I posted on the forum with the same title, but a different problem occurred.
First, the stable version seems to have incorrect support for qt6. The program performed a full upgrade from qt5 to qt6 and was unable to run afterwards. As a workaround in the forum, proceed to "When I copy "C:\windows\system32\Windows.UI.dll" from a Windows 11 installation next to "hitomi_downloader_GUI.exe" and start the program with: WINEDLLOVERRIDES="window.ui=n"win hitomi_downloader_GUI.exe" and you will see the program screen. However, the program has an internal browser. So, if you press "options-network-embedded web browser" in the program, the program itself is closed due to a fatal bug called "QtWebEngineProcess.exe." So I tried the wine development version. It is displayed as an attachment, making it impossible to execute itself.
https://bugs.winehq.org/show_bug.cgi?id=55813
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download Status|UNCONFIRMED |NEW CC| |jacek@codeweavers.com, | |xerox.xerox2000x@gmail.com URL| |https://github.com/KurtBest | |or/Hitomi-Downloader/releas | |es/download/Technical-Previ | |ew/hitomi_downloader_GUI_te | |st.zip Regression SHA1| |dcf0bf1f383f8429136cb761f51 | |70a04503a297b Ever confirmed|0 |1
--- Comment #1 from Louis Lenders xerox.xerox2000x@gmail.com --- Confirming
this a regression:
commit dcf0bf1f383f8429136cb761f5170a04503a297b Author: Jacek Caban jacek@codeweavers.com Date: Wed Jun 21 13:43:20 2023 +0200
ntdll: Inherit ConsoleHandle only by CUI processes.
dlls/kernel32/tests/console.c | 2 +- dlls/ntdll/unix/env.c | 5 +++-- dlls/ntdll/unix/process.c | 3 ++- dlls/ntdll/unix/unix_private.h | 2 +- 4 files changed, 7 insertions(+), 5 deletions(-)
https://bugs.winehq.org/show_bug.cgi?id=55813
Zeb Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|[Errno 9] Bad file |Hitomi Downloader fails |descriptor |with "[Errno 9] Bad file | |descriptor"
https://bugs.winehq.org/show_bug.cgi?id=55813
--- Comment #2 from Louis Lenders xerox.xerox2000x@gmail.com --- Created attachment 75405 --> https://bugs.winehq.org/attachment.cgi?id=75405 hack
The attached hack does not revert the aforementioned commit (which seems to be correct afaict), but allows the program to start.
I have no clue about whether it's correct way to fix this bug
https://bugs.winehq.org/show_bug.cgi?id=55813
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression
https://bugs.winehq.org/show_bug.cgi?id=55813
--- Comment #3 from Jacek Caban jacek@codeweavers.com --- Please retest with current Wine version, it should be fixed by https://gitlab.winehq.org/wine/wine/-/merge_requests/4441 or https://gitlab.winehq.org/wine/wine/-/merge_requests/4573.
https://bugs.winehq.org/show_bug.cgi?id=55813
--- Comment #4 from realbug naworldw@gmail.com --- I'm still experiencing problems with qtwebengine, which still works as an internal browser. I don't think winehq is fully corresponding to qt6 yet.
https://bugs.winehq.org/show_bug.cgi?id=55813
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED
--- Comment #5 from Louis Lenders xerox.xerox2000x@gmail.com --- (In reply to realbug from comment #4)
I'm still experiencing problems with qtwebengine, which still works as an internal browser. I don't think winehq is fully corresponding to qt6 yet.
Hi, please open a new bug report for that issue then.
The first issue you reported in this bugreport (app not starting with "Bad file descriptor") has been fixed.
I tried quickly to revert the mentioned patches to find out which on exactly fixed this issue, but they cannot be reverted cleanly anymore.
So for now just resolve as fixed, without the exact SHA1
https://bugs.winehq.org/show_bug.cgi?id=55813
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #6 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 9.0-rc2.