I am going to close this merge request because the bug seems to have disappeared as a result of other changes to winex11. If it pops up again, I will take your advice and write a patch that does the invalid format check sooner. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/158#note_1448