microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
163.57k stars 29.01k forks source link

The window is not responding #205429

Closed NCC1701M closed 7 months ago

NCC1701M commented 8 months ago

Type: Bug

The application very often hangs even during simple tasks such as starting the application, closing or switching tabs or similar. The The window is not responding dialog appears very often. This error occurs since version 1.86.0.

grafik

VS Code version: Code 1.86.2 (903b1e9d8990623e3d7da1df3d33db3e42d80eda, 2024-02-13T19:41:37.860Z) OS version: Linux x64 5.15.0-94-generic (Linux Mint) Modes:

System Info |Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i7-8850H CPU @ 2.60GHz (12 x 2600)| |GPU Status|2d_canvas: enabled
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: disabled_software
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off| |Load (avg)|2, 1, 0| |Memory (System)|31.14GB (28.11GB free)| |Process Argv|--new-window --crash-reporter-id c47c4e31-3c50-4cbd-8d26-ec3f27ecf2b7| |Screen Reader|no| |VM|0%| |DESKTOP_SESSION|cinnamon| |XDG_CURRENT_DESKTOP|X-Cinnamon| |XDG_SESSION_DESKTOP|cinnamon| |XDG_SESSION_TYPE|x11|
Extensions (57) Extension|Author (truncated)|Version ---|---|--- vscode-sqlite|ale|0.14.1 doxdocgen|csc|1.4.0 xml|Dot|2.5.1 EditorConfig|Edi|0.16.4 codespaces|Git|1.16.10 vscode-github-actions|git|0.26.2 todo-tree|Gru|0.0.226 vscode-guid|hea|1.9.0 vscode-drawio|hed|1.6.6 beautify|Hoo|1.5.0 mysql-syntax|jak|1.3.1 encryption-vscode|jam|1.0.2 better-cpp-syntax|jef|1.17.2 cmake-language-support-vscode|jos|0.0.9 cortex-debug|mar|1.12.1 debug-tracker-vscode|mcu|0.0.15 memory-view|mcu|0.0.25 peripheral-viewer|mcu|1.4.6 rtos-views|mcu|0.0.7 vscode-apache|mrm|1.2.0 vscode-docker|ms-|1.29.0 blazorwasm-companion|ms-|1.1.4 csdevkit|ms-|1.3.10 csharp|ms-|2.15.30 vscode-dotnet-runtime|ms-|2.0.1 vscodeintellicode-csharp|ms-|0.1.26 data-workspace-vscode|ms-|0.5.0 mssql|ms-|1.22.1 sql-bindings-vscode|ms-|0.4.0 sql-database-projects-vscode|ms-|1.4.1 remote-containers|ms-|0.338.1 remote-ssh|ms-|0.108.0 remote-ssh-edit|ms-|0.86.0 remote-wsl|ms-|0.86.0 vscode-remote-extensionpack|ms-|0.25.0 cmake-tools|ms-|1.17.15 cpptools|ms-|1.18.5 cpptools-extension-pack|ms-|1.3.0 powershell|ms-|2024.0.0 remote-explorer|ms-|0.4.1 remote-server|ms-|1.5.0 vsliveshare|ms-|1.0.5905 vsliveshare-pack|ms-|0.4.0 openhab|ope|1.0.0 material-icon-theme|PKi|4.33.0 quicktype|qui|12.0.46 sqlite-viewer|qwt|0.3.13 vscode-yaml|red|1.14.0 svg-preview|Sim|2.8.3 code-spell-checker|str|3.0.1 code-spell-checker-german|str|2.3.1 code-spell-checker-greek|str|1.2.1 cmake|twx|0.0.17 vscode-todo-highlight|way|1.0.5 change-case|wma|1.0.0 markdown-pdf|yza|1.5.0 markdown-all-in-one|yzh|3.6.2 (1 theme extensions excluded)
A/B Experiments ``` vsliv368:30146709 vspor879:30202332 vspor708:30202333 vspor363:30204092 vswsl492:30256859 vscod805cf:30301675 binariesv615:30325510 vsaa593cf:30376535 py29gd2263:30899288 c4g48928:30535728 azure-dev_surveyone:30548225 a9j8j154:30646983 962ge761:30959799 pythongtdpath:30769146 welcomedialogc:30910334 pythonidxpt:30866567 pythonnoceb:30805159 asynctok:30898717 pythontestfixt:30902429 pythonregdiag2:30936856 pyreplss1:30897532 pythonmypyd1:30879173 pythoncet0:30885854 h48ei257:30962250 pythontbext0:30879054 dsvsc016:30899300 dsvsc017:30899301 dsvsc018:30899302 pydisww2:30959801 edj9j583:30958191 fegfb526:30961430 7j2b6412:30964151 e3gdj431:30958358 ccp2r6:30958158 ```
noisnemid commented 8 months ago

windows 10, even a 1M Byte text file got this 'not responding' dialog window!!! 1.86.2, all extensions disabled, gpu acceleration disabled.


I delete everything in user settings.json, and it open big files very quick!

I'll check the settings items then.

bpasero commented 8 months ago

Can you please follow the steps in https://github.com/Microsoft/vscode/wiki/Native-Crash-Issues to get at more details around the crash and attach the result here? Thanks!

NCC1701M commented 7 months ago

Can you please follow the steps in https://github.com/Microsoft/vscode/wiki/Native-Crash-Issues to get at more details around the crash and attach the result here? Thanks!

I followed the steps but there was no .dmp file created. Only a client_id and a settings.dat and several folders where created, although the The window is not responding windows appeared and the speed of my notebooks fan raised hearable

bpasero commented 7 months ago

Can you try to reproduce with our nightly insider builds? You can give our preview releases a try from: https://code.visualstudio.com/insiders/

vscodenpa commented 7 months ago

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!

NCC1701M commented 6 months ago

The problem is caused by the Nvidia drivers. These also cause the Chrome browser to start very slowly. Since Electron uses the Chromium engine, this leads to the same problem. It helps to uninstall the Nvidia e.g. with the command sudo apt-get remove --purge '^nvidia-.*'