[Bug 15781] AllInOne-Office 5.11 fails on startup (ICreateTypeLib2_fnDeleteTypeInfo and ICreateTypeInfo2_fnDeleteImplType are stubs)

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Jan 2 05:42:07 CST 2014


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

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |focht at gmx.net
          Component|-unknown                    |oleaut32
           Hardware|Other                       |x86
            Summary|Can't run AllInOne-Office 5 |AllInOne-Office 5.11 fails
                   |                            |on startup
                   |                            |(ICreateTypeLib2_fnDeleteTy
                   |                            |peInfo and
                   |                            |ICreateTypeInfo2_fnDeleteIm
                   |                            |plType are stubs)
                 OS|other                       |Linux

--- Comment #8 from Anastasius Focht <focht at gmx.net> ---
Hello folks,

various unrelated issues collected here ...

Anyway, the app installs fine with recent Wine and 'winetricks -q jet40'
prerequisite - even in prefixes with non-german locale.

There is a dialog on startup, complaining about "Microsoft Access hat ein
Problem festgestellt und muss beendet werden." (MS Access encountered a problem
and will be terminated). After that it will restart over and over again, trying
to fix the problem (the standard office 'recovery' loop).

Relevant part of trace log:

--- snip ---
$ WINEDEBUG=+tid,+seh,+relay,+ole,+variant,+typelib wine "C:\\Program
Files\\Common Files\\Microsoft Shared\\Access Runtime\\Office10\\MSAccess.exe"
/Runtime "C:\\Program Files\\AllInOne-Office\\AllInOne-Office.mde" >>log.txt
2>&1
...
0024:trace:ole:SysAllocStringLen L"Form_Sys_AppVal_Frm_Special"
0024:trace:ole:ITypeInfo_fnQueryInterface (0x7ea9750)->(IID:
{00020405-0000-0000-c000-000000000046})
0024:trace:ole:ITypeInfo_fnAddRef (0x7ea9750)->ref is 1
0024:trace:ole:ITypeLib2_fnAddRef (0x7da7268) ref=5
0024:trace:ole:ITypeInfo_fnQueryInterface -- Interface: (0x33b530)->(0x7ea9758)
0024:Call oleaut32.SysAllocString(3006f1b0 L"Form") ret=30b5a95d
0024:trace:ole:SysAllocStringLen L"Form"
0024:Ret  oleaut32.SysAllocString() retval=07e74c2c ret=30b5a95d
0024:trace:ole:ITypeInfo_fnQueryInterface (0x7ea9750)->(IID:
{0002040e-0000-0000-c000-000000000046})
0024:trace:ole:ITypeInfo_fnAddRef (0x7ea9750)->ref is 2
0024:trace:ole:ITypeInfo_fnQueryInterface -- Interface: (0x33b528)->(0x7ea9758)
0024:trace:ole:ICreateTypeInfo2_fnSetCustData 0x7ea9750
{ba65d790-9301-11cf-8d22-00aa00375384} 0x33b4fc
...
0024:trace:variant:VariantInit (0x7ea97f0)
0024:trace:variant:VariantCopy (0x7ea97f0->(VT_EMPTY),0x33b4fc->(VT_BSTR))
0024:trace:variant:VariantClear (0x7ea97f0->(VT_EMPTY))
0024:fixme:ole:ICreateTypeInfo2_fnDeleteImplType 0x7ea9750 1 - stub
0024:fixme:ole:ICreateTypeInfo2_fnDeleteImplType 0x7ea9750 0 - stub
0024:trace:ole:ITypeInfo_fnRelease (0x7ea9750)->(1)
0024:trace:ole:ICreateTypeInfo2_fnAddRefTypeInfo 0x7ea9750 0x7ea94b8 0x33b520
0024:trace:ole:ITypeInfo_fnGetContainingTypeLib returning pIndex=0
0024:trace:ole:ITypeLib2_fnAddRef (0x7da7268) ref=6
0024:trace:ole:ITypeInfo_fnGetContainingTypeLib returning ppTLib=0x7da7268
0024:trace:ole:ITypeLib2_fnRelease (0x7da7268) ref=5
0024:trace:ole:ICreateTypeInfo2_fnAddImplType 0x7ea9750 0 0 
...
0024:Call KERNEL32.RaiseException(e06d7363,00000001,00000003,0033aa4c)
ret=300e1d85
0024:trace:seh:raise_exception code=e06d7363 flags=1 addr=0x7b83a89f
ip=7b83a89f tid=0024
0024:trace:seh:raise_exception  info[0]=19930520
0024:trace:seh:raise_exception  info[1]=0033aa68
0024:trace:seh:raise_exception  info[2]=300e1dd8
0024:trace:seh:raise_exception  eax=7b826921 ebx=7b8ba000 ecx=19930520
edx=0033a984 esi=0033aa30 edi=0033a9f0
0024:trace:seh:raise_exception  ebp=0033a9c8 esp=0033a964 cs=0023 ds=002b
es=002b fs=0063 gs=006b flags=00000283 
...
0024:Call KERNEL32.MultiByteToWideChar(00000000,00000000,00338be8 "Unerwarteter
Fehler (~)",ffffffff,00000000,00000000) ret=650a0494
0024:Ret  KERNEL32.MultiByteToWideChar() retval=00000018 ret=650a0494 
...
0024:trace:seh:raise_exception code=c0000005 flags=0 addr=0x3045e2ec
ip=3045e2ec tid=0024
0024:trace:seh:raise_exception  info[0]=00000000
0024:trace:seh:raise_exception  info[1]=00000000
0024:trace:seh:raise_exception  eax=00000000 ebx=00000000 ecx=003396c4
edx=00339884 esi=00000000 edi=0033a89c
0024:trace:seh:raise_exception  ebp=0033987c esp=00339860 cs=0023 ds=002b
es=002b fs=0063 gs=006b flags=00010202 
...
0038:Call gdi32.GetTextExtentPoint32W(00020031,00363120 L"Microsoft Access hat
ein Problem festgestellt und muss beendet werden.\r",00000046,00574cbc)
ret=7ac3bbb3 
--- snip ---

The problem seems to be related to 'ICreateTypeLib2_fnDeleteTypeInfo' and
'ICreateTypeInfo2_fnDeleteImplType' stubs.
It goes further with these implemented (just pretending and returning 'S_OK' is
not enough).

Source:
http://source.winehq.org/git/wine.git/blob/a41468164805b54aea40d19416915699ee308a9b:/dlls/oleaut32/typelib.c#l10117

--- snip ---
10117 static HRESULT WINAPI ICreateTypeLib2_fnDeleteTypeInfo(ICreateTypeLib2
*iface,
10118            LPOLESTR name)
10119 {
10120     ITypeLibImpl *This = impl_from_ICreateTypeLib2(iface);
10121     FIXME("%p %s - stub\n", This, wine_dbgstr_w(name));
10122     return E_NOTIMPL;
10123 }

...

11060 static HRESULT WINAPI ICreateTypeInfo2_fnDeleteImplType(ICreateTypeInfo2
*iface,
11061            UINT index)
11062 {
11063     ITypeInfoImpl *This = info_impl_from_ICreateTypeInfo2(iface);
11064     FIXME("%p %u - stub\n", This, index);
11065     return E_NOTIMPL;
11066 }
--- snip ---

$ sha1sum AO.zip 
944e5a34d54e49724cb3df9a00ff5c83ae97fb0c  AO.zip

$ du -sh AO.zip 
178M    AO.zip

$ wine --version
wine-1.7.9-309-ga01cb46

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