Closed jaimecbernardo closed 3 years ago
@jaimecbernardo do you have a crash dump you can share ?
@ranjeshj , I'd be happy to. How can I produce one?
I've managed to do it adding keys to the registry in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps\PowerToys.Settings.exe
The "DumpType=2" is too large to share (300 MB). Here's the analysis from WinDbg:
Loading Dump File [C:\PTSettingsDumps\PowerToys.Settings.exe.3632.dmp]
User Mini Dump File with Full Memory: Only application data is available
Symbol search path is: srv*
Executable search path is:
Windows 10 Version 18363 MP (12 procs) Free x64
Product: WinNt, suite: SingleUserTS
Edition build lab: 18362.1.amd64fre.19h1_release.190318-1202
Machine Name:
Debug session time: Mon Jul 26 10:01:24.000 2021 (UTC + 1:00)
System Uptime: 0 days 0:39:04.750
Process Uptime: 0 days 0:00:02.000
................................................................
................................................................
....
Loading unloaded module list
..
This dump file has an exception of interest stored in it.
The stored exception information can be accessed via .ecxr.
(e30.4c30): Access violation - code c0000005 (first/second chance not available)
For analysis of this file, run !analyze -v
coreclr!EEPolicy::HandleFatalError+0x8b:
00007ff8`23ad78db 488d442440 lea rax,[rsp+40h]
0:000> !analyze -v
*******************************************************************************
* *
* Exception Analysis *
* *
*******************************************************************************
*** WARNING: Unable to verify checksum for PowerToys.Settings.exe
Failed to request MethodData, not in JIT code range
MethodDesc: 00007ff7c43042f0
Method Name: ILStubClass.IL_STUB_CLRtoWinRT()
Class: 00007ff7c4194960
MethodTable: 00007ff7c41949d8
mdToken: 0000000006000000
Module: 00007ff7c40cee88
IsJitted: yes
Current CodeAddr: 00007ff7c3ec5c00
Version History:
ILCodeVersion: 0000000000000000
ReJIT ID: 0
IL Addr: 0000000000000000
CodeAddr: 00007ff7c3ec5c00 (MinOptJitted)
NativeCodeVersion: 0000000000000000
MethodDesc: 00007ff7c4221e40
Method Name: Microsoft.PowerToys.Settings.UI.Microsoft_PowerToys_Settings_UI_XamlTypeInfo.XamlTypeInfoProvider.Activate_6_XamlControlsResources()
Class: 00007ff7c4214eb0
MethodTable: 00007ff7c4224c68
mdToken: 0000000006000018
Module: 00007ff7c3f62748
IsJitted: yes
Current CodeAddr: 00007ff7c3ec5b80
Version History:
ILCodeVersion: 0000000000000000
ReJIT ID: 0
IL Addr: 0000000000000000
CodeAddr: 00007ff7c3ec5b80 (MinOptJitted)
NativeCodeVersion: 0000000000000000
Source file: D:\prog\janeasystems\PowerToys\src\settings-ui\Microsoft.PowerToys.Settings.UI\obj\x64\Debug\XamlTypeInfo.g.cs @ 583
MethodDesc: 00007ff7c4227588
Method Name: Microsoft.PowerToys.Settings.UI.Microsoft_PowerToys_Settings_UI_XamlTypeInfo.XamlUserType.ActivateInstance()
Class: 00007ff7c421b8d0
MethodTable: 00007ff7c4227820
mdToken: 0000000006000235
Module: 00007ff7c3f62748
IsJitted: yes
Current CodeAddr: 00007ff7c3ec5af0
Version History:
ILCodeVersion: 0000000000000000
ReJIT ID: 0
IL Addr: 0000000000000000
CodeAddr: 00007ff7c3ec5af0 (MinOptJitted)
NativeCodeVersion: 0000000000000000
Source file: D:\prog\janeasystems\PowerToys\src\settings-ui\Microsoft.PowerToys.Settings.UI\obj\x64\Debug\XamlTypeInfo.g.cs @ 5485
MethodDesc: 00007ff7c4303f50
Method Name: ILStubClass.IL_STUB_WinRTtoCLR(IntPtr)
Class: 00007ff7c4194960
MethodTable: 00007ff7c41949d8
mdToken: 0000000006000000
Module: 00007ff7c40cee88
IsJitted: yes
Current CodeAddr: 00007ff7c3ec5990
Version History:
ILCodeVersion: 0000000000000000
ReJIT ID: 0
IL Addr: 0000000000000000
CodeAddr: 00007ff7c3ec5990 (MinOptJitted)
NativeCodeVersion: 0000000000000000
KEY_VALUES_STRING: 1
Key : AV.Dereference
Value: NullPtr
Key : AV.Fault
Value: Read
Key : Analysis.CPU.mSec
Value: 19859
Key : Analysis.DebugAnalysisManager
Value: Create
Key : Analysis.Elapsed.mSec
Value: 408338
Key : Analysis.Init.CPU.mSec
Value: 827
Key : Analysis.Init.Elapsed.mSec
Value: 34970
Key : Analysis.Memory.CommitPeak.Mb
Value: 413
Key : CLR.Engine
Value: CORECLR
Key : CLR.Version
Value: 4.700.21.31506
Key : Timeline.OS.Boot.DeltaSec
Value: 2344
Key : Timeline.Process.Start.DeltaSec
Value: 2
Key : WER.OS.Branch
Value: 19h1_release
Key : WER.OS.Timestamp
Value: 2019-03-18T12:02:00Z
Key : WER.OS.Version
Value: 10.0.18362.1
Key : WER.Process.Version
Value: 0.0.1.0
NTGLOBALFLAG: 0
PROCESS_BAM_CURRENT_THROTTLED: 0
PROCESS_BAM_PREVIOUS_THROTTLED: 0
APPLICATION_VERIFIER_FLAGS: 0
CONTEXT: (.ecxr)
rax=000000f4ac57bd90 rbx=000000f4ac57bcf0 rcx=000000f4ac57bd90
rdx=0000000000000000 rsi=0000000000000000 rdi=000000f4ac57bd90
rip=00007ff823ad78db rsp=000000f4ac57bcb0 rbp=000000f4ac57bdb0
r8=00000000000004d0 r9=0000000000000000 r10=0000000000000000
r11=000000f4ac57bd90 r12=0000000000000000 r13=0000000000000000
r14=00007ff8239f1ee7 r15=000001fffce6d6d0
iopl=0 nv up ei pl nz na po cy
cs=0033 ss=002b ds=002b es=002b fs=0053 gs=002b efl=00000205
coreclr!EEPolicy::HandleFatalError+0x8b:
00007ff8`23ad78db 488d442440 lea rax,[rsp+40h]
Resetting default scope
EXCEPTION_RECORD: (.exr -1)
ExceptionAddress: 00007ff8239f1ee7 (coreclr!ProcessCLRException+0x0000000000148dc7)
ExceptionCode: c0000005 (Access violation)
ExceptionFlags: 00000001
NumberParameters: 0
PROCESS_NAME: PowerToys.Settings.exe
READ_ADDRESS: 0000000000000000
ERROR_CODE: (NTSTATUS) 0xc0000005 - The instruction at 0x%p referenced memory at 0x%p. The memory could not be %s.
EXCEPTION_CODE_STR: c0000005
FAULTING_THREAD: ffffffff
STACK_TEXT:
000000f4`ac57bcb0 00007ff8`23ad78db coreclr!EEPolicy::HandleFatalError+0x8b
000000f4`ac57c2c0 00007ff8`239f1f02 coreclr!ProcessCLRException+0x148de2
000000f4`ac57c4c0 00007ff8`af961fff ntdll!RtlpExecuteHandlerForException+0xf
000000f4`ac57c4f0 00007ff8`af92aad9 ntdll!RtlDispatchException+0x219
000000f4`ac57cc00 00007ff8`af960c6e ntdll!KiUserExceptionDispatch+0x2e
000000f4`ac57d398 00007ff8`21102b60 Microsoft_UI_Xaml_7ff821100000!winrt::Windows::Foundation::IUnknown::unconditional_release_ref+0x10
000000f4`ac57d3a0 00007ff8`21108b8e Microsoft_UI_Xaml_7ff821100000!XamlControlsResources::UpdateAcrylicBrushesDarkTheme+0xea
000000f4`ac57d450 00007ff8`211679b6 Microsoft_UI_Xaml_7ff821100000!XamlControlsResources::UpdateSource+0x1ba
000000f4`ac57d580 00007ff8`21167629 Microsoft_UI_Xaml_7ff821100000!winrt::impl::heap_implements<XamlControlsResources>::heap_implements<XamlControlsResources>+0x45
000000f4`ac57d5b0 00007ff8`21195f62 Microsoft_UI_Xaml_7ff821100000!winrt::impl::produce<winrt::Microsoft::UI::Xaml::Controls::XamlControlsResourcesFactory,winrt::Windows::Foundation::IActivationFactory>::ActivateInstance+0x42
000000f4`ac57d5e0 00007ff7`c3ec5cdc unknown!unknown+0x0
000000f4`ac57d6e0 00007ff7`c3ec5bc9 unknown!unknown+0x0
000000f4`ac57d720 00007ff7`c3ec5b49 unknown!unknown+0x0
000000f4`ac57d770 00007ff7`c3ec59c6 unknown!unknown+0x0
000000f4`ac57d7e0 00007ff8`239a7d99 coreclr!COMToCLRDispatchHelper+0x39
000000f4`ac57d810 00007ff8`238cbad2 coreclr!COMToCLRWorker+0x172
000000f4`ac57d8b0 00007ff8`239a7cf7 coreclr!GenericComCallStub+0x57
000000f4`ac57d940 00007ff8`875e80d6 Windows_UI_Xaml_7ff8874d0000!DirectUI::ActivationAPI::ActivateInstance+0x226
000000f4`ac57da00 00007ff8`87584c6d Windows_UI_Xaml_7ff8874d0000!DirectUI::XamlParserCallbacks::XamlManagedRuntimeRPInvokes_CreateInstance+0x8d
000000f4`ac57dad0 00007ff8`8775624e Windows_UI_Xaml_7ff8874d0000!XamlManagedRuntime::CreateInstance+0xbe
000000f4`ac57db30 00007ff8`8766d21a Windows_UI_Xaml_7ff8874d0000!ObjectWriterRuntime::CreateTypeImpl+0xea
000000f4`ac57dc40 00007ff8`8767157b Windows_UI_Xaml_7ff8874d0000!BinaryFormatObjectWriter::CreateInstanceFromType+0x22b
000000f4`ac57dd60 00007ff8`8766e4de Windows_UI_Xaml_7ff8874d0000!BinaryFormatObjectWriter::WriteNode+0x15e
000000f4`ac57dde0 00007ff8`8766d776 Windows_UI_Xaml_7ff8874d0000!CParser::LoadXamlCore+0x486
000000f4`ac57e0f0 00007ff8`875a7aa8 Windows_UI_Xaml_7ff8874d0000!CCoreServices::ParseXamlWithExistingFrameworkRoot+0x128
000000f4`ac57e190 00007ff8`875a76ca Windows_UI_Xaml_7ff8874d0000!CApplication::LoadComponent+0x226
000000f4`ac57e270 00007ff8`875a6fee Windows_UI_Xaml_7ff8874d0000!Application_LoadComponent+0xae
000000f4`ac57e2d0 00007ff8`875a6e4c Windows_UI_Xaml_7ff8874d0000!DirectUI::FrameworkApplication::LoadComponent+0xd8
000000f4`ac57e330 00007ff8`87600704 Windows_UI_Xaml_7ff8874d0000!DirectUI::DXamlCore::EnsureCoreApplicationInitialized+0x9c
000000f4`ac57e380 00007ff8`87ba03ba Windows_UI_Xaml_7ff8874d0000!DirectUI::FrameworkApplication::StartOnCurrentThreadImpl+0x62
000000f4`ac57e400 00007ff8`87df17ef Windows_UI_Xaml_7ff8874d0000!DirectUI::FrameworkApplicationGenerated::StartOnCurrentThread+0x2f
000000f4`ac57e430 00007ff8`87fe1160 Windows_UI_Xaml_7ff8874d0000!DirectUI::WindowsXamlManager::XamlCore::Initialize+0x180
000000f4`ac57e4a0 00007ff8`87fe0ef9 Windows_UI_Xaml_7ff8874d0000!DirectUI::WindowsXamlManager::Initialize+0xa9
000000f4`ac57e500 00007ff8`87592b33 Windows_UI_Xaml_7ff8874d0000!ctl::ComObjectBase::CreateInstanceBase+0x13
000000f4`ac57e530 00007ff8`87fe053a Windows_UI_Xaml_7ff8874d0000!ctl::ComObject<DirectUI::WindowsXamlManager>::CreateInstance<DirectUI::WindowsXamlManager>+0x52
000000f4`ac57e560 00007ff8`87fe0620 Windows_UI_Xaml_7ff8874d0000!ctl::make<DirectUI::WindowsXamlManager>+0x2c
000000f4`ac57e590 00007ff8`87fe12d9 Windows_UI_Xaml_7ff8874d0000!DirectUI::WindowsXamlManagerFactory::InitializeForCurrentThreadImpl+0x8d
000000f4`ac57e5f0 00007ff8`87e708ad Windows_UI_Xaml_7ff8874d0000!DirectUI::WindowsXamlManagerFactory::InitializeForCurrentThread+0x4d
000000f4`ac57e620 00007ff8`2186739b Microsoft_Toolkit_Win32_UI_XamlHost_7ff821860000+0x739b
000000f4`ac57e6e0 00007ff8`2186132e Microsoft_Toolkit_Win32_UI_XamlHost_7ff821860000+0x132e
000000f4`ac57e730 00007ff8`21863d19 Microsoft_Toolkit_Win32_UI_XamlHost_7ff821860000+0x3d19
000000f4`ac57e760 00007ff7`c3ea8d52 unknown!unknown+0x0
000000f4`ac57e850 00007ff7`c3ea8548 unknown!unknown+0x0
000000f4`ac57e8b0 00007ff7`c3ea782e unknown!unknown+0x0
000000f4`ac57e9d0 00007ff8`239a6c93 coreclr!CallDescrWorkerInternal+0x83
000000f4`ac57ea10 00007ff8`2393cc52 coreclr!MethodDescCallSite::CallTargetWorker+0x196
000000f4`ac57eb50 00007ff8`23943c19 coreclr!RunMain+0x1f5
000000f4`ac57ed30 00007ff8`239440a7 coreclr!Assembly::ExecuteMainMethod+0x1cb
000000f4`ac57f0c0 00007ff8`23944851 coreclr!CorHost2::ExecuteAssembly+0x221
000000f4`ac57f250 00007ff8`238621c1 coreclr!coreclr_execute_assembly+0x101
000000f4`ac57f2f0 00007ff8`53264e2d hostpolicy!coreclr_t::execute_assembly+0x2d
000000f4`ac57f340 00007ff8`53272e27 hostpolicy!run_app_for_context+0x387
000000f4`ac57f4a0 00007ff8`53272a36 hostpolicy!run_app+0x46
000000f4`ac57f4f0 00007ff8`53274262 hostpolicy!corehost_main+0x132
000000f4`ac57f6a0 00007ff8`632b399e hostfxr!execute_app+0x1de
000000f4`ac57f790 00007ff8`632b7210 hostfxr!fx_muxer_t::handle_exec_host_command+0x214
000000f4`ac57f880 00007ff8`632b5a7b hostfxr!fx_muxer_t::execute+0x39b
000000f4`ac57f9c0 00007ff8`632b2029 hostfxr!hostfxr_main_startupinfo+0x89
000000f4`ac57fac0 00007ff6`995a2351 PowerToys_Settings_exe!exe_start+0x651
000000f4`ac57fcf0 00007ff6`995a2748 PowerToys_Settings_exe!wmain+0x88
000000f4`ac57fd20 00007ff6`995a45f8 PowerToys_Settings_exe!__scrt_common_main_seh+0x10c
000000f4`ac57fd60 00007ff8`ad987c24 kernel32!BaseThreadInitThunk+0x14
000000f4`ac57fd90 00007ff8`af92d721 ntdll!RtlUserThreadStart+0x21
STACK_COMMAND: .ecxr ; kb ; ** Pseudo Context ** Pseudo ** Value: 18 ** ; kb
FAULTING_SOURCE_LINE: d:\workspace\_work\1\s\src\vm\eepolicy.cpp
FAULTING_SOURCE_FILE: d:\workspace\_work\1\s\src\vm\eepolicy.cpp
FAULTING_SOURCE_LINE_NUMBER: 1177
FAULTING_SOURCE_CODE:
No source found for 'd:\workspace\_work\1\s\src\vm\eepolicy.cpp'
SYMBOL_NAME: coreclr!EEPolicy::HandleFatalError+8b
MODULE_NAME: coreclr
IMAGE_NAME: coreclr.dll
FAILURE_BUCKET_ID: NULL_POINTER_READ_c0000005_coreclr.dll!EEPolicy::HandleFatalError
OS_VERSION: 10.0.18362.1
BUILDLAB_STR: 19h1_release
OSPLATFORM_TYPE: x64
OSNAME: Windows 10
IMAGE_VERSION: 4.700.21.31506
FAILURE_ID_HASH: {14f01c38-e318-9c7b-c758-0ddeb36df05a}
Followup: MachineOwner
---------
Here's the dump file for "DumpType=1": PowerToys.Settings.exe.10080.dmp.zip
It has a similar analysis from WinDbg
:
Microsoft (R) Windows Debugger Version 10.0.21349.1004 AMD64
Copyright (c) Microsoft Corporation. All rights reserved.
Loading Dump File [C:\PTSettingsDumps\PowerToys.Settings.exe.3632.dmp]
User Mini Dump File with Full Memory: Only application data is available
Symbol search path is: srv*
Executable search path is:
Windows 10 Version 18363 MP (12 procs) Free x64
Product: WinNt, suite: SingleUserTS
Edition build lab: 18362.1.amd64fre.19h1_release.190318-1202
Machine Name:
Debug session time: Mon Jul 26 10:01:24.000 2021 (UTC + 1:00)
System Uptime: 0 days 0:39:04.750
Process Uptime: 0 days 0:00:02.000
................................................................
................................................................
....
Loading unloaded module list
..
This dump file has an exception of interest stored in it.
The stored exception information can be accessed via .ecxr.
(e30.4c30): Access violation - code c0000005 (first/second chance not available)
For analysis of this file, run !analyze -v
coreclr!EEPolicy::HandleFatalError+0x8b:
00007ff8`23ad78db 488d442440 lea rax,[rsp+40h]
0:000> !analyze -v
*******************************************************************************
* *
* Exception Analysis *
* *
*******************************************************************************
*** WARNING: Unable to verify checksum for PowerToys.Settings.exe
Failed to request MethodData, not in JIT code range
MethodDesc: 00007ff7c43042f0
Method Name: ILStubClass.IL_STUB_CLRtoWinRT()
Class: 00007ff7c4194960
MethodTable: 00007ff7c41949d8
mdToken: 0000000006000000
Module: 00007ff7c40cee88
IsJitted: yes
Current CodeAddr: 00007ff7c3ec5c00
Version History:
ILCodeVersion: 0000000000000000
ReJIT ID: 0
IL Addr: 0000000000000000
CodeAddr: 00007ff7c3ec5c00 (MinOptJitted)
NativeCodeVersion: 0000000000000000
MethodDesc: 00007ff7c4221e40
Method Name: Microsoft.PowerToys.Settings.UI.Microsoft_PowerToys_Settings_UI_XamlTypeInfo.XamlTypeInfoProvider.Activate_6_XamlControlsResources()
Class: 00007ff7c4214eb0
MethodTable: 00007ff7c4224c68
mdToken: 0000000006000018
Module: 00007ff7c3f62748
IsJitted: yes
Current CodeAddr: 00007ff7c3ec5b80
Version History:
ILCodeVersion: 0000000000000000
ReJIT ID: 0
IL Addr: 0000000000000000
CodeAddr: 00007ff7c3ec5b80 (MinOptJitted)
NativeCodeVersion: 0000000000000000
Source file: D:\prog\janeasystems\PowerToys\src\settings-ui\Microsoft.PowerToys.Settings.UI\obj\x64\Debug\XamlTypeInfo.g.cs @ 583
MethodDesc: 00007ff7c4227588
Method Name: Microsoft.PowerToys.Settings.UI.Microsoft_PowerToys_Settings_UI_XamlTypeInfo.XamlUserType.ActivateInstance()
Class: 00007ff7c421b8d0
MethodTable: 00007ff7c4227820
mdToken: 0000000006000235
Module: 00007ff7c3f62748
IsJitted: yes
Current CodeAddr: 00007ff7c3ec5af0
Version History:
ILCodeVersion: 0000000000000000
ReJIT ID: 0
IL Addr: 0000000000000000
CodeAddr: 00007ff7c3ec5af0 (MinOptJitted)
NativeCodeVersion: 0000000000000000
Source file: D:\prog\janeasystems\PowerToys\src\settings-ui\Microsoft.PowerToys.Settings.UI\obj\x64\Debug\XamlTypeInfo.g.cs @ 5485
MethodDesc: 00007ff7c4303f50
Method Name: ILStubClass.IL_STUB_WinRTtoCLR(IntPtr)
Class: 00007ff7c4194960
MethodTable: 00007ff7c41949d8
mdToken: 0000000006000000
Module: 00007ff7c40cee88
IsJitted: yes
Current CodeAddr: 00007ff7c3ec5990
Version History:
ILCodeVersion: 0000000000000000
ReJIT ID: 0
IL Addr: 0000000000000000
CodeAddr: 00007ff7c3ec5990 (MinOptJitted)
NativeCodeVersion: 0000000000000000
KEY_VALUES_STRING: 1
Key : AV.Dereference
Value: NullPtr
Key : AV.Fault
Value: Read
Key : Analysis.CPU.mSec
Value: 19859
Key : Analysis.DebugAnalysisManager
Value: Create
Key : Analysis.Elapsed.mSec
Value: 408338
Key : Analysis.Init.CPU.mSec
Value: 827
Key : Analysis.Init.Elapsed.mSec
Value: 34970
Key : Analysis.Memory.CommitPeak.Mb
Value: 413
Key : CLR.Engine
Value: CORECLR
Key : CLR.Version
Value: 4.700.21.31506
Key : Timeline.OS.Boot.DeltaSec
Value: 2344
Key : Timeline.Process.Start.DeltaSec
Value: 2
Key : WER.OS.Branch
Value: 19h1_release
Key : WER.OS.Timestamp
Value: 2019-03-18T12:02:00Z
Key : WER.OS.Version
Value: 10.0.18362.1
Key : WER.Process.Version
Value: 0.0.1.0
NTGLOBALFLAG: 0
PROCESS_BAM_CURRENT_THROTTLED: 0
PROCESS_BAM_PREVIOUS_THROTTLED: 0
APPLICATION_VERIFIER_FLAGS: 0
CONTEXT: (.ecxr)
rax=000000f4ac57bd90 rbx=000000f4ac57bcf0 rcx=000000f4ac57bd90
rdx=0000000000000000 rsi=0000000000000000 rdi=000000f4ac57bd90
rip=00007ff823ad78db rsp=000000f4ac57bcb0 rbp=000000f4ac57bdb0
r8=00000000000004d0 r9=0000000000000000 r10=0000000000000000
r11=000000f4ac57bd90 r12=0000000000000000 r13=0000000000000000
r14=00007ff8239f1ee7 r15=000001fffce6d6d0
iopl=0 nv up ei pl nz na po cy
cs=0033 ss=002b ds=002b es=002b fs=0053 gs=002b efl=00000205
coreclr!EEPolicy::HandleFatalError+0x8b:
00007ff8`23ad78db 488d442440 lea rax,[rsp+40h]
Resetting default scope
EXCEPTION_RECORD: (.exr -1)
ExceptionAddress: 00007ff8239f1ee7 (coreclr!ProcessCLRException+0x0000000000148dc7)
ExceptionCode: c0000005 (Access violation)
ExceptionFlags: 00000001
NumberParameters: 0
PROCESS_NAME: PowerToys.Settings.exe
READ_ADDRESS: 0000000000000000
ERROR_CODE: (NTSTATUS) 0xc0000005 - The instruction at 0x%p referenced memory at 0x%p. The memory could not be %s.
EXCEPTION_CODE_STR: c0000005
FAULTING_THREAD: ffffffff
STACK_TEXT:
000000f4`ac57bcb0 00007ff8`23ad78db coreclr!EEPolicy::HandleFatalError+0x8b
000000f4`ac57c2c0 00007ff8`239f1f02 coreclr!ProcessCLRException+0x148de2
000000f4`ac57c4c0 00007ff8`af961fff ntdll!RtlpExecuteHandlerForException+0xf
000000f4`ac57c4f0 00007ff8`af92aad9 ntdll!RtlDispatchException+0x219
000000f4`ac57cc00 00007ff8`af960c6e ntdll!KiUserExceptionDispatch+0x2e
000000f4`ac57d398 00007ff8`21102b60 Microsoft_UI_Xaml_7ff821100000!winrt::Windows::Foundation::IUnknown::unconditional_release_ref+0x10
000000f4`ac57d3a0 00007ff8`21108b8e Microsoft_UI_Xaml_7ff821100000!XamlControlsResources::UpdateAcrylicBrushesDarkTheme+0xea
000000f4`ac57d450 00007ff8`211679b6 Microsoft_UI_Xaml_7ff821100000!XamlControlsResources::UpdateSource+0x1ba
000000f4`ac57d580 00007ff8`21167629 Microsoft_UI_Xaml_7ff821100000!winrt::impl::heap_implements<XamlControlsResources>::heap_implements<XamlControlsResources>+0x45
000000f4`ac57d5b0 00007ff8`21195f62 Microsoft_UI_Xaml_7ff821100000!winrt::impl::produce<winrt::Microsoft::UI::Xaml::Controls::XamlControlsResourcesFactory,winrt::Windows::Foundation::IActivationFactory>::ActivateInstance+0x42
000000f4`ac57d5e0 00007ff7`c3ec5cdc unknown!unknown+0x0
000000f4`ac57d6e0 00007ff7`c3ec5bc9 unknown!unknown+0x0
000000f4`ac57d720 00007ff7`c3ec5b49 unknown!unknown+0x0
000000f4`ac57d770 00007ff7`c3ec59c6 unknown!unknown+0x0
000000f4`ac57d7e0 00007ff8`239a7d99 coreclr!COMToCLRDispatchHelper+0x39
000000f4`ac57d810 00007ff8`238cbad2 coreclr!COMToCLRWorker+0x172
000000f4`ac57d8b0 00007ff8`239a7cf7 coreclr!GenericComCallStub+0x57
000000f4`ac57d940 00007ff8`875e80d6 Windows_UI_Xaml_7ff8874d0000!DirectUI::ActivationAPI::ActivateInstance+0x226
000000f4`ac57da00 00007ff8`87584c6d Windows_UI_Xaml_7ff8874d0000!DirectUI::XamlParserCallbacks::XamlManagedRuntimeRPInvokes_CreateInstance+0x8d
000000f4`ac57dad0 00007ff8`8775624e Windows_UI_Xaml_7ff8874d0000!XamlManagedRuntime::CreateInstance+0xbe
000000f4`ac57db30 00007ff8`8766d21a Windows_UI_Xaml_7ff8874d0000!ObjectWriterRuntime::CreateTypeImpl+0xea
000000f4`ac57dc40 00007ff8`8767157b Windows_UI_Xaml_7ff8874d0000!BinaryFormatObjectWriter::CreateInstanceFromType+0x22b
000000f4`ac57dd60 00007ff8`8766e4de Windows_UI_Xaml_7ff8874d0000!BinaryFormatObjectWriter::WriteNode+0x15e
000000f4`ac57dde0 00007ff8`8766d776 Windows_UI_Xaml_7ff8874d0000!CParser::LoadXamlCore+0x486
000000f4`ac57e0f0 00007ff8`875a7aa8 Windows_UI_Xaml_7ff8874d0000!CCoreServices::ParseXamlWithExistingFrameworkRoot+0x128
000000f4`ac57e190 00007ff8`875a76ca Windows_UI_Xaml_7ff8874d0000!CApplication::LoadComponent+0x226
000000f4`ac57e270 00007ff8`875a6fee Windows_UI_Xaml_7ff8874d0000!Application_LoadComponent+0xae
000000f4`ac57e2d0 00007ff8`875a6e4c Windows_UI_Xaml_7ff8874d0000!DirectUI::FrameworkApplication::LoadComponent+0xd8
000000f4`ac57e330 00007ff8`87600704 Windows_UI_Xaml_7ff8874d0000!DirectUI::DXamlCore::EnsureCoreApplicationInitialized+0x9c
000000f4`ac57e380 00007ff8`87ba03ba Windows_UI_Xaml_7ff8874d0000!DirectUI::FrameworkApplication::StartOnCurrentThreadImpl+0x62
000000f4`ac57e400 00007ff8`87df17ef Windows_UI_Xaml_7ff8874d0000!DirectUI::FrameworkApplicationGenerated::StartOnCurrentThread+0x2f
000000f4`ac57e430 00007ff8`87fe1160 Windows_UI_Xaml_7ff8874d0000!DirectUI::WindowsXamlManager::XamlCore::Initialize+0x180
000000f4`ac57e4a0 00007ff8`87fe0ef9 Windows_UI_Xaml_7ff8874d0000!DirectUI::WindowsXamlManager::Initialize+0xa9
000000f4`ac57e500 00007ff8`87592b33 Windows_UI_Xaml_7ff8874d0000!ctl::ComObjectBase::CreateInstanceBase+0x13
000000f4`ac57e530 00007ff8`87fe053a Windows_UI_Xaml_7ff8874d0000!ctl::ComObject<DirectUI::WindowsXamlManager>::CreateInstance<DirectUI::WindowsXamlManager>+0x52
000000f4`ac57e560 00007ff8`87fe0620 Windows_UI_Xaml_7ff8874d0000!ctl::make<DirectUI::WindowsXamlManager>+0x2c
000000f4`ac57e590 00007ff8`87fe12d9 Windows_UI_Xaml_7ff8874d0000!DirectUI::WindowsXamlManagerFactory::InitializeForCurrentThreadImpl+0x8d
000000f4`ac57e5f0 00007ff8`87e708ad Windows_UI_Xaml_7ff8874d0000!DirectUI::WindowsXamlManagerFactory::InitializeForCurrentThread+0x4d
000000f4`ac57e620 00007ff8`2186739b Microsoft_Toolkit_Win32_UI_XamlHost_7ff821860000+0x739b
000000f4`ac57e6e0 00007ff8`2186132e Microsoft_Toolkit_Win32_UI_XamlHost_7ff821860000+0x132e
000000f4`ac57e730 00007ff8`21863d19 Microsoft_Toolkit_Win32_UI_XamlHost_7ff821860000+0x3d19
000000f4`ac57e760 00007ff7`c3ea8d52 unknown!unknown+0x0
000000f4`ac57e850 00007ff7`c3ea8548 unknown!unknown+0x0
000000f4`ac57e8b0 00007ff7`c3ea782e unknown!unknown+0x0
000000f4`ac57e9d0 00007ff8`239a6c93 coreclr!CallDescrWorkerInternal+0x83
000000f4`ac57ea10 00007ff8`2393cc52 coreclr!MethodDescCallSite::CallTargetWorker+0x196
000000f4`ac57eb50 00007ff8`23943c19 coreclr!RunMain+0x1f5
000000f4`ac57ed30 00007ff8`239440a7 coreclr!Assembly::ExecuteMainMethod+0x1cb
000000f4`ac57f0c0 00007ff8`23944851 coreclr!CorHost2::ExecuteAssembly+0x221
000000f4`ac57f250 00007ff8`238621c1 coreclr!coreclr_execute_assembly+0x101
000000f4`ac57f2f0 00007ff8`53264e2d hostpolicy!coreclr_t::execute_assembly+0x2d
000000f4`ac57f340 00007ff8`53272e27 hostpolicy!run_app_for_context+0x387
000000f4`ac57f4a0 00007ff8`53272a36 hostpolicy!run_app+0x46
000000f4`ac57f4f0 00007ff8`53274262 hostpolicy!corehost_main+0x132
000000f4`ac57f6a0 00007ff8`632b399e hostfxr!execute_app+0x1de
000000f4`ac57f790 00007ff8`632b7210 hostfxr!fx_muxer_t::handle_exec_host_command+0x214
000000f4`ac57f880 00007ff8`632b5a7b hostfxr!fx_muxer_t::execute+0x39b
000000f4`ac57f9c0 00007ff8`632b2029 hostfxr!hostfxr_main_startupinfo+0x89
000000f4`ac57fac0 00007ff6`995a2351 PowerToys_Settings_exe!exe_start+0x651
000000f4`ac57fcf0 00007ff6`995a2748 PowerToys_Settings_exe!wmain+0x88
000000f4`ac57fd20 00007ff6`995a45f8 PowerToys_Settings_exe!__scrt_common_main_seh+0x10c
000000f4`ac57fd60 00007ff8`ad987c24 kernel32!BaseThreadInitThunk+0x14
000000f4`ac57fd90 00007ff8`af92d721 ntdll!RtlUserThreadStart+0x21
STACK_COMMAND: .ecxr ; kb ; ** Pseudo Context ** Pseudo ** Value: 18 ** ; kb
FAULTING_SOURCE_LINE: d:\workspace\_work\1\s\src\vm\eepolicy.cpp
FAULTING_SOURCE_FILE: d:\workspace\_work\1\s\src\vm\eepolicy.cpp
FAULTING_SOURCE_LINE_NUMBER: 1177
FAULTING_SOURCE_CODE:
No source found for 'd:\workspace\_work\1\s\src\vm\eepolicy.cpp'
SYMBOL_NAME: coreclr!EEPolicy::HandleFatalError+8b
MODULE_NAME: coreclr
IMAGE_NAME: coreclr.dll
FAILURE_BUCKET_ID: NULL_POINTER_READ_c0000005_coreclr.dll!EEPolicy::HandleFatalError
OS_VERSION: 10.0.18362.1
BUILDLAB_STR: 19h1_release
OSPLATFORM_TYPE: x64
OSNAME: Windows 10
IMAGE_VERSION: 4.700.21.31506
FAILURE_ID_HASH: {14f01c38-e318-9c7b-c758-0ddeb36df05a}
Followup: MachineOwner
---------
NatVis script unloaded from 'C:\Program Files\WindowsApps\Microsoft.WinDbg_1.2104.13002.0_neutral__8wekyb3d8bbwe\amd64\Visualizers\atlmfc.natvis'
NatVis script unloaded from 'C:\Program Files\WindowsApps\Microsoft.WinDbg_1.2104.13002.0_neutral__8wekyb3d8bbwe\amd64\Visualizers\ObjectiveC.natvis'
NatVis script unloaded from 'C:\Program Files\WindowsApps\Microsoft.WinDbg_1.2104.13002.0_neutral__8wekyb3d8bbwe\amd64\Visualizers\concurrency.natvis'
NatVis script unloaded from 'C:\Program Files\WindowsApps\Microsoft.WinDbg_1.2104.13002.0_neutral__8wekyb3d8bbwe\amd64\Visualizers\cpp_rest.natvis'
NatVis script unloaded from 'C:\Program Files\WindowsApps\Microsoft.WinDbg_1.2104.13002.0_neutral__8wekyb3d8bbwe\amd64\Visualizers\stl.natvis'
NatVis script unloaded from 'C:\Program Files\WindowsApps\Microsoft.WinDbg_1.2104.13002.0_neutral__8wekyb3d8bbwe\amd64\Visualizers\Windows.Data.Json.natvis'
NatVis script unloaded from 'C:\Program Files\WindowsApps\Microsoft.WinDbg_1.2104.13002.0_neutral__8wekyb3d8bbwe\amd64\Visualizers\Windows.Devices.Geolocation.natvis'
NatVis script unloaded from 'C:\Program Files\WindowsApps\Microsoft.WinDbg_1.2104.13002.0_neutral__8wekyb3d8bbwe\amd64\Visualizers\Windows.Devices.Sensors.natvis'
NatVis script unloaded from 'C:\Program Files\WindowsApps\Microsoft.WinDbg_1.2104.13002.0_neutral__8wekyb3d8bbwe\amd64\Visualizers\Windows.Media.natvis'
NatVis script unloaded from 'C:\Program Files\WindowsApps\Microsoft.WinDbg_1.2104.13002.0_neutral__8wekyb3d8bbwe\amd64\Visualizers\windows.natvis'
NatVis script unloaded from 'C:\Program Files\WindowsApps\Microsoft.WinDbg_1.2104.13002.0_neutral__8wekyb3d8bbwe\amd64\Visualizers\winrt.natvis'
Microsoft (R) Windows Debugger Version 10.0.21349.1004 AMD64
Copyright (c) Microsoft Corporation. All rights reserved.
Loading Dump File [C:\PTSettingsDumps\PowerToys.Settings.exe.10080.dmp]
User Mini Dump File: Only registers, stack and portions of memory are available
************* Path validation summary **************
Response Time (ms) Location
Deferred srv*
Symbol search path is: srv*
Executable search path is:
Windows 10 Version 18363 MP (12 procs) Free x64
Product: WinNt, suite: SingleUserTS
Edition build lab: 18362.1.amd64fre.19h1_release.190318-1202
Machine Name:
Debug session time: Mon Jul 26 10:19:22.000 2021 (UTC + 1:00)
System Uptime: not available
Process Uptime: 0 days 0:00:02.000
................................................................
................................................................
....
Loading unloaded module list
..
This dump file has an exception of interest stored in it.
The stored exception information can be accessed via .ecxr.
(2760.2bcc): Access violation - code c0000005 (first/second chance not available)
For analysis of this file, run !analyze -v
coreclr!EEPolicy::HandleFatalError+0x8b:
00007ff8`56c678db 488d442440 lea rax,[rsp+40h]
0:000> !analyze -v
*******************************************************************************
* *
* Exception Analysis *
* *
*******************************************************************************
Failed to request MethodData, not in JIT code range
MethodDesc: 00007ff7f74a42f0
Method Name: ILStubClass.IL_STUB_CLRtoWinRT()
Class: 00007ff7f7334960
MethodTable: 00007ff7f73349d8
mdToken: 0000000006000000
Module: 00007ff7f726ee88
IsJitted: yes
Current CodeAddr: 00007ff7f70657d0
Version History:
ILCodeVersion: 0000000000000000
ReJIT ID: 0
IL Addr: 0000000000000000
CodeAddr: 00007ff7f70657d0 (MinOptJitted)
NativeCodeVersion: 0000000000000000
MethodDesc: 00007ff7f73c1e40
Method Name: Microsoft.PowerToys.Settings.UI.Microsoft_PowerToys_Settings_UI_XamlTypeInfo.XamlTypeInfoProvider.Activate_6_XamlControlsResources()
Class: 00007ff7f73b4ea8
MethodTable: 00007ff7f73c4c68
mdToken: 0000000006000018
Module: 00007ff7f7102748
IsJitted: yes
Current CodeAddr: 00007ff7f7065760
Version History:
ILCodeVersion: 0000000000000000
ReJIT ID: 0
IL Addr: 0000000000000000
CodeAddr: 00007ff7f7065760 (MinOptJitted)
NativeCodeVersion: 0000000000000000
Source file: D:\prog\janeasystems\PowerToys\src\settings-ui\Microsoft.PowerToys.Settings.UI\obj\x64\Debug\XamlTypeInfo.g.cs @ 583
MethodDesc: 00007ff7f73c7588
Method Name: Microsoft.PowerToys.Settings.UI.Microsoft_PowerToys_Settings_UI_XamlTypeInfo.XamlUserType.ActivateInstance()
Class: 00007ff7f73bb8c8
MethodTable: 00007ff7f73c7820
mdToken: 0000000006000235
Module: 00007ff7f7102748
IsJitted: yes
Current CodeAddr: 00007ff7f70656e0
Version History:
ILCodeVersion: 0000000000000000
ReJIT ID: 0
IL Addr: 0000000000000000
CodeAddr: 00007ff7f70656e0 (MinOptJitted)
NativeCodeVersion: 0000000000000000
Source file: D:\prog\janeasystems\PowerToys\src\settings-ui\Microsoft.PowerToys.Settings.UI\obj\x64\Debug\XamlTypeInfo.g.cs @ 5485
MethodDesc: 00007ff7f74a3f50
Method Name: ILStubClass.IL_STUB_WinRTtoCLR(IntPtr)
Class: 00007ff7f7334960
MethodTable: 00007ff7f73349d8
mdToken: 0000000006000000
Module: 00007ff7f726ee88
IsJitted: yes
Current CodeAddr: 00007ff7f7065580
Version History:
ILCodeVersion: 0000000000000000
ReJIT ID: 0
IL Addr: 0000000000000000
CodeAddr: 00007ff7f7065580 (MinOptJitted)
NativeCodeVersion: 0000000000000000
KEY_VALUES_STRING: 1
Key : AV.Dereference
Value: NullPtr
Key : AV.Fault
Value: Read
Key : Analysis.CPU.mSec
Value: 3593
Key : Analysis.DebugAnalysisManager
Value: Create
Key : Analysis.Elapsed.mSec
Value: 24362
Key : Analysis.Init.CPU.mSec
Value: 1156
Key : Analysis.Init.Elapsed.mSec
Value: 38886
Key : Analysis.Memory.CommitPeak.Mb
Value: 646
Key : CLR.Engine
Value: CORECLR
Key : CLR.Version
Value: 4.700.21.31506
Key : Timeline.Process.Start.DeltaSec
Value: 2
Key : WER.OS.Branch
Value: 19h1_release
Key : WER.OS.Timestamp
Value: 2019-03-18T12:02:00Z
Key : WER.OS.Version
Value: 10.0.18362.1
Key : WER.Process.Version
Value: 0.0.1.0
NTGLOBALFLAG: 0
PROCESS_BAM_CURRENT_THROTTLED: 0
PROCESS_BAM_PREVIOUS_THROTTLED: 0
APPLICATION_VERIFIER_FLAGS: 0
CONTEXT: (.ecxr)
rax=00000028137cbb10 rbx=00000028137cba70 rcx=00000028137cbb10
rdx=0000000000000000 rsi=0000000000000000 rdi=00000028137cbb10
rip=00007ff856c678db rsp=00000028137cba30 rbp=00000028137cbb30
r8=00000000000004d0 r9=0000000000000000 r10=0000000000000000
r11=00000028137cbb10 r12=0000000000000000 r13=0000000000000000
r14=00007ff856b81ee7 r15=000001f2fe42f850
iopl=0 nv up ei pl nz na po cy
cs=0033 ss=002b ds=002b es=002b fs=0053 gs=002b efl=00000205
coreclr!EEPolicy::HandleFatalError+0x8b:
00007ff8`56c678db 488d442440 lea rax,[rsp+40h]
Resetting default scope
EXCEPTION_RECORD: (.exr -1)
ExceptionAddress: 00007ff856b81ee7 (coreclr!ProcessCLRException+0x0000000000148dc7)
ExceptionCode: c0000005 (Access violation)
ExceptionFlags: 00000001
NumberParameters: 0
PROCESS_NAME: PowerToys.Settings.exe
READ_ADDRESS: 0000000000000000
ERROR_CODE: (NTSTATUS) 0xc0000005 - The instruction at 0x%p referenced memory at 0x%p. The memory could not be %s.
EXCEPTION_CODE_STR: c0000005
FAULTING_THREAD: ffffffff
STACK_TEXT:
00000028`137cba30 00007ff8`56c678db coreclr!EEPolicy::HandleFatalError+0x8b
00000028`137cc040 00007ff8`56b81f02 coreclr!ProcessCLRException+0x148de2
00000028`137cc240 00007ff8`af961fff ntdll!RtlpExecuteHandlerForException+0xf
00000028`137cc270 00007ff8`af92aad9 ntdll!RtlDispatchException+0x219
00000028`137cc980 00007ff8`af960c6e ntdll!KiUserExceptionDispatch+0x2e
00000028`137cd128 00007ff8`42492b60 Microsoft_UI_Xaml_7ff842490000!winrt::Windows::Foundation::IUnknown::unconditional_release_ref+0x10
00000028`137cd130 00007ff8`42498d8b Microsoft_UI_Xaml_7ff842490000!XamlControlsResources::UpdateAcrylicBrushesDarkTheme+0x2e7
00000028`137cd1e0 00007ff8`424f79b6 Microsoft_UI_Xaml_7ff842490000!XamlControlsResources::UpdateSource+0x1ba
00000028`137cd310 00007ff8`424f7629 Microsoft_UI_Xaml_7ff842490000!winrt::impl::heap_implements<XamlControlsResources>::heap_implements<XamlControlsResources>+0x45
00000028`137cd340 00007ff8`42525f62 Microsoft_UI_Xaml_7ff842490000!winrt::impl::produce<winrt::Microsoft::UI::Xaml::Controls::XamlControlsResourcesFactory,winrt::Windows::Foundation::IActivationFactory>::ActivateInstance+0x42
00000028`137cd370 00007ff7`f70658ac unknown!unknown+0x0
00000028`137cd470 00007ff7`f70657a3 unknown!unknown+0x0
00000028`137cd4b0 00007ff7`f7065733 unknown!unknown+0x0
00000028`137cd500 00007ff7`f70655b6 unknown!unknown+0x0
00000028`137cd570 00007ff8`56b37d99 coreclr!COMToCLRDispatchHelper+0x39
00000028`137cd5a0 00007ff8`56a5bad2 coreclr!COMToCLRWorker+0x172
00000028`137cd640 00007ff8`56b37cf7 coreclr!GenericComCallStub+0x57
00000028`137cd6d0 00007ff8`875e80d6 Windows_UI_Xaml_7ff8874d0000!DirectUI::ActivationAPI::ActivateInstance+0x226
00000028`137cd790 00007ff8`87584c6d Windows_UI_Xaml_7ff8874d0000!DirectUI::XamlParserCallbacks::XamlManagedRuntimeRPInvokes_CreateInstance+0x8d
00000028`137cd860 00007ff8`8775624e Windows_UI_Xaml_7ff8874d0000!XamlManagedRuntime::CreateInstance+0xbe
00000028`137cd8c0 00007ff8`8766d21a Windows_UI_Xaml_7ff8874d0000!ObjectWriterRuntime::CreateTypeImpl+0xea
00000028`137cd9d0 00007ff8`8767157b Windows_UI_Xaml_7ff8874d0000!BinaryFormatObjectWriter::CreateInstanceFromType+0x22b
00000028`137cdaf0 00007ff8`8766e4de Windows_UI_Xaml_7ff8874d0000!BinaryFormatObjectWriter::WriteNode+0x15e
00000028`137cdb70 00007ff8`8766d776 Windows_UI_Xaml_7ff8874d0000!CParser::LoadXamlCore+0x486
00000028`137cde80 00007ff8`875a7aa8 Windows_UI_Xaml_7ff8874d0000!CCoreServices::ParseXamlWithExistingFrameworkRoot+0x128
00000028`137cdf20 00007ff8`875a76ca Windows_UI_Xaml_7ff8874d0000!CApplication::LoadComponent+0x226
00000028`137ce000 00007ff8`875a6fee Windows_UI_Xaml_7ff8874d0000!Application_LoadComponent+0xae
00000028`137ce060 00007ff8`875a6e4c Windows_UI_Xaml_7ff8874d0000!DirectUI::FrameworkApplication::LoadComponent+0xd8
00000028`137ce0c0 00007ff8`87600704 Windows_UI_Xaml_7ff8874d0000!DirectUI::DXamlCore::EnsureCoreApplicationInitialized+0x9c
00000028`137ce110 00007ff8`87ba03ba Windows_UI_Xaml_7ff8874d0000!DirectUI::FrameworkApplication::StartOnCurrentThreadImpl+0x62
00000028`137ce190 00007ff8`87df17ef Windows_UI_Xaml_7ff8874d0000!DirectUI::FrameworkApplicationGenerated::StartOnCurrentThread+0x2f
00000028`137ce1c0 00007ff8`87fe1160 Windows_UI_Xaml_7ff8874d0000!DirectUI::WindowsXamlManager::XamlCore::Initialize+0x180
00000028`137ce230 00007ff8`87fe0ef9 Windows_UI_Xaml_7ff8874d0000!DirectUI::WindowsXamlManager::Initialize+0xa9
00000028`137ce290 00007ff8`87592b33 Windows_UI_Xaml_7ff8874d0000!ctl::ComObjectBase::CreateInstanceBase+0x13
00000028`137ce2c0 00007ff8`87fe053a Windows_UI_Xaml_7ff8874d0000!ctl::ComObject<DirectUI::WindowsXamlManager>::CreateInstance<DirectUI::WindowsXamlManager>+0x52
00000028`137ce2f0 00007ff8`87fe0620 Windows_UI_Xaml_7ff8874d0000!ctl::make<DirectUI::WindowsXamlManager>+0x2c
00000028`137ce320 00007ff8`87fe12d9 Windows_UI_Xaml_7ff8874d0000!DirectUI::WindowsXamlManagerFactory::InitializeForCurrentThreadImpl+0x8d
00000028`137ce380 00007ff8`87e708ad Windows_UI_Xaml_7ff8874d0000!DirectUI::WindowsXamlManagerFactory::InitializeForCurrentThread+0x4d
00000028`137ce3b0 00007ff8`930e739b Microsoft_Toolkit_Win32_UI_XamlHost_7ff8930e0000+0x739b
00000028`137ce470 00007ff8`930e132e Microsoft_Toolkit_Win32_UI_XamlHost_7ff8930e0000+0x132e
00000028`137ce4c0 00007ff8`930e3d19 Microsoft_Toolkit_Win32_UI_XamlHost_7ff8930e0000+0x3d19
00000028`137ce4f0 00007ff7`f7048ab2 unknown!unknown+0x0
00000028`137ce5e0 00007ff7`f70482c2 unknown!unknown+0x0
00000028`137ce640 00007ff7`f70475ae unknown!unknown+0x0
00000028`137ce760 00007ff8`56b36c93 coreclr!CallDescrWorkerInternal+0x83
00000028`137ce7a0 00007ff8`56accc52 coreclr!MethodDescCallSite::CallTargetWorker+0x196
00000028`137ce8e0 00007ff8`56ad3c19 coreclr!RunMain+0x1f5
00000028`137ceac0 00007ff8`56ad40a7 coreclr!Assembly::ExecuteMainMethod+0x1cb
00000028`137cee50 00007ff8`56ad4851 coreclr!CorHost2::ExecuteAssembly+0x221
00000028`137cefe0 00007ff8`569f21c1 coreclr!coreclr_execute_assembly+0x101
00000028`137cf080 00007ff8`56f64e2d hostpolicy!coreclr_t::execute_assembly+0x2d
00000028`137cf0d0 00007ff8`56f72e27 hostpolicy!run_app_for_context+0x387
00000028`137cf230 00007ff8`56f72a36 hostpolicy!run_app+0x46
00000028`137cf280 00007ff8`56f74262 hostpolicy!corehost_main+0x132
00000028`137cf430 00007ff8`8ef8399e hostfxr!execute_app+0x1de
00000028`137cf520 00007ff8`8ef87210 hostfxr!fx_muxer_t::handle_exec_host_command+0x214
00000028`137cf610 00007ff8`8ef85a7b hostfxr!fx_muxer_t::execute+0x39b
00000028`137cf750 00007ff8`8ef82029 hostfxr!hostfxr_main_startupinfo+0x89
00000028`137cf850 00007ff6`995a2351 PowerToys_Settings_exe!exe_start+0x651
00000028`137cfa80 00007ff6`995a2748 PowerToys_Settings_exe!wmain+0x88
00000028`137cfab0 00007ff6`995a45f8 PowerToys_Settings_exe!__scrt_common_main_seh+0x10c
00000028`137cfaf0 00007ff8`ad987c24 kernel32!BaseThreadInitThunk+0x14
00000028`137cfb20 00007ff8`af92d721 ntdll!RtlUserThreadStart+0x21
STACK_COMMAND: .ecxr ; kb ; ** Pseudo Context ** Pseudo ** Value: 18 ** ; kb
FAULTING_SOURCE_LINE: d:\workspace\_work\1\s\src\vm\eepolicy.cpp
FAULTING_SOURCE_FILE: d:\workspace\_work\1\s\src\vm\eepolicy.cpp
FAULTING_SOURCE_LINE_NUMBER: 1177
FAULTING_SOURCE_CODE:
No source found for 'd:\workspace\_work\1\s\src\vm\eepolicy.cpp'
SYMBOL_NAME: coreclr!EEPolicy::HandleFatalError+8b
MODULE_NAME: coreclr
IMAGE_NAME: coreclr.dll
FAILURE_BUCKET_ID: NULL_POINTER_READ_c0000005_coreclr.dll!EEPolicy::HandleFatalError
OS_VERSION: 10.0.18362.1
BUILDLAB_STR: 19h1_release
OSPLATFORM_TYPE: x64
OSNAME: Windows 10
IMAGE_VERSION: 4.700.21.31506
FAILURE_ID_HASH: {14f01c38-e318-9c7b-c758-0ddeb36df05a}
Followup: MachineOwner
---------
I think this is the same issue that I reported here: https://github.com/microsoft/microsoft-ui-xaml/issues/5435
You're right @lhak , looks like the same issue.
closing as duplicate.
Describe the bug After upgrading PowerToys Settings to use
Microsoft.UI.Xaml
version2.6.1-prerelease.210709001
, the application seems to only work on my machine when it's started from Visual Studio 2019, either in Debug or Release. If it's started directly from the build folder, from the building the installer and using the installed version, or from Visual Studio using "Start without debugging"(Ctrl+F5), the application crashes before even appearing.This has started happening since this commit: https://github.com/microsoft/PowerToys/commit/1bd702340bb56ecedb198e160a91cce0ccd61b06
Downgrading
Microsoft.UI.Xaml
from2.6.1-prerelease.210709001
to2.6.0-prerelease.210623001
makes the Application work correctly again.I get these errors in the Event Viewer when trying to start the application:
and
and
I've uploaded the
Report.wer
here: Report.zipSteps to reproduce the bug
Running the built "PowerToys.Settings.exe" from
PowerToys\x64\Release\Settings\
orPowerToys\x64\Debug\Settings\
also replicates this.Expected behavior The application starting normally, instead of failing silently.
Version Info
NuGet package version: [Microsoft.UI.Xaml.2.6.1-prerelease.210709001]
My Windows 10 Enterprise build is 18363. It's a Laptop.
Additional context https://github.com/microsoft/PowerToys/pull/12470#issuecomment-885006178