-
Notifications
You must be signed in to change notification settings - Fork 815
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
WSL sometimes won't boot up and cause the whole system stuck #8338
Comments
Thanks for reporting this @liyafe1997. If Feedback hub doesn't work, can you try recording logs manually ? (see the 'Record WSL logs manually' section) |
If the WSL stucked, the wpr also got stuck when I run wpr -stop wsl.etl |
I grabbed the log when I was able to start WSL successfully, I don't know if it is helpful or not. |
I have same problem,execute wsl in terminal will hang there. |
Thanks @liyafe1997. In the logs I can see: This might be the reason why it's hanging. Does this also happen if you register a brand new distribution (with let's say wsl --install ubuntu) ? |
Yes it is compressed, I always use it as compressed(it can save a lot of disk space), but I am pretty sure it is not this problem, because 1. Before Win11 22598 everything works fine, I have been using this WSL disto with compressed vhdx for months. 2. Even I have tried to decompress it, this problem still happens, nothing changed. I haven't tried to install another disto, but I can try it later. But I guess it is not this problem. Because seems if something happened "inside" WSL, it shouldn't make the whole Windows stucked. I mean, things inside the VM shouldn't impact outside world, this is a security problem. |
Seems this problem has gone after upgraded to Win11 22610.1 |
Closing since the issue is solved after an OS upgrade. |
Version
22598.200
WSL Version
Kernel Version
5.10.102.1
Distro Version
Debian Testing
Other Software
No response
Repro Steps
just run wsl.exe or run Debian in the start menu.
Expected Behavior
The bash comes out
Actual Behavior
It cames nothing in the terminal. It also unable to shutdown by wsl --shutdown (also stuck like this).
Then after few seconds/minutes, the whole Windows stucked, only mouse can move, everything no response, Ctrl+Alt+Del also doesn't work. Only thing I can do is power off my computer by long press powerbutton.
It does not always happen. If the bash came out, it will works fine unless you shutdown WSL. I think about 50% chance it happens.
Diagnostic Logs
I can't grab the log file if this happened. Because if the WSL stucked at boot up, even the system seems still working, but all the modern UWP Apps (include the Feedback App) can't start. It stucked at the LOGO, then the whole system become stucked.
If I don't start WSL or the WSL start successfully, everything include the Feedback App works fine.
The text was updated successfully, but these errors were encountered: