-
Notifications
You must be signed in to change notification settings - Fork 6.7k
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
[PTRun]Dispatcher processing has been suspended, but messages are still being processed infinite error windows #18166
Comments
Can you please test something to see if we can find out which module might be causing this? In settings, disable every PowerToys Run plugin and restart the computer. |
It seems that windows Search is the problem. As you said, I turned off all of plugins and rebooted computer and I turn on calculator and typed the numbers several times and there's no problem but upon turning on Windows Search, error message just come up. when I re-run several times, the error message window that has no content iterated infinitely. |
@franky920920 , sorry to bother you, but is this something you were ever able to repro when using Chinese localization? |
Can confirm have the same issue here in zh-CN using PowerToys Run with most plugins turned on (including Windows Search). Will try to reproduce later. Log attached, with most plugins turned on. Since it's totally random, sometimes it works fine and sometimes it'll crash, I'll turn Windows Search off to see what's coming next. |
Sorry, missed this mention. Let me check this later. |
Happy to test but was not aware there was a test build, please point me in the right direction and I'll give it a whirl. 🙂 |
Check out this comment: #18166 (comment) And don't forget to delete PT Run image cache by deleting following file |
I am happy to report that I cannot reproduce the crashes with the test build, even with thumbnail generation enabled! |
@JoClever Thanks for the testing and the feedback! And do you experience some performance issues with PT Run? Are thumbnails loaded for different apps? |
Fix for this issue is merged and will be included in the next PowerToys release. Big thanks to everyone that helped locate the cause and for the testing. For those who tested the debug build - remember to uninstall it and install an official release of PowerToys again to be able to receive update notifications once the new version is released. |
After using the debug build for a while, I can't find any performance issues. Icons are also generated reliably as far as I could tell. |
Coming from #24974 with comment to update here. I had the "Dispatcher processing has been suspended" error using PT Runs since updating to 0.68.1 from a rather old version. The issue was happening on about once every 2-3 use. Disabling thumbnail generation fixed the issue, no error in the last 2 work days. |
Can confirm, until now no crashes! |
No crashes anymore since this option is available, thanks, good job!! |
Fix is in 0.69 which was released today, thanks everyone for helping debug this. |
Microsoft PowerToys version
0.58.0
Running as admin
Area(s) with issue?
PowerToys Run
Steps to reproduce
Hi I'm having trouble calculating something or finding something by using powertoys run many times.
Usually some error messages come up and once a day the error messages infinitely generate as a photo attached. I had to shut down powertoysrun in task manager almost every single day. I would appreciate it if you fix it at your earliest convenience.
following is the error message when it occurs.
Version: 0.58.0.0
OS Version: Microsoft Windows NT 10.0.19044.0
IntPtr Length: 8
x64: True
Date: 2022-05-09 오전 11:26:14
Exception:
System.InvalidOperationException: 디스패처 처리는 일시 중단되었지만 메시지가 여전히 처리되고 있습니다.
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)
✔️ Expected Behavior
No error messages.
❌ Actual Behavior
Version: 0.58.0.0
OS Version: Microsoft Windows NT 10.0.19044.0
IntPtr Length: 8
x64: True
Date: 2022-05-09 오전 11:26:14
Exception:
System.InvalidOperationException: 디스패처 처리는 일시 중단되었지만 메시지가 여전히 처리되고 있습니다.
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)
Other Software
No response
The text was updated successfully, but these errors were encountered: