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

PowerToys Run - Crash #23635

Closed
headquarter8302 opened this issue Jan 27, 2023 · 8 comments
Closed

PowerToys Run - Crash #23635

headquarter8302 opened this issue Jan 27, 2023 · 8 comments
Labels
Issue-Bug Something isn't working Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.

Comments

@headquarter8302
Copy link

Microsoft PowerToys version

0.66.0.0

Installation method

WinGet

Running as admin

No

Area(s) with issue?

PowerToys Run

Steps to reproduce

PowerToys Run crashed while querying for "mai"

Excerpt produced from the "Something went wrong." popup:


Version: 0.66.0.0
OS Version: Microsoft Windows NT 10.0.19045.0
IntPtr Length: 8
x64: True
Date: 2023-01-27 5:32:08 PM
Exception:
System.InvalidOperationException: Dispatcher processing has been suspended, but messages are still being processed.
   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)

Excerpt from the log file:

System.InvalidOperationException: Dispatcher processing has been suspended, but messages are still being processed.
   Source: WindowsBase
   TargetAssembly: WindowsBase, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
   TargetModule: WindowsBase.dll
   TargetSite: IntPtr WndProcHook(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
   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)

Attached log file:
2023-01-27.txt

Might relate to:

✔️ Expected Behavior

A search result for the Windows Mail application, or a browser open result for mail.

❌ Actual Behavior

PowerToys Run ran into an issue.

Other Software

ModernFlyouts-Community/ModernFlyouts 0.9.3.0

@headquarter8302 headquarter8302 added Issue-Bug Something isn't working Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams labels Jan 27, 2023
@headquarter8302
Copy link
Author

Cannot reproduce by typing "mai" or "mail" anymore

@headquarter8302
Copy link
Author

Issue #23648 has a high chance to be related as well

@jhonDoe15
Copy link

jhonDoe15 commented Jan 28, 2023

writing here cause it seems to be the oldest, happens to me too after any letter (seems like any) is pressed to start searching

installed via Microsoft store

happens on 0.66, 0.65 and 0.64 (0.65 + 0.64 installed from GitHub release assets)

Seems to be Fixed via RESTART to PC

@crutkas
Copy link
Member

crutkas commented Jan 30, 2023

/dup #18166

@ghost
Copy link

ghost commented Jan 30, 2023

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!

@ghost ghost closed this as completed Jan 30, 2023
@ghost ghost added Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing. and removed Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams labels Jan 30, 2023
@jhonDoe15
Copy link

jhonDoe15 commented Jan 30, 2023

@crutkas Are you sure the two issues related? The behavior presented in the issue thread does not seem to correlate as for me it happened right after installing and for seemingly every search (or may I say every letter) query

@crutkas
Copy link
Member

crutkas commented Jan 31, 2023

There is some type of race condition happening and we aren’t having the dispatcher called correctly. Issue we face is repo’ing with someone that has a debugger.

If you have VS 17.4 installed, would love to do set up a call.

@jaimecbernardo
Copy link
Collaborator

For any users that are able to replicate this consistently, can you please update to 0.68.1 and disable thumbnail generation to verify if it fixes the issue? Please let us know on #18166!

image

This issue was closed.
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 Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.
Projects
None yet
Development

No branches or pull requests

4 participants