https://bugs.winehq.org/show_bug.cgi?id=39670
--- Comment #2 from Nikolay Sivov bunglehead@gmail.com --- Hi, Wylda.
I can confirm that, and regression test looks valid. I spent some time yesterday trying to debug this by disabling sections of SetClientSite(), and looks like crash happens in release_client_site(), if I disable this block:
--- if(This->sink) { IAdviseSink_Release(This->sink); This->sink = NULL; } ---
it works for me. And this hunk is a part of this bad commit you found, so it makes sense so far.