https://bugs.winehq.org/show_bug.cgi?id=49068
Bug ID: 49068 Summary: 'Access violation in riched20.dll' with certain GOG.com installers Product: Wine Version: 5.7 Hardware: x86 URL: https://www.gog.com/game/teenagent OS: Linux Status: NEW Keywords: Installer, regression Severity: normal Priority: P2 Component: richedit Assignee: wine-bugs@winehq.org Reporter: gyebro69@gmail.com CC: jacek@codeweavers.com Regression SHA1: 650aebadb7ade8b95766b5f2a9062c2210b0eca1 Distribution: ---
Some (but not all) of the game installers from GOG.com are plagued by this problem. After the language selecting dialogue the following error messages are shown:
"Access violation at address 7AC51DD3 in module riched20.dll."
Followed by
"System error. Code: 1400. Invalid window handle."
Afterwards the installer quits prematurely.
Reverting commit 650aebadb7ade8b95766b5f2a9062c2210b0eca1 fixes the problem. 'winetricks riched20' also acts as a workaround.
Plain terminal output doesn't show anything unusual. Looks like the problem occurs when Wine is compiled using the "--without-mingw" flag.
The game 'Teenagent' is available for free on GOG. If you have an account then you can reproduce the problem with that (download size ~20 MB). Otherwise just let me know what debug log would be helpful. https://www.gog.com/game/teenagent
wine-5.7-141-g0c27d244f7