https://bugs.winehq.org/show_bug.cgi?id=51484
--- Comment #6 from Michael Stefaniuc mstefani@winehq.org --- I can confirm that test_simple_playing() is the culprit. Commenting that one out makes both the: - err:sync:RtlLeaveCriticalSection main process heap section" is not acquired - err:heap:validate_free_block heap invalid next block back pointer errors go away and no crashes.
But the issue is prior to rifffile. Commenting the function out from the riffile use to the end of the function still produces the +heap errors with subsequent crash. I guess that's what you meant but it wasn't clear to me.