https://bugs.winehq.org/show_bug.cgi?id=48931
Bug ID: 48931 Summary: Any binary from 64bit Cygwin crashes on launch Product: Wine Version: 5.6 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: rpisl@seznam.cz Distribution: ---
Any binary from 64bit Cygwin crashes on launch with:
002b:err:seh:setup_exception stack overflow 8464 bytes in thread 002b eip 00007f77fc7784a1 esp 00000000ffff5500 stack 0xffe00000-0xffff7000-0x100000000
It happens only with 64bit Cygwin binaries. I can't reproduce it with 32bit binaries.
It does not happen with the distribution Wine 5.0. But if I compile it from source, it also crashes. It is always reproducible with Wine 5.6.
I was unsuccessful obtaining an useful backtrace so far but will continue trying.
This bug is NOT about bash.exe terminating (see bug 48891) or binaries crashing/terminating with FAST_CWD (see bug 40528).
https://bugs.winehq.org/show_bug.cgi?id=48931
Roman Pišl rpisl@seznam.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |rpisl@seznam.cz
https://bugs.winehq.org/show_bug.cgi?id=48931
--- Comment #1 from Roman Pišl rpisl@seznam.cz --- Created attachment 67130 --> https://bugs.winehq.org/attachment.cgi?id=67130 WINEDEBUG=+relay,+seh,+x11drv and backtrace
Attaching some information that may help trace the crash.
https://bugs.winehq.org/show_bug.cgi?id=48931
Qian Hong fracting@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fracting@gmail.com
--- Comment #2 from Qian Hong fracting@gmail.com --- I remember there was a 64bit only Cygwin stack overflow, which could be workaround by downgrading FreeType:
https://github.com/TeaCI/msys2-docker/blob/master/Dockerfile#L4
wget http://security.ubuntu.com/ubuntu/pool/main/f/freetype/libfreetype6_2.5.2-1u... && wget http://security.ubuntu.com/ubuntu/pool/main/f/freetype/libfreetype6_2.5.2-1u... && dpkg -i libfreetype6_2.5.2-1ubuntu2_amd64.deb libfreetype6_2.5.2-1ubuntu2_i386.deb
Unfortunately, I don't have Linux environment to test at the moment.
Anyone could give it a test?
https://bugs.winehq.org/show_bug.cgi?id=48931
--- Comment #3 from Roman Pišl rpisl@seznam.cz --- Hello, thanks for the tip. I manually replaced the system libfreetype, checked that the downgraded version was loaded (also libpng12 was needed), but no change, it still crashes. I am on Debian Buster.
https://bugs.winehq.org/show_bug.cgi?id=48931
--- Comment #4 from Roman Pišl rpisl@seznam.cz --- The crash is no longer present after ca45eda758e29261691b27eecf1f4fc78bdfadc5. But the binaries still terminate early without an obvious reason (fix from bug 48891 does not help).
https://bugs.winehq.org/show_bug.cgi?id=48931
--- Comment #5 from Roman Pišl rpisl@seznam.cz --- Created attachment 68075 --> https://bugs.winehq.org/attachment.cgi?id=68075 WINEDEBUG=+seh on Wine 5.16
A seh exception c0000005 occurs on Wine 5.16.
https://bugs.winehq.org/show_bug.cgi?id=48931
Roman Pišl rpisl@seznam.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |pgofman@codeweavers.com
--- Comment #6 from Roman Pišl rpisl@seznam.cz --- The patch https://source.winehq.org/patches/data/194466 also fixes this issue.
https://bugs.winehq.org/show_bug.cgi?id=48931
Roman Pišl rpisl@seznam.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |DUPLICATE
--- Comment #7 from Roman Pišl rpisl@seznam.cz --- This is a duplicate of bug 49860.
*** This bug has been marked as a duplicate of bug 49860 ***
https://bugs.winehq.org/show_bug.cgi?id=48931
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |vladimir.kokovic@gmail.com
--- Comment #8 from Zebediah Figura z.figura12@gmail.com --- *** Bug 49952 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=48931
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #9 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- Closing Duplicate