WSL: wsl.exe hangs from powershell until subsystem killed - arm64 aarch64

Windows Version

Windows version: 10.0.22631.2048

WSL Version

WSL version: 1.3.11.0

Are you using WSL 1 or WSL 2?

  • WSL 2
  • WSL 1

Kernel Version

Kernel version: 5.15.90.2-3

Distro Version

Ubuntu 22.04

Other Software

PSVersion 7.3.6 Device name Processor Microsoft SQ2 @ 3.15 GHz 3.15 GHz Installed RAM 16.0 GB (15.6 GB usable) Device ID Product ID System type 64-bit operating system, ARM-based processor Pen and touch Pen and touch support with 10 touch points

Repro Steps

Tried to terminate running-but-unresponsive wsl2 session from non-admin powershell. (See #9454 for linux side hang info.)

Expected Behavior

wsl.exe should terminate wsl2 system.

Actual Behavior

wsl.exe -t work hung, and only continued when wsl subsystem terminated from an admin console.

Powershell session:

C:\Users\hwine> date ; wsl -l -v ;date; wsl -t work ; date ; wsl --shutdown ; date

Friday, July 7, 2023 13:47:38
  NAME                      STATE           VERSION
* work                      Running         2
  rancher-desktop           Stopped         2
  Ubuntu                    Stopped         2
  podman-machine-default    Stopped         2
Friday, July 7, 2023 13:47:38
The remote procedure call failed.
Error code: Wsl/Service/RPC_S_CALL_FAILED
Friday, July 7, 2023 13:48:52
Friday, July 7, 2023 13:48:53

C:\Users\hwine>

Diagnostic Logs

Logs emailed per instructions

About this issue

  • Original URL
  • State: open
  • Created 3 years ago
  • Comments: 25 (1 by maintainers)

Most upvoted comments

Yes please ! /dumps