-
Notifications
You must be signed in to change notification settings - Fork 822
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
WSL1 STOP Error in Windows 11 / Server 2022 (MEMORY_MANAGEMENT) #7480
Comments
How to set it up in WSL1 environment? |
Install Kali-xRDP and watch some YouTube video in Seamonkey. It will hapen in minutes or hours. |
I hit this running ffmpeg, but not in a repeatable fashion |
Thanks for that info. I’ve also had trouble repeating this issue as well, but eventually I would hit it. When you were running ffmpeg, were you using it to view video, or convert a file? If it was video, were you running Xorg or xRDP at the time? |
Only to convert. I didn't have any xorg or rdp running |
I managed to capture the BSOD in action: BSOD.mp4 |
Hello, I had the same issue yesterday with a completely unrelated action. I was doing a In WSL1 in Windows 11 Release Preview Regards, |
I don't know if this is a same issue but I also get MEMORY_MANAGEMENT BSOD in WSL 1 on Windows 11 Windows version: Windows 11 21H2 (OS Build 22000.194) Scenario:
This crashes every time when installing UPDATE: I was able to reproduce my case on absolutely clean install in VMWare virtual machine on different hardware, so I guess it is generic case invariant of environment/hardware used. Attached crash minidump just in case: 100921-4890-01.zip |
Also, do-release-upgrade will trigger this panic "using Ubuntu from the store". Had the Prompt set to 'normal'. Mine happens on an ARM64 machine. Surface Pro X, 2019 SKU. |
Windows 11 Demonstration of BSOD running: Rust-BSOD.mp4 |
Confirmed BSOD also occurs on Windows 11 Dev build:
|
Thanks for reporting, we have identified the fix and are working on getting a change out to Insiders. |
I'm also having the same problem for Debian on Windows 11 version 10.0.22000 Build 22000 |
I heard that a fix went out to Windows 11 Insiders last month, can anyone confirm if this is the case? |
I can confirm that for me at least this was the case. The latest dev build has no signs of this crash after an extended period of testing. The same machine on 22000 crashes constantly when performing some WSL 1 tasks (Notably compiling Rust/Go applications and doing an apt upgrade) |
Thanks for that information! If it’s not too much trouble can you advise which build of Windows you’re running? |
Build 22533.1001 - should be the latest Dev Channel build at time of writing. Only tested on the one device though, can't guarantee anything because there may be other factors Edit: Also I remember it being fine on 22523 and 22526 as well, and I haven't tried further back than that |
today i met it too when i run ffmpeg in wsl ubuntu shell,and before i met it when run pip to uninstall packages... unpredictable bug annoying me today. |
Lastest weeks I have experienced other similar issues. I don't see the blue screen but the PC freezes. And it is always related to WSL1, when I put every distro in WSL2 it stops happening. But I have a friend with Windows 11 without this problem at all. Maybe it only happens with AMD CPUs? Someone with Intel? |
@crramirez yes, my case with |
I got exactly the same thing! On Windows 11 build 22000.556 (stable channel) and also use Kali Linux from the store, also crash when open Firefox in it! |
Mine crashed when opening Firefox on WSL on |
I got similar issue when i try to install just aws cli on my wsl ubuntu on windows 11. in 5 second it goes in to Memory_Management_crash |
Hello @benhillis Do you have any news about this? In my case, I need to make tests in WSL1 to check for regressions and the only way to do them is by using a Windows 10 virtual machine. Regards, |
Still reproducible on Windows 11 build 22000.593 after the KB5011563 update, WSL1, AMD system. |
As best as I can tell, the issue is fixed in Insider Beta and Dev builds (Build 22581.200 being the latest in both), The issue is only present on retail/stable/release preview versions right now. |
Also having this problem with Kivy + buildozer + p4a |
No idea when the fix will eventually hit the stable channel, but it's still broken in build 22000.652 (KB5012643). I use WSL at my day job, and having it randomly crash and take down the entire system is incredibly frustrating right now. |
The fix is included as part of the (Currently Beta Channel) preview for what we assume is the next feature update (22H2), so unfortunatelly unless someone pays attention and backports it to current versions, you will have to wait until that feature update in the latter half of this year or enroll in Insider Beta Channel. The entire stable/retail release of Windows 11 version 21H2 is affected by this issue. |
Unfortunate. I might try to switch over to WSL2 until this is fixed, but WSL2 has it's own problems with abysmal shared filesystem performance. My entire rationale for using WSL1 (and WSL in general) is shared development of a common code base, and right now both subsystem versions have significant problems doing that. 😞 [Edit] WSL2 won't work for my purposes due to the shared filesystem issue. A 10-minute build turns into several hours. |
Is there an ETA on when the fix will be live for stable / release builds? This is really frustrating. |
This issue has been resolved in the Windows 11 22H2 Release Preview. |
I can confirm this is fixed in today's Windows 11 22H2 public release. Thank you so much! |
I just starting getting this on the first dnf update on AlmaLinux in WSL1. BSOD in latest stable build of WIN11 enterprise with memory management as stop code. Tried reinstall of AlmaLinux and it happens again on the dnf update that includes a kernel upgrade. I first installed the upgrade neccesary for wsl2, but then set wsl1 as default cause i dont want VMWare running on Windows Hypervisor. |
What version exactly? |
Edition Windows 11 Enterprise Features enabled: Additional info of relevance: No hyper-v support enabled. Reliability monitor reports: |
If we ignore insiders for a moment and talk about stable: This crash occurs on all patched releases of Windows 11 version 21H2 so far, on all build numbers starting 22000. it was never fixed in a patch to 21H2, but was fixed for the next feature update 22H2 (externally called Windows 11 2022 Update) with build numbers starting from 22621. Unfortunately the only way to fix this crash currently is to upgrade to Windows 11 version 22H2/"2022 Update". with build 22621 or higher. I'm not aware of any other fixes or workarounds in the history of this issue. |
Thank you for this insight, I will find a way to patch up my Windows version. EDIT: Can confirm, joining my system to the Windows Insider Program on the Release Preview channel and doing a reboot after some patching allowed me to run "dnf update" inside almalinux with no stop/bsod error. Thank you. |
This issuse persists in Windows Server 2022 BSOD Installing Rust: Running latest update KB5021249 (Dec 2022) |
Just came across this running doxygen. All windows 11 updates are installed. WSL2 Ubuntu 20.04. took an eon for the bsod to complete the crash dump. I am going to see if it does the same thing again after it finishes rebooting. |
Highly unlikely this is the same bug, or you’re still on Win 11 21H2. Issue was confirmed to be fixed in Win11 22H2 but apparently the fix did not land in Server 2022. |
you are correct. I believe that one of the 32GB sticks of ran went south in my computer. It is no longer showing the correct amount of memory. It is ECC ram too. I have to run some tests to confirm it because I don't actually know when the RAM disappeared from the computer. |
Hello @benhillis and @craigloewen-msft |
Same problem persists Windows Server 2022, os build |
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! |
Windows Build Number
Microsoft Windows [Version 10.0.22000.194]
WSL Version
Kernel Version
4.4.0-22000-Microsoft
Distro Version
Kali Rolling / Ubuntu 20.04
Other Software
No response
Repro Steps
Windows 11 BugCheck occurs when running Kali-xRDP or Ubuntu 20.04 session over RDP.
Other users report this is happening in WSL1 console:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
Can also confirm this issue does not occur under Windows 10.
Expected Behavior
BugCheck-free computing
Actual Behavior
BugChecks in WSL1
Not just me seeing this:
DesktopECHO/kWSL#11
https://twitter.com/xssfox/status/1434311282824417280
Diagnostic Logs
WinDBG-seamonkey.txt
WinDBG-spotify.txt
WinDBG-WebKitWebProcess.txt
The text was updated successfully, but these errors were encountered: