[Bug 59920] New: msvcrt setjmp/longjmp in x86_64 ELF builds broken by ntdll change
http://bugs.winehq.org/show_bug.cgi?id=59920 Bug ID: 59920 Summary: msvcrt setjmp/longjmp in x86_64 ELF builds broken by ntdll change Product: Wine Version: 9.4 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: ntdll Assignee: wine-bugs@list.winehq.org Reporter: martin@martin.st CC: julliard@winehq.org Regression SHA1: 7a156cbd7fbbf1ce10f805bcfb43ff94fd94dda1 Distribution: --- Created attachment 81249 --> http://bugs.winehq.org/attachment.cgi?id=81249 Test binary Since commit 7a156cbd7fbbf1ce10f805bcfb43ff94fd94dda1, "ntdll: Use jump buffer definitions from setjmp.h.", the attached x86_64 test binary (which is a build of https://github.com/mstorsjo/llvm-mingw/blob/master/test/setjmp.c with llvm-mingw targeting msvcrt instead of UCRT) fails, when run with an ELF build of Wine (i.e. --without-mingw). (Wine was built with GCC - such ELF builds of x86_64 Wine can't be done with Clang.) Before the change, the executable runs fine, after the change, it ends with: [...] setjmp returned 1 d = wine: Unhandled exception 0xc000008f in thread 24 at address 0000000140002F5 8 (thread 0024), starting debugger... The same issue can be reproduced with the latest git version of Wine. The issue is observed when built with the GCC 13 that ships with Ubuntu 24.04, haven't tried other distributions/GCC versions. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=59920 Ken Sharp <imwellcushtymelike@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- URL| |https://github.com/mstorsjo | |/llvm-mingw/blob/master/tes | |t/setjmp.c Keywords| |download, regression, | |source -- 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.
http://bugs.winehq.org/show_bug.cgi?id=59920 --- Comment #1 from Martin Storsjö <martin@martin.st> --- I found the issue - I posted a fix at https://gitlab.winehq.org/wine/wine/-/merge_requests/11271. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=59920 Martin Storsjö <martin@martin.st> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Fixed by SHA1| |3375b75c4c3f78e47e4f080d3d6 | |35468e58bedad Status|UNCONFIRMED |RESOLVED --- Comment #2 from Martin Storsjö <martin@martin.st> --- Fixed in 11.12. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=59920 Alexandre Julliard <julliard@winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #3 from Alexandre Julliard <julliard@winehq.org> --- Closing bugs fixed in 11.13. -- 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