[Bug 51610] New: Cygwin (x64) programs only run when piped
https://bugs.winehq.org/show_bug.cgi?id=51610 Bug ID: 51610 Summary: Cygwin (x64) programs only run when piped Product: Wine Version: 6.14 Hardware: x86-64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs(a)winehq.org Reporter: dark.shadow4(a)web.de Distribution: --- Created attachment 70466 --> https://bugs.winehq.org/attachment.cgi?id=70466 Test binaries to reproduce the issue Might or might not be related to bug 40528. And probably bug 51609. Tested with cygwin 3.2.0. Fresh WINEPREFIX. Binaries using cygwin1.dll just silenty quit when run. Like "wine test.exe" quits without working. When running then with "wineconsole test.exe" it silently quits as well. However, when called like "wine test.exe &> test.log" it works. Attaching test binaries for simplicity. -- 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=51610 Fabian Maurer <dark.shadow4(a)web.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, source, testcase URL| |https://www.cygwin.com/setu | |p-x86_64.exe -- 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=51610 Fabian Maurer <dark.shadow4(a)web.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |51609 -- 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=51610 --- Comment #1 from Fabian Maurer <dark.shadow4(a)web.de> --- For testing I ran gui_x64 with a pure wine64 git tree (wine-6.15). For some reason, it crashes inside
winex11.drv/init.c: device_init: XCreatePixmap
Not sure why Cygwin would lead to X problems though... -- 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=51610 --- Comment #2 from Fabian Maurer <dark.shadow4(a)web.de> --- I think I know what breaks x64 programs compared to x86: https://github.com/cygwin/cygwin/blob/44eb4163234089e8830b018dbcf6a08333eab2... For x64 there is special logic in cygwin. When editing the linked file to run the #else path, programs work better under wine. -- 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=51610 --- Comment #3 from Fabian Maurer <dark.shadow4(a)web.de> --- Created attachment 70475 --> https://bugs.winehq.org/attachment.cgi?id=70475 Stack test program with source For easier debugging, I attached a simplified version of the problematic code as a testcase. This example copies the problematic code from cygwin, and then tries to open a messagebox. For some reason, that cygwin function doesn't work under wine and messes up the stack. -- 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=51610 Fabian Maurer <dark.shadow4(a)web.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Cygwin (x64) programs only |Cygwin (x64) programs only |run when piped |run when piped (Cygwin | |tries to set a new stack, | |which breaks under wine) -- 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=51610 Bug 51610 depends on bug 51609, which changed state. Bug 51609 Summary: Cygwin (x86) programs only run with wineconsole https://bugs.winehq.org/show_bug.cgi?id=51609 What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |DUPLICATE -- 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=51610 Fabian Maurer <dark.shadow4(a)web.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |DUPLICATE Status|NEW |RESOLVED --- Comment #4 from Fabian Maurer <dark.shadow4(a)web.de> --- Sorry, just noticed this is a dupe of bug 47808. Closing this one. *** This bug has been marked as a duplicate of bug 47808 *** -- 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=51610 Alistair Leslie-Hughes <leslie_alistair(a)hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #5 from Alistair Leslie-Hughes <leslie_alistair(a)hotmail.com> --- Closing Duplicate. -- 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