https://bugs.winehq.org/show_bug.cgi?id=42009
--- Comment #14 from Alexandre Julliard julliard@winehq.org --- Thank you for testing. I believe that this is a bug in the Qt libraries. Basically what happens in Qt is:
clipboard->m_data = data; OleSetClipboard( data );
and in the WM_DRAWCLIPBOARD handler:
if (!OleIsCurrentClipboard( clipboard->m_data )) free m_data;
But it's possible that it would receive a WM_DRAWCLIPBOARD from a previous change, and free the data while it's still inside OleSetClipoard.
I believe it would crash on Windows too if the clipboard changed at just the wrong time. But on Wine, because we check for updates synchronously with OpenClipboard, the WM_DRAWCLIPBOARD is pretty much guaranteed to happen at the wrong time.