microsoft / PowerToys

Windows system utilities to maximize productivity
MIT License
111.28k stars 6.55k forks source link

powertoy run crash when you input "15:" #17371

Closed neotaburiss closed 2 years ago

neotaburiss commented 2 years ago

Microsoft PowerToys version

Version: 0.57.0.0

Running as admin

Area(s) with issue?

PowerToys Run

Steps to reproduce

input "15" and ":" ("not inputed)

then powertoy either crash or a lot of error window popup

✔️ Expected Behavior

search file

❌ Actual Behavior

powertoy either crash or a lot of error window popup

Version: 0.57.0.0 OS Version: Microsoft Windows NT 10.0.19043.0 IntPtr Length: 8 x64: True Date: 2022/3/31 9:24:24 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

htcfreek commented 2 years ago

Thank you for reporting that! Could you please send us a bug report?

/bugreport

ghost commented 2 years ago

Hi there!

We need a bit more information to really debug this issue. Can you add a "Report Bug" zip file here? You right click on our system tray icon and just go to report bug. Then drag the zipfile from your desktop onto the GitHub comment box in this issue. Thanks!
Report Bug

neotaburiss commented 2 years ago

PowerToysReport_2022-04-01-09-03-09.zip

Here is a bug report, I just encounter this bug and need to reboot or logoff to close tons of error window.

franky920920 commented 2 years ago

[2022-04-01 09:02:55.2054] [FATAL]

Exception

System.InvalidOperationException: 调度程序处理已暂停,但仍在处理消息。
   Source: WindowsBase
   TargetAssembly: WindowsBase, Version=6.0.2.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)

Environment

Assemblies - PowerToys.PowerLauncher

franky920920 commented 2 years ago

@htcfreek that's a Dispatcher processing has been suspended, but messages are still being processed error. I saw 295 errors in just a few seconds.

jaimecbernardo commented 2 years ago

This looks a lot like https://github.com/microsoft/PowerToys/issues/9143

@franky920920 , Can you replicate this? We've never been able to.

franky920920 commented 2 years ago

This looks a lot like #9143

@franky920920 , Can you replicate this? We've never been able to.

No, failed to repro this.

jaimecbernardo commented 2 years ago

Haven't been able to repro. Can you please test something to see if we can find out which module might be causing this?

ghost commented 2 years ago

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 5 days. It will be closed if no further activity occurs within 5 days of this comment.

jaimecbernardo commented 1 year ago

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