[Bug 50731] New: All Winelib applications built with winegcc/wineg++ segfault on startup as of Wine 6.3

WineHQ Bugzilla wine-bugs at winehq.org
Sat Feb 27 08:48:56 CST 2021


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 at winehq.org
          Reporter: mail at 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.

-- 
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