microsoft / microsoft/WSL

WSL crashes shortly after starting up

Open
#12,308 15 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
33.7k
Forks
1.8k
Avg merge
3d 17h
Merged PRs (30d)
116

Description

### Windows Version

Microsoft Windows [Version 10.0.19045.5131]

### WSL Version

2.4.4.0

### Are you using WSL 1 or WSL 2?

- [x] WSL 2
- [ ] WSL 1

### Kernel Version

5.15.167.4-1

### Distro Version

Arch Linux (https://apps.microsoft.com/detail/9mznmnksm73x)

### Other Software

_No response_

### Repro Steps

1. Start WSL from the Terminal
2. Wait for some time

### Expected Behavior

The WSL will continue to run until the specified idle time.

### Actual Behavior

WSL crashes shortly after starting up. Only the message [exited] is shown.

### Diagnostic Logs

Log to start WSL in the terminal with it crashing shortly after: [WslLogs-2024-11-21_12-34-56.zip](https://github.com/user-attachments/files/17845005/WslLogs-2024-11-21_12-34-56.zip)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the linked WslLogs-2024-11-21_12-34-56.zip and reproducing the crash with WSL 2.4.4.0, kernel 5.15.167.4-1, and Arch Linux after startup; done means WSL remains running through the specified idle time instead of exiting.

Written by the indexing model from the issue text.

Assessment

Tech stack
arch-linux, linux
Domain
operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.