-
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 crashes shortly after starting up #12308
Comments
View similar issuesPlease view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it! Open similar issues:
Closed similar issues:
Diagnostic information
|
After a long time trying out different things, I have "fixed" part of the problem using the following steps:
If the default user is set to the personal user, it will still crash This inhibits the crash. However, GUI applications still do not work. |
I have the same problem. It seems comes up whenever I use "too many resource" (like opening a large file from linux), despite randomly trying fixes from Google (increasing the limit in WSL config, raising priority of process, restarting wsl, etc). Rebooting the computer lets wsl work until it stops working again. |
@J4yTr1n1ty: What kind of command line do you see "crashing" ? I do see that a process is exiting with error code = 1, but from what I see it's unclear whether this issue is coming from WSL itself, or from that process. The Virtual machine is still running at the end of the first trace you sent. |
Hey @OneBlue, what happened for me is that I opened up the WSL from powershell using the |
An interesting thing I found is that if I remove the default user from the WSL configuration, I can access the virtual machine as root and change my user after the shell is initialized. This completely removes the "crashing" state. |
Windows Version
Microsoft Windows [Version 10.0.19045.5131]
WSL Version
2.4.4.0
Are you using WSL 1 or WSL 2?
Kernel Version
5.15.167.4-1
Distro Version
Arch Linux (https://apps.microsoft.com/detail/9mznmnksm73x)
Other Software
No response
Repro Steps
Scenario 1
Expected Behavior
Scenario 1
The WSL will continue to run until the specified idle time.
Scenario 2
Kitty will open via RDP
Actual Behavior
Scenario 1
WSL crashes shortly after starting up. Only the message [exited] is shown.
Scenario 2
Kitty does not open
Diagnostic Logs
Log to start WSL in the terminal with it crashing shortly after: WslLogs-2024-11-21_12-34-56.zip
Log trying to run wslg to open kitty: WslLogs-2024-11-21_12-31-07.zip
The text was updated successfully, but these errors were encountered: