https://bugs.winehq.org/show_bug.cgi?id=34302
--- Comment #13 from Bruno Jesus 00cpxxx@gmail.com --- (In reply to Béla Gyebrószki from comment #12)
Didn't you ask for the debug log without your patch applied in comment #4 ? Nevermind, here's another log, now with the patch applied.
I'm so sorry, I misread the comments =/
Both logs are useful because the new log shows the next crash.
In both logs we can see 127828 28966.396:002e:trace:alsa:alsa_write_data XRun state, recovering 127829 28966.396:002e:trace:alsa:alsa_write_data avail: 4096 127830 28966.396:002f:warn:dsound:DSOUND_mixthread wait returned 00000102! 127831 28966.396:002f:trace:dsound:DSOUND_PerformMix (0x1c7a48)
This is the last thing that happens and that XRun and "wait returned" error messages are unique in the log, they may be a clue.