http://bugs.winehq.org/show_bug.cgi?id=23861
Trygve Vea trygve.vea@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |trygve.vea@gmail.com
--- Comment #8 from Trygve Vea trygve.vea@gmail.com 2011-02-11 16:49:21 CST --- Please feel free to correct me, because I'm fairly new at this. I do however, feel that this is valuable input - I would have supplied a patch if I was aware of how I could fix this without breaking Drag'n'drop functionality.
I've done some testing, and I think I've figured out what triggers this bug.
In Adobe Reader, the crash occurs the second time RegisterDragDrop() is called. It crashes on the line which looks like this in dlls/ole32/ole2.c:
hr = IDropTarget_QueryInterface(pDropTarget, &IID_IUnknown, (void**)&unk);
This line in turn calls code implemented in Adobe Reader, followed by the actual application crash.
The implementation of RegisterDragDrop differs from Windows in that respect, because Windows' implementation does not do QueryInterface. I've tested by making some minor modifications to the test application (dragdrop.c) - and in Windows, QueryInterface didn't run.
I hope this helps.