PDA

Показать полную графическую версию : [решено] Не запускается Windows Performance Analyzer


IgorAvram
06-04-2021, 23:05
Здравствуйте!

Столкнулся с проблемой длительной загрузки Windows 10 (после экрана загрузки с логотипом Windows - чёрный экран и круг загрузки, и только после этого прогрузка экрана входа в учётную запись ≈ 1 мин. на всю загрузку).
Узнал про программу Windows Performance Analyzer (WAP) для детализации этапов загрузки всех необходимых элементов, но проблема в том, что при запуске данной программы она открывается на 1 сек. и сразу "вылетает".
По рекомендациям из сети пробовал следующее:
sfc /scannow
dism /online /cleanup-image /restorehealth
Переустановка самой программы WAP (например, установка из Microsoft Store);
Отключение периферийных устройств;
Отключение антивируса, драйверов сетевой карты, видео- и аудиокарт.

Спецификация моего ПК:
AMD Ryzen 5 2600X
NVIDIA GeForce GTS 250
Hitachi HyperX Fury 3D 240GB

ОС Windows 10 Pro 20H2 19042.867

Лог:
Приложение: wpa.exe
Версия платформы: v4.0.30319
Описание. Процесс был завершен из-за необработанного исключения.
Сведения об исключении: System.ArithmeticException

Сведения об исключении: System.OverflowException
в System.Windows.Media.Imaging.ColorConvertedBitmap.FinalizeCreation()
в System.Windows.Media.Imaging.BitmapSource.CreateCachedBitmap(System.Windows.Media.Imaging.BitmapFram e, System.Windows.Media.Imaging.BitmapSourceSafeMILHandle, System.Windows.Media.Imaging.BitmapCreateOptions, System.Windows.Media.Imaging.BitmapCacheOption, System.Windows.Media.Imaging.BitmapPalette)
в System.Windows.Media.Imaging.BitmapFrameDecode.FinalizeCreation()
в System.Windows.Media.Imaging.BitmapDecoder.SetupFrames(System.Windows.Media.Imaging.BitmapDecoder, System.Collections.ObjectModel.ReadOnlyCollection`1<System.Windows.Media.Imaging.BitmapFrame>)
в System.Windows.Media.Imaging.BitmapDecoder.get_Frames()
в System.Windows.Media.Imaging.BitmapFrame.CreateFromUriOrStream(System.Uri, System.Uri, System.IO.Stream, System.Windows.Media.Imaging.BitmapCreateOptions, System.Windows.Media.Imaging.BitmapCacheOption, System.Net.Cache.RequestCachePolicy)
в System.Windows.Media.ImageSourceConverter.ConvertFrom(System.ComponentModel.ITypeDescriptorContext, System.Globalization.CultureInfo, System.Object)
в MS.Internal.Xaml.Runtime.ClrObjectRuntime.CallProvideValue(System.Windows.Markup.MarkupExtension, System.IServiceProvider)

Сведения об исключении: System.Windows.Markup.XamlParseException
в System.Windows.Markup.XamlReader.RewrapException(System.Exception, System.Xaml.IXamlLineInfo, System.Uri)
в System.Windows.FrameworkTemplate.LoadTemplateXaml(System.Xaml.XamlReader, System.Xaml.XamlObjectWriter)
в System.Windows.FrameworkTemplate.LoadTemplateXaml(System.Xaml.XamlObjectWriter)
в System.Windows.FrameworkTemplate.LoadOptimizedTemplateContent(System.Windows.DependencyObject, System.Windows.Markup.IComponentConnector, System.Windows.Markup.IStyleConnector, System.Collections.Generic.List`1<System.Windows.DependencyObject>, System.Windows.UncommonField`1<System.Collections.Hashtable>)
в System.Windows.FrameworkTemplate.LoadContent(System.Windows.DependencyObject, System.Collections.Generic.List`1<System.Windows.DependencyObject>)
в System.Windows.StyleHelper.ApplyTemplateContent(System.Windows.UncommonField`1<System.Collections.Specialized.HybridDictionary[]>, System.Windows.DependencyObject, System.Windows.FrameworkElementFactory, Int32, System.Collections.Specialized.HybridDictionary, System.Windows.FrameworkTemplate)
в System.Windows.FrameworkTemplate.ApplyTemplateContent(System.Windows.UncommonField`1<System.Collections.Specialized.HybridDictionary[]>, System.Windows.FrameworkElement)
в System.Windows.FrameworkElement.ApplyTemplate()
в System.Windows.FrameworkElement.MeasureCore(System.Windows.Size)
в System.Windows.UIElement.Measure(System.Windows.Size)
в MS.Internal.Helper.MeasureElementWithSingleChild(System.Windows.UIElement, System.Windows.Size)
в System.Windows.Controls.ContentPresenter.MeasureOverride(System.Windows.Size)
в System.Windows.FrameworkElement.MeasureCore(System.Windows.Size)
в System.Windows.UIElement.Measure(System.Windows.Size)
в System.Windows.Controls.DockPanel.MeasureOverride(System.Windows.Size)
в System.Windows.FrameworkElement.MeasureCore(System.Windows.Size)
в System.Windows.UIElement.Measure(System.Windows.Size)
в System.Windows.Controls.Control.MeasureOverride(System.Windows.Size)
в System.Windows.FrameworkElement.MeasureCore(System.Windows.Size)
в System.Windows.UIElement.Measure(System.Windows.Size)
в Microsoft.VisualStudio.PlatformUI.SplitterPanel.Measure(System.Windows.Size, System.Windows.Controls.Orientation, System.Collections.Generic.IEnumerable`1<Microsoft.VisualStudio.PlatformUI.SplitterMeasureData>, Boolean)
в Microsoft.VisualStudio.PlatformUI.SplitterPanel.MeasureOverride(System.Windows.Size)
в System.Windows.FrameworkElement.MeasureCore(System.Windows.Size)
в System.Windows.UIElement.Measure(System.Windows.Size)
в System.Windows.Controls.Control.MeasureOverride(System.Windows.Size)
в System.Windows.FrameworkElement.MeasureCore(System.Windows.Size)
в System.Windows.UIElement.Measure(System.Windows.Size)
в MS.Internal.Helper.MeasureElementWithSingleChild(System.Windows.UIElement, System.Windows.Size)
в System.Windows.Controls.ContentPresenter.MeasureOverride(System.Windows.Size)
в System.Windows.FrameworkElement.MeasureCore(System.Windows.Size)
в System.Windows.UIElement.Measure(System.Windows.Size)
в System.Windows.Controls.DockPanel.MeasureOverride(System.Windows.Size)
в System.Windows.FrameworkElement.MeasureCore(System.Windows.Size)
в System.Windows.UIElement.Measure(System.Windows.Size)
в System.Windows.Controls.Control.MeasureOverride(System.Windows.Size)
в System.Windows.FrameworkElement.MeasureCore(System.Windows.Size)
в System.Windows.UIElement.Measure(System.Windows.Size)
в Microsoft.VisualStudio.PlatformUI.SplitterPanel.Measure(System.Windows.Size, System.Windows.Controls.Orientation, System.Collections.Generic.IEnumerable`1<Microsoft.VisualStudio.PlatformUI.SplitterMeasureData>, Boolean)
в Microsoft.VisualStudio.PlatformUI.SplitterPanel.MeasureOverride(System.Windows.Size)
в System.Windows.FrameworkElement.MeasureCore(System.Windows.Size)
в System.Windows.UIElement.Measure(System.Windows.Size)
в System.Windows.Controls.Control.MeasureOverride(System.Windows.Size)
в System.Windows.FrameworkElement.MeasureCore(System.Windows.Size)
в System.Windows.UIElement.Measure(System.Windows.Size)
в MS.Internal.Helper.MeasureElementWithSingleChild(System.Windows.UIElement, System.Windows.Size)
в System.Windows.Controls.ContentPresenter.MeasureOverride(System.Windows.Size)
в System.Windows.FrameworkElement.MeasureCore(System.Windows.Size)
в System.Windows.UIElement.Measure(System.Windows.Size)
в System.Windows.Controls.DockPanel.MeasureOverride(System.Windows.Size)
в System.Windows.FrameworkElement.MeasureCore(System.Windows.Size)
в System.Windows.UIElement.Measure(System.Windows.Size)
в System.Windows.Controls.Control.MeasureOverride(System.Windows.Size)
в System.Windows.FrameworkElement.MeasureCore(System.Windows.Size)
в System.Windows.UIElement.Measure(System.Windows.Size)
в Microsoft.VisualStudio.PlatformUI.SplitterPanel.Measure(System.Windows.Size, System.Windows.Controls.Orientation, System.Collections.Generic.IEnumerable`1<Microsoft.VisualStudio.PlatformUI.SplitterMeasureData>, Boolean)
в Microsoft.VisualStudio.PlatformUI.SplitterPanel.MeasureOverride(System.Windows.Size)
в System.Windows.FrameworkElement.MeasureCore(System.Windows.Size)
в System.Windows.UIElement.Measure(System.Windows.Size)
в System.Windows.Controls.Control.MeasureOverride(System.Windows.Size)
в System.Windows.FrameworkElement.MeasureCore(System.Windows.Size)
в System.Windows.UIElement.Measure(System.Windows.Size)
в MS.Internal.Helper.MeasureElementWithSingleChild(System.Windows.UIElement, System.Windows.Size)
в System.Windows.Controls.ContentPresenter.MeasureOverride(System.Windows.Size)
в System.Windows.FrameworkElement.MeasureCore(System.Windows.Size)
в System.Windows.UIElement.Measure(System.Windows.Size)
в System.Windows.Controls.DockPanel.MeasureOverride(System.Windows.Size)
в System.Windows.FrameworkElement.MeasureCore(System.Windows.Size)
в System.Windows.UIElement.Measure(System.Windows.Size)
в System.Windows.Controls.Control.MeasureOverride(System.Windows.Size)
в System.Windows.FrameworkElement.MeasureCore(System.Windows.Size)
в System.Windows.UIElement.Measure(System.Windows.Size)
в Microsoft.VisualStudio.PlatformUI.SplitterPanel.Measure(System.Windows.Size, System.Windows.Controls.Orientation, System.Collections.Generic.IEnumerable`1<Microsoft.VisualStudio.PlatformUI.SplitterMeasureData>, Boolean)
в Microsoft.VisualStudio.PlatformUI.SplitterPanel.MeasureOverride(System.Windows.Size)
в System.Windows.FrameworkElement.MeasureCore(System.Windows.Size)
в System.Windows.UIElement.Measure(System.Windows.Size)
в System.Windows.Controls.Control.MeasureOverride(System.Windows.Size)
в System.Windows.FrameworkElement.MeasureCore(System.Windows.Size)
в System.Windows.UIElement.Measure(System.Windows.Size)
в MS.Internal.Helper.MeasureElementWithSingleChild(System.Windows.UIElement, System.Windows.Size)
в System.Windows.Controls.ContentPresenter.MeasureOverride(System.Windows.Size)
в System.Windows.FrameworkElement.MeasureCore(System.Windows.Size)
в System.Windows.UIElement.Measure(System.Windows.Size)
в System.Windows.Controls.DockPanel.MeasureOverride(System.Windows.Size)
в System.Windows.FrameworkElement.MeasureCore(System.Windows.Size)
в System.Windows.UIElement.Measure(System.Windows.Size)
в System.Windows.Controls.Control.MeasureOverride(System.Windows.Size)
в System.Windows.FrameworkElement.MeasureCore(System.Windows.Size)
в System.Windows.UIElement.Measure(System.Windows.Size)
в Microsoft.VisualStudio.PlatformUI.SplitterPanel.Measure(System.Windows.Size, System.Windows.Controls.Orientation, System.Collections.Generic.IEnumerable`1<Microsoft.VisualStudio.PlatformUI.SplitterMeasureData>, Boolean)
в Microsoft.VisualStudio.PlatformUI.SplitterPanel.MeasureOverride(System.Windows.Size)
в System.Windows.FrameworkElement.MeasureCore(System.Windows.Size)
в System.Windows.UIElement.Measure(System.Windows.Size)
в System.Windows.Controls.Control.MeasureOverride(System.Windows.Size)
в System.Windows.FrameworkElement.MeasureCore(System.Windows.Size)
в System.Windows.UIElement.Measure(System.Windows.Size)
в MS.Internal.Helper.MeasureElementWithSingleChild(System.Windows.UIElement, System.Windows.Size)
в System.Windows.Controls.ContentPresenter.MeasureOverride(System.Windows.Size)
в System.Windows.FrameworkElement.MeasureCore(System.Windows.Size)
в System.Windows.UIElement.Measure(System.Windows.Size)
в System.Windows.Controls.DockPanel.MeasureOverride(System.Windows.Size)
в System.Windows.FrameworkElement.MeasureCore(System.Windows.Size)
в System.Windows.UIElement.Measure(System.Windows.Size)
в System.Windows.Controls.Control.MeasureOverride(System.Windows.Size)
в System.Windows.FrameworkElement.MeasureCore(System.Windows.Size)
в System.Windows.UIElement.Measure(System.Windows.Size)
в Microsoft.VisualStudio.PlatformUI.SplitterPanel.Measure(System.Windows.Size, System.Windows.Controls.Orientation, System.Collections.Generic.IEnumerable`1<Microsoft.VisualStudio.PlatformUI.SplitterMeasureData>, Boolean)
в Microsoft.VisualStudio.PlatformUI.SplitterPanel.MeasureOverride(System.Windows.Size)
в System.Windows.FrameworkElement.MeasureCore(System.Windows.Size)
в System.Windows.UIElement.Measure(System.Windows.Size)
в System.Windows.Controls.Control.MeasureOverride(System.Windows.Size)
в System.Windows.FrameworkElement.MeasureCore(System.Windows.Size)
в System.Windows.UIElement.Measure(System.Windows.Size)
в MS.Internal.Helper.MeasureElementWithSingleChild(System.Windows.UIElement, System.Windows.Size)
в System.Windows.Controls.ContentPresenter.MeasureOverride(System.Windows.Size)
в System.Windows.FrameworkElement.MeasureCore(System.Windows.Size)
в System.Windows.UIElement.Measure(System.Windows.Size)
в System.Windows.Controls.Grid.MeasureOverride(System.Windows.Size)
в System.Windows.FrameworkElement.MeasureCore(System.Windows.Size)
в System.Windows.UIElement.Measure(System.Windows.Size)
в System.Windows.Controls.Border.MeasureOverride(System.Windows.Size)
в System.Windows.FrameworkElement.MeasureCore(System.Windows.Size)
в System.Windows.UIElement.Measure(System.Windows.Size)
в System.Windows.Controls.Control.MeasureOverride(System.Windows.Size)
в System.Windows.FrameworkElement.MeasureCore(System.Windows.Size)
в System.Windows.UIElement.Measure(System.Windows.Size)
в MS.Internal.Helper.MeasureElementWithSingleChild(System.Windows.UIElement, System.Windows.Size)
в System.Windows.Controls.ContentPresenter.MeasureOverride(System.Windows.Size)
в System.Windows.FrameworkElement.MeasureCore(System.Windows.Size)
в System.Windows.UIElement.Measure(System.Windows.Size)
в System.Windows.Controls.Grid.MeasureCell(Int32, Boolean)
в System.Windows.Controls.Grid.MeasureCellsGroup(Int32, System.Windows.Size, Boolean, Boolean, Boolean ByRef)
в System.Windows.Controls.Grid.MeasureOverride(System.Windows.Size)
в System.Windows.FrameworkElement.MeasureCore(System.Windows.Size)
в System.Windows.UIElement.Measure(System.Windows.Size)
в System.Windows.Controls.Control.MeasureOverride(System.Windows.Size)
в System.Windows.FrameworkElement.MeasureCore(System.Windows.Size)
в System.Windows.UIElement.Measure(System.Windows.Size)
в MS.Internal.Helper.MeasureElementWithSingleChild(System.Windows.UIElement, System.Windows.Size)
в System.Windows.Controls.ContentPresenter.MeasureOverride(System.Windows.Size)
в System.Windows.FrameworkElement.MeasureCore(System.Windows.Size)
в System.Windows.UIElement.Measure(System.Windows.Size)
в System.Windows.Controls.Control.MeasureOverride(System.Windows.Size)
в System.Windows.FrameworkElement.MeasureCore(System.Windows.Size)
в System.Windows.UIElement.Measure(System.Windows.Size)
в MS.Internal.Helper.MeasureElementWithSingleChild(System.Windows.UIElement, System.Windows.Size)
в System.Windows.Controls.ContentPresenter.MeasureOverride(System.Windows.Size)
в System.Windows.FrameworkElement.MeasureCore(System.Windows.Size)
в System.Windows.UIElement.Measure(System.Windows.Size)
в System.Windows.Controls.Control.MeasureOverride(System.Windows.Size)
в System.Windows.FrameworkElement.MeasureCore(System.Windows.Size)
в System.Windows.UIElement.Measure(System.Windows.Size)
в System.Windows.Controls.Grid.MeasureCell(Int32, Boolean)
в System.Windows.Controls.Grid.MeasureCellsGroup(Int32, System.Windows.Size, Boolean, Boolean, Boolean ByRef)
в System.Windows.Controls.Grid.MeasureOverride(System.Windows.Size)
в System.Windows.FrameworkElement.MeasureCore(System.Windows.Size)
в System.Windows.UIElement.Measure(System.Windows.Size)
в System.Windows.ContextLayoutManager.UpdateLayout()
в System.Windows.ContextLayoutManager.UpdateLayoutCallback(System.Object)
в System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
в System.Windows.Media.MediaContext.RenderMessageHandlerCore(System.Object)
в System.Windows.Media.MediaContext.RenderMessageHandler(System.Object)
в System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
в System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
в System.Windows.Threading.DispatcherOperation.InvokeImpl()
в System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
в System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
в System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
в MS.Internal.CulturePreservingExecutionContext.Run(MS.Internal.CulturePreservingExecutionContext, System.Threading.ContextCallback, System.Object)
в System.Windows.Threading.DispatcherOperation.Invoke()
в System.Windows.Threading.Dispatcher.ProcessQueue()
в System.Windows.Threading.Dispatcher.WndProcHook(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
в MS.Win32.HwndWrapper.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
в MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object)
в System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
в System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
в System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32)
в MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr)
в MS.Win32.UnsafeNativeMethods.DispatchMessage(System.Windows.Interop.MSG ByRef)
в System.Windows.Threading.Dispatcher.PushFrameImpl(System.Windows.Threading.DispatcherFrame)
в System.Windows.Application.RunDispatcher(System.Object)
в System.Windows.Application.RunInternal(System.Windows.Window)
в Microsoft.Performance.Shell.WpaController+<>c__DisplayClass16_1.<.ctor>b__2()

