Hallo,
after clearing up my home brewn problems I tried the IS6 installer for Analog Devices Visual DSP one more time. No it proceeds much longer but crashes in ITypeInfo_fnGetContainingTypeLib
trace:ole:SysAllocStringLen => 0x4043ac28 L"Comcat" trace:ole:SysAllocStringLen => 0x40452894 L"" trace:ole:SysFreeString (L"Comcat") trace:ole:VariantClear (0x41576850) <repeated with several adresses> trace:ole:VariantClear (0x415767e0) trace:ole:SysAllocStringLen => 0x4043ac28 L"<Data>" trace:ole:SysAllocStringLen => 0x4042d044 L"" trace:ole:SysFreeString (L"<Data>") trace:ole:SysFreeString (L"") trace:ole:PSOAStub_Invoke invoked method returned with HRESULT 00000000 trace:ole:TL_Marshal Marshaling 0x41576c40 trace:ole:ITypeInfo_fnGetNames (0x4041753c) memid=0x00000014 Maxname=16 trace:ole:SysAllocStringLen => 0x4043ac28 L"OpenCAB" trace:ole:SysAllocStringLen => 0x4043a174 L"File" trace:ole:SysAllocStringLen => 0x40436f24 L"pVal" trace:ole:SysFreeString (L"OpenCAB") trace:ole:TL_Marshal parameter 0 trace:ole:TL_Marshal name : L"File" trace:ole:SysFreeString (L"File") trace:ole:TL_Marshal type : 8 trace:ole:TL_Marshal flags : 01 trace:ole:TL_CleanupType freeing BSTR 0x40409fe4 trace:ole:SysFreeString (L"J:\ad-vdsp\ADI\data1.hdr") trace:ole:TL_Marshal parameter 1 trace:ole:TL_Marshal name : L"pVal" trace:ole:SysFreeString (L"pVal") trace:ole:TL_Marshal type : 26 trace:ole:TL_Marshal flags : 0a trace:ole:TL_MarshalType dereferencing PTR 0x40415908 <= 0x41576c48 trace:ole:TL_MarshalType dereferencing PTR 0x41104844 <= 0x40415908 trace:ole:TL_MarshalType reftype: 2 wine: Unhandled exception, starting debugger... WineDbg starting... on pid 96ef3a0 <..>. No debug information in 32bit DLL 'X11DRV.DLL' (0x40ac2000) Unhandled exception: page fault on read access to 0x00000004 in 32-bit code (0x40a653f5). In 32-bit mode. 0x40a653f5 (ITypeInfo_fnGetContainingTypeLib+0x35 [typelib.c:4303] in liboleaut32.so): movl 0x4(%edx),%eax 4303 ITypeLib2_AddRef(*ppTLib); Wine-dbg>bt bt Backtrace: =>0 0x40a653f5 (ITypeInfo_fnGetContainingTypeLib+0x35(iface=0x4041753c, ppTLib=0x41576a38, pIndex=0x41576a3c) [typelib.c:4303] in liboleaut32.so) (ebp=41576a10) 1 0x40a6518d (ITypeInfo_fnGetRefTypeInfo+0xed(iface=0x4041753c, hRefType=0x2, ppTInfo=0x41576a70) [typelib.c:4209] in liboleaut32.so) (ebp=41576a40) 2 0x40a587e8 (TL_MarshalType+0x358(pStm=0x40409e38, pInfo=0x4041753c, pType=0x404178fc, args=0x41104844, first=0x0, is_iid=0x41576d18) [proxy.c:206] in liboleaut32.so) (ebp=41576a8c) 3 0x40a58729 (TL_MarshalType+0x299(pStm=0x40409e38, pInfo=0x4041753c, pType=0x404178b4, args=0x40415908, first=0x0, is_iid=0x41576d18) [proxy.c:181] in liboleaut32.so) (ebp=41576ae4) 4 0x40a58729 (TL_MarshalType+0x299(pStm=0x40409e38, pInfo=0x4041753c, pType=0x40417898, args=0x41576c48, first=0x0, is_iid=0x41576d18) [proxy.c:181] in liboleaut32.so) (ebp=41576b3c) 5 0x40a58e8a (TL_Marshal+0x24a(pStm=0x40409e38, pInfo=0x4041753c, pDesc=0x40417800, dwFlag=0x2, args=0x41576c48, res=0x0, is_iid=0x41576d18, id=0x41576d18) [proxy.c:358] in liboleaut32.so) (ebp=41576bc4) 6 0x40a5a249 (PSOAStub_Invoke+0x779(iface=0x40416e24, pMsg=0x41576d60, pChannel=0x40409d0c) [proxy.c:778] in liboleaut32.so) (ebp=41576d28) 7 0x409a219e (LRPC_process+0xce(chan=0x40409d0c) [compobj.c:1167] in libole32.so) (ebp=41576da0) 8 0x409a247f (LRPC_feed+0x23f(lClass=0x40408bd4, hPipe=0x58) [compobj.c:1245] in libole32.so) (ebp=41576e34) 9 0x409a25e0 (LRPC_server_thread+0x130(the_arg=0x40408bd4) [compobj.c:1269] in libole32.so) (ebp=41576f1c) 10 0x400e0cf8 (THREAD_Start+0x98 [thread.c:271] in libntdll.so) (ebp=41576f38) 11 0x400dfef8 (SYSDEPS_StartThread+0x38(teb=0x41587000) [sysdeps.c:72] in libntdll.so) (ebp=41576ff4) 12 0x40350baa (NTDLL.DLL.memcpy+0x5c64a in libc.so.6) (ebp=00000000)
Can anything be done about that?
Bye
On Wed, 24 Oct 2001, Uwe Bonnes wrote:
after clearing up my home brewn problems I tried the IS6 installer for Analog Devices Visual DSP one more time. No it proceeds much longer but crashes in ITypeInfo_fnGetContainingTypeLib
Try Malte's typelib refcounting patch, somewhere on wine-patches.
"Ove" == Ove Kaaven ovehk@ping.uio.no writes:
Ove> On Wed, 24 Oct 2001, Uwe Bonnes wrote:
>> after clearing up my home brewn problems I tried the IS6 installer >> for Analog Devices Visual DSP one more time. No it proceeds much >> longer but crashes in ITypeInfo_fnGetContainingTypeLib
Ove> Try Malte's typelib refcounting patch, somewhere on wine-patches.
After correcting pTypeLib into pTLib in Malte's patchh, Setup proceeded much further.
Then it reports a "Speicherschutzverletzung" (illegal memory access) and freezes:
2890181 08069d78:Ret kernel32.HeapFree() retval=00000001 ret=40940358 2890182 trace:ole:ITypeInfo_fnReleaseFuncDesc (0x40433d6c)->(0x4043409c) 2890183 trace:ole:ITypeInfo_fnRelease (0x40433d6c)->(2) 2890184 08069d78:Call kernel32.FindResourceExA(00400000,00000006,00000901,00000009) ret=00403f97 2890185 08069d78:Ret kernel32.FindResourceExA() retval=00000000 ret=00403f97 2890186 08069d78:Call kernel32.FindResourceExA(00400000,00000006,00000901,00000409) ret=00403fb5 2890187 08069d78:Ret kernel32.FindResourceExA() retval=00408648 ret=00403fb5 2890188 08069d78:Call kernel32.LoadResource(00400000,00408648) ret=00403fd9 2890189 08069d78:Ret kernel32.LoadResource() retval=0040cbe0 ret=00403fd9 2890190 08069d78:Call oleaut32.SysFreeString(00000000) ret=0040401f 2890191 08069d78:Ret oleaut32.SysFreeString() retval=00000000 ret=0040401f 2890192 08069d78:Call oleaut32.SysAllocString(0040d10a L"Setup failed to run installation:") ret=00404026 2890193 08069d78:Call kernel32.lstrlenW(0040d10a L"Setup failed to run installation:") ret=409b36ce 2890194 08069d78:Ret kernel32.lstrlenW() retval=00000021 ret=409b36ce 2890195 08069d78:Call kernel32.HeapAlloc(403a0000,00000000,00000048) ret=409b381c 2890196 08069d78:Ret kernel32.HeapAlloc() retval=415e33e4 ret=409b381c 2890197 trace:ole:SysAllocStringLen => 0x415e33e8 L"Setup failed to run installation:" 2890198 08069d78:Ret oleaut32.SysAllocString() retval=415e33e8 ret=00404026 2890199 08069d78:Call ntdll.RtlUnwind(40616f40,004050ac,00000000,00000000) ret=004050ac 2890200 096fbf68:Ret x11drv.MsgWaitForMultipleObjectsEx() retval=00000001 ret=406fa09d 2890201 096fbf68:Call x11drv.MsgWaitForMultipleObjectsEx(00000000,00000000,00000000,00000000,00000000) ret=406f9d70
Bye
On Wed, 24 Oct 2001, Uwe Bonnes wrote:
"Ove" == Ove Kaaven ovehk@ping.uio.no writes:
Ove> On Wed, 24 Oct 2001, Uwe Bonnes wrote: >> after clearing up my home brewn problems I tried the IS6 installer >> for Analog Devices Visual DSP one more time. No it proceeds much >> longer but crashes in ITypeInfo_fnGetContainingTypeLib Ove> Try Malte's typelib refcounting patch, somewhere on wine-patches.
After correcting pTypeLib into pTLib in Malte's patchh, Setup proceeded much further.
Then it reports a "Speicherschutzverletzung" (illegal memory access) and freezes:
When debugging InstallShield, it helps to add +seh to the debugmsg command line and look for recent thrown exceptions before the failure, and in particular it's fruitful to look for oleaut32 routines returning errors (retval=8xxxxxxx). But note that I have done several fixes to oleaut32 and stuff after testing several installers, most of these fixes are only in WineX CVS right now, I didn't have time to consider submitting them to Wine yet. As an example, this badness is necessary for two game installers I've tested:
--- dlls/oleaut32/safearray.c 2001/10/04 13:43:59 1.1.1.8 +++ dlls/oleaut32/safearray.c 2001/10/16 17:33:01 1.3 @@ -356,7 +356,9 @@ *((BSTR*)pv) = pbstrReturnedStr; } else if( psa->fFeatures == FADF_VARIANT) { - HRESULT hr = VariantCopy(pv, elementStorageAddress); + HRESULT hr; + VariantInit(pv); + hr = VariantCopy(pv, elementStorageAddress); if (FAILED(hr)) { SafeArrayUnlock(psa); return hr;