https://bugs.winehq.org/show_bug.cgi?id=49649
Bug ID: 49649 Summary: Regression: X11 crash on resolution change Product: Wine Version: 4.6 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: winex11.drv Assignee: wine-bugs@winehq.org Reporter: vv221+winehq@dotslashplay.it Distribution: ---
Created attachment 67858 --> https://bugs.winehq.org/attachment.cgi?id=67858 x-error-of-failed-request.log
Since commit 0cb79db12ac7c48477518dcff269ccc5d6b745e0, resolution change in some games lead to a X11 crash similar to the one pasted in the attachment "x-error-of-failed-request.log".
I assigned this bug to WINE 4.6 as this is the first version triggering it, but it is still there with current master (5.14). A revert of the faulty commit still applies cleanly on top of WINE 5.14.
The regression test has been done using Age of Empires to trigger the crash, as it happens reliably when trying to change the game resolution (640x480, 800x600, 1024x768) through the game options.
If the change is done without crashing, using a patched WINE build, the game will start in the new resolution next time and work fine with it even when going back to an unpatched WINE build. But trying to change the resolution again in unpatched WINE, including to go back to the previous resolution in use, would trigger the crash again.
I think this might be the same bug that got experienced in #47677, I’m going to run some tests with Age of Empires 2 to get a confirmation.