-
Notifications
You must be signed in to change notification settings - Fork 823
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 complete freeze #9114
Comments
Thank you for reporting this @androiddisk. Can you please share dumps of the WSL processes once WSL is 'stuck' ? The simplest way would be to called collect-wsl-logs.ps1 with -Dump (as administrator). For instance:
|
wsl2log.zip.005.zip 270+M logs cannot be uploaded. So, I compress in segments. And renamed it. Please download 14 zip files and remove the suffix of. zip |
Most windows keep flashing. Occasionally the window will prompt
|
@OneBlue thank you |
Thank you @androiddisk, these dumps are very interesting. On the Windows side, WSL is stuck trying to create a new session (which looks a lot like #8824). To investigate, we'd need to look at what's happening inside WSL2. To do this, can you please:
|
I am still seeing the same issue I captured output from curl command curl -k https://raw.githubusercontent.com/microsoft/WSL/master/diagnostics/dump-init.sh | bash |
tdnf: command not found |
tdnf: command not found |
@androiddisk: Did you run this command in a system shell (via |
I hit the same issue again and captured all the requested files (this time) in |
Thank you for the files @mwoodpatrick. Next time this reproes can you also a dump of If it's too big for Github, feel free to use OneDrive / GoogleDrive. |
|
You should be able to access the files https://drive.google.com/drive/folders/12xKDVhbyeY8pFNaGsZaumffOxJQPUaCk?usp=sharing please let me know if you have any issues |
Here is another datapoint https://drive.google.com/file/d/134CzXAJv0gngd50sLDGGv9Ww9N7-_N2A/view?usp=sharing |
I can only run |
Thanks a lot @mwoodpatrick. With this information we have identified the issue. The fix is in 1.0.1. To install it, download the package and install via: Let me know if the issue is solved for you ! |
I''m running with an updated WSL-2 and was still seeing a hang I will try to capture new data to debug this WSL version: 1.0.1.0 |
Thank you for the update @mwoodpatrick. Reopened this issue since it seems that the issue is still there for you. |
It did hang once after doing the update but I have not seen it recur since and unfortunately, I did not capture that first fail. It definitely seems more reliable with the latest update. I will update the bug with debug info once I get it to fail. |
Also experiencing this on a heavy build over WSL. |
I'm experiencing the same issue using 1.0.3 release. The steps to recreate the issue are:
Only solution at that stage is to restart the computer. I've done clean installs of WSL and Docker, and appears to happen each time. |
You can stop wslservice.exe instead of restart computer.
And I also get the issue, anything can I provide?
…---Original---
From: ***@***.***>
Date: Fri, Dec 16, 2022 11:16 AM
To: ***@***.***>;
Cc: "Wang ***@***.******@***.***>;
Subject: Re: [microsoft/WSL] WSL complete freeze (Issue #9114)
I'm experiencing the same issue using 1.0.3 release.
The steps to recreate the issue are:
WSL with Ubuntu.
Docker installed without containerd enabled (haven't seen it with containerd yet).
Pull computer into hibernation whilst running, and on wake-up the CPU will slowly ramp up to the point WSL can not longer be stopped via the --shutdown option.
Only solution at that stage is to restart the computer. I've done clean installs of WSL and Docker, and appears to happen each time.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
Try capturing the data requested in OneBlue commented on Nov 10 I have not had any recurrence of this issue in last couple of weeks I'm running WSL version: 1.0.3.0 |
Thanks for confirming @mwoodpatrick. I'll close this for now since the original issue appears to be resolved. Thanks for reporting this @jetvp. We're tracking this issue on #8696 |
Fyi my freeze is not related to hibernate, I do not use this feature. |
Duplicate the same bug But after a few minutes, you can open the wsl terminal again |
Version
10.0.22621.674
WSL Version
Kernel Version
5.15.68.1
Distro Version
Ununtu 20.04
Other Software
No response
Repro Steps
I have the same problem. No new wsl shell window can be created, and the wsl -- shutdown window is stuck. Even the window cannot be closed. Version 0.70.4.0 is not downloaded from GitHub. It is the 0.70.4.0 version automatically updated by Windows. It should be the same as GitHub https://github.com/microsoft/WSL/releases/tag/0.70.4
This problem has troubled me for a long time.
I will cooperate with you if you need me. thank you
Expected Behavior
Open or shut down the wsl shell normally
Actual Behavior
get stuck
Diagnostic Logs
WslLogs-2022-11-04_14-42-14.zip
The text was updated successfully, but these errors were encountered: