https://bugs.winehq.org/show_bug.cgi?id=50813
--- Comment #15 from Non 19non91@gmail.com --- (In reply to Zebediah Figura from comment #14)
There's a good chance that this was just a race condition to begin with. Does it work consistently with current Wine?
Could be, because disabling compiler opts fixed it. Tested on Wine 7.0 rc2, works just fine.