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.