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

WSL Crash often since my last update (Error code: Wsl/Service/0x8007274c) #9852

Closed
1 of 2 tasks
quentinsimon opened this issue Mar 27, 2023 · 16 comments
Closed
1 of 2 tasks

Comments

@quentinsimon
Copy link

Windows Version

Microsoft Windows [version 10.0.22621.1413]

WSL Version

1.1.3.0

Are you using WSL 1 or WSL 2?

  • WSL 2
  • WSL 1

Kernel Version

5.15.90.1

Distro Version

Ubuntu 20.04

Other Software

WSLg version: 1.0.49
MSRDC version: 1.2.3770
Direct3D version: 1.608.2-61064218
DXCore version: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp
Windows version: 10.0.22621.1413

Repro Steps

I start my environment with docker-compose -up then I work on different projet using Visual Code
Finally, after one or 2 hours, WSL starts to become unstable until it crashes

Expected Behavior

No decreased performance

Actual Behavior

Since I've updated my Windows to the latest version few weeks ago, my WSL implementation is getting slower and slower and I have to reboot it with wsl --shutdown at least one time a day ...
When I get in trouble, my Ubuntu terminal says "Error code: Wsl/Service/0x8007274c"

image

Diagnostic Logs

Here my logs
WslLogs-2023-03-27_12-10-49.zip

@QAnders
Copy link

QAnders commented Mar 28, 2023

Probably duplicate of #8696 and #9827...

Seems we are many that have gotten severe issues lately with WSL2 crashing. Mine is not usable at all anymore and dies after a few minutes after restarting my laptop. Only a restart can bring it back, but only for a few minutes...

For most of us any wsl command just hangs and it's getting progressively worse, it seems for many.

@benhillis
Copy link
Member

@QAnders - I have started rolling out https://github.com/microsoft/WSL/releases/tag/1.1.6 to all users which should fix this issue.

@QAnders
Copy link

QAnders commented Mar 29, 2023

@QAnders - I have started rolling out https://github.com/microsoft/WSL/releases/tag/1.1.6 to all users which should fix this issue.

Thanks, @benhillis !
I'll apply the update and let you know how it plays out...

@QAnders
Copy link

QAnders commented Mar 30, 2023

So far, so good, @benhillis... I'll keep an eye on it and report back if it dies again!

WSL has stayed "alive" during the night, something it hasn't done in a long while... Version seems right:

C:\Users\AndersWasen>wsl --version
WSL version: 1.1.6.0
Kernel version: 5.15.90.1
WSLg version: 1.0.50
MSRDC version: 1.2.3770
Direct3D version: 1.608.2-61064218
DXCore version: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp
Windows version: 10.0.22000.1696

@QAnders
Copy link

QAnders commented Mar 30, 2023

@benhillis , nope, sorry to say WSL has crashed while I was away on lunchbreak... :(

The fix does not solve the issue I have...

@quentinsimon
Copy link
Author

Hi @benhillis,

I've tried your fix but unfortunately my WSL is still crashing at some point
image

Here my logs :
WslLogs-2023-03-31_14-24-51.zip

Thanks to have a look

@QAnders
Copy link

QAnders commented Mar 31, 2023

Same as @quentinsimon I too get another error message now:

Error code: Wsl/Service/0x8007274c

[process exited with code 4294967295 (0xffffffff)]

Previously (prior to the "fix") the Terminal just closed down and no error was shown anywhere.

@gabrieleiacono
Copy link

I'm on 1.1.6 and WSL just won't start anymore. The wsl simply hangs indefinitely (I stopped the process after 15 minutes), as well as any attempt to launch a distro or Docker. If I press ctrl+c while the distro is loading I get [process exited with code 3221225786 (0xc000013a)].

I have also started encountering these issues since the last update. I'm on Windows 10.0.19044.2728.

Any ideas?

@QAnders
Copy link

QAnders commented Apr 4, 2023

1.1.6 was not an improvement for me, only change was basically that I got another error message when WSL crashed...

I've just added 1.1.7 (latest release) and this far it seems better...
https://github.com/microsoft/WSL/releases/tag/1.1.7

Not sure if it is related but I got a weird error now where my clock is set to GMT (I am on GMT+2, CET) and the time synchronization isn't working... This seems to have happened after applying 1.1.7 and restarting... 😲

EDIT: I noticed there's a new Win 11 22H2 major update today (Windows 11 22H2 Build 22621.1485) as well which I've added and now keeping a close eye on it...

@QAnders
Copy link

QAnders commented Apr 17, 2023

Noticed there's a v1.2.3 already, applied and restarted, but noticed WSL still crashed after coming back from coffee break and waking up laptop... :(

@QAnders
Copy link

QAnders commented Apr 18, 2023

This morning I got the updates:
2023-01 Update for Windows 11 Version 22H2 for x64-based Systems (KB4023057)
Windows Subsystem for Linux WSLg Preview - 1.0.27

Ok, so, thumbs and fingers crossed but I have now ran the whole day without a crash!

I haven't run this long for a few weeks without a crash so it could finally be fixed...

@sabruss sabruss mentioned this issue Jun 8, 2023
2 tasks
@one0oneChen
Copy link

我在自己的win10上也碰到这个问题, 经过查询发现可能与系统自带的openssl.exe有关, 自带的openssl.exe程序会造成VScode的WSL连接插件经常断线, 接着如果用cmd进入wsl, 发现报错 Wsl/Service/0x8007274c

可以尝试用Git/usr/bin/ 路径下的openssl.exe 来取代 windows默认的openssl, 方法是将Git安装目录下的Git/usr/bin/路径加入系统环境变量path中, 并保持系统默认的openssl的环境变量位置在Git/usr/bin/的下方, 重启cmd后,
输入 ssh -V, 查看返回的ssh版本, 如果是 OpenSSH_9.0p1, OpenSSL 1.1.1q 5 Jul 2022 之类的不含有windows签名的版本就完成了

@IceRainow
Copy link

WSL crash often on Surface Pro X . (Error code: Wsl/Service/0x8007274c)

WSL 版本: 1.3.15.0
内核版本: 5.15.90.4-1
WSLg 版本: 1.0.55
MSRDC 版本: 1.2.4419
Direct3D 版本: 1.608.2-61064218
DXCore 版本: 10.0.25880.1000-230602-1350.main
Windows 版本: 10.0.23521.1000

@quentinsimon
Copy link
Author

quentinsimon commented Oct 9, 2023

A little up on that post @benhillis please 🙏
My WSL environment is still very unstable and sometimes I have to restart my computer twice. I have updated all my libraries and I think I am up to date ...

image

WSL version: 1.2.5.0
Kernel version: 5.15.90.1
WSLg version: 1.0.51
MSRDC version: 1.2.3770
Direct3D version: 1.608.2-61064218
DXCore version: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp
Windows version: 10.0.22621.2361

Logs :
WslLogs-2023-10-09_11-32-53.zip

Please if somebody could improve the reliability af WSL would be great !!

@quentinsimon
Copy link
Author

And we keep going into troubles :(

WslLogs-2023-10-12_16-46-23.zip

Copy link
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!

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

6 participants