[Bug 37866] New: Multiple .NET applications fail due to wbemdisp:services_InstancesOf stub (PaintRibbon 1.x)

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Jan 8 17:42:58 CST 2015


https://bugs.winehq.org/show_bug.cgi?id=37866

            Bug ID: 37866
           Summary: Multiple .NET applications fail due to
                    wbemdisp:services_InstancesOf stub (PaintRibbon 1.x)
           Product: Wine
           Version: 1.7.33
          Hardware: x86
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: wmi&wbemprox
          Assignee: wine-bugs at winehq.org
          Reporter: focht at gmx.net
      Distribution: ---

Hello folks,

continuation of bug 35364

Prerequisite: 'winetricks -q dotnet35sp1 corefonts'

Work around bug 34764: 'winetricks -q windowscodecs'

Work around bug 15670:

--- snip ---
$ wine reg add "HKLM\\Software\\Microsoft\\Windows
NT\\CurrentVersion\\ProfileList\\S-1-5-21-0-0-0-1000"
--- snip ---

Relevant part of trace log:

--- snip ---
$ pwd
/home/focht/.wine/drive_c/Program Files/Paintribbon

$ WINEDEBUG=+tid,+seh,+loaddll,+process,+ole,+variant,+wbemdisp,+wbemprox wine
./PaintRibbon.exe >>log.txt 2>&1
...
0031:trace:wbemdisp:services_Invoke 0x6878e98, 5,
{00000000-0000-0000-0000-000000000000}, 1033, 3, 0x33cc20, 0x33cbec, 0x33ca78,
0x33cb18
0031:trace:ole:ITypeInfo_fnAddRef (0x6886a38)->ref is 2
0031:trace:ole:ITypeInfo_fnInvoke
(0x6886a38)(0x6878e98,id=5,flags=0x00000003,0x33cc20,0x33cbec,0x33ca78,0x33cb18)
0031:trace:ole:dump_DispParms args=1 named args=0
0031:trace:ole:dump_DispParms args:
0031:trace:ole:dump_DispParms   [0] 0x33cba0 {VT_BSTR: L"Win32_BaseBoard"}
0031:trace:ole:ITypeInfo_fnInvoke invoking:
L"InstancesOf"(4)
    parm0: L"strClass"
    parm1: L"iFlags"
    parm2: L"objWbemNamedValueSet"
    parm3: L"objWbemObjectSet"
memid is 00000005
Param 0:
        tdesc.vartype 8 (VT_BSTR)
        u.paramdesc.wParamFlags PARAMFLAG_FIN
        u.paramdesc.lpex (nil)
Param 1:
        tdesc.vartype 3 (VT_I4)
        u.paramdesc.wParamFlags PARAMFLAG_FIN PARAMFLAG_FOPT
PARAMFLAG_FHASDEFAULT
        u.paramdesc.lpex 0x6887578
Param 2:
        tdesc.vartype 9 (VT_DISPATCH)
        u.paramdesc.wParamFlags PARAMFLAG_FIN PARAMFLAG_FOPT
PARAMFLAG_FHASDEFAULT
        u.paramdesc.lpex 0x6887590
Param 3:
        tdesc.vartype 26 (ptr to ptr to VT_USERDEFINED ref = 44c)
        u.paramdesc.wParamFlags PARAMFLAG_FOUT PARAMFLAG_FRETVAL
        u.paramdesc.lpex (nil)
    funckind: 1 (pure virtual)
    invkind: 1 (func)
    callconv: 4 (stdcall)
    oVft: 44
    cParamsOpt: 0
    wFlags: 0
    elemdescFunc (return value type):
        tdesc.vartype 25 (VT_HRESULT)
        u.paramdesc.wParamFlags PARAMFLAGS_NONE
        u.paramdesc.lpex (nil)
    helpstring: (null)
    entry: invalid
...
0031:trace:ole:ITypeInfo_fnGetRefTypeInfo (0x6886a38) hreftype 0x044c loaded
SUCCESS (0x6883d08)
...
0031:trace:ole:ITypeInfo_fnInvoke changing args
0031:trace:ole:ITypeInfo_fnInvoke 0x33cba0 {VT_BSTR: L"Win32_BaseBoard"}
0031:trace:variant:VariantCopy (0x6889fe8 {VT_EMPTY},0x6887580 {VT_I4: 16})
0031:trace:variant:VariantClear (0x6889fe8 {VT_EMPTY})
0031:trace:variant:VariantCopy (0x6889ff8 {VT_EMPTY},0x6887598 {VT_DISPATCH:
(nil)})
0031:trace:variant:VariantClear (0x6889ff8 {VT_EMPTY})
0031:trace:ole:DispCallFunc (0x6878e98, 44, 4, 10, 4, 0x688a068, 0x688a058,
0x33c678 (vt=10))
0031:trace:ole:DispCallFunc arg 0: type VT_BSTR 0x33cba0 {VT_BSTR:
L"Win32_BaseBoard"}
0031:trace:ole:DispCallFunc arg 1: type VT_I4 0x6889fe8 {VT_I4: 16}
0031:trace:ole:DispCallFunc arg 2: type VT_DISPATCH 0x6889ff8 {VT_DISPATCH:
(nil)}
0031:trace:ole:DispCallFunc arg 3: type VT_DISPATCH|VT_BYREF 0x688a008
{VT_DISPATCH|VT_BYREF 0x33c668}
0031:fixme:wbemdisp:services_InstancesOf 
0031:trace:ole:DispCallFunc retval: 0x33c678 {VT_ERROR: 80004001}
0031:trace:variant:VariantClear (0x6889fd8 {VT_EMPTY})
0031:trace:variant:VariantClear (0x688a018 {VT_EMPTY})
0031:trace:variant:VariantClear (0x6889fe8 {VT_I4: 16})
0031:trace:variant:VariantClear (0x688a028 {VT_EMPTY})
0031:trace:variant:VariantClear (0x6889ff8 {VT_DISPATCH: (nil)})
0031:trace:variant:VariantClear (0x688a038 {VT_EMPTY})
0031:trace:ole:ITypeInfo_fnInvoke [retval] value: 0x688a008
{VT_DISPATCH|VT_BYREF 0x33c668}
0031:trace:variant:VariantInit (0x33cbec)
0031:trace:variant:VariantCopyInd (0x33cbec {VT_EMPTY},0x688a008
{VT_DISPATCH|VT_BYREF 0x33c668})
0031:trace:variant:VariantClear (0x33cbec {VT_EMPTY})
0031:trace:variant:VariantCopyInd returning 0x00000000, 0x33cbec {VT_DISPATCH:
(nil)}
0031:trace:variant:VARIANT_ClearInd (0x688a008 {VT_DISPATCH|VT_BYREF 0x33c668})
0031:trace:variant:VariantClear (0x688a048 {VT_EMPTY})
0031:warn:ole:ITypeInfo_fnInvoke invoked function failed with error 0x80004001
0031:trace:ole:GetErrorInfo (0, 0x33c63c, (nil))
0031:trace:ole:ITypeInfo_fnInvoke -- 0x80020009
0031:trace:ole:ITypeInfo_fnRelease (0x6886a38)->(1)
0031:trace:seh:raise_exception code=e06d7363 flags=1 addr=0x7b83b39f
ip=7b83b39f tid=0031
0031:trace:seh:raise_exception  info[0]=19930520
0031:trace:seh:raise_exception  info[1]=0033ca34
0031:trace:seh:raise_exception  info[2]=7a096eb0
0031:trace:seh:raise_exception  eax=7b827025 ebx=7b8bf000 ecx=7a096eb0
edx=0033c980 esi=00004000 edi=79f3877c
0031:trace:seh:raise_exception  ebp=0033c9b8 esp=0033c954 cs=0023 ds=002b
es=002b fs=0063 gs=006b flags=00000283
--- snip ---

Source:
http://source.winehq.org/git/wine.git/blob/ff251092a7b400b128e1b0096cf0dc95db500c02:/dlls/wbemdisp/locator.c#l674

--- snip ---
674 static HRESULT WINAPI services_InstancesOf(
675     ISWbemServices *iface,
676     BSTR strClass,
677     LONG iFlags,
678     IDispatch *objWbemNamedValueSet,
679     ISWbemObjectSet **objWbemObjectSet )
680 {
681     FIXME( "\n" );
682     return E_NOTIMPL;
683 }
--- snip ---

$ sha1sum paintribbonsetup.exe 
d74c6a5ddca61c0f62019db14657993cb552daf2  paintribbonsetup.exe

$ du -sh paintribbonsetup.exe 
1.7M    paintribbonsetup.exe

$ wine --version
wine-1.7.33-191-ge899bd8

Regards

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