Skip to content
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

Cannot update WSL #11367

Closed
1 of 2 tasks
crisperit opened this issue Mar 25, 2024 · 3 comments
Closed
1 of 2 tasks

Cannot update WSL #11367

crisperit opened this issue Mar 25, 2024 · 3 comments

Comments

@crisperit
Copy link

Windows Version

Microsoft Windows [Version 10.0.22631.3296]

WSL Version

2.0.0.0

Are you using WSL 1 or WSL 2?

  • WSL 2
  • WSL 1

Kernel Version

5.15.123.1-1

Distro Version

Ubuntu-22.04

Other Software

No response

Repro Steps

  1. Running cmd.exe as the administrator
  2. wsl --update
  3. Observing ^C console output & not updated WSL version

Expected Behavior

wsl updated from 2.0.0 to 2.1.5

Actual Behavior

The update is aborted (^C)

And I'm getting a following error stack from wslservice after doing the dump

KEY_VALUES_STRING: 1

    Key  : Analysis.CPU.mSec
    Value: 46

    Key  : Analysis.Elapsed.mSec
    Value: 721

    Key  : Analysis.IO.Other.Mb
    Value: 0

    Key  : Analysis.IO.Read.Mb
    Value: 0

    Key  : Analysis.IO.Write.Mb
    Value: 0

    Key  : Analysis.Init.CPU.mSec
    Value: 30

    Key  : Analysis.Init.Elapsed.mSec
    Value: 195140

    Key  : Analysis.Memory.CommitPeak.Mb
    Value: 100

    Key  : Failure.Bucket
    Value: BREAKPOINT_80000003_sechost.dll!ScSendResponseReceiveControls

    Key  : Failure.Hash
    Value: {d2a65de2-bdb9-5fa6-7edc-d9534a4e2073}

    Key  : Timeline.OS.Boot.DeltaSec
    Value: 144720

    Key  : Timeline.Process.Start.DeltaSec
    Value: 52016

    Key  : WER.OS.Branch
    Value: ni_release

    Key  : WER.OS.Version
    Value: 10.0.22621.1

    Key  : WER.Process.Version
    Value: 2.0.0.0


FILE_IN_CAB:  wslservice.29700.dmp

NTGLOBALFLAG:  0

APPLICATION_VERIFIER_FLAGS:  0

EXCEPTION_RECORD:  (.exr -1)
ExceptionAddress: 0000000000000000
   ExceptionCode: 80000003 (Break instruction exception)
  ExceptionFlags: 00000000
NumberParameters: 0

FAULTING_THREAD:  000040c8

PROCESS_NAME:  wslservice.exe

ERROR_CODE: (NTSTATUS) 0x80000003 - {EXCEPTION}  Breakpoint  A breakpoint has been reached.

EXCEPTION_CODE_STR:  80000003

STACK_TEXT:  
000000dc`da0ff548 00007ffd`fd2e497e     : 000000dc`da0ff630 00000000`00000000 00000289`00000000 00000289`cbbe5a50 : ntdll!NtWaitForSingleObject+0x14
000000dc`da0ff550 00007ffd`ff09b4e9     : 00000000`ffffffff 00007ffd`ff110722 000000dc`00000000 00000000`0000025c : KERNELBASE!WaitForSingleObjectEx+0x8e
000000dc`da0ff5f0 00007ffd`ff09add9     : 00000000`00000000 00000000`00002a92 00000000`00000000 00000289`cb24c2b8 : sechost!ScSendResponseReceiveControls+0x149
000000dc`da0ff730 00007ffd`ff0983bb     : 00000000`00000001 00000000`00000001 00000000`00000000 00000000`00000000 : sechost!ScDispatcherLoop+0x11d
000000dc`da0ff870 00007ff7`3ab57652     : 00000289`cb251540 00000289`cb2501c0 00000000`00000000 00000000`00000000 : sechost!StartServiceCtrlDispatcherW+0x6b
000000dc`da0ff8a0 00007ff7`3adcd55c     : 00007ff7`3afc0268 00007ff7`3adcd669 00000000`00000000 00000000`00000000 : wslservice+0x67652
000000dc`da0ff900 00007ffd`fe89257d     : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : wslservice+0x2dd55c
000000dc`da0ff940 00007ffd`ffc4aa58     : 00000000`00000000 00000000`00000000 00000000`00000000 80000000`00000800 : kernel32!BaseThreadInitThunk+0x1d
000000dc`da0ff970 00000000`00000000     : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : ntdll!RtlUserThreadStart+0x28


STACK_COMMAND:  ~0s; .ecxr ; kb

SYMBOL_NAME:  sechost!ScSendResponseReceiveControls+149

MODULE_NAME: sechost

IMAGE_NAME:  sechost.dll

FAILURE_BUCKET_ID:  BREAKPOINT_80000003_sechost.dll!ScSendResponseReceiveControls

OS_VERSION:  10.0.22621.1

BUILDLAB_STR:  ni_release

OSPLATFORM_TYPE:  x64

OSNAME:  Windows 10

IMAGE_VERSION:  10.0.22621.3296

FAILURE_ID_HASH:  {d2a65de2-bdb9-5fa6-7edc-d9534a4e2073}

Followup:     MachineOwner

Diagnostic Logs

https://drive.google.com/file/d/1Nfmbo6u3uVyKFMueojDnM-4t3ASgThvH/view?usp=sharing

Copy link

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please 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. Thank you!

Open similar issues:

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

@craigloewen-msft
Copy link
Member

This is a known issue, and a current work around is to manually install ( See this comment: #10636 (comment) ).

Can you please try manually installing the MSI from the releases page and see if that fixes you? Thank you!

@crisperit
Copy link
Author

Ahh right. I saw that solution but from some reason it didn't work for me first time

At the end I've installed 2.0.6 https://github.com/microsoft/WSL/releases/download/2.0.6/wsl.2.0.6.0.x64.msi and then via wsl --update I've updated it all to the newest version

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

No branches or pull requests

2 participants