https://bugs.winehq.org/show_bug.cgi?id=48875
--- Comment #7 from Nikolay Sivov bunglehead@gmail.com --- (In reply to Thomas from comment #6)
Created attachment 66812 [details] Simpler code that still causes the segfault
I tried this, built as:
x86_64-w64-mingw32-gcc bug48875.cpp -o bug48875.exe
and I don't see any crashes. Could you attach pre-built exe? Or build instructions.