Skip to content

Blue Screen of Death  #8459

Closed
Closed

Description

@bynarie

Version

Microsoft Windows [Version 10.0.19044.1706]

WSL Version

  • WSL 2
  • WSL 1

Kernel Version

5.10.102.1

Distro Version

Ubuntu 20.04.4

Other Software

No response

Repro Steps

Start Ubuntu WSL, close it out (not wsl --shutdown, but just closing the window). Then, open task manager and stop the service Hyper-V Host Compute Service (vmcompute).

Expected Behavior

Would expect wsl to shutdown and/or nothing special to happen.

Actual Behavior

OS freezes then goes into a blue screen of death/stop error, saying something about dxgkrnl.sys. PC then reboots after normal.

Diagnostic Logs

Dump file available at https://drive.google.com/file/d/1-f_hJeHCLay0wSAY1CGa1W6rJGsafzmV/view?usp=sharing
Screenshot of BSOD https://drive.google.com/file/d/1srlqPidGPoy2AgjsjjkWbPI-tSatvgSm/view?usp=sharing

Activity

  1. tomwalsh commented on Jun 12, 2022

    @tomwalsh

    Just adding a +1 to this as I am experiencing the same problem. I didn't have this issue previously as I have been doing this same process for over a year.

    I did recently change the way I handle Docker on my machine. I removed Docker Desktop and enabled docker in the VM to handle remote-containers in WSL.

    Not sure if that is related, but adding a data point to try and help pin down the issue.

  2. dj-rabel commented on Sep 15, 2022

    @dj-rabel

    Tom Walsh (@tomwalsh) bynarie (@bynarie) Not sure if this may temporarily help you guys, but I had somehow similar issues with WSL2 and kinda fixed it for me by disabling the new gui features.
    If you dont need these features, just add this to your .wslconfig (if you do not have one, create it in C:\Users\%USERNAME%\.wslconfig) and reboot Windows once.

    [wsl2]
    guiApplications=false
    

    Hope this helps

  3. heku-ard commented on Jan 19, 2023

    @heku-ard

    +1 and I use GUI

  4. Chihsiao commented on May 11, 2023

    @Chihsiao

    the same

  5. hughesadam87 commented on Mar 1, 2024

    @hughesadam87

    Started happening to me today after a windows update. Had been using docker desktop no problem on a windwos10 laptop

  6. sedlund commented on Aug 27, 2024

    @sedlund

    TG! Windows was crashing and rebooting my gaming laptop at least once usually more times a day. After setting guiApplications=false it not crashed in 6 days - new record!

  7. microsoft-github-policy-service commented on Aug 28, 2025

    @microsoft-github-policy-service
    Contributor

    This issue has been automatically closed since it has not had any activity for the past year. If you're still experiencing this issue please re-file this as a new issue or feature request.

    Thank you!

  8. dodjango commented on Dec 31, 2025

    @dodjango

    Additional Data Point: BSOD Confirmed When Stopping vmcompute After Sleep/Wake Corruption

    I experienced this exact issue today (2025-12-31) and documented it extensively.

    Scenario

    After Windows woke from overnight standby, WSL2 became unresponsive with Wsl/Service/E_UNEXPECTED. The LxssManager and Hyper-V services appeared "Running" but were in a corrupt "zombie" state. Attempting to restart them cleanly:

    Stop-Service LxssManager -Force
    Stop-Service vmcompute -Force   # <-- BSOD triggered here

    BSOD Details (from Minidump analysis)

    Field Value
    Bug Check Code 0x0000003b (SYSTEM_SERVICE_EXCEPTION)
    Exception 0xc0000005 (STATUS_ACCESS_VIOLATION)
    Caused By Driver dxgkrnl.sys (DirectX Graphics Kernel)
    Crash Offset dxgkrnl.sys+70e0

    Root Cause

    When vmcompute attempts to release GPU resources during forced stop, dxgkrnl.sys accesses already-freed memory, causing the access violation.

    Full Analysis

    I've documented the complete incident including system configuration, event logs, journal errors, and timeline in this gist:

    📄 https://gist.github.com/dodjango/545a8322b43697fb81f214fad245a263

    Workaround Confirmed

    The only safe resolution when services are in "zombie running" state is a full system reboot (Restart-Computer), not force-stopping services.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions