https://bugs.winehq.org/show_bug.cgi?id=38756
Bug ID: 38756 Summary: FutureMark SystemInformation diagnostics (.NET 4.0 app) crashes when clicking 'connect' (COM support for 'new' moniker and 'BIND_OPTS3' missing) Product: Wine Version: 1.7.45 Hardware: x86-64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: focht@gmx.net Distribution: ---
Hello folks,
split off from bug 27185 which is about Wine-Mono.
The installer installs the following prerequisites on its own:
* DirectX Jun 2010 * Microsoft .NET Framework 4 Client Profile 4.0.30319 * Microsoft Visual C++ 2010 x86 Redistributable 10.0.40219
.NET Framework 4.0 install only works right away if Wine-Mono has been removed prior the install or Wine was built without Mono support as I do.
The first problem after installation is bug 15670
--- snip --- Unhandled Exception: System.Windows.Markup.XamlParseException: The invocation of the constructor on type 'Futuremark.PCMark7.PCMark7Gui.WelcomeWindow' that matches the specified binding constraints threw an exception. ---> System.IO.IsolatedStorage.IsolatedStorageException: Unable to create the store directory. (Exception from HRESULT: 0x80131468) at System.IO.IsolatedStorage.IsolatedStorageFile.GetRootDir(IsolatedStorageScope scope, StringHandleOnStack retRootDir) at System.IO.IsolatedStorage.IsolatedStorageFile.InitGlobalsNonRoamingUser(IsolatedStorageScope scope) at System.IO.IsolatedStorage.IsolatedStorageFile.GetRootDir(IsolatedStorageScope scope) at System.IO.IsolatedStorage.IsolatedStorageFile.GetGlobalFileIOPerm(IsolatedStorageScope scope) at System.IO.IsolatedStorage.IsolatedStorageFile.Init(IsolatedStorageScope scope) at Futuremark.BenchmarkUtility.Identifier.set_Key(String value) at Futuremark.PCMark7.PCMarkEssence.LicenseManager.ValidateKey(String key, Boolean online) at Futuremark.PCMark7.PCMarkEssence.LicenseManager..ctor(IOnlineMessenger onlineMessenger) at Futuremark.PCMark7.PCMarkEssence.UIController..ctor() at Futuremark.PCMark7.PCMark7Gui.WelcomeWindow..ctor() --- End of inner exception stack trace --- --- snip ---
Next problem:
--- snip --- 002d:Call user32.MessageBoxW(00000000,0106f914 L"Initializing Futuremark SystemInfo failed.\nPlease verify that version 4.0 or newer is installed properly.",0106fea8 L"PCMark 7 - SystemInfo failure",00000000) ret=0545b07f --- snip ---
http://community.futuremark.com/forum/showthread.php?181303-Problem-futurema...
Looks like a separate (COM) service component.
Trying to use the diagnosis tool which ought to connect to the service also fails:
--- snip --- $ pwd /home/focht/.wine/drive_c/Program Files/Futuremark/Futuremark SystemInfo
$ wine ./FMSIDiag.exe ... fixme:advapi:ReportEventW (0xcafe4242,0x0001,0x0000,0x00000401,(nil),0x0001,0x00000000,0x33bcac,(nil)): stub err:eventlog:ReportEventW L"Application: FMSIDiag.exe\nFramework Version: v4.0.30319\nDescription: The application requested process termination through System.Environment.FailFast(string message).\nMessage: Unrecoverable system error.\nStack:\n at System.Environment.FailFast(System.String)\n at MS.Internal.Invariant.FailFa"... fixme:advapi:DeregisterEventSource (0xcafe4242) stub --- snip ---
-> bug 32323 ('winetricks -q corefonts')
Running it again:
--- snip --- ... Unhandled Exception: FMSIDiag.SystemInfoException: SystemInfo initialization failed. at FMSIDiag.SystemInfo2.Init(Boolean tryElevate) at FMSIDiag.SystemInfo2.Init() at FMSIDiag.Core.Connect() at FMSIDiag.MainWindow.buttonBasicConnect_Click(Object sender, RoutedEventArgs e) at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args) at System.Windows.UIElement.RaiseEvent(RoutedEventArgs e) at System.Windows.Controls.Primitives.ButtonBase.OnClick() at System.Windows.Controls.Button.OnClick() --- snip ---
First-chance exception caught with managed debugger:
--- snip --- Child SP IP Call Site
0559ce14 7b8455e1 [HelperMethodFrame: 0559ce14] 0559ce64 05039207 DomainBoundILStubClass.IL_STUB_PInvoke(System.String, BIND_OPTS3 ByRef, System.Guid) 0559ce68 0503904c [InlinedCallFrame: 0559ce68] FMSIDiag.UACManager.CoGetObject(System.String, BIND_OPTS3 ByRef, System.Guid) 0559cf38 0503904c FMSIDiag.UACManager.LaunchCOMObject(System.Guid, System.Guid) 0559cfac 05038dbd FMSIDiag.SystemInfo2.ThreadInit(Boolean) ... --- snip ---
Relevant part of trace log:
--- snip --- 0040:Call ole32.CoGetObject(00dce0ac L"new:{f9c82199-b002-41b4-8b00-0f1eca89425f}",054bce6c,054bcee8,054bce64) ret=053a0e78 ... 0040:Ret ole32.CoGetObject() retval=80070057 ret=053a0e78 ... 0040:trace:seh:raise_exception code=e0434352 flags=1 addr=0x7b8455e1 ip=7b8455e1 tid=0040 0040:trace:seh:raise_exception info[0]=80070057 0040:trace:seh:raise_exception info[1]=00000000 0040:trace:seh:raise_exception info[2]=00000000 0040:trace:seh:raise_exception info[3]=00000000 0040:trace:seh:raise_exception info[4]=79140000 0040:trace:seh:raise_exception eax=7b83247d ebx=00000005 ecx=00000014 edx=054bcc44 esi=054bcce4 edi=054bccb0 0040:trace:seh:raise_exception ebp=054bcc88 esp=054bcc24 cs=0023 ds=002b es=002b fs=0063 gs=006b flags=00200283 0040:trace:seh:call_vectored_handlers calling handler at 0x791f5a7c code=e0434352 flags=1 ... --- snip ---
Relevant .NET code:
--- snip --- // FMSIDiag.SystemInfo2 private void ThreadInit(bool tryElevate) { if (this.m_FMSI != null) { return; } this.m_FMSI = UACManager.LaunchCOMObject( new Guid("F9C82199-B002-41B4-8B00-0F1ECA89425F"), new Guid("93382A45-8441-4A42-BE09-95C7D0550B94")); if (this.m_FMSI != null) { this.m_FuturemarkSystemInfo = (IFuturemarkSystemInfo2)this.m_FMSI; this.m_FuturemarkSystemInfoVersion = (IFuturemarkSystemInfoVersion)this.m_FMSI; this.m_FuturemarkSystemInfoMultiGPU = (IFuturemarkSystemInfoMultiGPU)this.m_FMSI; this.m_FuturemarkSystemInfoQuery = (IFuturemarkSystemInfoQuery)this.m_FMSI; this.m_FuturemarkSystemInfoLegacyQuery = (IFuturemarkSystemInfoLegacyQuery)this.m_FMSI; this.m_FuturemarkSystemInfoQueryStorage = (IFuturemarkSystemInfoQueryStorage)this.m_FMSI; this.m_FuturemarkSystemInfoMonitoring = (IFuturemarkSystemInfoMonitoring)this.m_FMSI; this.m_Initialized = true; } }
... // FMSIDiag.UACManager [return: MarshalAs(UnmanagedType.Interface)] public static object LaunchCOMObject(Guid Clsid, Guid InterfaceID) { string str = Clsid.ToString("B"); string pszName = "new:" + str; UACManager.BIND_OPTS3 bIND_OPTS = default(UACManager.BIND_OPTS3); bIND_OPTS.cbStruct = (uint)Marshal.SizeOf(bIND_OPTS); bIND_OPTS.hwnd = IntPtr.Zero; bIND_OPTS.dwClassContext = 4u; object result = null; try { result = UACManager.CoGetObject(pszName, ref bIND_OPTS, InterfaceID); } catch (Exception) { result = null; } return result; } --- snip ---
Registry entry of COM server:
--- snip --- REGEDIT4
[HKEY_CLASSES_ROOT\CLSID{F9C82199-B002-41B4-8B00-0F1ECA89425F}] @="Futuremark SystemInfo v2 Class" "AppID"="{1BF1C030-CE12-4A8A-A4E1-EDDCE7176799}" "LocalizedString"="@C:\Program Files\Futuremark\Futuremark SystemInfo\FMSISvc.exe,-101"
[HKEY_CLASSES_ROOT\CLSID{F9C82199-B002-41B4-8B00-0F1ECA89425F}\LocalService] @=""C:\Program Files\Futuremark\Futuremark SystemInfo\FMSISvc.exe""
[HKEY_CLASSES_ROOT\CLSID{F9C82199-B002-41B4-8B00-0F1ECA89425F}\ProgID] @="FuturemarkSystemInfo2.1"
[HKEY_CLASSES_ROOT\CLSID{F9C82199-B002-41B4-8B00-0F1ECA89425F}\Programmable]
[HKEY_CLASSES_ROOT\CLSID{F9C82199-B002-41B4-8B00-0F1ECA89425F}\TypeLib] @="{0E985ACA-E998-460F-B705-8436E606F78C}"
[HKEY_CLASSES_ROOT\CLSID{F9C82199-B002-41B4-8B00-0F1ECA89425F}\VersionIndependentProgID] @="FuturemarkSystemInfo2" --- snip ---
Article: http://chrison.net/UACElevationInManagedCodeStartingElevatedCOMComponents.as... ("UAC Elevation in Managed Code: Starting Elevated COM Components")
which is courtesy of: https://social.msdn.microsoft.com/Forums/windowsdesktop/en-US/5706957f-b96b-...
Although the app .NET class is called 'UACManager' the code seems to contradict this. The elevation moniker syntax is not used:
MSDN: https://msdn.microsoft.com/en-us/library/windows/desktop/ms679687%28v=vs.85%...
--- snip --- Elevation:Administrator!new:{guid} Elevation:Highest!new:{guid} --- snip ---
What's new is the use of the 'new' moniker though:
http://thrysoee.dk/InsideCOM+/ch11e.htm ("The New Moniker")
and BIND_OPTS3:
MSDN: https://msdn.microsoft.com/en-us/library/windows/desktop/aa746553%28v=vs.85%...
$ sha1sum PCMark_7_v104_installer.zip 1a13ea91439ae4d81a153ca777ecb74e42394015 PCMark_7_v104_installer.zip
$ du -sh PCMark_7_v104_installer.zip 304M PCMark_7_v104_installer.zip
$ wine --version wine-1.7.45
Regards
https://bugs.winehq.org/show_bug.cgi?id=38756
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |dotnet, download URL| |http://www.gamershell.com/n | |ews_116756.html
https://bugs.winehq.org/show_bug.cgi?id=38756
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://www.gamershell.com/n |https://web.archive.org/web |ews_116756.html |/20190318134120/http://ftp. | |airnet.ne.jp/pub/pc/forest/ | |p/pcmark/10493/PCMark_7_v10 | |4_installer.zip Component|-unknown |ole32
--- Comment #1 from Anastasius Focht focht@gmx.net --- Hello folks,
revisiting, still present.
Adding stable link to snapshot via Internet archive.
https://web.archive.org/web/20190318134120/http://ftp.airnet.ne.jp/pub/pc/fo...
--- snip --- $ pwd /home/focht/.wine/drive_c/Program Files/Futuremark/Futuremark SystemInfo
$ WINEDEBUG=+seh,+relay,+ole,+variant wine ./FMSIDiag.exe >>log.txt 2>&1 ... 004b:Call ole32.CoGetObject(01050ff8 L"new:{f9c82199-b002-41b4-8b00-0f1eca89425f}",05b2e31c,05b2e398,05b2e314) ret=05052408 004b:trace:ole:CreateBindCtx (0,0x5b2e244) 004b:Call ntdll.RtlAllocateHeap(00110000,00000000,00000034) ret=7e24277c 004b:Ret ntdll.RtlAllocateHeap() retval=0588a8e8 ret=7e24277c 004b:trace:ole:BindCtxImpl_Construct (0x588a8e8) 004b:Call KERNEL32.GetThreadLocale() ret=7e242670 004b:Ret KERNEL32.GetThreadLocale() retval=00000409 ret=7e242670 004b:trace:ole:BindCtxImpl_QueryInterface (0x588a8e8 {0000000e-0000-0000-c000-000000000046} 0x5b2e244) 004b:trace:ole:BindCtxImpl_AddRef (0x588a8e8) 004b:trace:ole:BindCtxImpl_SetBindOptions (0x588a8e8,0x5b2e31c) 004b:warn:ole:BindCtxImpl_SetBindOptions invalid size 004b:trace:ole:BindCtxImpl_Release (0x588a8e8) 004b:trace:ole:BindCtxImpl_ReleaseBoundObjects (0x588a8e8) 004b:trace:ole:BindCtxImpl_Destroy (0x588a8e8) 004b:Call ntdll.RtlFreeHeap(00110000,00000000,00000000) ret=7e2416ad 004b:Ret ntdll.RtlFreeHeap() retval=00000001 ret=7e2416ad 004b:Call ntdll.RtlFreeHeap(00110000,00000000,0588a8e8) ret=7e2416cd 004b:Ret ntdll.RtlFreeHeap() retval=00000001 ret=7e2416cd 004b:Ret ole32.CoGetObject() retval=80070057 ret=05052408 ... --- snip ---
Also interesting (Delphi based test app source snippet):
http://elists.org/pipermail/delphi/2006-May/028508.html
--- quote --- Hello,
I wonder whether anybody already managed to run an elevated instance of a COM object as mentioned in msdn article below, paragraph "Shield Implementation and APIs"?
http://msdn.microsoft.com/windowsvista/default.aspx?pull=/library/en-us/dnlo...
CoCreateInstanceAsAdmin() is described here:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/com/html/15...
I get it working only when I'm logged in as Admin and the 'consent prompt' pops up. As a limited User the Elevation UI (login prompt) is displayed, login succeeds, however my method ShowMessage() isn't shown/executed, why?? Since I'm not familar with COM I may miss something simple, any help is appreciated.
Arno Garrels
///////////////////////////////////////
uses Windows, Sysutils, ActiveX;
type PBindOpts3 = ^TBindOpts3; {$EXTERNALSYM tagBIND_OPTS3} tagBIND_OPTS3 = record cbStruct: DWORD; grfFlags: DWORD; grfMode: DWORD; dwTickCountDeadline: DWORD; dwTrackFlags: DWORD; dwClassContext: DWORD; locale: LCID; pServerInfo: Pointer; //DUMMY!! //COSERVERINFO * ; hwnd: HWND; end; TBindOpts3 = tagBIND_OPTS3; {$EXTERNALSYM BIND_OPTS3} BIND_OPTS3 = TBindOpts3;
function CoCreateInstanceAsAdmin(WndHandle: HWND; clsid: TCLSID; iid: TIID; out ppv): HRESULT;
implementation
function NewCoGetObject(pazName: PWideChar; pBindOptions: PBindOpts3; const iid: TIID; out ppv): HResult; stdcall; external 'ole32.dll' name 'CoGetObject';
function CoCreateInstanceAsAdmin(WndHandle: HWND; clsid: TCLSID; iid: TIID; out ppv): HRESULT; var Bo : TBindOpts3; Moniker : PWideChar; begin Moniker := PWideChar(WideString('Elevation:Administrator!new:' + GuidToString(clsid))); FillChar(Bo, SizeOf(Bo), #0); Bo.hwnd := WndHandle; Bo.cbStruct := SizeOf(Bo); Bo.dwClassContext := CLSCTX_LOCAL_SERVER; Result := NewCoGetObject(Moniker, @Bo, iid, ppv); end; ////////////////////////////////////////////////
procedure TForm1.Button1Click(Sender: TObject); var MyComObj : IDisplaySomething; begin OleCheck(CoCreateInstanceAsAdmin(Self.Handle, Class_DisplaySomething, IDisplaySomething, MyComObj)); MyComObj.Display('OK!'); end; --- quote ---
$ sha1sum PCMark_7_v104_installer.zip d3620c2b336dbffa5a93c381fe03f252a874416a6 PCMark_7_v104_installer.zip
$ du -sh PCMark_7_v104_installer.zip 304M PCMark_7_v104_installer.zip
$ wine --version wine-4.4
Regards
https://bugs.winehq.org/show_bug.cgi?id=38756
--- Comment #2 from Nikolay Sivov bunglehead@gmail.com --- Please retest with current git, "new" moniker should work for CoGetObject(), BIND_OPTS3 is also accepted now.
https://bugs.winehq.org/show_bug.cgi?id=38756
--- Comment #3 from Anastasius Focht focht@gmx.net --- Hello Nikolay,
it goes a bit further:
--- snip --- $ WINEDEBUG=+seh,+relay,+ole,+variant wine ./FMSIDiag.exe >>log.txt 2>&1 ... 0056:Call ole32.CoGetObject(010bf55c L"new:{f9c82199-b002-41b4-8b00-0f1eca89425f}",05cce2fc,05cce378,05cce2f4) ret=05b85428 0056:trace:ole:CreateBindCtx (0,05CCE244) ... 0056:trace:ole:BindCtxImpl_Construct (001B0EA0) ... 0056:trace:ole:BindCtxImpl_QueryInterface (001B0EA0 {0000000e-0000-0000-c000-000000000046} 05CCE244) 0056:trace:ole:BindCtxImpl_AddRef (001B0EA0) 0056:trace:ole:BindCtxImpl_SetBindOptions (001B0EA0,05CCE2FC) ... 0056:trace:ole:MkParseDisplayName (001B0EA0, L"new:{f9c82199-b002-41b4-8b00-0f1eca89425f}", 05CCE248, 05CCE24C) ... 0056:trace:ole:CreateClassMoniker ({ecabafc6-7f19-11d2-978e-0000f8757e2a},05CCE1E4) ... 0056:trace:ole:ClassMoniker_Construct (001B0E78,{ecabafc6-7f19-11d2-978e-0000f8757e2a}) 0056:trace:ole:ClassMoniker_QueryInterface (001B0E78,{0000000f-0000-0000-c000-000000000046},05CCE1E4) 0056:trace:ole:ClassMoniker_AddRef (001B0E78) 0056:trace:ole:ClassMoniker_BindToObject (001B0EA0, 00000000, {0000011a-0000-0000-c000-000000000046}, 05CCE1E8) 0056:trace:ole:BindCtxImpl_GetBindOptions (001B0EA0,05CCE170) 0056:trace:ole:CoGetClassObject CLSID: {ecabafc6-7f19-11d2-978e-0000f8757e2a},IID: {0000011a-0000-0000-c000-000000000046} 0056:trace:ole:apartment_addref 4d0000cafe: before = 4 0056:trace:ole:apartment_release 4d0000cafe: after = 4 0056:trace:ole:RPC_GetLocalClassObject rclsid={ecabafc6-7f19-11d2-978e-0000f8757e2a}, iid={0000011a-0000-0000-c000-000000000046} ... 0056:trace:ole:create_local_service Attempting to start Local service for {ecabafc6-7f19-11d2-978e-0000f8757e2a} ... 0056:err:ole:create_server class {ecabafc6-7f19-11d2-978e-0000f8757e2a} not registered 0056:err:ole:CoGetClassObject no class object {ecabafc6-7f19-11d2-978e-0000f8757e2a} could be created for context 0x4 0056:trace:ole:ClassMoniker_BindToObject (001B0EA0, 00000000, {00000001-0000-0000-c000-000000000046}, 05CCE1EC) 0056:trace:ole:BindCtxImpl_GetBindOptions (001B0EA0,05CCE170) 0056:trace:ole:CoGetClassObject CLSID: {ecabafc6-7f19-11d2-978e-0000f8757e2a},IID: {00000001-0000-0000-c000-000000000046} 0056:trace:ole:apartment_addref 4d0000cafe: before = 4 0056:trace:ole:apartment_release 4d0000cafe: after = 4 0056:trace:ole:RPC_GetLocalClassObject rclsid={ecabafc6-7f19-11d2-978e-0000f8757e2a}, iid={00000001-0000-0000-c000-000000000046} ... 0056:trace:ole:RPC_GetLocalClassObject waiting for L"\\.\pipe\{ECABAFC6-7F19-11D2-978E-0000F8757E2A}" 0056:Call KERNEL32.WaitNamedPipeW(05ccdbb0 L"\\.\pipe\{ECABAFC6-7F19-11D2-978E-0000F8757E2A}",ffffffff) ret=6524e509 ... 0056:trace:ole:create_local_service Attempting to start Local service for {ecabafc6-7f19-11d2-978e-0000f8757e2a} ... 0056:Call advapi32.RegQueryValueExW(00000270,652c7ae0 L"AppId",00000000,05ccda30,05ccda36,05ccda28) ret=652155ae 0056:Call ntdll.RtlInitUnicodeString(05ccd86c,652c7ae0 L"AppId") ret=7127b472 0056:Ret ntdll.RtlInitUnicodeString() retval=0000000c ret=7127b472 0056:Call ntdll.NtQueryValueKey(00000270,05ccd86c,00000002,05ccd874,0000005a,05ccd868) ret=7127b4de 0056:Ret ntdll.NtQueryValueKey() retval=c0000034 ret=7127b4de ... 0056:Call ntdll.NtOpenKey(05ccdb54,00020019,05ccda38) ret=6521280c 0056:Ret ntdll.NtOpenKey() retval=c0000034 ret=6521280c ... 0056:err:ole:CoGetClassObject no class object {ecabafc6-7f19-11d2-978e-0000f8757e2a} could be created for context 0x4 0056:trace:ole:ClassMoniker_Release (001B0E78) ... 0056:trace:ole:BindCtxImpl_Release (001B0EA0) 0056:trace:ole:BindCtxImpl_ReleaseBoundObjects (001B0EA0) 0056:trace:ole:BindCtxImpl_Destroy (001B0EA0) ... 0056:Ret ole32.CoGetObject() retval=80040152 ret=05b85428 ... 0056:trace:seh:raise_exception code=e0434352 flags=1 addr=0x7124d3a4 ip=7124d3a4 tid=0056 0056:trace:seh:raise_exception info[0]=80040152 0056:trace:seh:raise_exception info[1]=00000000 0056:trace:seh:raise_exception info[2]=00000000 0056:trace:seh:raise_exception info[3]=00000000 0056:trace:seh:raise_exception info[4]=79140000 0056:trace:seh:raise_exception eax=05cce0d0 ebx=00000000 ecx=00000010 edx=05cce1b8 esi=05cce174 edi=05cce140 0056:trace:seh:raise_exception ebp=05cce128 esp=05cce0c4 cs=5cc0023 ds=5cc002b es=5cc002b fs=f7ba0063 gs=5cc006b flags=00000246 --- snip ---
I guess this is still in the scope of this ticket.
$ wine --version wine-4.19-311-g5725ed3b46
Regards
https://bugs.winehq.org/show_bug.cgi?id=38756
--- Comment #4 from Nikolay Sivov bunglehead@gmail.com --- Created attachment 65953 --> https://bugs.winehq.org/attachment.cgi?id=65953 patch
Next issue is that it fails to create "new" moniker instance in CLSCTX_LOCAL_SERVER context. It's not supposed to work, because it's not registered as a local server. This patch changes moniker creation to use default (inproc) context, while still using supplied context for target object.
With this "Connect" button does not crash anymore, and reports "Connected" in application log list. Patch needs tests obviously, attaching it here so we can move this further, to the next issue.
https://bugs.winehq.org/show_bug.cgi?id=38756
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
--- Comment #5 from Anastasius Focht focht@gmx.net --- Hello Nikolay,
thanks for the patch. Looking forward to integration.
$ wine --version wine-5.0-98-gc55e8822ae
Regards
https://bugs.winehq.org/show_bug.cgi?id=38756
mirh mirh@protonmail.ch changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mirh@protonmail.ch
https://bugs.winehq.org/show_bug.cgi?id=38756
--- Comment #6 from Anastasius Focht focht@gmx.net --- Hello folks,
revisiting, still present.
https://source.winehq.org/git/wine.git/blob/986254d6c17ee1e5fb3aed6effcf2766...
Even with the patch from comment #4 applied it still tries to start a local server.
--- snip --- ... 01d4:Call ole32.CoGetObject(01e89ae4 L"new:{f9c82199-b002-41b4-8b00-0f1eca89425f}",2618cb08,2618cc60,2618caf8) ret=6447f1017c7 01d4:trace:ole:CreateBindCtx 0, 000000002618C930 ... 01d4:trace:ole:BindCtxImpl_SetBindOptions (00000000004F47B0,000000002618CB08) .. 01d4:trace:ole:MkParseDisplayName (00000000004F47B0, L"new:{f9c82199-b002-41b4-8b00-0f1eca89425f}", 000000002618C944, 000000002618C938) ... 01d4:Call combase.CLSIDFromProgID(004f8dd0 L"new",2618c8a8) ret=01464c3e ... 01d4:Ret combase.CLSIDFromProgID() retval=00000000 ret=01464c3e ... 01d4:trace:ole:CreateClassMoniker {ecabafc6-7f19-11d2-978e-0000f8757e2a}, 000000002618C898 ... 01d4:trace:ole:CreateBindCtx 0, 000000002618C888 ... 01d4:trace:ole:ClassMoniker_BindToObject (00000000004F3B30, 0000000000000000, {0000011a-0000-0000-c000-000000000046}, 000000002618C890) 01d4:trace:ole:BindCtxImpl_GetBindOptions (00000000004F3B30,000000002618C7C0) ... 01d4:Call combase.CoGetClassObject(004d5404,00000015,00000000,014f4794,2618c890) ret=01445c0c 01d4:trace:ole:CoGetClassObject {ecabafc6-7f19-11d2-978e-0000f8757e2a}, 0x15, {0000011a-0000-0000-c000-000000000046} 01d4:trace:ole:apartment_addref 1b00000cafe: before = 2 ... 01d4:trace:ole:apartment_getclassobject added new loaded dll L"C:\windows\system32\comsvcs.dll" 01d4:trace:ole:apartment_getclassobject calling DllGetClassObject 00000000261B11A0 ... 01d4:Ret combase.CoGetClassObject() retval=00000000 ret=01445c0c 01d4:trace:ole:BindCtxImpl_Release 00000000004F3B30 refcount 0. 01d4:trace:ole:BindCtxImpl_ReleaseBoundObjects (00000000004F3B30) ... 01d4:trace:ole:ClassMoniker_Release 00000000004D53F0 refcount 0 ... 01d4:trace:ole:BindCtxImpl_GetBindOptions (00000000004F47B0,000000002618C890) ... 01d4:Call combase.CoCreateInstanceEx(004dd374,00000000,00000004,00000000,00000001,2618c878) ret=261b3d3d 01d4:trace:ole:CoCreateInstanceEx {f9c82199-b002-41b4-8b00-0f1eca89425f}, 0000000000000000, 0x4, 0000000000000000, 1, 000000002618C878 01d4:trace:ole:CoGetTreatAsClass {f9c82199-b002-41b4-8b00-0f1eca89425f}, 000000002618C710. ... 01d4:trace:ole:apartment_addref 1b00000cafe: before = 2 01d4:trace:ole:apartment_release 1b00000cafe: after = 2 01d4:trace:ole:rpc_get_local_class_object clsid {f9c82199-b002-41b4-8b00-0f1eca89425f}, riid {00000001-0000-0000-c000-000000000046} ... 01d4:trace:ole:create_local_service Attempting to start Local service for {f9c82199-b002-41b4-8b00-0f1eca89425f} ... 01d4:err:ole:create_server class {f9c82199-b002-41b4-8b00-0f1eca89425f} not registered 01d4:err:ole:com_get_class_object no class object {f9c82199-b002-41b4-8b00-0f1eca89425f} could be created for context 0x4 01d4:Ret combase.CoCreateInstanceEx() retval=80040154 ret=261b3d3d ... 01d4:trace:ole:BindCtxImpl_Release 00000000004F47B0 refcount 0. 01d4:trace:ole:BindCtxImpl_ReleaseBoundObjects (00000000004F47B0) ... 01d4:Ret ole32.CoGetObject() retval=80040154 ret=6447f1017c7 ... --- snip ---
$ wine --version wine-6.22-1-ge102e9877ba
Regards