-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Description
Description
When I booted into Windows today, Files initially invoked, then hung, then crashed, all at its loading screen. Subsequent attempts to invoke silently failed. To debug this, I invoked it in Microsoft.WinDbg_1.2506.12002.0_x64__8wekyb3d8bbwe
.
When I first attempted to invoke "$Env:ProgramFiles\WindowsApps\FilesPreview_3.9.10.0_x64__1y0xx7n9077q4\Files.App\Files.exe"
, it crashed. See the undermentioned stack trace from windbg
's invocation of it:
-
Invocation
************* Preparing the environment for Debugger Extensions Gallery repositories ************** ExtensionRepository : Implicit UseExperimentalFeatureForNugetShare : true AllowNugetExeUpdate : true NonInteractiveNuget : true AllowNugetMSCredentialProviderInstall : true AllowParallelInitializationOfLocalRepositories : true EnableRedirectToChakraJsProvider : false -- Configuring repositories ----> Repository : LocalInstalled, Enabled: true ----> Repository : UserExtensions, Enabled: true >>>>>>>>>>>>> Preparing the environment for Debugger Extensions Gallery repositories completed, duration 0.000 seconds ************* Waiting for Debugger Extensions Gallery to Initialize ************** >>>>>>>>>>>>> Waiting for Debugger Extensions Gallery to Initialize completed, duration 0.187 seconds ----> Repository : UserExtensions, Enabled: true, Packages count: 0 ----> Repository : LocalInstalled, Enabled: true, Packages count: 45 Microsoft (R) Windows Debugger Version 10.0.27871.1001 AMD64 Copyright (c) Microsoft Corporation. All rights reserved. CommandLine: C:\Program Files\WindowsApps\FilesPreview_3.9.10.0_x64__1y0xx7n9077q4\Files.App\Files.exe ************* Path validation summary ************** Response Time (ms) Location Deferred srv* Symbol search path is: srv* Executable search path is: +------------------------------------------------------------------------+ | This target supports Hardware-enforced Stack Protection. A HW based | | "Shadow Stack" may be available to assist in debugging and analysis. | | See aka.ms/userhsp for more info. | | | | dps @ssp | | | +------------------------------------------------------------------------+ ModLoad: 00007ff7`25dd0000 00007ff7`25e60000 apphost.exe ModLoad: 00007ff9`77100000 00007ff9`7735e000 ntdll.dll ModLoad: 00007ff9`75040000 00007ff9`75108000 C:\Windows\System32\KERNEL32.DLL ModLoad: 00007ff9`74820000 00007ff9`74bd2000 C:\Windows\System32\KERNELBASE.dll ModLoad: 00007ff9`75320000 00007ff9`75a21000 C:\Windows\System32\SHELL32.dll ModLoad: 00007ff9`74eb0000 00007ff9`74f53000 C:\Windows\System32\msvcp_win.dll ModLoad: 00007ff9`74d60000 00007ff9`74eab000 C:\Windows\System32\ucrtbase.dll ModLoad: 00007ff9`76b60000 00007ff9`76d28000 C:\Windows\System32\USER32.dll ModLoad: 00007ff9`74d30000 00007ff9`74d57000 C:\Windows\System32\win32u.dll ModLoad: 00007ff9`75f70000 00007ff9`75f9a000 C:\Windows\System32\GDI32.dll ModLoad: 00007ff9`744d0000 00007ff9`745fb000 C:\Windows\System32\gdi32full.dll ModLoad: 00007ff9`768b0000 00007ff9`76963000 C:\Windows\System32\ADVAPI32.dll ModLoad: 00007ff9`75d20000 00007ff9`75dc9000 C:\Windows\System32\msvcrt.dll ModLoad: 00007ff9`76800000 00007ff9`768a6000 C:\Windows\System32\sechost.dll ModLoad: 00007ff9`75200000 00007ff9`75316000 C:\Windows\System32\RPCRT4.dll (7698.7680): Break instruction exception - code 80000003 (first chance) ntdll!LdrpDoDebuggerBreak+0x35: 00007ff9`772213f9 cc int 3 0:000> k # Child-SP RetAddr Call Site 00 00000078`8dd7f0c0 00007ff9`771adb4f ntdll!LdrpDoDebuggerBreak+0x35 01 00000078`8dd7f100 00007ff9`771abdc0 ntdll!LdrpInitializeProcess+0x1a93 02 00000078`8dd7f4e0 00007ff9`7721eadb ntdll!LdrpInitialize+0x16c 03 00000078`8dd7f560 00007ff9`771f233e ntdll!LdrpInitializeInternal+0xd7 04 00000078`8dd7f5b0 00000000`00000000 ntdll!LdrInitializeThunk+0xe 0:000> g ModLoad: 00007ff9`76190000 00007ff9`761bf000 C:\Windows\System32\IMM32.DLL ModLoad: 00007ff9`0b680000 00007ff9`0b6d9000 C:\Program Files\WindowsApps\FilesPreview_3.9.10.0_x64__1y0xx7n9077q4\Files.App\hostfxr.dll ModLoad: 00007ff9`0b490000 00007ff9`0b4ee000 C:\Program Files\WindowsApps\FilesPreview_3.9.10.0_x64__1y0xx7n9077q4\Files.App\hostpolicy.dll ModLoad: 00007ff9`0afe0000 00007ff9`0b48a000 C:\Program Files\WindowsApps\FilesPreview_3.9.10.0_x64__1y0xx7n9077q4\Files.App\coreclr.dll ModLoad: 00007ff9`75dd0000 00007ff9`75f69000 C:\Windows\System32\ole32.dll ModLoad: 00007ff9`76d30000 00007ff9`770ae000 C:\Windows\System32\combase.dll ModLoad: 00007ff9`76720000 00007ff9`767f6000 C:\Windows\System32\OLEAUT32.dll ModLoad: 00007ff9`74600000 00007ff9`74699000 C:\Windows\System32\bcryptPrimitives.dll (7698.7680): Unknown exception - code 04242420 (first chance) ModLoad: 00007ff9`732d0000 00007ff9`732ea000 C:\Windows\SYSTEM32\kernel.appcore.dll ModLoad: 00007ff9`0a740000 00007ff9`0ac45000 C:\Program Files\WindowsApps\FilesPreview_3.9.10.0_x64__1y0xx7n9077q4\Files.App\System.Private.CoreLib.dll ModLoad: 00007ff8`9b340000 00007ff8`a6dd7000 C:\Program Files\WindowsApps\FilesPreview_3.9.10.0_x64__1y0xx7n9077q4\Files.App\Files.r2r.dll ModLoad: 00007ff9`0a210000 00007ff9`0a73b000 C:\Program Files\WindowsApps\FilesPreview_3.9.10.0_x64__1y0xx7n9077q4\Files.App\Files.dll ModLoad: 00007ff9`0b670000 00007ff9`0b67b000 C:\Program Files\WindowsApps\FilesPreview_3.9.10.0_x64__1y0xx7n9077q4\Files.App\System.Runtime.dll ModLoad: 00007ff9`71510000 00007ff9`715bd000 C:\Windows\system32\uxtheme.dll ModLoad: 00007ff9`0a180000 00007ff9`0a202000 C:\Program Files\WindowsApps\FilesPreview_3.9.10.0_x64__1y0xx7n9077q4\Files.App\WinRT.Runtime.dll ModLoad: 00007ff9`0a160000 00007ff9`0a177000 C:\Program Files\WindowsApps\FilesPreview_3.9.10.0_x64__1y0xx7n9077q4\Files.App\System.Collections.Concurrent.dll ModLoad: 00007ff9`0a150000 00007ff9`0a160000 C:\Program Files\WindowsApps\FilesPreview_3.9.10.0_x64__1y0xx7n9077q4\Files.App\System.Runtime.InteropServices.dll ModLoad: 00007ff9`0a120000 00007ff9`0a14e000 C:\Program Files\WindowsApps\FilesPreview_3.9.10.0_x64__1y0xx7n9077q4\Files.App\System.Linq.dll ModLoad: 00007ff9`0a0f0000 00007ff9`0a114000 C:\Program Files\WindowsApps\FilesPreview_3.9.10.0_x64__1y0xx7n9077q4\Files.App\System.Diagnostics.Process.dll ModLoad: 00007ff9`0a0e0000 00007ff9`0a0eb000 C:\Program Files\WindowsApps\FilesPreview_3.9.10.0_x64__1y0xx7n9077q4\Files.App\System.ComponentModel.Primitives.dll ModLoad: 00007ff9`0a0d0000 00007ff9`0a0df000 C:\Program Files\WindowsApps\FilesPreview_3.9.10.0_x64__1y0xx7n9077q4\Files.App\Files.Shared.dll ModLoad: 00007ff9`095b0000 00007ff9`09cb3000 C:\Program Files\WindowsApps\FilesPreview_3.9.10.0_x64__1y0xx7n9077q4\Files.App\Microsoft.WinUI.dll ModLoad: 00007ff9`0a0c0000 00007ff9`0a0cb000 C:\Program Files\WindowsApps\FilesPreview_3.9.10.0_x64__1y0xx7n9077q4\Files.App\Microsoft.Windows.AppLifecycle.Projection.dll ModLoad: 00007ff9`0a0a0000 00007ff9`0a0ae000 C:\Program Files\WindowsApps\FilesPreview_3.9.10.0_x64__1y0xx7n9077q4\Files.App\Microsoft.Win32.Registry.dll ModLoad: 00007ff8`a7360000 00007ff8`a8cfc000 C:\Program Files\WindowsApps\FilesPreview_3.9.10.0_x64__1y0xx7n9077q4\Files.App\Microsoft.Windows.SDK.NET.dll ModLoad: 00007ff9`761d0000 00007ff9`76278000 C:\Windows\System32\clbcatq.dll ModLoad: 00007ff9`5f710000 00007ff9`5f7e7000 C:\Windows\System32\Windows.ApplicationModel.dll ModLoad: 00007ff9`6e1c0000 00007ff9`6e328000 C:\Windows\SYSTEM32\wintypes.dll ModLoad: 00007ff9`636b0000 00007ff9`636ca000 C:\Windows\SYSTEM32\windows.staterepositorycore.dll onecore\base\AppModel\Runtime\Src\PackagePath.hpp(144)\kernelbase.dll!00007FF97488742B: (caller: 00007FF97490420E) ReturnHr(1) tid(7680) 80073D5B The package does not have a mutable directory. ModLoad: 00007ff9`09ef0000 00007ff9`09efc000 C:\Program Files\WindowsApps\FilesPreview_3.9.10.0_x64__1y0xx7n9077q4\Files.App\System.Threading.dll ModLoad: 00007ff9`09ee0000 00007ff9`09ee5000 C:\Program Files\WindowsApps\FilesPreview_3.9.10.0_x64__1y0xx7n9077q4\Files.App\System.ComponentModel.dll ModLoad: 00007ff9`09ed0000 00007ff9`09edb000 C:\Program Files\WindowsApps\FilesPreview_3.9.10.0_x64__1y0xx7n9077q4\Files.App\System.ObjectModel.dll ModLoad: 00007ff9`09cd0000 00007ff9`09cea000 C:\Program Files\WindowsApps\FilesPreview_3.9.10.0_x64__1y0xx7n9077q4\Files.App\System.Private.Uri.dll ModLoad: 00007ff9`09cf0000 00007ff9`09ecf000 C:\Program Files\WindowsApps\FilesPreview_3.9.10.0_x64__1y0xx7n9077q4\Files.App\clrjit.dll onecore\base\AppModel\Runtime\Src\PackagePath.hpp(144)\kernelbase.dll!00007FF97488742B: (caller: 00007FF97490420E) ReturnHr(2) tid(7680) 80073D5B The package does not have a mutable directory. onecore\base\AppModel\Runtime\Src\PackagePath.hpp(144)\kernelbase.dll!00007FF97488742B: (caller: 00007FF97490420E) ReturnHr(3) tid(7680) 80073D5B The package does not have a mutable directory. onecore\base\AppModel\Runtime\Src\PackagePath.hpp(144)\kernelbase.dll!00007FF97488742B: (caller: 00007FF97490420E) ReturnHr(4) tid(7680) 80073D5B The package does not have a mutable directory. onecore\base\AppModel\Runtime\Src\PackagePath.hpp(144)\kernelbase.dll!00007FF97488742B: (caller: 00007FF97490420E) ReturnHr(5) tid(7680) 80073D5B The package does not have a mutable directory. onecore\base\AppModel\Runtime\Src\PackagePath.hpp(144)\kernelbase.dll!00007FF97488742B: (caller: 00007FF97490420E) ReturnHr(6) tid(7680) 80073D5B The package does not have a mutable directory. ModLoad: 00007ff9`721c0000 00007ff9`729f2000 C:\Windows\SYSTEM32\windows.storage.dll ModLoad: 00007ff9`74f60000 00007ff9`7503a000 C:\Windows\System32\shcore.dll ModLoad: 00007ff9`760d0000 00007ff9`7612d000 C:\Windows\System32\shlwapi.dll ModLoad: 00007ff9`74160000 00007ff9`741bf000 C:\Windows\SYSTEM32\CFGMGR32.dll ModLoad: 00007ff9`559d0000 00007ff9`55a7f000 C:\Windows\System32\Windows.FileExplorer.Common.dll ModLoad: 00007ff9`6f360000 00007ff9`6f454000 C:\Windows\system32\propsys.dll ModLoad: 00007ff9`743e0000 00007ff9`7440e000 C:\Windows\SYSTEM32\profapi.dll ModLoad: 00007ff9`55a90000 00007ff9`55c0d000 C:\Windows\SYSTEM32\windows.system.launcher.dll ModLoad: 00007ff9`71180000 00007ff9`7121c000 C:\Windows\SYSTEM32\apphelp.dll ModLoad: 00007ff9`468a0000 00007ff9`468bb000 C:\Windows\system32\NetworkExplorer.dll ModLoad: 00007ff9`45cf0000 00007ff9`45d1f000 C:\Windows\system32\mssprxy.dll ModLoad: 00007ff9`5e400000 00007ff9`5e4c4000 C:\Windows\System32\Windows.StateRepositoryPS.dll ModLoad: 00007ff9`63660000 00007ff9`636a5000 C:\Windows\SYSTEM32\windows.staterepositoryclient.dll ModLoad: 00007ff9`3f750000 00007ff9`3f7ba000 C:\Windows\System32\Windows.Storage.ApplicationData.dll ModLoad: 00007ff9`66950000 00007ff9`66b88000 C:\Windows\System32\twinapi.appcore.dll ModLoad: 00007ff9`091f0000 00007ff9`0927f000 C:\Program Files\WindowsApps\FilesPreview_3.9.10.0_x64__1y0xx7n9077q4\Files.App\System.Linq.Expressions.dll ModLoad: 00007ff9`09cc0000 00007ff9`09cce000 C:\Program Files\WindowsApps\FilesPreview_3.9.10.0_x64__1y0xx7n9077q4\Files.App\System.Memory.dll ModLoad: 00007ff8`ad9a0000 00007ff8`ada63000 C:\Program Files\WindowsApps\FilesPreview_3.9.10.0_x64__1y0xx7n9077q4\Files.App\System.Security.Cryptography.dll ModLoad: 00007ff9`73d60000 00007ff9`73d86000 C:\Windows\SYSTEM32\BCrypt.dll ModLoad: 00007ff9`094d0000 00007ff9`094f0000 C:\Program Files\WindowsApps\FilesPreview_3.9.10.0_x64__1y0xx7n9077q4\Files.App\System.Collections.dll ModLoad: 00007ff9`57850000 00007ff9`57aee000 C:\Windows\SYSTEM32\icu.dll ModLoad: 00007ff9`23fd0000 00007ff9`241b6000 C:\Program Files\WindowsApps\Microsoft.WindowsAppRuntime.1.7_7000.522.1444.0_x64__8wekyb3d8bbwe\Microsoft.WindowsAppRuntime.dll ModLoad: 00007ff9`740d0000 00007ff9`7411e000 C:\Windows\SYSTEM32\powrprof.dll ModLoad: 000001cd`00a60000 000001cd`00aae000 C:\Windows\SYSTEM32\powrprof.dll ModLoad: 00007ff9`73850000 00007ff9`7387b000 C:\Windows\SYSTEM32\USERENV.dll ModLoad: 00007ff9`68590000 00007ff9`685cb000 C:\Windows\SYSTEM32\XmlLite.dll ModLoad: 00007ff9`3dcb0000 00007ff9`3dce9000 C:\Windows\SYSTEM32\RoMetadata.dll ModLoad: 00007ff9`740b0000 00007ff9`740c4000 C:\Windows\SYSTEM32\UMPDC.dll ModLoad: 00007ff9`48730000 00007ff9`4878d000 C:\Windows\System32\execmodelclient.dll ModLoad: 00007ff9`49400000 00007ff9`4941f000 C:\Windows\System32\Windows.Shell.ServiceHostBuilder.dll ModLoad: 00007ff9`48790000 00007ff9`487a4000 C:\Windows\system32\execmodelproxy.dll ModLoad: 00007ff9`63700000 00007ff9`639c8000 C:\Windows\System32\iertutil.dll ModLoad: 00007ff9`72cb0000 00007ff9`72cbd000 C:\Windows\System32\netutils.dll ModLoad: 00007ff9`636d0000 00007ff9`636f9000 C:\Windows\System32\srvcli.dll
-
Trace
onecoreuap\base\appmodel\statemanager\winrt\srv\abiservermodule.cpp(99)\Windows.Storage.ApplicationData.dll!00007FF93F773B13: (caller: 00007FF93F7698E5) LogHr(1) tid(7680) 80070005 Access is denied. Msg:[Failed to set process redirection guard from DisableMitigations] ntdll!NtTerminateProcess+0x14: 00007ff9`7725fc34 c3 ret 0:000> k # Child-SP RetAddr Call Site 00 00000078`8dd7da28 00007ff9`771dfd8e ntdll!NtTerminateProcess+0x14 01 00000078`8dd7da30 00007ff9`750818ab ntdll!RtlExitUserProcess+0x11e 02 00000078`8dd7da60 00007ff9`0b09657b KERNEL32!ExitProcessImplementation+0xb 03 00000078`8dd7da90 00007ff9`0b096616 coreclr!SafeExitProcess+0x77 [D:\a\_work\1\s\src\coreclr\vm\eepolicy.cpp @ 72] 04 00000078`8dd7dad0 00007ff8`9db40c38 coreclr!Environment_Exit+0x36 [D:\a\_work\1\s\src\coreclr\classlibnative\bcltype\system.cpp @ 65] 05 00000078`8dd7db10 00007ff9`0b133073 Files!Files.App.Program..cctor()+0x208 06 00000078`8dd7dc20 00007ff9`0b0b0100 coreclr!CallDescrWorkerInternal+0x83 [D:\a\_work\1\s\src\coreclr\vm\amd64\CallDescrWorkerAMD64.asm @ 74] 07 00000078`8dd7dc60 00007ff9`0b0b01b8 coreclr!DispatchCallDebuggerWrapper+0x1c [D:\a\_work\1\s\src\coreclr\vm\callhelpers.cpp @ 152] 08 00000078`8dd7dcb0 00007ff9`0b0aff34 coreclr!DispatchCallSimple+0x80 [D:\a\_work\1\s\src\coreclr\vm\callhelpers.cpp @ 242] 09 (Inline Function) --------`-------- coreclr!StressLog::InlinedStressLogOn+0x5 [D:\a\_work\1\s\src\coreclr\utilcode\stresslog.cpp @ 824] 0a (Inline Function) --------`-------- coreclr!StressLog::StressLogOn+0x5 [D:\a\_work\1\s\src\coreclr\utilcode\stresslog.cpp @ 833] 0b 00000078`8dd7dd40 00007ff9`0b07d2fb coreclr!MethodTable::RunClassInitEx+0x110 [D:\a\_work\1\s\src\coreclr\vm\methodtable.cpp @ 3546] 0c 00000078`8dd7de10 00007ff9`0b0ada98 coreclr!MethodTable::DoRunClassInitThrowing+0x31b [D:\a\_work\1\s\src\coreclr\vm\methodtable.cpp @ 3725] 0d (Inline Function) --------`-------- coreclr!MethodTable::CheckRunClassInitThrowing+0x29 [D:\a\_work\1\s\src\coreclr\vm\methodtable.cpp @ 3850] 0e 00000078`8dd7e3a0 00007ff9`0b0ad44c coreclr!DynamicHelperFixup+0x56c [D:\a\_work\1\s\src\coreclr\vm\prestub.cpp @ 3799] 0f 00000078`8dd7e7a0 00007ff9`0b13446a coreclr!DynamicHelperWorker+0x11c [D:\a\_work\1\s\src\coreclr\vm\prestub.cpp @ 4112] 10 00000078`8dd7e890 00007ff8`9db40cdd coreclr!DelayLoad_Helper+0x7a [D:\a\_work\1\s\src\coreclr\vm\amd64\ExternalMethodFixupThunk.asm @ 61] 11 00000078`8dd7e950 00007ff9`0b133073 Files!Files.App.Program.Main()+0x3d 12 00000078`8dd7ea20 00007ff9`0b0b043c coreclr!CallDescrWorkerInternal+0x83 [D:\a\_work\1\s\src\coreclr\vm\amd64\CallDescrWorkerAMD64.asm @ 74] 13 00000078`8dd7ea60 00007ff9`0b097bc8 coreclr!MethodDescCallSite::CallTargetWorker+0x208 [D:\a\_work\1\s\src\coreclr\vm\callhelpers.cpp @ 595] 14 (Inline Function) --------`-------- coreclr!MethodDescCallSite::Call+0xb [D:\a\_work\1\s\src\coreclr\vm\callhelpers.h @ 465] 15 00000078`8dd7eba0 00007ff9`0b098d29 coreclr!RunMainInternal+0x11c [D:\a\_work\1\s\src\coreclr\vm\assembly.cpp @ 1235] 16 00000078`8dd7ecc0 00007ff9`0b09903d coreclr!RunMain+0xd1 [D:\a\_work\1\s\src\coreclr\vm\assembly.cpp @ 1306] 17 00000078`8dd7ed50 00007ff9`0b0982cb coreclr!Assembly::ExecuteMainMethod+0x199 [D:\a\_work\1\s\src\coreclr\vm\assembly.cpp @ 1434] 18 00000078`8dd7f020 00007ff9`0b11013c coreclr!CorHost2::ExecuteAssembly+0x1cb [D:\a\_work\1\s\src\coreclr\vm\corhost.cpp @ 350] 19 00000078`8dd7f130 00007ff9`0b4ae8ec coreclr!coreclr_execute_assembly+0xcc [D:\a\_work\1\s\src\coreclr\dlls\mscoree\exports.cpp @ 494] 1a 00000078`8dd7f1d0 00007ff9`0b4aebbc hostpolicy+0x1e8ec 1b 00000078`8dd7f300 00007ff9`0b4af4ca hostpolicy+0x1ebbc 1c 00000078`8dd7f340 00007ff9`0b68d986 hostpolicy!corehost_main+0x15a 1d 00000078`8dd7f440 00007ff9`0b68ff66 hostfxr!execute_app+0x2e6 [D:\a\_work\1\s\src\native\corehost\fxr\fx_muxer.cpp @ 145] 1e 00000078`8dd7f4d0 00007ff9`0b69204c hostfxr!`anonymous namespace'::read_config_and_execute+0xa6 [D:\a\_work\1\s\src\native\corehost\fxr\fx_muxer.cpp @ 532] 1f 00000078`8dd7f5c0 00007ff9`0b690533 hostfxr!fx_muxer_t::handle_exec_host_command+0x16c [D:\a\_work\1\s\src\native\corehost\fxr\fx_muxer.cpp @ 1007] 20 00000078`8dd7f670 00007ff9`0b688460 hostfxr!fx_muxer_t::execute+0x483 [D:\a\_work\1\s\src\native\corehost\fxr\fx_muxer.cpp @ 578] 21 00000078`8dd7f7b0 00007ff7`25dd2b53 hostfxr!hostfxr_main_startupinfo+0xa0 [D:\a\_work\1\s\src\native\corehost\fxr\hostfxr.cpp @ 63] 22 00000078`8dd7f8b0 00007ff7`25dd2f66 apphost!exe_start+0x793 [D:\a\_work\1\s\src\native\corehost\corehost.cpp @ 253] 23 00000078`8dd7fa60 00007ff7`25de2808 apphost!wmain+0x146 [D:\a\_work\1\s\src\native\corehost\corehost.cpp @ 324] 24 (Inline Function) --------`-------- apphost!invoke_main+0x22 [D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl @ 90] 25 00000078`8dd7fad0 00007ff9`7506e8d7 apphost!__scrt_common_main_seh+0x10c [D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl @ 288] 26 00000078`8dd7fb10 00007ff9`771dfbcc KERNEL32!BaseThreadInitThunk+0x17 27 00000078`8dd7fb40 00000000`00000000 ntdll!RtlUserThreadStart+0x2c 0:000> .dump /ma C:\Users\rokej\FilesCommunity1.dmp Creating C:\Users\rokej\FilesCommunity1.dmp - mini user dump GenInvokeEnumStackProviders(C:\Program Files\WindowsApps\FilesPreview_3.9.10.0_x64__1y0xx7n9077q4\Files.App\mscordaccore.dll) failed, 0x80070005 Dump successfully written
The sole alternative reference to this I see is microsoft/microsoft-ui-xaml#10322 (comment), which explains nothing, so if you want to debug it yourself, download the .dmp
from mediafire.com/file/vlanh38zejllpbk
.
However, since, when I've attempted to invoke I attempt to invoke it and $Home\AppData\Local\Microsoft\WindowsApps\files-preview.exe
in windbg
, it's functioned, despite failing to outside of that context. Perhaps, the debugger changes something about its execution context?
Weirdly, when it's operating in windbg
's debug context, "Quit" makes windbg
return that it's crashed. If it's correct about that, see the undermentioned:
-
Invocation
See
gist.github.com/RokeJulianLockhart/d4dabb85140fb39fbbc334830ea78db6
. -
Trace
ModLoad: 00007ff8`87c00000 00007ff8`87c38000 C:\Program Files\WindowsApps\FilesPreview_3.9.10.0_x64__1y0xx7n9077q4\Files.App\System.Linq.Parallel.dll onecore\base\AppModel\Runtime\Src\PackagePath.hpp(144)\kernelbase.dll!00007FF97488742B: (caller: 00007FF97490420E) ReturnHr(22) tid(acc) 80073D5B The package does not have a mutable directory. Microsoft.UI.Xaml.dll!00007FF9216E55B6: 8001010E - RPC_E_WRONG_THREAD ntdll!NtTerminateProcess+0x14: 00007ff9`7725fc34 c3 ret 0:000> k # Child-SP RetAddr Call Site 00 000000b7`2437f438 00007ff9`7711afaa ntdll!NtTerminateProcess+0x14 01 000000b7`2437f440 00007ff9`77125def ntdll!RtlpWaitOnCriticalSection+0x68a 02 000000b7`2437f540 00007ff9`77125548 ntdll!RtlpEnterCriticalSectionContended+0x1ff 03 000000b7`2437f5c0 00007ff9`71341df4 ntdll!RtlEnterCriticalSection+0xf8 04 000000b7`2437f600 00007ff9`712ba262 windowscodecs!ShutdownPlatformForCodecPacks+0x14 05 000000b7`2437f630 00007ff9`22f5fd91 windowscodecs!CCodecFactory::Release+0x32 06 000000b7`2437f660 00007ff9`74d7cf05 Microsoft_UI_Xaml!Microsoft::WRL::ComPtr<ABI::Microsoft::UI::Composition::ICompositionEasingFunctionStatics>::InternalRelease+0x21 [C:\__w\1\s\packages\Microsoft.Windows.SDK.cpp.10.0.22621.755\c\Include\10.0.22621.0\winrt\wrl\client.h @ 239] 07 000000b7`2437f690 00007ff9`74d7ce27 ucrtbase!<lambda_f03950bc5685219e0bcd2087efbe011e>::operator()+0xa5 08 000000b7`2437f6e0 00007ff9`74d7cddd ucrtbase!__crt_seh_guarded_call<int>::operator()<<lambda_7777bce6b2f8c936911f934f8298dc43>,<lambda_f03950bc5685219e0bcd2087efbe011e> &,<lambda_3883c3dff614d5e0c5f61bb1ac94921c> >+0x3b 09 000000b7`2437f710 00007ff9`22fe42ed ucrtbase!execute_onexit_table+0x3d 0a 000000b7`2437f750 00007ff9`22fe4409 Microsoft_UI_Xaml!dllmain_crt_process_detach+0x45 [D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\dll_dllmain.cpp @ 182] 0b 000000b7`2437f790 00007ff9`7711d860 Microsoft_UI_Xaml!dllmain_dispatch+0xe1 [D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\dll_dllmain.cpp @ 293] 0c 000000b7`2437f7f0 00007ff9`771e0bc0 ntdll!LdrpCallInitRoutine+0xb0 0d 000000b7`2437fad0 00007ff9`771dfd84 ntdll!LdrShutdownProcess+0x260 0e 000000b7`2437fbe0 00007ff9`750818ab ntdll!RtlExitUserProcess+0x114 0f 000000b7`2437fc10 00007ff9`74e00543 KERNEL32!ExitProcessImplementation+0xb 10 000000b7`2437fc40 00007ff7`25de286f ucrtbase!common_exit+0xc7 11 000000b7`2437fca0 00007ff9`7506e8d7 apphost!__scrt_common_main_seh+0x173 [D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl @ 295] 12 000000b7`2437fce0 00007ff9`771dfbcc KERNEL32!BaseThreadInitThunk+0x17 13 000000b7`2437fd10 00000000`00000000 ntdll!RtlUserThreadStart+0x2c 0:000> g ^ No runnable debuggees error in 'g'
To confirm, watch youtu.be/ZrT1hpxG74M
.
Steps To Reproduce
Of course, I first noticed when I attempted to invoke it from Microsoft.Windows.StartMenuExperienceHost_10.0.26100.1930_neutral_neutral_cw5n1h2txyewy
. However, this also applies to Microsoft.PowerShellPreview_7.6.4.0_x64__8wekyb3d8bbwe
:
#!/usr/bin/env pwsh
If ($IsWindows) {
Start-Process 'shell:AppsFolder\FilesPreview_1y0xx7n9077q4!App'
If ($? -Eq $False) { Start-Process "$Home\AppData\Local\Microsoft\WindowsApps\files-preview.exe" }
If ($? -Eq $False) { Start-Process "$Env:ProgramFiles\WindowsApps\FilesPreview_3.9.10.0_x64__1y0xx7n9077q4\Files.App\Files.exe" }
}
Files Version
3.9.10.0
Windows Version
10.0.26120
User ID
No response
Log File
The hinted ___location (%localappdata%\Packages\49306atecsolution.FilesUWP_et10x9a9vyk8t\LocalState
) doesn't exist:
Start-Process
: This command cannot be run due to the error: An error occurred trying to start process '$Env:LocalAppData\Packages\49306atecsolution.FilesUWP_et10x9a9vyk8t\LocalState
' with working directory 'C:\Users\rokej
'. The system cannot find the file specified.
<Objs Version="1.1.0.1" xmlns="http://schemas.microsoft.com/powershell/2004/04"> <Obj RefId="0"> <TN RefId="0"> <T>System.Management.Automation.ErrorRecord#PSExtendedError</T> <T>System.Object</T> </TN> <ToString>This command cannot be run due to the error: An error occurred trying to start process '$Env:LocalAppData\Packages\49306atecsolution.FilesUWP_et10x9a9vyk8t\LocalState' with working directory 'C:\Users\rokej'. The system cannot find the file specified.</ToString> <MS> <Obj N="Exception" RefId="1"> <TN RefId="1"> <T>System.InvalidOperationException</T> <T>System.SystemException</T> <T>System.Exception</T> <T>System.Object</T> </TN> <ToString>System.InvalidOperationException: This command cannot be run due to the error: An error occurred trying to start process '$Env:LocalAppData\Packages\49306atecsolution.FilesUWP_et10x9a9vyk8t\LocalState' with working directory 'C:\Users\rokej'. The system cannot find the file specified._x000D__x000A_ at System.Management.Automation.MshCommandRuntime.ThrowTerminatingError(ErrorRecord errorRecord)</ToString> <Props> <S N="TargetSite">Void ThrowTerminatingError(System.Management.Automation.ErrorRecord)</S> <S N="Message">This command cannot be run due to the error: An error occurred trying to start process '$Env:LocalAppData\Packages\49306atecsolution.FilesUWP_et10x9a9vyk8t\LocalState' with working directory 'C:\Users\rokej'. The system cannot find the file specified.</S> <Obj N="Data" RefId="2"> <TN RefId="2"> <T>System.Collections.ListDictionaryInternal</T> <T>System.Object</T> </TN> <DCT /> </Obj> <Nil N="InnerException" /> <Nil N="HelpLink" /> <S N="Source">System.Management.Automation</S> <I32 N="HResult">-2146233079</I32> <S N="StackTrace"> at System.Management.Automation.MshCommandRuntime.ThrowTerminatingError(ErrorRecord errorRecord)</S> </Props> </Obj> <Nil N="TargetObject" /> <S N="FullyQualifiedErrorId">InvalidOperationException,Microsoft.PowerShell.Commands.StartProcessCommand</S> <Obj N="InvocationInfo" RefId="3"> <TN RefId="3"> <T>System.Management.Automation.InvocationInfo</T> <T>System.Object</T> </TN> <ToString>System.Management.Automation.InvocationInfo</ToString> <Props> <Obj N="MyCommand" RefId="4"> <TN RefId="4"> <T>System.Management.Automation.CmdletInfo</T> <T>System.Management.Automation.CommandInfo</T> <T>System.Object</T> </TN> <ToString>Start-Process</ToString> <Props> <S N="Verb">Start</S> <S N="Noun">Process</S> <S N="HelpFile">Microsoft.PowerShell.Commands.Management.dll-Help.xml</S> <Nil N="PSSnapIn" /> <Version N="Version">7.0.0.0</Version> <S N="ImplementingType">Microsoft.PowerShell.Commands.StartProcessCommand</S> <S N="Definition">_x000D__x000A_Start-Process [-FilePath] <string> [[-ArgumentList] <string[]>] [-Credential <pscredential>] [-WorkingDirectory <string>] [-LoadUserProfile] [-NoNewWindow] [-PassThru] [-RedirectStandardError <string>] [-RedirectStandardInput <string>] [-RedirectStandardOutput <string>] [-WindowStyle <ProcessWindowStyle>] [-Wait] [-UseNewEnvironment] [-Environment <hashtable>] [-WhatIf] [-Confirm] [<CommonParameters>]_x000D__x000A__x000D__x000A_Start-Process [-FilePath] <string> [[-ArgumentList] <string[]>] [-WorkingDirectory <string>] [-PassThru] [-Verb <string>] [-WindowStyle <ProcessWindowStyle>] [-Wait] [-Environment <hashtable>] [-WhatIf] [-Confirm] [<CommonParameters>]_x000D__x000A_</S> <S N="DefaultParameterSet">Default</S> <Obj N="OutputType" RefId="5"> <TN RefId="5"> <T>System.Collections.ObjectModel.ReadOnlyCollection`1[[System.Management.Automation.PSTypeName, System.Management.Automation, Version=7.6.0.4, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]</T> <T>System.Object</T> </TN> <LST> <S>System.Diagnostics.Process</S> </LST> </Obj> <S N="Options">ReadOnly</S> <S N="Name">Start-Process</S> <S N="CommandType">Cmdlet</S> <S N="Source">Microsoft.PowerShell.Management</S> <S N="Visibility">Public</S> <S N="ModuleName">Microsoft.PowerShell.Management</S> <S N="Module">Microsoft.PowerShell.Management</S> <S N="RemotingCapability">PowerShell</S> <Obj N="Parameters" RefId="6"> <TN RefId="6"> <T>System.Collections.Generic.Dictionary`2[[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.Management.Automation.ParameterMetadata, System.Management.Automation, Version=7.6.0.4, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]</T> <T>System.Object</T> </TN> <DCT> <En> <S N="Key">FilePath</S> <S N="Value">System.Management.Automation.ParameterMetadata</S> </En> <En> <S N="Key">ArgumentList</S> <S N="Value">System.Management.Automation.ParameterMetadata</S> </En> <En> <S N="Key">Credential</S> <S N="Value">System.Management.Automation.ParameterMetadata</S> </En> <En> <S N="Key">WorkingDirectory</S> <S N="Value">System.Management.Automation.ParameterMetadata</S> </En> <En> <S N="Key">LoadUserProfile</S> <S N="Value">System.Management.Automation.ParameterMetadata</S> </En> <En> <S N="Key">NoNewWindow</S> <S N="Value">System.Management.Automation.ParameterMetadata</S> </En> <En> <S N="Key">PassThru</S> <S N="Value">System.Management.Automation.ParameterMetadata</S> </En> <En> <S N="Key">RedirectStandardError</S> <S N="Value">System.Management.Automation.ParameterMetadata</S> </En> <En> <S N="Key">RedirectStandardInput</S> <S N="Value">System.Management.Automation.ParameterMetadata</S> </En> <En> <S N="Key">RedirectStandardOutput</S> <S N="Value">System.Management.Automation.ParameterMetadata</S> </En> <En> <S N="Key">Verb</S> <S N="Value">System.Management.Automation.ParameterMetadata</S> </En> <En> <S N="Key">WindowStyle</S> <S N="Value">System.Management.Automation.ParameterMetadata</S> </En> <En> <S N="Key">Wait</S> <S N="Value">System.Management.Automation.ParameterMetadata</S> </En> <En> <S N="Key">UseNewEnvironment</S> <S N="Value">System.Management.Automation.ParameterMetadata</S> </En> <En> <S N="Key">Environment</S> <S N="Value">System.Management.Automation.ParameterMetadata</S> </En> <En> <S N="Key">Verbose</S> <S N="Value">System.Management.Automation.ParameterMetadata</S> </En> <En> <S N="Key">Debug</S> <S N="Value">System.Management.Automation.ParameterMetadata</S> </En> <En> <S N="Key">ErrorAction</S> <S N="Value">System.Management.Automation.ParameterMetadata</S> </En> <En> <S N="Key">WarningAction</S> <S N="Value">System.Management.Automation.ParameterMetadata</S> </En> <En> <S N="Key">InformationAction</S> <S N="Value">System.Management.Automation.ParameterMetadata</S> </En> <En> <S N="Key">ProgressAction</S> <S N="Value">System.Management.Automation.ParameterMetadata</S> </En> <En> <S N="Key">ErrorVariable</S> <S N="Value">System.Management.Automation.ParameterMetadata</S> </En> <En> <S N="Key">WarningVariable</S> <S N="Value">System.Management.Automation.ParameterMetadata</S> </En> <En> <S N="Key">InformationVariable</S> <S N="Value">System.Management.Automation.ParameterMetadata</S> </En> <En> <S N="Key">OutVariable</S> <S N="Value">System.Management.Automation.ParameterMetadata</S> </En> <En> <S N="Key">OutBuffer</S> <S N="Value">System.Management.Automation.ParameterMetadata</S> </En> <En> <S N="Key">PipelineVariable</S> <S N="Value">System.Management.Automation.ParameterMetadata</S> </En> <En> <S N="Key">WhatIf</S> <S N="Value">System.Management.Automation.ParameterMetadata</S> </En> <En> <S N="Key">Confirm</S> <S N="Value">System.Management.Automation.ParameterMetadata</S> </En> </DCT> </Obj> <Obj N="ParameterSets" RefId="7"> <TN RefId="7"> <T>System.Collections.ObjectModel.ReadOnlyCollection`1[[System.Management.Automation.CommandParameterSetInfo, System.Management.Automation, Version=7.6.0.4, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]</T> <T>System.Object</T> </TN> <LST> <S>[-FilePath] <string> [[-ArgumentList] <string[]>] [-Credential <pscredential>] [-WorkingDirectory <string>] [-LoadUserProfile] [-NoNewWindow] [-PassThru] [-RedirectStandardError <string>] [-RedirectStandardInput <string>] [-RedirectStandardOutput <string>] [-WindowStyle <ProcessWindowStyle>] [-Wait] [-UseNewEnvironment] [-Environment <hashtable>] [-WhatIf] [-Confirm] [<CommonParameters>]</S> <S>[-FilePath] <string> [[-ArgumentList] <string[]>] [-WorkingDirectory <string>] [-PassThru] [-Verb <string>] [-WindowStyle <ProcessWindowStyle>] [-Wait] [-Environment <hashtable>] [-WhatIf] [-Confirm] [<CommonParameters>]</S> </LST> </Obj> </Props> <MS> <S N="Namespace">Microsoft.PowerShell.Management</S> <S N="HelpUri">https://go.microsoft.com/fwlink/?LinkID=2097141</S> <S N="DLL">C:\Program Files\WindowsApps\Microsoft.PowerShellPreview_7.6.4.0_x005F_x64__8wekyb3d8bbwe\Microsoft.PowerShell.Commands.Management.dll</S> </MS> </Obj> <Obj N="BoundParameters" RefId="8"> <TN RefId="8"> <T>System.Collections.Generic.Dictionary`2[[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.Object, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]</T> <T>System.Object</T> </TN> <DCT /> </Obj> <Obj N="UnboundArguments" RefId="9"> <TN RefId="9"> <T>System.Collections.Generic.List`1[[System.Object, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]</T> <T>System.Object</T> </TN> <LST /> </Obj> <I32 N="ScriptLineNumber">1</I32> <I32 N="OffsetInLine">1</I32> <I64 N="HistoryId">8</I64> <S N="ScriptName"></S> <S N="Line">Start-Process -FilePath '$Env:LocalAppData\Packages\49306atecsolution.FilesUWP_et10x9a9vyk8t\LocalState'</S> <S N="Statement">Start-Process -FilePath '$Env:LocalAppData\Packages\49306atecsolution.FilesUWP_et10x9a9vyk8t\LocalState'</S> <S N="PositionMessage">At line:1 char:1_x000D__x000A_+ Start-Process -FilePath '$Env:LocalAppData\Packages\49306atecsolution …_x000D__x000A_+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</S> <S N="PSScriptRoot"></S> <Nil N="PSCommandPath" /> <S N="InvocationName">Start-Process</S> <I32 N="PipelineLength">0</I32> <I32 N="PipelinePosition">0</I32> <B N="ExpectingInput">false</B> <Obj N="CommandOrigin" RefId="10"> <TN RefId="10"> <T>System.Management.Automation.CommandOrigin</T> <T>System.Enum</T> <T>System.ValueType</T> <T>System.Object</T> </TN> <ToString>Internal</ToString> <I32>1</I32> </Obj> <Nil N="DisplayScriptPosition" /> </Props> </Obj> <I32 N="ErrorCategory_Category">7</I32> <S N="ErrorCategory_Activity">Start-Process</S> <S N="ErrorCategory_Reason">InvalidOperationException</S> <S N="ErrorCategory_TargetName"></S> <S N="ErrorCategory_TargetType"></S> <S N="ErrorCategory_Message">InvalidOperation: (:) [Start-Process], InvalidOperationException</S> <B N="SerializeExtendedInfo">false</B> <S N="ErrorDetails_ScriptStackTrace">at <ScriptBlock>, <No file>: line 1</S> </MS> </Obj> </Objs>