PowerToys: Powertoys Run crashes when shutting down pc
Microsoft PowerToys version
0.37.0
Running as admin
- Yes
Area(s) with issue?
PowerToys Run
Steps to reproduce
I shut down my computer.
✔️ Expected Behavior
My computer shuts down nicely.
❌ Actual Behavior
Powertoys shows an error message popup:
PowerToys Run ran into an issue: PowerLauncher.exe - Application E… The exception unknown software exception (0xe0434352) occurred in the application at location 0x00007FFD5DDB4B59
If I click OK the computer proceeds to shut down, but when I press cancel I can log back in. When I did that Visual Studio 2019 popped up somehow and told me I could debug it, so of course I did. This is the output I got:
System.ComponentModel.Win32Exception
HResult=0x80004005
Message=The operation completed successfully.
Source=WindowsBase
StackTrace:
at MS.Win32.UnsafeNativeMethods.CreateWindowEx(Int32 dwExStyle, String lpszClassName, String lpszWindowName, Int32 style, Int32 x, Int32 y, Int32 width, Int32 height, HandleRef hWndParent, HandleRef hMenu, HandleRef hInst, Object pvParam)
at MS.Win32.HwndWrapper..ctor(Int32 classStyle, Int32 style, Int32 exStyle, Int32 x, Int32 y, Int32 width, Int32 height, String name, IntPtr parent, HwndWrapperHook[] hooks)
at System.Windows.Interop.HwndSource.Initialize(HwndSourceParameters parameters)
at System.Windows.Interop.HwndSource..ctor(HwndSourceParameters parameters)
at System.Windows.Window.CreateSourceWindow(Boolean duringShow)
at System.Windows.Window.CreateSourceWindowDuringShow()
at System.Windows.Window.SafeCreateWindowDuringShow()
at System.Windows.Window.ShowHelper(Object booleanBox)
at System.Windows.Window.Show()
at PowerLauncher.Helper.ErrorReporting.Report(Exception e, Boolean waitForClose)
at PowerLauncher.Helper.ErrorReporting.DispatcherUnhandledException(Object sender, DispatcherUnhandledExceptionEventArgs e)
at System.Windows.Threading.Dispatcher.CatchException(Exception e)
at System.Windows.Threading.Dispatcher.CatchExceptionStatic(Object source, Exception e)
at System.Windows.Threading.ExceptionWrapper.CatchException(Object source, Exception e, Delegate catchHandler)
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.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
at MS.Win32.HwndSubclass.DefWndProcWrapper(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
at MS.Win32.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
and
The program '[11576] PowerLauncher.exe' has exited with code -805306369 (0xcfffffff) 'Process was unresponsive and was terminated'.
Edition Windows 10 Education Version 20H2 OS build 19042.928 Experience Windows Feature Experience Pack 120.2212.551.0
It looks like this crash doesn’t always happen though…
If there’s more information you need, just tell me how I can provide it!
Other Software
Visual Studio 2019, too then, I suppose
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Reactions: 5
- Comments: 28 (2 by maintainers)
I just had it happen again, and I managed to get a bit more information out of Visual Studio:
And I was quick enough to snap a photo of the error message this time:
A little bit after I took the photo, the blue shutting-down-screen was replaced by my login screen and when I logged in (after having pressed the Cancel button on the popup), that’s when Visual Studio offered to debug.