-
Notifications
You must be signed in to change notification settings - Fork 823
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
Bash.exe hangs and the bash is unusable #703
Comments
Do you by chance have multiple NT page files on your system? |
Hi benhillis, I don't quite understand what is "NT page files" and how can I know whether I have multiple NT page files. "-- Beta feature -- Type "y" to continue: y Thanks. |
Control Panel > System > Advanced > Performance > Advanced > Virtual memory Change... Should list all Windows pagefiles. |
The setting is "Automatically manage paging file size for all drives". |
Do you happen to have Kaspersky Internet Security or another Third Party firewall installed? I've seen instances like #705 where this can cause issues. |
Thank you, benhillis. |
Thanks for confirming. Does anybody have a contact with Kaspersky so we can sync up with them and figure out why they are blocking our pico processes? |
I found this contact link online: |
I had the same issue. |
I've contacted Kaspersky regarding the issue and they've forwarded my input to their HQ. |
i just talked to the technical support, the girl on the line didn't know what the linux subsystem is. |
To anyone else having this issue - you need to uninstall avast if you have it on your computer. See #718 |
A new update from Kaspersky, it seems we've stumbled upon a bug in their 2017 version which they'll resolve asap so I guess we just have to be a bit patient. |
I have done this twice now. It hung for hours on "Extracting filesystem, this will take a few minutes..." Without stopping it, I started a new (admin) command window and typed "bash". This told me to "Please create a default UNIX user account by running lxrun.exe /setdefaultuser. I did this, and it set the password and updated it successfully. Then, I could launch bash from the start menu or from the taskbar and it basically worked fine (as far as I could tell). So, yes, the installer can hang and this a bug, and I'm hoping they will fix this soon, but, nevertheless, in my experience you can get going with bash on Windows 10 anyway. |
Just a side information about Antivirus like Kaspersky: I've had that problem often, that Kaspersky (and other AVs) are blocking something and don't stop blocking even though they're deactivated. |
Facing the same issue. Only uninstalling the AV software worked. |
There is a process manager called LsxxManager which controls Bash. I too have Kaspersky, and when disabling the AV, the Bash command was still a blank window. Recycling this service fixed Bash. You can find it under the Services tab in Task Manager. |
I was also seeing problems with bash and Kaspersky (KIS 2016 in this case); after querying the new password, bash fell silent; closing the window and restarting bash didn't help either. Closing Kaspersky (KIS 2016) I found that I could run bash successfully, so it seems Kaspersky is indeed to blame.
Edit: You know what -- scratch that. Possibly after doing something trivially wrong (tried to I guess for now I'm back to VirtualBox. |
Same here, multiple times now I mave tried to |
Btw are you guys getting this using tmux? I've had tmux lock up the whole WSL and leave it unusable and unkillable til reboot. |
@fpqc - no - but I am within ConEmu, or at least I was just now, I think other times I had been right within powershell though. |
@erichiller hm, my lockup was happening inside of an X terminal running tmux, but I'm also on yakkety, so idk what the problem could be. I'll see if it continues to happen without running tmux. |
On non-system disk G: |
Seeing same issue a couple people were having above. Cannot mv mydir/ newdir, you have to do a mv mydir newdir without the slash. Otherwise I get some garbled characters mixed in with the directory names during the move, so fails. Also, I attempted to move a directory structure from one location to another and bash just hung. I cannot launch any new bash shells, they all just hang. After killing off all bash.exe, still hangs. Guessing I have to reboot to get it working again. This system is cool, but it doesn't seem to be ready for prime time if a basic mv operation doesn't even work. Gonna power up my real VM so I can get something done. I'll try back in a few months. |
If it hangs after using This only happens on Anniversary Update, it was already fixed on Insider builds. |
Disabling page files in multiple partitions fixed the issue for me. At least there is no need of reinstalling the subsystem. Just disable page files in multiple partitions. |
@Martmists Do you have page files enabled in multiple partitions? |
It's set to System Managed on C:/ and None for D:/ |
Fixed mine by reinstalling and waiting about 3 hours |
I have no AV other than Windows Defender. Bash hangs even after multiple restarts. |
Having the same problem as odvios. Got an error unduring uninstall
|
Had nothing to do with AV for me. Just make sure that in any startup script (.bashrc) you don't run anything that contains |
@adrianchifor - Thanks for your post. Can you give an example of what you put in |
@nojaf and others who are seeing error 0x80080005, can you try deleting the |
gvfs command such as gvfs-move gvfs-rename works just fine. Alias mv to gvfs-move, then one may use mv as before |
|
@briglx Switch to insiders or wait until the April release of CU. We're already at the "release preview" stage for CU (timebomb and evaluation text have been removed). Build 1703 means that the final fork from the development branch was made in March. We're fast-approaching the next release (likely some time in April, going by the AU release schedule (1607 means July 2016, RTM in August with selected rollouts, and general availability by September iirc). |
This is still an issue post April CU. I started a mv dir1 ../ and it froze. |
@jtanton - Are you certain you're on Creators Update? Can you run ver from the windows command line and paste the output? |
Microsoft Windows [Version 10.0.14393] |
^that's AU. CU should be 10.0.15063. |
I'm also getting the 0x80080005 on Windows 10 Creators Update (running in VMWare Fusion) |
I have been using Ubuntu for Windows on Windows 10 for nearly a year. Today, I tried to mv a directory and the command hung. I exited the bash window and tried restarting, but never get a bash prompt. Also running "bash" directly from a Windows command window hangs indefinitely. I have rebooted Windows, closed all other applications, disabled Windows Defender; I have also tried uninistalling with "lxrun /uninstall", both with and without the "/full" flag, but after confirming the uninstall, the command thinks for a few seconds and reports "Error: 0x80080005". I found this issue here but it does not really seem relevant. Any suggestions on next steps? |
@csteres-cpi update to win 10 fall creators update. You hit a bug that is a year and a half old. |
Same issue here. Bug is a year and a half old, eh? Guess it is time to update. |
Currently I'm using bash to develop web apps, when some script on bash hang, I always restart the pc. |
Starting having this behavior as well. Win10 Home I launch bash with "Bash on Ubuntu on Windows" shortcut. CLI window launches but hangs with a title "Select bash on Windows". Blank cli, no bash prompt, cannot close the window. I can open another instance and bash prompt will show successfully. But cannot close or terminate the first window. After a system restart then it'll work on launch. Should've saved a screenshot but will amend this comment when it happens again. |
@kevinn If it happens again, instead of rebooting, try running as elevated. This worked for me which it showed up yesterday on my personal machine. |
The OP here was " |
Hope it can help. My av software recognized file of "c:\windows\Temp" as a abnormal file and isolated it. then you know, bash is stuck. And by restoring file to system, everything works well. What a beautiful day!!! |
Please use the following bug reporting template to help produce actionable and reproducible issues:
See our contributing instructions for assistance.
I am using the build 14393 and I encountered two problems:
I have tried
http://answers.microsoft.com/en-us/windows/forum/windows_10-update/error-0x80004005-window-10-update-failure/156adfb8-e7e1-46fa-b5c6-cbd5dcfebbb9
http://forums.hololens.com/discussion/1530/fix-enabling-windows-10-developer-mode-get-error-code-0x80004005-after-build-14383
Neither worked.
How can I solve these? My device is SP4 i7/16GB/512GB.
Thanks.
The text was updated successfully, but these errors were encountered: