http://bugs.winehq.org/show_bug.cgi?id=25081
Summary: Regression : Automation broken in AutoCAD Product: Wine Version: 1.3.5 Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: oleaut32 AssignedTo: wine-bugs@winehq.org ReportedBy: max@veneto.com
A regression test shows that this patch :
3173305e887775624d46f7cc65283723886930c0 is the first bad commit commit 3173305e887775624d46f7cc65283723886930c0 Author: Andrew Eikum aeikum@codeweavers.com Date: Fri Jul 16 12:27:27 2010 -0500
oleaut32: Don't fail if member is missing in ITypeComp::Bind.
Broke something in AutoCad automation. To reproduce the bug, launch autocad and give following commands in command line :
line 0,0 1,1 (setq e (entlast)) (vl-load-com) (vlax-ename->vla-object e)
On broken wine you following error :
error: member not found: "ObjectIdToObject"
On working wine, you get :
#<VLA-OBJECT IAcadLine 097d7dd4> (hex number can vary, of course)
Ciao
Max
http://bugs.winehq.org/show_bug.cgi?id=25081
--- Comment #1 from max@veneto.com 2010-11-09 07:20:35 CST --- Sorry, forgot to tell that Autocad version is 2005.
Ciao
Max
http://bugs.winehq.org/show_bug.cgi?id=25081
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression CC| |aeikum@codeweavers.com Summary|Regression : Automation |Automation broken in |broken in AutoCAD |AutoCAD
http://bugs.winehq.org/show_bug.cgi?id=25081
--- Comment #2 from Andrew Eikum aeikum@codeweavers.com 2010-11-09 09:30:48 CST --- Thanks for the report. Unfortunately, I don't have a version of AutoCAD that I can use. Could you get a +ole,+typelib log and attach it here?
$ WINEDEBUG=+ole,+typelib wine autocad.exe 2>> out.txt
If that turns out to be too slow to be usable, you can leave the +typelib switch out.
http://bugs.winehq.org/show_bug.cgi?id=25081
--- Comment #3 from max@veneto.com 2010-11-09 13:02:03 CST --- Hi, I made a couple of logs, one with wine-1.2 (ok.log, good behaviour) and one with latest git (bad.log, bad behaviour). Sorry, but I had no time to patch/recompile the same version with just your patch disabled.... but I guess ole didn't change so much. If that's a problem, I can make a new log with your patch disabled and latest git.
BTW, as we're there.... autocad gives an access violation error on my sample command, and that's since ever, but it seems harmless. With your patch there's no access violation but the COM don't work anymore. I don't know if access violation is related to the problem or not.
Ciao
Max
p.s.: as logs are BIG, I had to put on my site; the link is :
www.veneto.com/logs.zip
http://bugs.winehq.org/show_bug.cgi?id=25081
--- Comment #4 from Andrew Eikum aeikum@codeweavers.com 2010-11-09 15:52:42 CST --- Created an attachment (id=31818) --> (http://bugs.winehq.org/attachment.cgi?id=31818) oleaut32: Search inherited interfaces again in ITypeComp::Bind
This patch should fix the problem.
http://bugs.winehq.org/show_bug.cgi?id=25081
Andrew Eikum aeikum@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
http://bugs.winehq.org/show_bug.cgi?id=25081
--- Comment #5 from max@veneto.com 2010-11-09 16:03:28 CST --- (In reply to comment #4)
Created an attachment (id=31818)
--> (http://bugs.winehq.org/attachment.cgi?id=31818) [details]
oleaut32: Search inherited interfaces again in ITypeComp::Bind
This patch should fix the problem.
yep, it does :-)
Ciao
Max
http://bugs.winehq.org/show_bug.cgi?id=25081
Andrew Eikum aeikum@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #6 from Andrew Eikum aeikum@codeweavers.com 2010-11-11 09:19:31 CST --- Fixed by c0f120db5d6b72917dd9bb1e4630f2b6ff6960a6.
Thanks for reporting and retesting, Max.
http://bugs.winehq.org/show_bug.cgi?id=25081
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #7 from Alexandre Julliard julliard@winehq.org 2010-11-12 13:33:25 CST --- Closing bugs fixed in 1.3.7.