https://bugs.winehq.org/show_bug.cgi?id=48023
--- Comment #11 from Lorenzo Ferrillo lorenzofer@live.it --- Created attachment 74527 --> https://bugs.winehq.org/attachment.cgi?id=74527 Add implementation of PerfSetULongCounterValue and PerfSetULongLongCounterValue
With the previous patches, after selecting a solution project it crash on unimplemented advapi32.PerfSetULongCounterValue and after advapi32.PerfSetULongLongCounterValue.
Tried to implement them in the provided patch. It seems to work and go further. (this is always with devenv.exe /resetSettings)
Now it goes a bit further, but still terminate with a Fail Fast exception.
0170:err:eventlog:ReportEventW L"Messaggio: Failed to schedule time on the UI thread. A continuation would never execute.\n" 0170:err:eventlog:ReportEventW L"Stack:\n" 0170:err:eventlog:ReportEventW L" in System.Environment.FailFast(System.String, System.Exception)\n" 0170:err:eventlog:ReportEventW L" in Microsoft.VisualStudio.Services.TaskSchedulerService.VsUIThreadScheduler+<>c.<RequestRpcProcessing>b__6_1(System.Threading.Tasks.Task)\n" 0170:err:eventlog:ReportEventW L" in System.Threading.Tasks.ContinuationTaskFromTask.InnerInvoke()\n" 0170:err:eventlog:ReportEventW L" in System.Threading.Tasks.Task.Execute()\n" 0170:err:eventlog:ReportEventW L" in System.Threading.Tasks.Task.ExecutionContextCallback(System.Object)\n" 0170:err:eventlog:ReportEventW L" in System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)\n" 0170:err:eventlog:ReportEventW L" in System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)\n" 0170:err:eventlog:ReportEventW L" in System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef)\n" 0170:err:eventlog:ReportEventW L" in System.Threading.Tasks.Task.ExecuteEntry(Boolean)\n" 0170:err:eventlog:ReportEventW L" in System.Threading.Tasks.Task.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()\n" 0170:err:eventlog:ReportEventW L" in System.Threading.ThreadPoolWorkQueue.Dispatch()\n" 0170:err:eventlog:ReportEventW L" in System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()\n"
Reason seems to be related to 0154:err:ole:marshal_object Failed to create an IRpcStubBuffer from IPSFactory for {20e8b039-a51a-40c6-8f16-2a8bb99e046f} with error 0x80004002 0154:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hr 0x80004002 0154:err:ole:CoMarshalInterface Failed to marshal the interface {20e8b039-a51a-40c6-8f16-2a8bb99e046f}, hr 0x80004002
20e8b039-a51a-40c6-8f16-2a8bb99e046f is IVsInvokableInterface a 4 method interface (Unknown methods + Invoke) This interface doens't exist anywhere in the registry and isn't present in the Automation dlls and their manifests. Tried on a windows laptop with VS installed, it wasn't present there too.
This interface seems to related to the IVsInvokerInterface - 20705D94-A39B-4741-B5E1-041C5985EF61 (seems like this one handle a context switch and invoke the function of a IVsInvokableInterface, but I'm not sure if this analysis is correct), as its asked for when doing some unmarshalling operations on this one.