-
Notifications
You must be signed in to change notification settings - Fork 27.9k
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
VS Code becomes unresponsive inside Docker container #44385
Comments
I run into the same issue. Behaviour seen both with C++ as well as a Haskell project, so likely unrelated to the plugins. Same project/plugins running natively (so not in docker) works fine. |
This issue was moved to microsoft/vscode-cpptools#1610 |
@weinand We don't think this is a vscode-cpptools issue. The user is reproing it without any extensions installed. |
@chrisdias @chrmarti did you ever run VS Code like that in a docker container? |
No. Some of the later errors are related to the GPU (or its absence). Try running with |
Apologies for the delay in responding. The output from |
I see ENOSPC in there, try these instructions: https://code.visualstudio.com/docs/setup/linux#_error-enospc |
Just increased the watch limit and while those errors disappeared, the same issue has reoccured. The last two lines of the console output were:
as before. Full output is here |
Not sure who tried, but I think someone had it running in Docker. @Tyriar ? |
So something interesting I just observed - I attempted to toggle developer tools within VS Code to see if I could get a timeline or any other info when a hang occurred. When I triggered the developer tools, the window would appear but as soon as I moved my mouse out of the dev tool area, it went blank with a background the same colour as the rest of the window. The log output is available here but I did notice the following:
I then toggled the dev tools are few more times and it eventually caused VS Code to crash without a minidump. |
The lack of a minidump actually led me to this issue in the Atom project: atom/atom#8684 I've rebuilt the container while adding The last comment on this issue does a better job of explaining it: cypress-io/cypress#350 - namely Docker has a default of 64MB of shared memory per container which is perhaps getting exhausted (since I"m running C++ extensions on a fairly large project) thereby causing a hang. |
We never really supported this, it's a feature request imo. I've closed a similar issue in the past as out of scope #27284 when we cleaned up the backlog. |
This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines. Happy Coding! |
Steps to Reproduce:
VS Code becomes unresponsive with this printed in the console (running --verbose)
Does this issue occur when all extensions are disabled?: Yes - produces this output and crashes immediately upon launch.
To provide some background, this instance of VS Code is running inside a Debian docker container with the following parameters:
I'm not sure how to debug this further and determine why VS Code has become unresponsive.
The text was updated successfully, but these errors were encountered: