https://bugs.winehq.org/show_bug.cgi?id=33216
--- Comment #11 from Kurt kurtjaeke@gmx.de --- (In reply to Erich Hoover, from bug #31566)
There are a few other places that do similar things, so I went ahead and put together patches for all the obvious ones: https://github.com/compholio/wine-compholio/tree/master/patches/17-strmbase- Lock_Race_Conditions
I'll try your patches as soon as I hit this issue, now that #36837 is out of the way.