[Bug 47812] Cygwin's strace.exe crashes due to custom TLS corruption
WineHQ Bugzilla
wine-bugs at winehq.org
Sat Jun 12 01:16:58 CDT 2021
https://bugs.winehq.org/show_bug.cgi?id=47812
Zebediah Figura <z.figura12 at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Fixed by SHA1| |25b093f3845a0ae1b2e2fe1c070
| |1e98064f8e8d6
Component|-unknown |ntdll
URL| |http://cygwin.com/setup-x86
| |_64.exe
Resolution|--- |FIXED
Status|NEW |RESOLVED
Keywords| |download
--- Comment #1 from Zebediah Figura <z.figura12 at gmail.com> ---
Today, surprisingly enough, I believe this bug has been fixed. We now have a
separate kernel stack, which means that while Cygwin is still doing something
very fragile, we are no longer touching the stack between DLL attach and thread
initialization, and as a result Cygwin's custom TLS does not get corrupted.
Unfortunately I didn't save the original Cygwin version or command I used to
reproduce this, but I tested with the following and encountered no crashes,
with strace version 3.2.0, echo 8.26, and Cygwin version 2.908.
wine strace.exe --output hello-strace -f echo.exe 'world hello' > hello.out
Fixed by
<https://source.winehq.org/git/wine.git/commitdiff/25b093f3845a0ae1b2e2fe1c0701e98064f8e8d6>
for x86_64, and its parent for i386.
--
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.
More information about the wine-bugs
mailing list