WSL: Install not working after upgrade to 14361
I went and upgraded to build 14361, now there is a bash process running at 100% CPU usage on one of my cores. I am unable to exit this process using any tools, and it can sit there for hours. It doesn’t cause any disk/network activity, only CPU. I get the following error when attempting an uninstall:
C:\Users\N00byEdge>lxrun /uninstall /full /y
This will uninstall Ubuntu on Windows.
This will remove the Ubuntu environment as well as any modifications, new applications, and user data.
Uninstalling...
Error: 0x80080005
The error takes about a minute until it appears. This install was very unstable on the last build, but it was at least working. No modifications made to the install, and Windows is running on a real PC, no VM.
About this issue
- Original URL
- State: closed
- Created 10 years ago
- Comments: 60 (21 by maintainers)
@N00byEdge Thank you very much for your patience and persistence. I would not have been able to figure this out without your help!
Because of your trace file I have identified a bug in the code that is calculating the swap file size. This function is used by both the sysinfo system call and generating the contents of /proc/meminfo. This problem will happen when you have multiple pagefiles on your machine. There are three different outcomes that can happen as a result of this bug:
As a temporary workaround if you remove all but one of your pagefiles you should be able to use WSL. I am coding up a fix for this right now.
Ok but you do have multiple page files. I think I see what the issue is let me confirm my hypothesis.
Nope that’s perfect. Thank you very much, I hope this sheds some light on the issue!
Oh man, that was awkward. And stupid.
Gonna let this run for a bit.
Thanks for the info, I will try to reproduce this.