-
Notifications
You must be signed in to change notification settings - Fork 30.4k
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
VSCode freezes when opening a terminal #239838
Comments
confirm issue exists too after last update. But for me it's random... And doesn't matter which project I open |
Same issuewith Debiam 12, VSC locks up. Message: The Windows is not responding Version: 1.97.0 |
I think it would be useful following https://github.com/Microsoft/vscode/wiki/Performance-Issues |
There is nothing about solving complete freezes like this there. |
To rollback this update (Windows):
|
Same freeze on Windows 11 ARM64. MacOS version is running without problems. |
Mac Silicon Version has this issue, too. |
Have the same issue on my Raspberry Pi with newest update (OS and VSC). Starting VS Code and after a few seconds it freeze. Can select commands from the menu but nothing happens. Happens with and without extensions. |
Same here. VS Code Always freezes after opening a terminal tab. |
yes @FabricioDosSantosMoreira its the same here, only freeze when I open terminal. I got crazy reinstalling everything like extensions and zsh pluggins lol, and nothing works, only when I made the downgrade |
We are sorry for the trouble, but need to gather more information for how to reproduce this issue. I hear that people notice this crash when they open a terminal in VS Code, is that true for all users? And if so, anything specifically configured in settings or with the terminal in the OS that could hint to why it crashes? Also, if you could try to reproduce from our insider builds: You can give our preview releases a try from: https://code.visualstudio.com/insiders/ |
I cannot reproduce on macOS. Can you please follow these steps? |
No, When I Was Setting Up My Brothers VS Code First Time I Installed It And Was Trying To Open The Terminal For Checking gcc version and the terminal didn't opened. i didn't did any config at all not even installed a extension only logined his github and microsoft n copilot accout to vscode. nothing else and when i tried again it was not working plz help us |
does changing either of these help: |
Can anyone else generate the crash report of this bug who ever else is facing this bug as i not able to generate idk why its not generating. @meganrogge and plz try to fix this error as soon as possible. |
Can people please share their settings here? The location is: |
@bpasero here's mine, I'm on MacOS ARM:
|
It appears most of the reports are from Windows 10 x64, I see one on Windows 11 arm (#239838 (comment)), one on raspberry pi arm (#239838 (comment)), one on Linux arm (#239838 (comment)), one on mac arm (#239838 (comment)). |
I don't have any of the above hardware but will keep trying. Looking at the screenshot I think it's a window freeze caused by an infinite loop. If anyone can reproduce this reliably, these steps would help narrow it down:
That should freeze somewhere, giving context of somewhere that keeps looping. A screenshot of the code and the call stack to the right would be useful. Additionally you should be able to play and pause again and get a similar stack somewhere else if it's not obvious from that why it's looping. |
@widersky I see you have |
Tried on a Windows x64 10 (19044) VM and doesn't reproduce with no settings, suggest enabled or the settings in #239838 (comment) |
I solved this problem yestarday , using win + R to opening up the windows terminal and typing in the terminal "code --disable-gpu", most likely it's a gpu problem and can be solved in "file > preferences > settings" in the search field type "gpu" and find "Enable GPU Acceleration", turn it off e restart Vscode. |
@Tyriar unfortunately not :( |
I solved this problem yestarday , using win + R to opening up the windows terminal and typing in the terminal "code --disable-gpu", most likely it's a gpu problem and can be solved in "file > preferences > settings" in the search field type "gpu" and find "Enable GPU Acceleration", turn it off e restart Vscode. Tells me if it is helped for you! Reminder: Make changes after add in the terminal the "code --disable-gpu" and open up the VS Code, other way the program is gonna break up. |
@igorfonseca05 I’ve had this option disabled for months because it was causing stuttering when scrolling through code — without GPU Acceleration on macOS M1 the code scrolls much more smoothly. Changing this option doesn’t help anyway; I just tried it a moment ago. |
@Tyriar |
I understand, i hope you manage to solve your problem as faster as possible, good luck! 🙂 |
Have installed Code on a second Raspberry Pi and can reproduce the issue when open a terminal. No settings changed. But starting Code with GPU disabled Code works. |
For me, the issue appears on Windows 11 VM running on a Windows 11 arm host with Hyper-V. |
While we are working to collect info on reproing the issue, I would also like to collect some runtime traces that could help with debugging this issue, can affected users try the following steps
This will generate a trace file, attach it to this issue |
I can confirm turning off "Terminal › Integrated: Gpu Acceleration" resolves issue on my Windows 11 VM arm. Here is the trace after turning "Terminal › Integrated: Gpu Acceleration" to auto. |
@chrispstephens It's working on MacOS ARM too! |
This worked for me. Thanks! 😊. Ubuntu 18.04.6 LTS - 64-bit |
Thanks for the trace, it appears the issue is occurring when the texture atlas is warming up, so turning off gpuAcceleration should workaround the problem. |
As a follow-up given the issue is happening in the gpu path we would like to see if there is a common denominator in the backend used. Can users run |
Attached see the GPU report from my Raspberry Pi: |
@deepak1556 https://gist.github.com/Ratstail91/eb4ffa06fe67f8e2a474fed75db31f31 I'm running on a Raspberry Pi v5, 8GB model, and the |
And also attached another trace report from my Raspberry Pi: |
Does this issue occur when all extensions are disabled? Yes
Version: 1.97.0 (user setup)
Commit: 33fc5a9
Date: 2025-02-04T22:41:26.688Z
Electron: 32.2.7
ElectronBuildId: 10660205
Chromium: 128.0.6613.186
Node.js: 20.18.1
V8: 12.8.374.38-electron.0
OS: Windows_NT x64 10.0.19045
Steps to Reproduce:
This issue makes VSCode completely unusable.
The text was updated successfully, but these errors were encountered: