microsoft / PowerToys

Windows system utilities to maximize productivity
MIT License
111.64k stars 6.57k forks source link

Crashes while running in the #16198

Closed SituChengxiang closed 1 year ago

SituChengxiang commented 2 years ago

Microsoft PowerToys version

0.55.1

Running as admin

Area(s) with issue?

General

Steps to reproduce

Sorry that I haven't figured out how the crashes happened, anyway, I will send the log and hope it helpful. image [Uploading 2022-02-09.txt…]()

✔️ Expected Behavior

No response

❌ Actual Behavior

No response

Other Software

No response

franky920920 commented 2 years ago

Could you attach a full bug report file? Right-click on the tray icon and click Report Bug. Then drag-and-drop the generated file into the GitHub comment to upload it. Thanks! image

/needinfo

SituChengxiang commented 2 years ago

PowerToysReport_2022-02-10-13-31-34.zip Thanks for replying. Here is it, I hope this helps.

franky920920 commented 2 years ago

[2022-02-09 20:45:17.7824] [FATAL]

Exception

System.DllNotFoundException: Dll was not found.
   Source: PresentationCore
   TargetAssembly: PresentationCore, Version=5.0.13.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
   TargetModule: PresentationCore.dll
   TargetSite: Boolean CreateResetEvent(IntPtr ByRef)
   at MS.Win32.Penimc.UnsafeNativeMethods.CreateResetEvent(IntPtr& handle)
   at System.Windows.Input.PenThreadWorker..ctor()
   at System.Windows.Input.PenThreadPool.GetPenThreadForPenContextHelper(PenContext penContext)
   at System.Windows.Input.PenThreadPool.GetPenThreadForPenContext(PenContext penContext)
   at System.Windows.Input.StylusWisp.WispTabletDeviceCollection.UpdateTabletsImpl()
   at System.Windows.Input.StylusWisp.WispTabletDeviceCollection.UpdateTablets()
   at System.Windows.Input.StylusWisp.WispLogic.OnTabletAdded(UInt32 wisptisIndex)
   at System.Windows.Input.StylusWisp.WispLogic.HandleMessage(WindowMessage msg, IntPtr wParam, IntPtr lParam)
   at System.Windows.SystemResources.InvalidateTabletDevices(WindowMessage msg, IntPtr wParam, IntPtr lParam)
   at System.Windows.SystemResources.SystemThemeFilterMessage(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

fronders commented 2 years ago

Came here to report the same problem

Jay-o-Way commented 1 year ago

🎈 happy anniversary 🥳

TheJoeFin commented 1 year ago

Is this issue still relevant in v0.73? /needinfo

SituChengxiang commented 1 year ago

the problem haven't occured again since v0.73.0, thanks for all developers.