bostrot / wsl2-distro-manager

A GUI to quickly manage your WSL2 instances
https://apps.microsoft.com/store/detail/wsl-manager/9NWS9K95NMJB
Other
1.96k stars 117 forks source link

[BUG] WSLManager opens in a hang state #262

Open lynxul25 opened 1 month ago

lynxul25 commented 1 month ago

Is there an existing issue for this?

Current Behavior

When opening the WSLM, version 1.8.14 the window remains blank and unresponsive. Only End task from Taskmanager ends the thread.

All was working well until this behaviour started.

Screenshot 2024-10-10 131755

Expected Behavior

No response

Steps To Reproduce

Start the WSLManager

Environment

- Windows Version: 11
- WSL Distro Manager Version: 1.8.14
- WSL Version: 2
- Source: Github

Anything else?

No response

github-actions[bot] commented 1 month ago

Hello there! As you are a first time Issuer please read our Code of Conduct. Please also check whether your issue description is reasonable and complete. If you are having an issue always include the version you are using (WSL, this app, Windows) as well as a way to reproduce it.

mmcer commented 1 month ago

i have the same issue today, environment: win11, WSL2

i remember yesterday i can use this app, but i installed OS updates, maybe this involved new conflict with app.

i try to find if there is log file created, but not found.

CPU usage continue keeping ~27%

mmcer commented 1 month ago

the temp solution is: remove shared_preferences.json file from C:\Users[current user]\AppData\Roaming\com.bostrot\WSL Distro Manager then restart the app.

mir-am commented 1 month ago

I also have the same problem. The app starts in a hang state and the window is just white. OS: Windows 11 WSL: 2

aimzieslol commented 3 weeks ago

Having the same problem, also. Installed via both scoop and choco, uninstalled/re-installed multiple times, run as admin, etc. etc. No luck. Worked great up until a few days ago.

OS = Windows 11 WSL = 2

silasalves commented 5 days ago

Same here, I installed with choco and it doesn't open. It shows a white window and then closes.

bostrot commented 5 hours ago

the temp solution is: remove shared_preferences.json file from C:\Users[current user]\AppData\Roaming\com.bostrot\WSL Distro Manager then restart the app.

@aimzieslol @mir-am @silasalves have you tried the solution above? Also please try the latest version from the releases page.

aimzieslol commented 1 hour ago

the temp solution is: remove shared_preferences.json file from C:\Users[current user]\AppData\Roaming\com.bostrot\WSL Distro Manager then restart the app.

@aimzieslol @mir-am @silasalves have you tried the solution above? Also please try the latest version from the releases page.

@bostrot Downloading the app fresh (I used the portable/zip version) works fine. I tried deleting shared_preferences.json on another computer and it crashes right away. I can provide you the .dmp file if that would help?