winutil icon indicating copy to clipboard operation
winutil copied to clipboard

Win10: Search Function in `Install` crashes WinUtil

Open NotYourAverageGamer opened this issue 1 year ago • 0 comments

Describe the bug

Using the Stable and/or Dev branch of WinUtil on Windows 10 22H2; clicking the search box in the Install section results in the following error, and causes WinUtil to freeze/crash. I cannot reproduce this on Windows 11.

To Reproduce

Steps to reproduce the behavior:

  1. Run WinUtil as admin on Windows 10
  2. In the Install tab, try clicking the search box to find an application
  3. WinUtil will freeze, and if launched from the WinUtil shortcut, will close Powershell
  4. See error

Expected behavior

Search box should become usable, allowing me to search for an application in the list.

Transcript

**********************
PowerShell transcript start
Start time: 20240803140713
Username: DESKTOP-******\user
RunAs User: DESKTOP-******\user
Configuration Name: 
Machine: DESKTOP-****** (Microsoft Windows NT 10.0.19045.0)
Host Application: C:\Program Files\PowerShell\7\pwsh.dll
Process ID: 5892
PSVersion: 7.4.4
PSEdition: Core
GitCommitId: 7.4.4
OS: Microsoft Windows 10.0.19045
Platform: Win32NT
PSCompatibleVersions: 1.0, 2.0, 3.0, 4.0, 5.0, 5.1, 6.0, 7.0
PSRemotingProtocolVersion: 2.3
SerializationVersion: 1.1.0.1
WSManStackVersion: 3.0
**********************
MethodInvocationException: 
 Line |
15890 |  $sync["Form"].ShowDialog() | out-null
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      | Exception calling "ShowDialog" with "0" argument(s): "Culture is not supported. (Parameter 'culture')
4096 (0x1000) is an invalid culture identifier."
MethodInvocationException: 
 Line |
15890 |  $sync["Form"].ShowDialog() | out-null
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      | Exception calling "ShowDialog" with "0" argument(s): "Culture is not supported. (Parameter 'culture')
4096 (0x1000) is an invalid culture identifier."
**********************

NotYourAverageGamer avatar Aug 03 '24 04:08 NotYourAverageGamer