[Bug 50705] Cygwin64 on Wine64-staging closes the console after every command.

"WineHQ Bugzilla" <[email protected]> Wed, 09 Jun 2021 03:15:07 +0000
Newsgroups gmane.comp.emulators.wine.bugs
Message-ID <[email protected]/>
https://bugs.winehq.org/show_bug.cgi?id=50705

Damjan Jovanovic <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #1 from Damjan Jovanovic <[email protected]> ---
(In reply to megastallman from comment #0)
> Hi guys!
> 
> The current bug pretty much reminds me this one:
> https://bugs.winehq.org/show_bug.cgi?id=48891 , but Damjan's and Dmitry's
> patches don't fix it.
> The difference is that I'm using cygwin64 on wine64.

Pretty much anything that causes fork() to return 0 to both parent and child
will cause the console to close after its first command (ie. first fork()), and
a lot can go wrong during fork().

Bug 48891 got fixed with a more advanced patch than the ones you tested, please
try again with the latest Git or release 6.11 when it comes out.

Try some bash builtins like "pwd". Do they still cause the console to close?

Try "strace -o /path/to/strace.txt <command>" in the Cygwin bash console, eg.
"strace -o strace.txt ./ls.exe" and attach that strace.txt.

-- 
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.