iTunes COM problems?

Thomas Meyer thomas.mey at web.de
Sat Dec 3 17:11:49 CST 2005


Hi.

iTunes version 6 installation fails. i made a log an my guess is that the problem is here:

[snip]
trace:ole:TMStubImpl_AddRef (0x7fdcd028)->(ref before=1)
trace:ole:stub_manager_int_release after 1
trace:ole:dispatch_rpc Calling apartment thread 0x0000000b...
trace:ole:CoWaitForMultipleHandles received message whilst waiting for RPC: 0x0400
trace:ole:TMStubImpl_Invoke ...
trace:ole:ITypeLib2_fnAddRef (0x7fd8a348)->ref was 9
trace:ole:ITypeInfo_fnAddRef (0x7fdc8b30)->ref is 3
trace:ole:ITypeInfo_fnGetFuncDesc (0x7fdc8b30) index 0
trace:ole:ITypeInfo_fnGetFuncDesc (0x7fdc8b30) index 1
trace:ole:ITypeInfo_fnGetDocumentation (0x7fdc8b30) memid -1 Name(0x7fbda55c) DocString((nil)) HelpContext((nil)) HelpFile((nil))
trace:ole:ITypeInfo_fnGetNames (0x7fdc8b30) memid=0x60010001 Maxname=10
trace:ole:deserialize_param vt 3 at 0x7fdd193c
trace:ole:_invoke Calling 0x4136dc(7ced8370,0000005f,)
trace:ole:_invoke returns 00000000
trace:ole:serialize_param (tdesc.vt 3)
trace:ole:ITypeInfo_fnRelease (0x7fdc8b30)->(2)
trace:ole:ITypeLib2_fnRelease (0x7fd8a348)->(9)
trace:ole:TMStubImpl_Invoke returning
trace:ole:TMStubImpl_Release (0x7fdcd028)->(ref before=2)
trace:ole:apartment_release a0000000b: after = 1
trace:ole:rpc_sendreceive_thread completed with status 0x0
trace:ole:DllMain 0x7f6e0000 0x3 (nil) ole32.dll
trace:ole:CoWaitForMultipleHandles -- 0x00000000
trace:ole:RpcChannelBuffer_SendReceive RPC call status: 0x0
trace:ole:RpcChannelBuffer_SendReceive -- 0x00000000
trace:ole:ITypeInfo_fnRelease (0x7fe2e6f0)->(2)
trace:ole:ITypeLib2_fnRelease (0x7fdf4758)->(201)

Ok. One of the things i did't figured out till now. What does this xCall thing mean?

trace:ole:xCall -- 0x00000000
trace:ole:CoMarshalInterface (0x775af1b8, {c9ce9778-210c-4cb4-b4f0-f589c3dda00b}, 0x7ce45480, 3, (nil), MSHLFLAGS_TABLESTRONG)
trace:ole:CoGetStandardMarshal ({c9ce9778-210c-4cb4-b4f0-f589c3dda00b},0x7ce45480,3,(nil),1,0x7fbde72c)
trace:ole:CoMarshalInterface Using standard marshaling
trace:ole:CoMarshalInterface Calling IMarshal::MarshalInterace
trace:ole:StdMarshalImpl_MarshalInterface (...,{c9ce9778-210c-4cb4-b4f0-f589c3dda00b},...)
trace:ole:CoGetPSClsid () riid={c9ce9778-210c-4cb4-b4f0-f589c3dda00b}, pclsid=0x7fbde654
trace:ole:WINE_StringFromCLSID 0x496980->{C9CE9778-210C-4CB4-B4F0-F589C3DDA00B}
trace:ole:__CLSIDFromStringA {C9CE9778-210C-4CB4-B4F0-F589C3DDA00B} -> 0x7fbde654
trace:ole:CoGetPSClsid () Returning CLSID={c9ce9778-210c-4cb4-b4f0-f589c3dda00b}

