wsl.exe stuck forever

Aperta
#42,254 18 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
25/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
linux

Direzione di ricerca

Start by reviewing the diagnostic logs attached to the issue and comparing the reported WSL version, kernel version, and Fedora 45 environment with the hang after the first invocation. The report does not identify a source file, failing test, or subsystem entry point, so use the logs to narrow down where wsl.exe blocks. Done means reproducing the hang and identifying a cause that explains why later commands stop returning output.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

emailed-logs needs-author-feedback wsl2
Windows Version

Microsoft Windows [版本 10.0.26100.9974]

WSL Version

3.0.5.0

Are you using WSL 1, WSL 2, or WSLC?
  • WSL 2
  • WSL 1
  • WSLC
Kernel Version

6.18.58.1-1

Distro Version

Fedora Linux 45

Other Software
└──❯ wsl.exe --status
Default distribution: FedoraLinux-45
Default version: 2
The current computer configuration does not support WSL1.
To use WSL1, please enable the "Windows Subsystem for Linux" optional component.
└──❯ wsl.exe --version
WSL version: 3.0.5.0
Kernel version: 6.18.58.1-1
WSLg version: 1.0.79
MSRDC version: 1.2.7391
Direct3D version: 1.611.1-81528511
DXCore version: 10.0.26100.1-240331-1435.ge-release
Windows version: 10.0.26100.9974
Repro Steps

The first time I run wsl.exe, it works as expected. However, after exiting and waiting for a while, any subsequent attempt to run commands like the following results in the process hanging indefinitely instead of returning any output:
wsl.exe
wsl.exe -l -v
wsl.exe --status

Expected Behavior

I expect these wsl.exe commands to execute successfully and provide output.

Actual Behavior

wsl.exe stuck forever.

Diagnostic Logs

WslLogs-2026-11-13_00-48-44.zip

Lingua principale
C++
Stelle
34.4k
Fork
1.9k
Merge medio
1g 23h
PR unite (30g)
166

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di microsoft/WSL

Tutte le issue di microsoft/WSL

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.