Entering bash via cmd causes subsequent bash requests to crash
Please use the following bug reporting template to help produce actionable and reproducible issues. Please try to ensure that the reproduction is minimal so that the team can go through more bugs!
- A brief description Entering bash from cmd>bash.exe works the first time but after exiting it causes the bash launcher to hang and also causes bash.exe to hang from cmd.
- Expected results To be able to enter and exit bash via bash.exe freely without crashing the Linux subsystem
- Actual results (with terminal output if applicable) [blank results]. Issue is similar to this one.
- Your Windows build number 14393.105
- Steps / commands required to reproduce the error Open bash via the application link in start>programs. This will work. Close bash then reopen. This will also work. Next open cmd via preferred method (regular or administrator, both produces this bug) and type "bash". This will place you into bash. Next either type "exit" or close the window. Now repeat the above steps and every attempt to enter bash will result in a blank screen.
- Strace of the failing command NA
- Required packages and commands to install NA
See our contributing instructions for assistance.
Thanks for reporting the issue. Unfortunately I wasn't able to repro the issue locally. In the linked issue above, some folks found it was caused by AV software. Can you confirm if you are running a 3rd party anti-virus or firewall and if the issue goes away if that is temporarily disabled?
I've used such as scenario multiple times and haven't experienced any issues calling bash from within cmd prompt. Same build of Windows / x86_64.
I regularily do the same with 14393.0 and I've never had bash hang. I even have daemons started, and exiting bash kills them every time, but when I restart bash (via cmd) all is fine.
Also not able to reproduce this locally, cleaning up this thread.