[Bug 50705] New: Cygwin64 on Wine64-staging closes the console after every command.
https://bugs.winehq.org/show_bug.cgi?id=50705 Bug ID: 50705 Summary: Cygwin64 on Wine64-staging closes the console after every command. Product: Wine Version: 6.2 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: wineserver Assignee: wine-bugs(a)winehq.org Reporter: megastallman(a)gmail.com Distribution: --- 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. My Wine-staging version is: wine-6.2-212-g4de079bb724 I'm also trying to run Cygwin64 utilities the same way I did it on 32-bit Wine: ~/.wine/drive_c/cygwin64/bin$ wineconsole bash.exe 0060:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1. 0060:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1. 0034:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1. 0034:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1. 0068:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1. 0068:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1. 0070:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1. 0070:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1. 002c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1. 002c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1. 00c0:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1. 00c0:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1. 00c8:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1. 00c8:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1. 00d0:fixme:ntdll:NtSetInformationToken unimplemented class 4 00d0:fixme:process:NtQueryInformationProcess (process=0xffffffffffffffff) Unimplemented information class: ProcessSessionInformation 00d0:fixme:advapi:LsaOpenPolicy ((null),0000000180312100,0x00000001,00000000FFFFC2D8) stub 00d0:fixme:security:GetWindowsAccountDomainSid (00000000FFFFC2B0 0000000000028B98 00000000FFFFC2AC): semi-stub 00d0:fixme:advapi:LsaClose (000000000000CAFE) stub 00d8:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1. 00d8:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1. 00d0:fixme:netapi32:DsEnumerateDomainTrustsW ((null), 0x0023, 0xffffc378, 0xffffc364): stub INTEL-MESA: warning: Haswell Vulkan support is incomplete INTEL-MESA: warning: Haswell Vulkan support is incomplete INTEL-MESA: warning: Haswell Vulkan support is incomplete INTEL-MESA: warning: Haswell Vulkan support is incomplete INTEL-MESA: warning: Haswell Vulkan support is incomplete INTEL-MESA: warning: Haswell Vulkan support is incomplete 00e0:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1. 00e0:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1. 00e0:fixme:wldap32:ldap_set_optionA Unsupported option: 0x95 00e0:fixme:wldap32:ldap_set_optionA Unsupported option: 0x96 00d0:fixme:netapi32:NetUserGetInfo Only implemented for local computer, but remote serverL"\\\\@" was requested. 00d0:fixme:advapi:LsaOpenPolicy ((null),0000000180312100,0x00000800,00000000FFFFC9F8) stub 00d0:fixme:advapi:LsaClose (000000000000CAFE) stub 00d0:fixme:netapi32:NetLocalGroupGetInfo ((null) L"Administrators" 1 0xffffc3f0) semi-stub! 00d0:fixme:netapi32:NetLocalGroupGetInfo ((null) L"Users" 1 0xffffc3f0) semi-stub! 00c8:fixme:console:console_input_ioctl unsupported ioctl 504088 00d0:fixme:console:GetConsoleProcessList (00000000FFFFB9AC,1): stub 00d0:fixme:console:GetConsoleProcessList (0000000000063740,0): stub Then I run "/bin/uname -a" command that normally shows the output and closes wineconsole. Thanks in advance! -- 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.
https://bugs.winehq.org/show_bug.cgi?id=50705 Damjan Jovanovic <damjan.jov(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |damjan.jov(a)gmail.com --- Comment #1 from Damjan Jovanovic <damjan.jov(a)gmail.com> --- (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.
https://bugs.winehq.org/show_bug.cgi?id=50705 --- Comment #2 from megastallman <megastallman(a)gmail.com> --- Created attachment 70148 --> https://bugs.winehq.org/attachment.cgi?id=70148 strace.txt Thanks guys! I've built the lates master today, and it looks much better! At least, the terminal doesn't close. Cygwin and msys2 installers are running to the very end, without hangups. So, that vfork problem had really much implications. Here I'm also attaching the strace output. But for some reason, bash sessions lose STDOUT. Nevertheless, builtins work fine from both bash and wineconsole. I can finally call 'ls' or 'uname -a' from wineconsole. I get the output without closing the shell. As for bash session - 'ls' and 'uname' just output nothing. 'uname -a > qqq' results in an empty file. Builtins, like 'pwd > qqq' - work fine. Same for bash scripting, STDOUT is lost. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=50705 megastallman <megastallman(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED --- Comment #3 from megastallman <megastallman(a)gmail.com> --- Actally this particular problem is resolved. So, I'll file new bugreports for new bugs. Thanks guys! -- 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.
https://bugs.winehq.org/show_bug.cgi?id=50705 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #4 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 6.15. -- 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.
participants (1)
-
WineHQ Bugzilla