https://bugs.winehq.org/show_bug.cgi?id=46070
Bug ID: 46070 Summary: Basemark Web 3.0 Desktop Launcher crashes Product: Wine Version: 3.19 Hardware: x86 URL: http://web.basemark.com/downloads/Basemark_web_30_laun cher.exe OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: the.ideals@gmail.com Distribution: ---
Created attachment 62675 --> https://bugs.winehq.org/attachment.cgi?id=62675 crash log
Fatal Python error: Py_Initialize: can't initialize sys standard streams OSError: [WinError 6] Invalid handle
sha1sum Basemark_web_30_launcher.exe c92f5548c62f43353f2dea743854d7edb0f45d70 Basemark_web_30_launcher.exe
du -sh Basemark_web_30_launcher.exe 9.6M Basemark_web_30_launcher.exe
https://bugs.winehq.org/show_bug.cgi?id=46070
John the.ideals@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download
https://bugs.winehq.org/show_bug.cgi?id=46070
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |xerox.xerox2000x@gmail.com Status|UNCONFIRMED |NEW Ever confirmed|0 |1
--- Comment #1 from Louis Lenders xerox.xerox2000x@gmail.com --- Confirming. Got a different error output but it just hangs at "scanning hardware"
https://bugs.winehq.org/show_bug.cgi?id=46070
Gabriel Ivăncescu gabrielopcode@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Assignee|wine-bugs@winehq.org |gabrielopcode@gmail.com Status|NEW |ASSIGNED CC| |gabrielopcode@gmail.com
--- Comment #2 from Gabriel Ivăncescu gabrielopcode@gmail.com --- Let's keep this bug about the Python error. Please open a new bug for the hang at "scanning hardware" if it's still relevant.
While investigating a game with the same issue, I think I found what causes this. The error happens when you redirect the stdout/stderr to files, because it's only in those cases that the app calls GetFileInformationByHandle, which fails currently on stdout/stderr, because they have no unix_name.
Fixing this will probably require platform-specific code, I'll think of something.
https://bugs.winehq.org/show_bug.cgi?id=46070
Andrew Eikum aeikum@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |aeikum@codeweavers.com
https://bugs.winehq.org/show_bug.cgi?id=46070
--- Comment #3 from Matteo Bruni matteo.mystral@gmail.com --- Is this bug still current? Is ASSIGNED still sensible?
https://bugs.winehq.org/show_bug.cgi?id=46070
--- Comment #4 from Gabriel Ivăncescu gabrielopcode@gmail.com --- Sorry about that. The last time I sent a patch to fix it, it slept through the cracks and wasn't reviewed. I resent it, please see: https://www.winehq.org/pipermail/wine-devel/2020-September/174029.html
I believe Paul had an alternative fix but it was more complicated and had some issues with corner cases such as special fds like bash's pipe:[1234] and so on. I don't know if it fixed something extra though, I think nobody else commented on it.
If you want to take over with a better implementation/fix, please feel free to assign yourself or fix it properly. :-)
https://bugs.winehq.org/show_bug.cgi?id=46070
Gabriel Ivăncescu gabrielopcode@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Staged patchset| |https://github.com/wine-sta | |ging/wine-staging/tree/mast | |er/patches/server-unix_name Status|ASSIGNED |STAGED
https://bugs.winehq.org/show_bug.cgi?id=46070
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://web.basemark.com/dow |https://web.archive.org/web |nloads/Basemark_web_30_laun |/20210207205622/https://web |cher.exe |.basemark.com/downloads/Bas | |emark_web_30_launcher.exe CC| |focht@gmx.net
https://bugs.winehq.org/show_bug.cgi?id=46070
Joel Holdsworth joel@airwebreathe.org.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |joel@airwebreathe.org.uk
https://bugs.winehq.org/show_bug.cgi?id=46070
Bernhard Übelacker bernhardu@mailbox.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED CC| |bernhardu@mailbox.org Fixed by SHA1| |1b0d8428dfc13b0fa5ea7d576df | |ef7aaf8a8c927 Status|STAGED |RESOLVED
--- Comment #5 from Bernhard Übelacker bernhardu@mailbox.org --- Seems fixed by: https://gitlab.winehq.org/wine/wine/-/commit/1b0d8428dfc13b0fa5ea7d576dfef7a...
Before this commit I get this:
$ wine Basemark_web_30_launcher.exe > out.txt 0110:fixme:vcruntime:__telemetry_main_invoke_trigger (7A360000) Fatal Python error: Py_Initialize: can't initialize sys standard streams OSError: [WinError 6] Ungültiges Handle ...
Afterwards I get following ending in the before mentioned "Scanning hardware" gui message:
$ wine Basemark_web_30_launcher.exe > out.txt 0114:fixme:vcruntime:__telemetry_main_invoke_trigger (7A360000) 0114:fixme:vcruntime:__telemetry_main_invoke_trigger (79F00000) 0114:fixme:vcruntime:__telemetry_main_invoke_trigger (792D0000) 0114:fixme:ntdll:EtwEventSetInformation (deadbeef, 2, 7927EE58, 43) stub ...
Therefore I guess the python redirection is fixed, changing to resolved fixed.
https://bugs.winehq.org/show_bug.cgi?id=46070
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.3.
https://bugs.winehq.org/show_bug.cgi?id=46070
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |9.0.x