https://bugs.winehq.org/show_bug.cgi?id=50731
Bug ID: 50731 Summary: All Winelib applications built with winegcc/wineg++ segfault on startup as of Wine 6.3 Product: Wine Version: 6.3 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: winelib Assignee: wine-bugs@winehq.org Reporter: mail@robbertvanderhelm.nl Distribution: ---
As of some commit between Wine 6.2 and Wine 6.3 (I haven't done a bisect yet) all Winelib applications compiled with winegcc/wineg++ segfault on startup. To reproduce this, create a file named `main.cpp` with the following contents and compile this with `wineg++ -o main main.cpp`:
```cpp #include <iostream>
int main(int argc, char* argv[]) { std::cout << "Hello, World!" << std::endl; } ```
Running this with plain Wine 6.3 results in a segfault, and I'm not getting any symbols in GDB backtrace. Running the same binary with Wine Staging 6.3 results in a `0100:err:seh:segv_handler_early Got unexpected trap 14 during process initialization` after which the application terminates.
https://bugs.winehq.org/show_bug.cgi?id=50731
--- Comment #1 from Alexandre Julliard julliard@winehq.org --- Created attachment 69488 --> https://bugs.winehq.org/attachment.cgi?id=69488 Fix
Indeed, this should fix it, sorry about that.
https://bugs.winehq.org/show_bug.cgi?id=50731
--- Comment #2 from Robbert van der Helm mail@robbertvanderhelm.nl --- Ah, great! That probably also explains the completely useless backtrace haha. I imagine very few applications outside of Wine itself use Winelib, so it seems only natural that some of these things slip through the cracks from time to time.
https://bugs.winehq.org/show_bug.cgi?id=50731
Zhiyi Zhang zzhang@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |chopinbig@tutanota.com
--- Comment #3 from Zhiyi Zhang zzhang@codeweavers.com --- *** Bug 50755 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=50731
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Fixed by SHA1| |1e2b060eb15fa5216e9745cf48e | |b986a7721df61 Status|UNCONFIRMED |RESOLVED
--- Comment #4 from Alexandre Julliard julliard@winehq.org --- Fixed by 1e2b060eb15fa5216e9745cf48eb986a7721df61.
https://bugs.winehq.org/show_bug.cgi?id=50731
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #5 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 6.4.