trace:ole:get_facbuf_for_iid CoGetPSClsid hr= 0x00000000
trace:ole:CoGetClassObject 
	CLSID:	{c9ce9778-210c-4cb4-b4f0-f589c3dda00b},
	IID:	{d5f569d0-593b-101a-b569-08002b2dbf7a}
trace:ole:WINE_StringFromCLSID 0x7fbde654->{C9CE9778-210C-4CB4-B4F0-F589C3DDA00B}
trace:ole:COMPOBJ_DLLList_Add 
trace:ole:get_inproc_class_object DllGetClassObject hr= 0x80040111

err:ole:CoGetClassObject no class object {c9ce9778-210c-4cb4-b4f0-f589c3dda00b} could be created for for context 0x1
err:ole:marshal_object couldn't get IPSFactory buffer for interface {c9ce9778-210c-4cb4-b4f0-f589c3dda00b}

I guess this is the reason why the installer fails. Maybe i am wrong and this is an error in the application program. but how to determin this?

is there a way to explorer all interfaces in an COM object (in the dll file)?

err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x80040111
err:ole:CoMarshalInterface Failed to marshal the interface {c9ce9778-210c-4cb4-b4f0-f589c3dda00b}, 80040111
trace:ole:CoMarshalInterface completed with hr 0x80040111

trace:ole:CreateFileMoniker (L"{872653C6-5DDC-488B-B7C2-CF9E4D9335E5}",0x7fbde880)
trace:ole:FileMonikerImpl_Construct (0x775af1b8,L"{872653C6-5DDC-488B-B7C2-CF9E4D9335E5}")
trace:ole:FileMonikerImpl_DecomposePath L"{872653C6-5DDC-488B-B7C2-CF9E4D9335E5}", (nil)
trace:ole:FileMonikerImpl_QueryInterface (0x775af1b8,{0000000f-0000-0000-c000-000000000046},0x7fbde880)
trace:ole:FileMonikerImpl_AddRef (0x775af1b8)
trace:ole:CoCreateInstance (rclsid={064cb054-2518-474e-b2e8-200049528c42}, pUnkOuter=(nil), dwClsContext=00000004, riid={a16ab1e1-377d-4df2-8d8a-c9f283857ddc}, ppv=0x7fbde7cc)
trace:ole:CoGetClassObject 
	CLSID:	{064cb054-2518-474e-b2e8-200049528c42},
	IID:	{00000001-0000-0000-c000-000000000046}
trace:ole:RPC_GetLocalClassObject rclsid={064cb054-2518-474e-b2e8-200049528c42}, iid={00000001-0000-0000-c000-000000000046}
trace:ole:WINE_StringFromCLSID 0x480b00->{064CB054-2518-474E-B2E8-200049528C42}
trace:ole:RPC_GetLocalClassObject waiting for L"\\\\.\\pipe\\{064CB054-2518-474E-B2E8-200049528C42}"
trace:ole:WINE_StringFromCLSID 0x480b00->{064CB054-2518-474E-B2E8-200049528C42}
trace:ole:create_server activating local server L"c:\\PROG~1F2\\GEME~SR3\\INST~JM1\\Driver\\11\\INTE~MEX\\IDriverT.exe -Embedding" for {064cb054-2518-474e-b2e8-200049528c42}

trace:ole:DllMain 0x7f910000 0x3 (nil) ole32.dll
trace:ole:CoWaitForMultipleHandles waiting for rpc completion or window message

