[Bug 23861] Adobe Acrobat 7.0 crashes on startup

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Feb 11 16:49:21 CST 2011


http://bugs.winehq.org/show_bug.cgi?id=23861

Trygve Vea <trygve.vea at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |trygve.vea at gmail.com

--- Comment #8 from Trygve Vea <trygve.vea at 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.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list