Apps crash occasionally when writing output to integrated terminal if Win 10 Fall Creators Update is installed #38068
Labels
bug
Issue identified by VS Code Team member as probable bug
*duplicate
Issue identified as a duplicate of another issue(s)
terminal
Integrated terminal issues
upstream
Issue identified as 'upstream' component related (exists outside of VS Code)
windows
VS Code on Windows issues
Milestone
This one is quite tough.
Today it was almost impossible for me to use the integrated terminal and build tasks in VSCode. Some tools occasionally crashed when they were run inside the integrated terminal. The tools randomly stopped writing their output while some others aborted with a "Disk full" error. This happened everytime when the tools were writing a lot of output to the integrated terminal.
I tested them intensively in standalone powershell and cmd windows: They worked as expected. They only crashed when running inside the integrated terminal.
My first thought was that it had something to do with the latest update of VSCode so I downgraded to the September release but it showed the same odd behaviour.
Then I uninstalled the Windows 10 Fall Creators Update which I installed last night. Now everything works fine again.
I guess this is more an issue in Windows than in VSCode but it's quite strange that different applications crash only when they run in the integrated terminal. That's why I post it here. Maybe you have an idea what could have changed in the Windows API that causes this effect. And I guess you might be interested in having applications behave identically regardless the terminal in which they are being run.
I've managed to create a test project that (almost) always crashed when running in the integrated terminal. It will print 100k lines of output to the terminal. You can find it here: https://github.com/Wosi/Print100kLines
Steps to reproduce (hopefully):
The text was updated successfully, but these errors were encountered: