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

KB5043145 breaks WSL2 #12090

Open
1 of 2 tasks
wlvchandler opened this issue Sep 27, 2024 · 27 comments
Open
1 of 2 tasks

KB5043145 breaks WSL2 #12090

wlvchandler opened this issue Sep 27, 2024 · 27 comments

Comments

@wlvchandler
Copy link

Windows Version

Microsoft Windows [Version 10.0.22631.4249]

WSL Version

2.2.4.0

Are you using WSL 1 or WSL 2?

  • WSL 2
  • WSL 1

Kernel Version

5.15.153.1-2

Distro Version

Any

Other Software

No response

Repro Steps

Expected Behavior

Expected to see a normal boot into WSL2

Actual Behavior

wsl --install ubuntu
Ubuntu is already installed.
Launching Ubuntu...
Installing, this may take a few minutes...
WslRegisterDistribution failed with error: 0x80370109
Error: 0x80370109 The operation timed out because a response was not received from the virtual machine or container.

Press any key to continue...

Diagnostic Logs

No response

Copy link

Logs are required for review from WSL team

If this a feature request, please reply with '/feature'. If this is a question, reply with '/question'.
Otherwise please attach logs by following the instructions below, your issue will not be reviewed unless they are added. These logs will help us understand what is going on in your machine.

How to collect WSL logs

Download and execute collect-wsl-logs.ps1 in an administrative powershell prompt:

Invoke-WebRequest -UseBasicParsing "https://raw.githubusercontent.com/microsoft/WSL/master/diagnostics/collect-wsl-logs.ps1" -OutFile collect-wsl-logs.ps1
Set-ExecutionPolicy Bypass -Scope Process -Force
.\collect-wsl-logs.ps1

The script will output the path of the log file once done.

If this is a networking issue, please use collect-networking-logs.ps1, following the instructions here

Once completed please upload the output files to this Github issue.

Click here for more info on logging
If you choose to email these logs instead of attaching to the bug, please send them to [email protected] with the number of the github issue in the subject, and in the message a link to your comment in the github issue and reply with '/emailed-logs'.

View similar issues

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!

Open similar issues:

Closed similar issues:

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

@OneBlue
Copy link
Collaborator

OneBlue commented Sep 27, 2024

Thank you @wlvchandler. We're currently investigating this issue.

Can you share which processor model you have ? One of our theory is that this regression only hits on certain CPU's.

@wlvchandler
Copy link
Author

I'll provide diagnostic logs later if possible - I had to recover quickly to keep working

And yeah certainly @OneBlue, it's an AMD Ryzen 9 7950X 16-Core.
Processor(s): 1 Processor(s) Installed.
[01]: AMD64 Family 25 Model 97 Stepping 2 AuthenticAMD ~4201 Mhz
BIOS Version: American Megatrends Inc. 1636, 7/28/2023

@Rurigok
Copy link

Rurigok commented Sep 27, 2024

@OneBlue I have a similar CPU and I can also confirm I'm experiencing the same issue noted here and in #12087 after the update:
image

@gab9281
Copy link

gab9281 commented Sep 28, 2024

Thank you so much ! it's been 7h that im trying everything to make it work and uninstalling the update fixed it ! Thanks !
image

@barnumbirr
Copy link

Same issue here, uninstalling the update allows WSL to start again.

Screenshot 2024-09-28 045720

@identityope
Copy link

just got the same issue here after update windows
image

@pappleby
Copy link

Same issue, same fix, similar processor.
Think something else on my machine depends on wsl too, because if I waited too long after startup, things would stop working (could still move windows around, but taskbar broke, task manager stopped getting new data, even restarting hung). All of which was fixed once KB5043145 was uninstalled.
{B42CA510-2895-42D3-9788-3E13C08C385B}

@identityope
Copy link

Yeah I've fixed the issue by uninstalling KB5043145 update

@xoofx
Copy link

xoofx commented Sep 28, 2024

Yeah I've fixed the issue by uninstalling KB5043145 update

I confirm that it is also fixing the issue with WSL by uninstalling this update.

@abferm
Copy link

abferm commented Sep 28, 2024

Same issue with a Ryzen 7 7700X, was resolved by uninstalling update KB5043145

image

@daryllmoya
Copy link

image
image
Anyone here can share how to uninstall that update? I can't seem to do so, this is frustrating.

@hphuc613
Copy link

Thank you @wlvchandler. We're currently investigating this issue.

Can you share which processor model you have ? One of our theory is that this regression only hits on certain CPU's.

Hi @OneBlue, I hope you fix this issue asap. This greatly affects my work. Try your best and thank you!

@hphuc613
Copy link

image image Anyone here can share how to uninstall that update? I can't seem to do so, this is frustrating.

Below way work with me:
Go to Setting > Recovery > Fix problems using Windows Update > Click Reinstall Now and Reinstall version of Windows update. After reinstall successfully You go to Setting > Windows Update > Update History > Uninstall Updates and Uninstall KB5043145

@daryllmoya
Copy link

image image Anyone here can share how to uninstall that update? I can't seem to do so, this is frustrating.

Below way work with me: Go to Setting > Recovery > Fix problems using Windows Update > Click Reinstall Now and Reinstall version of Windows update. After reinstall successfully You go to Setting > Windows Update > Update History > Uninstall Updates and Uninstall KB5043145

Thanks @hphuc613 , I did this also yesterday; it was the way that worked for me as well.

@pmaxhogan
Copy link

Thank you @wlvchandler. We're currently investigating this issue.

Can you share which processor model you have ? One of our theory is that this regression only hits on certain CPU's.

On a Ryzen 9 7900X here. Like the others, rolling back KB5043145 fixed it for me.

@draco
Copy link

draco commented Oct 1, 2024

I’m on 7600X, rolling back works (WSL can start now) but my file explorer keeps crashing. Anyone experiencing the same?

@OneBlue
Copy link
Collaborator

OneBlue commented Oct 1, 2024

Sharing the instructions I posted #12087. If you hit this issue, please:

  • Reproduce the issue by calling into wsl.exe and waiting about 5 seconds
  • While WSL is booting, open task manager, select "System", right click -> "Create live kernel memory dump file" -> "Change ->
    memory dump settings" -> select "Capture Hypervisor pages", "include nonessential pages", "Capture user pages"
  • Then go back to "System" -> right click, "Create live kernel memory dump file" -> "full live kernel memory dump"
  • Share that file with us (either via Google Drive, OneDrive, or send to [email protected] )

For this to work, the dump must be captured while WSL is in that "hung" state (once the error is displayed, you need to start wsl.exe again)

@pmaxhogan
Copy link

Below way work with me: Go to Setting > Recovery > Fix problems using Windows Update > Click Reinstall Now and Reinstall version of Windows update. After reinstall successfully You go to Setting > Windows Update > Update History > Uninstall Updates and Uninstall KB5043145

@draco I experienced weird issues with Microsoft apps after rolling back, and doing the "fix problems using windows update" step after rolling back seemed to help a bit.

If you still have crashes with Microsoft programs after the windows update fix, you should try creating new a local user account on your computer to see if they still crash there. For me, my start menu would crash every time I tried to open it, but this did not appear in a new local (also administrator) account.

The only fix that worked for me was when I opened the registry editor as my normal account, poked around in HKEY_CURRENT_USER, and deleted registry entries that looked like they had to do with Microsoft explorer / shell / start menu customization. Had no idea what I was doing really but it seems to have fixed it now.

If your file explorer keeps crashing after the rollback and the 'fix problems' step doesn't help, I'm not sure I'd recommend deleting random registry stuff, but if you're desperate (and have backups) it's maybe worth trying.

@hphuc613
Copy link

hphuc613 commented Oct 3, 2024

Below way work with me: Go to Setting > Recovery > Fix problems using Windows Update > Click Reinstall Now and Reinstall version of Windows update. After reinstall successfully You go to Setting > Windows Update > Update History > Uninstall Updates and Uninstall KB5043145

@draco I experienced weird issues with Microsoft apps after rolling back, and doing the "fix problems using windows update" step after rolling back seemed to help a bit.

If you still have crashes with Microsoft programs after the windows update fix, you should try creating new a local user account on your computer to see if they still crash there. For me, my start menu would crash every time I tried to open it, but this did not appear in a new local (also administrator) account.

The only fix that worked for me was when I opened the registry editor as my normal account, poked around in HKEY_CURRENT_USER, and deleted registry entries that looked like they had to do with Microsoft explorer / shell / start menu customization. Had no idea what I was doing really but it seems to have fixed it now.

If your file explorer keeps crashing after the rollback and the 'fix problems' step doesn't help, I'm not sure I'd recommend deleting random registry stuff, but if you're desperate (and have backups) it's maybe worth trying.

I also seen same situation with file exploder crashing. But my windows required update KB5043076, and after reboot the issue has been fixed. cc @draco

@Wladastic
Copy link

I have only similar issues, WSL does start but is restricted by Windows in some form I haven't figured out yet.
There are couple Eventlogs indicating that some Socket connection is being reset randomly which breaks both IntelliJ and Docker, causing both to crash.
Had this on my computer that runs on an Intel i7 155H as well as Ryzen 2700x and Intel i7-10750H, all of them have similar issues and should have completelly different update policies but received the update nevertheless.

@gab9281
Copy link

gab9281 commented Oct 3, 2024

Below way work with me: Go to Setting > Recovery > Fix problems using Windows Update > Click Reinstall Now and Reinstall version of Windows update. After reinstall successfully You go to Setting > Windows Update > Update History > Uninstall Updates and Uninstall KB5043145

@draco I experienced weird issues with Microsoft apps after rolling back, and doing the "fix problems using windows update" step after rolling back seemed to help a bit.
If you still have crashes with Microsoft programs after the windows update fix, you should try creating new a local user account on your computer to see if they still crash there. For me, my start menu would crash every time I tried to open it, but this did not appear in a new local (also administrator) account.
The only fix that worked for me was when I opened the registry editor as my normal account, poked around in HKEY_CURRENT_USER, and deleted registry entries that looked like they had to do with Microsoft explorer / shell / start menu customization. Had no idea what I was doing really but it seems to have fixed it now.
If your file explorer keeps crashing after the rollback and the 'fix problems' step doesn't help, I'm not sure I'd recommend deleting random registry stuff, but if you're desperate (and have backups) it's maybe worth trying.

I also seen same situation with file exploder crashing. But my windows required update KB5043076, and after reboot the issue has been fixed. cc @draco

Same on my end : uninstalling the update caused my file-manager to crash + unable to install any programs.
Reinstalling the update afterward didn't broke wsl afterward

@michalzyka
Copy link

Same here, fixed by uninstalling the update.

@Bamgm14
Copy link

Bamgm14 commented Oct 7, 2024

Same

@datacompboy
Copy link

fresh KB5044285 fixed the wsl issue. now both wsl and start menu is working again.

@Bonfims
Copy link

Bonfims commented Oct 23, 2024

fresh KB5044285 fixed the wsl issue. now both wsl and start menu is working again.

This kb broke my WSL, like i dont have any distro installed

@xunholy
Copy link

xunholy commented Oct 26, 2024

fresh KB5044285 fixed the wsl issue. now both wsl and start menu is working again.

I'm on this version and WSL2 is still broken - however, menu and everything else appears operational

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

No branches or pull requests