__driCreateNewScreen_20050727 - succeeded
trace:ole:DllMain 0x7f870000 0x1 0x1 ole32.dll
trace:ole:DllMain (0x7f770000,1,0x1) oleaut32.dll
trace:ole:DllMain 0x7f870000 0x2 (nil) ole32.dll
trace:ole:RPC_GetLocalClassObject waiting for L"\\\\.\\pipe\\{064CB054-2518-474E-B2E8-200049528C42}"
warn:ole:RPC_GetLocalClassObject Connecting to L"\\\\.\\pipe\\{064CB054-2518-474E-B2E8-200049528C42}", no response yet, retrying: le is 2
trace:ole:RPC_GetLocalClassObject waiting for L"\\\\.\\pipe\\{064CB054-2518-474E-B2E8-200049528C42}"
warn:ole:RPC_GetLocalClassObject Connecting to L"\\\\.\\pipe\\{064CB054-2518-474E-B2E8-200049528C42}", no response yet, retrying: le is 2
trace:ole:RPC_GetLocalClassObject waiting for L"\\\\.\\pipe\\{064CB054-2518-474E-B2E8-200049528C42}"
warn:ole:RPC_GetLocalClassObject Connecting to L"\\\\.\\pipe\\{064CB054-2518-474E-B2E8-200049528C42}", no response yet, retrying: le is 2
trace:ole:CoWaitForMultipleHandles received message whilst waiting for RPC: 0x0200
trace:ole:CoWaitForMultipleHandles waiting for rpc completion or window message
trace:ole:CoWaitForMultipleHandles received message whilst waiting for RPC: 0x0200
trace:ole:CoWaitForMultipleHandles waiting for rpc completion or window message
trace:ole:CoWaitForMultipleHandles received message whilst waiting for RPC: 0x0200
trace:ole:CoWaitForMultipleHandles waiting for rpc completion or window message
trace:ole:CoWaitForMultipleHandles received message whilst waiting for RPC: 0x0200
trace:ole:CoWaitForMultipleHandles waiting for rpc completion or window message
trace:ole:CoWaitForMultipleHandles received message whilst waiting for RPC: 0x0200
trace:ole:CoWaitForMultipleHandles waiting for rpc completion or window message
trace:ole:CoWaitForMultipleHandles received message whilst waiting for RPC: 0x0200
trace:ole:CoWaitForMultipleHandles waiting for rpc completion or window message
trace:ole:CoWaitForMultipleHandles received message whilst waiting for RPC: 0x0200
trace:ole:CoWaitForMultipleHandles waiting for rpc completion or window message
trace:ole:RPC_GetLocalClassObject waiting for L"\\\\.\\pipe\\{064CB054-2518-474E-B2E8-200049528C42}"
warn:ole:RPC_GetLocalClassObject Connecting to L"\\\\.\\pipe\\{064CB054-2518-474E-B2E8-200049528C42}", no response yet, retrying: le is 2
trace:ole:DllMain 0x7f910000 0x3 (nil) ole32.dll
trace:ole:RPC_GetLocalClassObject waiting for L"\\\\.\\pipe\\{064CB054-2518-474E-B2E8-200049528C42}"
warn:ole:RPC_GetLocalClassObject Connecting to L"\\\\.\\pipe\\{064CB054-2518-474E-B2E8-200049528C42}", no response yet, retrying: le is 2
trace:ole:RPC_GetLocalClassObject waiting for L"\\\\.\\pipe\\{064CB054-2518-474E-B2E8-200049528C42}"
warn:ole:RPC_GetLocalClassObject Connecting to L"\\\\.\\pipe\\{064CB054-2518-474E-B2E8-200049528C42}", no response yet, retrying: le is 2
trace:ole:RPC_GetLocalClassObject waiting for L"\\\\.\\pipe\\{064CB054-2518-474E-B2E8-200049528C42}"
warn:ole:RPC_GetLocalClassObject Connecting to L"\\\\.\\pipe\\{064CB054-2518-474E-B2E8-200049528C42}", no response yet, retrying: le is 2
trace:ole:RPC_GetLocalClassObject waiting for L"\\\\.\\pipe\\{064CB054-2518-474E-B2E8-200049528C42}"
warn:ole:RPC_GetLocalClassObject Connecting to L"\\\\.\\pipe\\{064CB054-2518-474E-B2E8-200049528C42}", no response yet, retrying: le is 2

[installer contiunes here. but i did end the program; after a while the installer fails with an error message]

by the way: what is an apartment? (i think it has something to do with thread/process, therefore i added the dll names for each Main call)

any ideas and remarks are welcome

thanks and regards
Thomas

______________________________________________________________
Verschicken Sie romantische, coole und witzige Bilder per SMS!
Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193




More information about the wine-devel mailing list