http://bugs.winehq.org/show_bug.cgi?id=35339
Bug ID: 35339 Summary: Multiple Realarcade installers fail on startup, complaining with COM/LUA scripting errors ('FileAttribute*' typeinfo lookup failure) Product: Wine Version: 1.7.10 Hardware: x86 OS: Linux Status: NEW Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: focht@gmx.net Classification: Unclassified
Hello folks,
continuation of bug 35328
--- snip --- $ WINEDEBUG=+tid,+seh,+relay,+ole,+variant,+typelib,+scrrun,+msgbox wine ./Installer_BonniesBookstore_EN.exe >>log.txt 2>&1 ... 002c:trace:ole:LHashValOfNameSysA (1, 0x800, "Attributes") SYS_WIN32 ... 002c:Ret oleaut32.LHashValOfNameSys() retval=0010f403 ret=0034795b 002c:trace:ole:ITypeComp_fnBind (0x15cab8)->(L"Attributes", 10f403, 0x2, 0x33f850, 0x33f854, 0x33f858) ... 002c:trace:ole:ITypeInfo_fnAddRef (0x15cab8)->ref is 5 002c:trace:ole:ITypeInfo_fnRelease (0x15cab8)->(4) 002c:trace:ole:ITypeComp_fnBind (0x15cab8)->(L"Attributes", 10f403, 0x1, 0x33f850, 0x33f854, 0x33f858) ... 002c:trace:ole:ITypeComp_fnBind did not find member with name L"Attributes", flags 0x1 002c:trace:ole:ITypeComp_fnBind (0x15cab8)->(L"Attributes", 10f403, 0x4, 0x33f850, 0x33f854, 0x33f858) ... 002c:trace:scrrun:file_Invoke (0x170bd8)->(1003 {00000000-0000-0000-0000-000000000000} 2048 2 0x33f83c 0x33f854 0x33f81c 0x33f870) 002c:trace:ole:ITypeInfo_fnInvoke (0x15cab8)(0x170bd8,id=1003,flags=0x00000002,0x33f83c,0x33f854,0x33f81c,0x33f870) 002c:trace:ole:dump_DispParms args=0 named args=0 002c:trace:ole:ITypeInfo_fnInvoke invoking: L"Attributes"(1) parm0: L"pfa" memid is 000003eb Param 0: tdesc.vartype 26 (ptr to VT_USERDEFINED ref = 1f4) u.paramdesc.wParamFlags PARAMFLAG_FOUT PARAMFLAG_FRETVAL u.paramdesc.lpex (nil) funckind: 1 (pure virtual) invkind: 2 (property get) callconv: 4 (stdcall) oVft: 56 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 ... 002c:fixme:ole:ITypeInfo_fnGetRefTypeInfo Can't find pRefType for ref 1f4 002c:trace:ole:ITypeInfo_fnGetRefTypeInfo (0x15cab8) hreftype 0x01f4 loaded FAILURE ((nil)) 002c:err:ole:userdefined_to_variantvt Could not get typeinfo of hreftype 1f4 for VT_USERDEFINED, hr = 0x80004005 002c:fixme:ole:ITypeInfo_fnGetRefTypeInfo Can't find pRefType for ref 1f4 002c:trace:ole:ITypeInfo_fnGetRefTypeInfo (0x15cab8) hreftype 0x01f4 loaded FAILURE ((nil)) 002c:err:ole:userdefined_to_variantvt Could not get typeinfo of hreftype 1f4 for VT_USERDEFINED, hr = 0x80004005 002c:Call ntdll.RtlFreeHeap(00110000,00000000,00170ba8) ret=7e746bf5 002c:Ret ntdll.RtlFreeHeap() retval=00000001 ret=7e746bf5 002c:trace:ole:ITypeInfo_fnInvoke -- 0x80004005 002c:trace:ole:ITypeInfo_fnRelease (0x15cab8)->(3) 002c:Call KERNEL32.FormatMessageA(00001100,00000000,80004005,00000400,0033f788,00000000,00000000) ret=00354551 002c:Ret KERNEL32.FormatMessageA() retval=00000000 ret=00354551 002c:Call KERNEL32.GetLastError() ret=0035b88c 002c:Ret KERNEL32.GetLastError() retval=0000013d ret=0035b88c 002c:Call KERNEL32.GetLastError() ret=0035b88c 002c:Ret KERNEL32.GetLastError() retval=0000013d ret=0035b88c 002c:Call KERNEL32.RaiseException(e06d7363,00000001,00000003,0033f778) ret=00355e89 002c:trace:seh:raise_exception code=e06d7363 flags=1 addr=0x7b83a89f ip=7b83a89f tid=002c 002c:trace:seh:raise_exception info[0]=19930520 002c:trace:seh:raise_exception info[1]=0033f7d0 002c:trace:seh:raise_exception info[2]=003752d8 002c:trace:seh:raise_exception eax=7b826921 ebx=7b8ba000 ecx=19930520 edx=0033f6c4 esi=0033f764 edi=0033f730 002c:trace:seh:raise_exception ebp=0033f708 esp=0033f6a4 cs=0023 ds=002b es=002b fs=0063 gs=006b flags=00000283 ... 002c:trace:msgbox:MSGBOX_OnInit L"COM error:(C:/VCS/dev/installer/main/3rd-party/luacom/src/src/library/tLuaCOM.cpp,403):Unknown error" --- snip ---
0x1f4 -> [out, retval] FileAttribute*
I found a similar source of this 'tLuaCOM' module here:
https://github.com/davidm/luacom/blob/master/src/library/tLuaCOM.cpp
Not exactly the same line numbers but the actual COM calls are the same.
$ sha1sum Installer_BonniesBookstore_EN.exe 83c529f5f4f091dd09cbccc603e26b6a15b9589c Installer_BonniesBookstore_EN.exe
$ du -sh Installer_BonniesBookstore_EN.exe 1.7M Installer_BonniesBookstore_EN.exe
$ wine --version wine-1.7.10-222-ge12bb32
Regards
http://bugs.winehq.org/show_bug.cgi?id=35339
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, Installer URL| |http://www.zylom.com/ru/dow | |nload-games/puzzle-games/wo | |rd-search/bonnie-s-bookstor | |e-deluxe/
http://bugs.winehq.org/show_bug.cgi?id=35339
--- Comment #1 from Nikolay Sivov bunglehead@gmail.com --- This looks exactly like bug 31724 - FileAttribute enum is defined after interface forward definition that uses it. The problem is that widl generate a broken typelib in this case - enum is added twice and second time offset is overwritten, but interface keeps referencing it with old offset. Lookup obviously fails. I sent a patch for that:
http://www.winehq.org/pipermail/wine-patches/2014-March/131027.html
http://bugs.winehq.org/show_bug.cgi?id=35339
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Component|-unknown |tools Resolution|--- |DUPLICATE
--- Comment #2 from Anastasius Focht focht@gmx.net --- Hello Nikolay,
resolving as dupe of bug 31724 then. It now runs further into next bug.
Thanks.
Regards
*** This bug has been marked as a duplicate of bug 31724 ***
https://bugs.winehq.org/show_bug.cgi?id=35339
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #3 from Ken Sharp imwellcushtymelike@gmail.com --- Closing bugs marked as duplicate.