http://bugs.winehq.org/show_bug.cgi?id=58071
--- Comment #6 from wine@kryotek.mozmail.com --- Sorry for the slow response, wine emails are getting into spam for some reason :/
(In reply to Rafał Mużyło from comment #4)
Did you check if Wayland is a factor here ?
Check also 32bit color option in config, both with fullscreen on and off.
Tested about any combination of 32bit color, fullscreen, video compat mode, and GFX_LIMIT128 in Settings.cfg, nothing seemed to work without virtual desktop.
I tried on an X11 session and got the same results, aside from (Wine? X11?) trying to set my monitor's video mode to 1024x768 when fullscreen was checked and made my monitor cry blood. The only difference was that the crash was at offset 0x540 i believe (always consistent) while on wayland it was at 0x438.
(In reply to Zeb Figura from comment #5)
Created attachment 78337 [details] hack
Can you please test the attached patch?
I've just done ./configure and ./wine <path to Sacred.exe> from the source cloned from gitlab, I don't know if I need to configure stuff differently.
I tried on wayland only and it seems consistent with the last crash.
Unhandled exception: page fault on read access to 0x00000480 in 32-bit code (0x7e3d2b6a). Register dump: CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b EIP:7e3d2b6a ESP:002d2b20 EBP:002d2b38 EFLAGS:00010212( R- -- I -A- - ) EAX:00000490 EBX:00000480 ECX:00000002 EDX:7e8efae4 ESI:00000480 EDI:002d2c08 Stack dump: 0x002d2b20: 02d358f8 00000000 00000072 02d7c3e0 0x002d2b30: 00000480 002d2c08 002d2bb8 7e8b3e2d 0x002d2b40: 00000480 7e8efae4 00000010 1000e203 0x002d2b50: 00000002 002d2be8 00644e60 00000008 0x002d2b60: 00000002 002d2c28 03d50020 00644ccf 0x002d2b70: 02d35b80 002d2b9c 00644ccf 02d35b80 Backtrace: =>0 0x7e3d2b6a memcmp_blocks+0x2f(ptr1=<internal error>, ptr2=<internal error>, size=<internal error>) [/home/giulio/Source/wine/dlls/msvcrt/string.c:2754] in ucrtbase.dll.so (0x002d2b38) 1 0x7e3d2b6a memcmp+0x10a(ptr1=00000480, ptr2=7E8EFAE4, n=<is not available>) [/home/giulio/Source/wine/dlls/msvcrt/string.c:2783] in ucrtbase.dll.so (0x002d2b38) 2 0x7e8b3e2d d3d7_EnumZBufferFormats+0x4d(iface=<couldn't compute location>, device_iid=<couldn't compute location>, callback=<couldn't compute location>, context=<couldn't compute location>) [/home/giulio/Source/wine/dlls/ddraw/ddraw.c:4561] in ddraw.dll.so (0x002d2bb8) 3 0x00644f34 in sacred (+0x244f34) (0x00000480) 0x7e3d2b6a memcmp+0x10a [/home/giulio/Source/wine/dlls/msvcrt/string.c:2783] in ucrtbase.dll.so: movl (%ebx), %ecx 2783 p2 += align;