[Bug 27481] Adobe Application Manager 2.0 fails to install (wuapi IUpdateInstaller vtable incomplete)

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Jun 14 15:39:16 CDT 2011


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

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
                 CC|                            |focht at gmx.net
            Summary|Adobe Application Manager   |Adobe Application Manager
                   |2.0: Fails to install       |2.0 fails to install (wuapi
                   |                            |IUpdateInstaller vtable
                   |                            |incomplete)
     Ever Confirmed|0                           |1

--- Comment #2 from Anastasius Focht <focht at gmx.net> 2011-06-14 15:39:15 CDT ---
Hello,

relevant trace log:

WINEDEBUG=+tid,+seh,+relay,+ole,+variant,+wuapi

--- snip ---
0023:Call ole32.CLSIDFromProgID(00463340
L"Microsoft.Update.Session.1",0033e478) ret=004083e6 
...
0023:Call KERNEL32.LoadLibraryExW(0033e05e
L"C:\\windows\\system32\\wuapi.dll",00000000,00000008) ret=68632292 
...
0023:trace:ole:apartment_getclassobject added new loaded dll
L"C:\\windows\\system32\\wuapi.dll"
0023:trace:ole:apartment_getclassobject calling DllGetClassObject 0x4030290c
0023:Call wuapi.DllGetClassObject(0033e478,6871714c,0033e36c) ret=6863406a
0023:trace:wuapi:DllGetClassObject {4cb43d7f-7eee-4906-8698-60da1c38f2fe}
{00000001-0000-0000-c000-000000000046} 0x33e36c
0023:Ret  wuapi.DllGetClassObject() retval=00000000 ret=6863406a
0023:Call advapi32.RegCloseKey(00000058) ret=68637869
0023:Ret  advapi32.RegCloseKey() retval=00000000 ret=68637869
0023:trace:wuapi:wucf_CreateInstance (nil)
{816858a4-260d-4260-933a-2585f1abc76b} 0x33e468
0023:trace:wuapi:UpdateSession_create ((nil),0x33e30c)
0023:Call ntdll.RtlAllocateHeap(00110000,00000000,00000008) ret=40305ad6
0023:Ret  ntdll.RtlAllocateHeap() retval=0014b768 ret=40305ad6
0023:trace:wuapi:UpdateSession_create returning iface 0x14b768
0023:trace:wuapi:update_session_QueryInterface 0x14b768
{816858a4-260d-4260-933a-2585f1abc76b} 0x33e468
0023:Ret  ole32.CoCreateInstance() retval=00000000 ret=0040841b
0023:trace:wuapi:update_session_CreateUpdateInstaller 0x14b768
0023:trace:wuapi:UpdateInstaller_create ((nil),0x33e474)
0023:Call ntdll.RtlAllocateHeap(00110000,00000000,00000008) ret=40303fce
0023:Ret  ntdll.RtlAllocateHeap() retval=0014b780 ret=40303fce
0023:trace:wuapi:UpdateInstaller_create returning iface 0x14b780
0023:trace:seh:raise_exception code=c0000005 flags=0 addr=(nil) ip=00000000
tid=0023
0023:trace:seh:raise_exception  info[0]=00000000
0023:trace:seh:raise_exception  info[1]=00000000
0023:trace:seh:raise_exception  eax=00000000 ebx=00461098 ecx=4030dd00
edx=0033e46c esi=00000000 edi=0047838c
0023:trace:seh:raise_exception  ebp=0033e49c esp=0033e440 cs=0073 ds=007b
es=007b fs=0033 gs=003b flags=00210202
0023:trace:seh:call_vectored_handlers calling handler at 0x7828fde9
code=c0000005 flags=0
0023:trace:seh:call_vectored_handlers handler at 0x7828fde9 returned 0 
--- snip ---

The installer creates UpdateInstaller instance and then tries to call one of
the vtable members.
This causes a crash because the vtable is incomplete (NULL ptr).

Member offset accessed by code: update_installer_vtbl+0x5C (non existing) ->
member 23 (0x17)

Current max. vtable member: update_installer_vtbl+0x40:  ->
update_installer_put_Updates

IUpdateInstallerVtbl:

http://source.winehq.org/git/wine.git/blob/079c36629239e25df2e5669d4d7e9ef4c8eb30cf:/dlls/wuapi/installer.c#l215

wuapi.idl -> IUpdateInstaller:

http://source.winehq.org/git/wine.git/blob/b13722cd2fad3950304d9e062bb63a2e43e7e131:/include/wuapi.idl#l1205

Regards

-- 
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