Skip to content
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

The whole windows OS will freeze when i use: wsl --shutdown #10485

Closed
1 of 2 tasks
LinArcX opened this issue Sep 18, 2023 · 4 comments
Closed
1 of 2 tasks

The whole windows OS will freeze when i use: wsl --shutdown #10485

LinArcX opened this issue Sep 18, 2023 · 4 comments

Comments

@LinArcX
Copy link

LinArcX commented Sep 18, 2023

Windows Version

Microsoft Windows [Version 10.0.19045.3324]

WSL Version

1.2.5.0

Are you using WSL 1 or WSL 2?

  • WSL 2
  • WSL 1

Kernel Version

5.15.90.1

Distro Version

Debian buster-10

Other Software

No response

Repro Steps

just run wsl --shutdown. from 5 times, my system will freeze 4 times and I can't do anything except force shutdown with power button on my laptop.

Expected Behavior

wsl --shutdown should work smoothly without affecting the host windows os or freeze anything.

Actual Behavior

just run wsl --shutdown. from 5 times, my system will freeze 4 times and I can't do anything except force shutdown with power button on my laptop.

Diagnostic Logs

No response

@LinArcX LinArcX changed the title the whole operating system will freeze when i use shutdown command The whole windows OS will freeze when i use: wsl --shutdown Sep 18, 2023
@OneBlue
Copy link
Collaborator

OneBlue commented Sep 18, 2023

/dumps

@microsoft-github-policy-service
Copy link
Contributor

Hello! Could you please provide logs and process dumps to help us better diagnose your issue?

To collect WSL logs and dumps, download and execute collect-wsl-logs.ps1 in an administrative powershell prompt:

Invoke-WebRequest -UseBasicParsing "https://raw.githubusercontent.com/microsoft/WSL/master/diagnostics/collect-wsl-logs.ps1" -OutFile collect-wsl-logs.ps1
Set-ExecutionPolicy Bypass -Scope Process -Force
.\collect-wsl-logs.ps1 -Dump

The scipt will output the path of the log file once done.

Once completed please upload the output files to this Github issue.

Click here for more info on logging

Thank you!

@microsoft-github-policy-service
Copy link
Contributor

This issue has been automatically closed since it has not had any author activity for the past 7 days. If you're still experiencing this issue please re-open it.

Thank you!

@wbedard
Copy link

wbedard commented Oct 1, 2023

  • I experienced (possibly) this issue just today. In my case, I had recently updated both the graphics driver and a process performance driver (Process Lasso...) when I noticed that my machine would occasionally freeze for a few seconds, typically when closing down a random program. Since my computer is normally rock-stable, I prepared to shutdown my computer to start tracing the issue down, focusing on these recent updates. As I was closing everything in my session down, I issued the wsl --shutdown command and my computer froze. While I assumed the system would recover in a few seconds as with the other freezes, the WSL-associated freeze persisted even after 10 minutes, at which point I hard reset.
  • I don't normally leave WSL running in the background but I had been performing some Docker tutorials in this session and had left my Debian-based WSL session running in a Windows Terminal tab for a few days when the freezes started happening.
  • I am happy to provide dumps and logs for troubleshooting but would request guidance on at what point those artifacts should be collected, given that at the point of the system freeze, they will not be available.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants