https://bugs.winehq.org/show_bug.cgi?id=47808
Bernhard Übelacker bernhardu@mailbox.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |bernhardu@mailbox.org
--- Comment #11 from Bernhard Übelacker bernhardu@mailbox.org --- Created attachment 70599 --> https://bugs.winehq.org/attachment.cgi?id=70599 Another hack to get over the stack issue. And a fix to show bash output inside mintty.exe.
I still experienced crashes with the "updated hack". So I did some experiments and came up with another hack which does a few recursive function calls to get enough stack pages committed, to not have guard pages hit inside some shared library calls.
After getting over the stack issues, mintty.exe still shows nothing from the bash.exe process running inside. This is because mintty relies on NtQueryInformationFile(FilePipeLocalInformation) returning the real value for ReadDataAvailable.
With these three patches applied I had e.g. bash.exe, mintty.exe, ls.exe and script.exe working. gdb.exe (because of some python initialisation) and python3.8.exe did not work.