https://bugs.winehq.org/show_bug.cgi?id=53103
Bug ID: 53103 Summary: ie8 doesn't start (race condition) Product: Wine Version: 7.5 Hardware: x86-64 OS: Linux Status: NEW Keywords: download, regression Severity: normal Priority: P2 Component: kernel32 Assignee: wine-bugs@winehq.org Reporter: austinenglish@gmail.com CC: eric.pouech@orange.fr, jacek@codeweavers.com Regression SHA1: f034084d49b354811096524d472ae5172ac1cebf Distribution: Debian
Created attachment 72538 --> https://bugs.winehq.org/attachment.cgi?id=72538 terminal output
Regression, I *believe* introduced by: commit f034084d49b354811096524d472ae5172ac1cebf Author: Eric Pouech eric.pouech@gmail.com Date: Thu Mar 17 08:27:28 2022 +0100
kernelbase: Handle corner case in CreateProcess.
In CreateProcess, if: - parent isn't attached to a console - CreateProcess's flag isn't set with DETACHED_PROCESS nor CREATE_NEW_CONSOLE - child is a CUI program then a console must be allocated for the child.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52048 Signed-off-by: Eric Pouech eric.pouech@gmail.com Signed-off-by: Jacek Caban jacek@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
before this commit (i.e., with c7e87b536edb28bb48162690e0d42c9ba9ccb43c), installing/starting ie after `winetricks -q ie8` works without failure. After this commit, there's a race.
Of course, it's a race, so I can't be 100% sure, but I can run at c7e87b536edb28bb48162690e0d42c9ba9ccb43c 15 times in a row without failure, but fails most of the time at f034084d49b354811096524d472ae5172ac1cebf).
To reproduce: $ wineserver -k ; rm -rf ~/.wine ; winetricks -q ie8 ; wineserver -w ; wine 'C:\Program Files\Internet Explorer\iexplore.exe' http://example.org
if successful, IE will show its window. If it fails, no window will appear.