Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Run] COMException (0xD0000701) #30769

Open
TinyBigJacko opened this issue Jan 5, 2024 · 2 comments
Open

[Run] COMException (0xD0000701) #30769

TinyBigJacko opened this issue Jan 5, 2024 · 2 comments
Labels
Issue-Bug Something isn't working Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams Product-PowerToys Run Improved app launch PT Run (Win+R) Window Severity-High Bugs that we consider a blocking issue for release (crashes stuff outside of PT)

Comments

@TinyBigJacko
Copy link

Microsoft PowerToys version

0.76.2.0

Installation method

PowerToys auto-update

Running as admin

None

Area(s) with issue?

PowerToys Run

Steps to reproduce

Unknown, sorry. Returned from Sleep, and found the 'PowerToys Run ran into an issue' screen on my desktop, requesting that I post this bug

✔️ Expected Behavior

No error? 😄

❌ Actual Behavior

Dialog box 'Something went wrong' on my desktop after a resume from sleep

Version: 0.76.2.0
OS Version: Microsoft Windows NT 10.0.22621.0
IntPtr Length: 8
x64: True
Date: 05/01/2024 23:16:39
Exception:
System.Runtime.InteropServices.COMException (0xD0000701): 0xD0000701
   at Standard.NativeMethods.DwmExtendFrameIntoClientArea(IntPtr hwnd, MARGINS& pMarInset)
   at System.Windows.Shell.WindowChromeWorker._ExtendGlassFrame()
   at System.Windows.Shell.WindowChromeWorker._UpdateFrameState(Boolean force)
   at System.Windows.Shell.WindowChromeWorker._HandleDwmCompositionChanged(WM uMsg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at System.Windows.Shell.WindowChromeWorker._WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at System.Windows.Interop.HwndSource.PublicHooksFilterMessage(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 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)

Other Software

No response

@TinyBigJacko TinyBigJacko added Issue-Bug Something isn't working Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams labels Jan 5, 2024
@davidegiacometti davidegiacometti changed the title CTD: 'Something went wrong' - Dialog box on Desktop after resume from sleep [Run] COMException (0xD0000701) Jan 6, 2024
@davidegiacometti davidegiacometti added Product-PowerToys Run Improved app launch PT Run (Win+R) Window Severity-High Bugs that we consider a blocking issue for release (crashes stuff outside of PT) labels Jan 6, 2024
@davidegiacometti
Copy link
Collaborator

xref #30507

@Exac
Copy link

Exac commented Apr 25, 2024

Also received this today. I walked past my workstation (that is configured to never sleep), but I happened to notice the screen flashed to black and turned on again. I have the same message that @TinyBigJacko ran into.

Version: 0.77.0.0
OS Version: Microsoft Windows NT 10.0.22631.0
IntPtr Length: 8
x64: True
Date: 4/24/2024 5:51:26 PM
Exception:
System.Runtime.InteropServices.COMException (0xD0000701): 0xD0000701
   at Standard.NativeMethods.DwmExtendFrameIntoClientArea(IntPtr hwnd, MARGINS& pMarInset)
   at System.Windows.Shell.WindowChromeWorker._ExtendGlassFrame()
   at System.Windows.Shell.WindowChromeWorker._UpdateFrameState(Boolean force)
   at System.Windows.Shell.WindowChromeWorker._HandleDwmCompositionChanged(WM uMsg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at System.Windows.Shell.WindowChromeWorker._WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at System.Windows.Interop.HwndSource.PublicHooksFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   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)

Here is the log file for today:

[2024-04-21 18:43:17.4805] [INFO] [C:\a\_work\1\s\src\modules\launcher\PowerLauncher\MainWindow.xaml.cs::84]
Send Run settings telemetry


Then, I also have this popup. I'm not sure if it preceded the PowerToys error or not:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Bug Something isn't working Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams Product-PowerToys Run Improved app launch PT Run (Win+R) Window Severity-High Bugs that we consider a blocking issue for release (crashes stuff outside of PT)
Projects
None yet
Development

No branches or pull requests

3 participants