https://bugs.winehq.org/show_bug.cgi?id=49013
--- Comment #3 from Matías Zúñiga matias.nicolas.zc@gmail.com --- Created attachment 67069 --> https://bugs.winehq.org/attachment.cgi?id=67069 HEAP_ValidateInUseArena error
Using you workaround, a number of errors are now visible after the "riot__rclient__event" event, where previously the error/exception occurred.
They can be identified looking for the "err:heap:HEAP_ValidateInUseArena" string e.g. "00b3:err:heap:HEAP_ValidateInUseArena Heap 0x110000: block 0xffe018 tail overwritten at 0xffe06c (byte 0/12 == 0x00)". That is probably the root cause, and printing the error avoids some weird timing issue