Сведения об исключении: System.AggregateException
в Microsoft.Performance.Shell.WpaController+<>c__DisplayClass16_0.<.ctor>b__0()
в System.Threading.Tasks.Task`1[[System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].InnerInvoke()
в System.Threading.Tasks.Task.Execute()

Сведения об исключении: System.AggregateException
в Microsoft.Performance.Shell.WpaController.<.ctor>b__16_1(System.Threading.Tasks.Task`1<Int32>)
в System.Threading.Tasks.ContinuationResultTaskFromResultTask`2[[System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].InnerInvoke()
в System.Threading.Tasks.Task.Execute()

Сведения об исключении: System.AggregateException
в System.Threading.Tasks.Task.ThrowIfExceptional(Boolean)
в System.Threading.Tasks.Task.Wait(Int32, System.Threading.CancellationToken)
в Microsoft.Performance.Analyzer.Program.Main(System.String[])

Переустановка системы не подходит, хочу разобраться с данной проблемой. Собственно, мне нужна ваша помочь в решении данного вопроса)

Vadikan
07-04-2021, 10:26
IgorAvram,
1. Удалите установленную программу или весь ADK.
2. Скачайте последнюю версию ADK https://developer.microsoft.com/windows/hardware/windows-assessment-deployment-kit и установите средства оценки производительности
3. Если проблема наблюдается, установите последнюю инсайдерскую версию ADK с той же страницы (Insider Preview)

IgorAvram
07-04-2021, 18:54
Удалил установленную программу и поставил ту, которая по ссылке - результат тот же.

После установки Insider Preview - программа не запустилась, но лог запуска отобразился в окне самой программы.

Application: wpa.exe
CoreCLR Version: 4.700.20.47201
.NET Core Version:
Description: The process was terminated due to an unhandled exception.
Exception Info: System.AggregateException: One or more errors occurred. (One or more errors occurred. (UI Thread Exception (Provide value on 'System.Windows.Baml2006.TypeConverterMarkupExtension' threw an exception.)))
---> System.AggregateException: One or more errors occurred. (UI Thread Exception (Provide value on 'System.Windows.Baml2006.TypeConverterMarkupExtension' threw an exception.))
---> System.AggregateException: UI Thread Exception (Provide value on 'System.Windows.Baml2006.TypeConverterMarkupExtension' threw an exception.)
---> System.Windows.Markup.XamlParseException: Provide value on 'System.Windows.Baml2006.TypeConverterMarkupExtension' threw an exception.
---> System.OverflowException: The image data generated an overflow during processing.
---> System.ArithmeticException: Overflow or underflow in the arithmetic operation.
--- End of inner exception stack trace ---
at System.Windows.Media.Imaging.ColorConvertedBitmap.FinalizeCreation()
at System.Windows.Media.Imaging.ColorConvertedBitmap..ctor(BitmapSource source, ColorContext sourceColorContext, ColorContext destinationColorContext, PixelFormat format)
at System.Windows.Media.Imaging.BitmapSource.CreateCachedBitmap(BitmapFrame frame, BitmapSourceSafeMILHandle wicSource, BitmapCreateOptions createOptions, BitmapCacheOption cacheOption, BitmapPalette palette)
at System.Windows.Media.Imaging.BitmapFrameDecode.FinalizeCreation()
at System.Windows.Media.Imaging.BitmapFrameDecode..ctor(Int32 frameNumber, BitmapCreateOptions createOptions, BitmapCacheOption cacheOption, BitmapDecoder decoder)
at System.Windows.Media.Imaging.BitmapDecoder.SetupFrames(BitmapDecoder decoder, ReadOnlyCollection`1 frames)
at System.Windows.Media.Imaging.BitmapDecoder.get_Frames()
at System.Windows.Media.Imaging.BitmapFrame.CreateFromUriOrStream(Uri baseUri, Uri uri, Stream stream, BitmapCreateOptions createOptions, BitmapCacheOption cacheOption, RequestCachePolicy uriCachePolicy)
at System.Windows.Media.ImageSourceConverter.ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, Object value)
at System.Windows.Baml2006.TypeConverterMarkupExtension.ProvideValue(IServiceProvider serviceProvider)
at MS.Internal.Xaml.Runtime.ClrObjectRuntime.CallProvideValue(MarkupExtension me, IServiceProvider serviceProvider)
--- End of inner exception stack trace ---
at System.Windows.Markup.XamlReader.RewrapException(Exception e, IXamlLineInfo lineInfo, Uri baseUri)
at System.Windows.Markup.XamlReader.RewrapException(Exception e, Uri baseUri)
at System.Windows.FrameworkTemplate.LoadTemplateXaml(XamlReader templateReader, XamlObjectWriter currentWriter)
at System.Windows.FrameworkTemplate.LoadOptimizedTemplateContent(DependencyObject container, IComponentConnector componentConnector, IStyleConnector styleConnector, List`1 affectedChildren, UncommonField`1 templatedNonFeChildrenField)
at System.Windows.FrameworkTemplate.LoadContent(DependencyObject container, List`1 affectedChildren)
at System.Windows.StyleHelper.ApplyTemplateContent(UncommonField`1 dataField, DependencyObject container, FrameworkElementFactory templateRoot, Int32 lastChildIndex, HybridDictionary childIndexFromChildID, FrameworkTemplate frameworkTemplate)
at System.Windows.FrameworkTemplate.ApplyTemplateContent(UncommonField`1 templateDataField, FrameworkElement container)
at System.Windows.FrameworkElement.ApplyTemplate()
at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
at System.Windows.UIElement.Measure(Size availableSize)
at MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint)
at System.Windows.Controls.ContentPresenter.MeasureOverride(Size constraint)
at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
at System.Windows.UIElement.Measure(Size availableSize)
at System.Windows.Controls.DockPanel.MeasureOverride(Size constraint)
at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
at System.Windows.UIElement.Measure(Size availableSize)
at System.Windows.Controls.Control.MeasureOverride(Size constraint)
at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
at System.Windows.UIElement.Measure(Size availableSize)
at Microsoft.VisualStudio.PlatformUI.SplitterPanel.Measure(Size availableSize, Orientation orientation, IEnumerable`1 measureData, Boolean remeasureElements)
at Microsoft.VisualStudio.PlatformUI.SplitterPanel.MeasureOverride(Size availableSize)
at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
at System.Windows.UIElement.Measure(Size availableSize)
at System.Windows.Controls.Control.MeasureOverride(Size constraint)
at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
at System.Windows.UIElement.Measure(Size availableSize)
at MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint)
at System.Windows.Controls.ContentPresenter.MeasureOverride(Size constraint)
at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
at System.Windows.UIElement.Measure(Size availableSize)
at System.Windows.Controls.DockPanel.MeasureOverride(Size constraint)
at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
at System.Windows.UIElement.Measure(Size availableSize)
at System.Windows.Controls.Control.MeasureOverride(Size constraint)
at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
at System.Windows.UIElement.Measure(Size availableSize)
at Microsoft.VisualStudio.PlatformUI.SplitterPanel.Measure(Size availableSize, Orientation orientation, IEnumerable`1 measureData, Boolean remeasureElements)
at Microsoft.VisualStudio.PlatformUI.SplitterPanel.MeasureOverride(Size availableSize)
at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
at System.Windows.UIElement.Measure(Size availableSize)
at System.Windows.Controls.Control.MeasureOverride(Size constraint)
at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
at System.Windows.UIElement.Measure(Size availableSize)
at MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint)
at System.Windows.Controls.ContentPresenter.MeasureOverride(Size constraint)
at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
at System.Windows.UIElement.Measure(Size availableSize)
at System.Windows.Controls.DockPanel.MeasureOverride(Size constraint)
at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
at System.Windows.UIElement.Measure(Size availableSize)
at System.Windows.Controls.Control.MeasureOverride(Size constraint)
at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
at System.Windows.UIElement.Measure(Size availableSize)
at Microsoft.VisualStudio.PlatformUI.SplitterPanel.Measure(Size availableSize, Orientation orientation, IEnumerable`1 measureData, Boolean remeasureElements)
at Microsoft.VisualStudio.PlatformUI.SplitterPanel.MeasureOverride(Size availableSize)
at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
at System.Windows.UIElement.Measure(Size availableSize)
at System.Windows.Controls.Control.MeasureOverride(Size constraint)
at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
at System.Windows.UIElement.Measure(Size availableSize)
at MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint)
at System.Windows.Controls.ContentPresenter.MeasureOverride(Size constraint)
at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
at System.Windows.UIElement.Measure(Size availableSize)
at System.Windows.Controls.DockPanel.MeasureOverride(Size constraint)
at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
at System.Windows.UIElement.Measure(Size availableSize)
at System.Windows.Controls.Control.MeasureOverride(Size constraint)
at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
at System.Windows.UIElement.Measure(Size availableSize)
at Microsoft.VisualStudio.PlatformUI.SplitterPanel.Measure(Size availableSize, Orientation orientation, IEnumerable`1 measureData, Boolean remeasureElements)
at Microsoft.VisualStudio.PlatformUI.SplitterPanel.MeasureOverride(Size availableSize)
at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
at System.Windows.UIElement.Measure(Size availableSize)
at System.Windows.Controls.Control.MeasureOverride(Size constraint)
at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
at System.Windows.UIElement.Measure(Size availableSize)
at MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint)
at System.Windows.Controls.ContentPresenter.MeasureOverride(Size constraint)
at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
at System.Windows.UIElement.Measure(Size availableSize)
at System.Windows.Controls.DockPanel.MeasureOverride(Size constraint)
at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
at System.Windows.UIElement.Measure(Size availableSize)
at System.Windows.Controls.Control.MeasureOverride(Size constraint)
at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
at System.Windows.UIElement.Measure(Size availableSize)
at Microsoft.VisualStudio.PlatformUI.SplitterPanel.Measure(Size availableSize, Orientation orientation, IEnumerable`1 measureData, Boolean remeasureElements)
at Microsoft.VisualStudio.PlatformUI.SplitterPanel.MeasureOverride(Size availableSize)
at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
at System.Windows.UIElement.Measure(Size availableSize)
at System.Windows.Controls.Control.MeasureOverride(Size constraint)
at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
at System.Windows.UIElement.Measure(Size availableSize)
at MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint)
at System.Windows.Controls.ContentPresenter.MeasureOverride(Size constraint)
at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
at System.Windows.UIElement.Measure(Size availableSize)
at System.Windows.Controls.DockPanel.MeasureOverride(Size constraint)
at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
at System.Windows.UIElement.Measure(Size availableSize)
at System.Windows.Controls.Control.MeasureOverride(Size constraint)
at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
at System.Windows.UIElement.Measure(Size availableSize)
at Microsoft.VisualStudio.PlatformUI.SplitterPanel.Measure(Size availableSize, Orientation orientation, IEnumerable`1 measureData, Boolean remeasureElements)
at Microsoft.VisualStudio.PlatformUI.SplitterPanel.MeasureOverride(Size availableSize)
at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
at System.Windows.UIElement.Measure(Size availableSize)
at System.Windows.Controls.Control.MeasureOverride(Size constraint)
at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
at System.Windows.UIElement.Measure(Size availableSize)
at MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint)
at System.Windows.Controls.ContentPresenter.MeasureOverride(Size constraint)
at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
at System.Windows.UIElement.Measure(Size availableSize)
at System.Windows.Controls.Grid.MeasureOverride(Size constraint)
at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
at System.Windows.UIElement.Measure(Size availableSize)
at System.Windows.Controls.Border.MeasureOverride(Size constraint)
at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
at System.Windows.UIElement.Measure(Size availableSize)
at System.Windows.Controls.Control.MeasureOverride(Size constraint)
at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
at System.Windows.UIElement.Measure(Size availableSize)
at MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint)
at System.Windows.Controls.ContentPresenter.MeasureOverride(Size constraint)
at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
at System.Windows.UIElement.Measure(Size availableSize)
at System.Windows.Controls.Grid.MeasureCell(Int32 cell, Boolean forceInfinityV)
at System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV, Boolean& hasDesiredSizeUChanged)
at System.Windows.Controls.Grid.MeasureOverride(Size constraint)
at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
at System.Windows.UIElement.Measure(Size availableSize)
at System.Windows.Controls.Control.MeasureOverride(Size constraint)
at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
at System.Windows.UIElement.Measure(Size availableSize)
at MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint)
at System.Windows.Controls.ContentPresenter.MeasureOverride(Size constraint)
at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
at System.Windows.UIElement.Measure(Size availableSize)
at System.Windows.Controls.Control.MeasureOverride(Size constraint)
at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
at System.Windows.UIElement.Measure(Size availableSize)
at MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint)
at System.Windows.Controls.ContentPresenter.MeasureOverride(Size constraint)
at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
at System.Windows.UIElement.Measure(Size availableSize)
at System.Windows.Controls.Control.MeasureOverride(Size constraint)
at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
at System.Windows.UIElement.Measure(Size availableSize)
at System.Windows.Controls.Grid.MeasureCell(Int32 cell, Boolean forceInfinityV)
at System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV, Boolean& hasDesiredSizeUChanged)
at System.Windows.Controls.Grid.MeasureOverride(Size constraint)
at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
at System.Windows.UIElement.Measure(Size availableSize)
at System.Windows.ContextLayoutManager.UpdateLayout()
at System.Windows.ContextLayoutManager.UpdateLayoutCallback(Object arg)
at System.Windows.Media.MediaContext.InvokeOnRenderCallback.DoWork()
at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
at System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
at System.Windows.Threading.DispatcherOperation.InvokeImpl()
at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
at MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(Object obj)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location where exception was thrown ---
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
at System.Windows.Threading.DispatcherOperation.Invoke()
at System.Windows.Threading.Dispatcher.ProcessQueue()
at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
at System.Windows.Threading.Dispatcher.Run()
at System.Windows.Application.RunDispatcher(Object ignore)
at System.Windows.Application.RunInternal(Window window)
at System.Windows.Application.Run()
at Microsoft.Performance.Shell.WpaController.<>c__DisplayClass11_2.<.ctor>b__2()
--- End of inner exception stack trace ---
at Microsoft.Performance.Shell.WpaController.<>c__DisplayClass11_1.<.ctor>b__0()
at System.Threading.Tasks.Task`1.InnerInvoke()
at System.Threading.Tasks.Task.<>c.<.cctor>b__274_0(Object obj)
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location where exception was thrown ---
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of inner exception stack trace ---
at Microsoft.Performance.Shell.WpaController.<>c__DisplayClass11_0.<.ctor>b__1(Task`1 t)
at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
at System.Threading.Tasks.Task.<>c.<.cctor>b__274_0(Object obj)
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location where exception was thrown ---
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at Microsoft.Performance.Analyzer.Program.Main(String[] args)

Petya V4sechkin
08-04-2021, 18:19
IgorAvram, можете сделать лог Process Monitor (https://docs.microsoft.com/en-us/sysinternals/downloads/procmon) следующим образом:
запустите Process Monitor;
попытайтесь запустить WPA, чтобы получилась ошибка;
сохраните лог: меню File -> Save -> PML-формат;
заархивируйте и выложите на файлообменник, например dropmefiles.com.

IgorAvram
08-04-2021, 20:00
Пожалуйста: https://dropmefiles.com/My9pn

Petya V4sechkin
10-04-2021, 11:18
IgorAvram, вчера несколько раз смотрел лог, и было ясно, что проблема как-то связана с цветовыми профилями. С этим согласуется и имя класса ColorConvertedBitmap в сообщении об ошибке. Но в логе фигурируют только стандартные системные профили Windows, а не какие-то сторонние ICC/ICM, поэтому я просто не мог поверить в эту версию (и махнул рукой на тему). А сегодня ещё поискал в интернете - и действительно:
Crash in image creation at System.Windows.Media.Imaging.ColorConvertedBitmap.FinalizeCreation (https://localjoost.github.io/Crash-in-image-creation-at-System.Windows.Media.Imaging.ColorConvertedBitmap.FinalizeCreation/)
Причина в неверно выбранном профиле sRGB, у вас там тоже прописан:
wpa.exe 9196 RegQueryValue HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ICM\RegisteredProfiles\sRGB SUCCESS Type: REG_SZ, Length: 22, Data: wsRGB.cdmp

IgorAvram
10-04-2021, 18:47
Спасибо большое за статью! Настройки цветового профиля стояли "по умолчанию". Скопировал настройки цветового профиля из другой Windows 10, где WPA запускалась. Итог, у меня WPA запустилась тоже!
Прилагаю скриншот с настройками под которыми всё заработало.

164308




© OSzone.net 2001-2012