https://bugs.winehq.org/show_bug.cgi?id=52234
--- Comment #4 from Alexey Kuznetsov axet@me.com --- Try run it twice. First run works! Booth winehq and lutris. And next run dosen't, even if you reboot the machine or delete the wine folder it will not recover and keep crashing with memory error.
Looks like and act like a virus (sine first run works), but I have no prove (no idea how to detect it). Beside it wont run x64 prefixes.
I also have checked original wine directory and 'diff -r' (binary compare) it is unchanged. So, no body changed the wine directory. My conclusion was it could be bug in wine.
And only wine-6.21 affected. All before and later up to 7.0-rc1 works.
I guess vlgrind could help, but I never used it before. And your suggestion fails with a lot of errors.
Booth failed with errors:
WINEPREFIX=$PWD/123 WINELOADERNOEXEC=1 valgrind ~/.local/share/lutris/runners/wine/winehq-6.21-x86_64/bin/wine wineboot
or
WINEPREFIX=$PWD/123 WINELOADERNOEXEC=1 valgrind ~/.local/share/lutris/runners/wine/winehq-6.21-x86_64/bin/wineboot