Skip to content
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

All vscode windows crash #243881

Closed
lsh9 opened this issue Mar 18, 2025 · 4 comments
Closed

All vscode windows crash #243881

lsh9 opened this issue Mar 18, 2025 · 4 comments
Assignees
Labels
info-needed Issue requires more information from poster

Comments

@lsh9
Copy link

lsh9 commented Mar 18, 2025

Type: Performance Issue

Explorer deleting files causes all vscode windows to crash
Since updating to windows11

VS Code version: Code 1.98.2 (ddc367e, 2025-03-12T13:32:45.399Z)
OS version: Windows_NT x64 10.0.22631
Modes:
Remote OS version: Linux arm64 4.9.253-tegra
Connection to 'ssh-remote+nvidia_new' could not be established

System Info
Item Value
CPUs Intel(R) Core(TM) i9-10850K CPU @ 3.60GHz (20 x 3600)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: enabled_on
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: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Load (avg) undefined
Memory (System) 63.81GB (37.97GB free)
Process Argv --crash-reporter-id d0945dd2-2af9-462e-a48b-1c9031babc1d
Screen Reader yes
VM 0%
Item Value
Remote SSH: nvidia_new
OS Linux arm64 4.9.253-tegra
CPUs unknown (8 x 1190)
Memory (System) 31.17GB (26.70GB free)
VM 0%

Connection to 'ssh-remote+nvidia_new' could not be established

Process Info
CPU %	Mem MB	   PID	Process
    0	   189	 42836	code main
    0	   179	  7984	   gpu-process
    0	   172	 30236	ptyHost
    0	    10	 28756	     conpty-agent
    0	    83	 33508	     C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -noexit -command "try { . \"c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\contrib\terminal\common\scripts\shellIntegration.ps1\" } catch {}"
    0	    10	 36792	     conpty-agent
    0	    10	 42364	     conpty-agent
    0	    83	 43128	     C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -noexit -command "try { . \"c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\contrib\terminal\common\scripts\shellIntegration.ps1\" } catch {}"
    0	    10	 45880	     C:\WINDOWS\System32\cmd.exe /c (type "C:\Users\lishuai\AppData\Local\Temp\vscode-linux-multi-line-command-nvidia_new-905332373.sh" | "C:\Program Files\OpenSSH\ssh.exe" -T -D 57504 -F "C:\Users\lishuai/.ssh/config" "nvidia_new" sh) & exit /b 0
    0	    14	 46820	       "C:\Program Files\OpenSSH\ssh.exe"  -T -D 57504 -F "C:\Users\lishuai/.ssh/config" "nvidia_new" sh
    0	    83	 45992	     C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -noexit -command "try { . \"c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\contrib\terminal\common\scripts\shellIntegration.ps1\" } catch {}"
    0	    83	 47084	     C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -noexit -command "try { . \"c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\contrib\terminal\common\scripts\shellIntegration.ps1\" } catch {}"
    0	    83	 48780	     C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -noexit -command "try { . \"c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\contrib\terminal\common\scripts\shellIntegration.ps1\" } catch {}"
    0	    10	 49440	     conpty-agent
    0	    10	 50492	     conpty-agent
    0	    10	 50612	     conpty-agent
    0	    83	 52136	     C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -noexit -command "try { . \"c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\contrib\terminal\common\scripts\shellIntegration.ps1\" } catch {}"
    0	    10	 52292	     conpty-agent
    0	    10	 52296	     C:\WINDOWS\System32\cmd.exe /c (type "C:\Users\lishuai\AppData\Local\Temp\vscode-linux-multi-line-command-nvidia_new-326504750.sh" | "C:\Program Files\OpenSSH\ssh.exe" -T -D 57505 -F "C:\Users\lishuai/.ssh/config" "nvidia_new" sh) & exit /b 0
    0	     9	 41464	       C:\WINDOWS\system32\cmd.exe  /S /D /c" type "C:\Users\lishuai\AppData\Local\Temp\vscode-linux-multi-line-command-nvidia_new-326504750.sh" "
    0	    12	 46936	       "C:\Program Files\OpenSSH\ssh.exe"  -T -D 57505 -F "C:\Users\lishuai/.ssh/config" "nvidia_new" sh
    0	    10	 52616	     conpty-agent
    0	   128	 35884	extensionHost [4]
    0	   229	 38072	window [3] (infer.py - infer [SSH: nvidia_new] - Visual Studio Code)
    0	   534	 38956	extensionHost [1]
    0	    12	 38816	     c:\Users\lishuai\.vscode\extensions\ms-python.python-2025.3.2025031701-win32-x64\python-env-tools\bin\pet.exe server
    0	    13	 52228	       C:\WINDOWS\system32\conhost.exe 0x4
    0	   517	 42404	     electron-nodejs (bundle.js )
    0	   126	 46928	     electron-nodejs (server.js )
    0	   111	 41544	fileWatcher [3]
    0	    94	 42072	   utility-network-service
    0	   304	 42108	window [2] (test.py - code - Visual Studio Code)
    0	   230	 45760	window [1] (main.py - vse - Visual Studio Code)
    0	    86	 46120	   crashpad-handler
    0	   116	 46540	fileWatcher [1]
    0	   146	 47264	shared-process
    0	   531	 47344	extensionHost [2]
    0	    12	 14772	     c:\Users\lishuai\.vscode\extensions\ms-python.python-2025.3.2025031701-win32-x64\python-env-tools\bin\pet.exe server
    0	    13	 50868	       C:\WINDOWS\system32\conhost.exe 0x4
    0	   719	 33076	     electron-nodejs (bundle.js )
    0	    22	 33556	     "C:\Program Files\Docker\Docker\resources\bin\docker.exe" context ls --format "{{json .}}"
    0	    13	 41048	       C:\WINDOWS\system32\conhost.exe 0x4
    0	   137	 43952	     electron-nodejs (server.js )
    0	   145	 52236	extensionHost [3]
    0	    22	 45212	     "C:\Program Files\Docker\Docker\resources\bin\docker.exe" context ls --format "{{json .}}"
    0	    13	 52852	       C:\WINDOWS\system32\conhost.exe 0x4
    0	   181	 52420	window [4] (infer_camera.py - code [SSH: nvidia_new] - Visual Studio Code)
    0	   111	 52428	fileWatcher [4]
    0	   116	 53112	fileWatcher [2]

Remote: SSH: nvidia_new
CPU %	Mem MB	   PID	Process
    0	     0	  5998	remote agent
    0	     0	  6014	   fileWatcher
    0	     0	  6056	   extension-host
    0	     0	  6159	     /home/nvidia/.vscode-server/extensions/ms-python.python-2025.2.0-linux-arm64/python-env-tools/bin/pet server
    0	     0	 11127	     /home/nvidia/.vscode-server/cli/servers/Stable-ddc367ed5c8936efe395cffeec279b04ffd7db78/server/node /home/nvidia/.vscode-server/extensions/ms-python.vscode-pylance-2025.3.2/dist/server.bundle.js --cancellationReceive=file:dc45b6ba2012375aea5984939762e4647876086b21 --node-ipc --clientProcessId=6056
    0	     0	  6067	   ptyHost
    0	     0	  7707	     /bin/bash --init-file /home/nvidia/.vscode-server/cli/servers/Stable-ddc367ed5c8936efe395cffeec279b04ffd7db78/server/out/vs/workbench/contrib/terminal/common/scripts/shellIntegration-bash.sh
    0	     0	 10663	     /bin/bash --init-file /home/nvidia/.vscode-server/cli/servers/Stable-ddc367ed5c8936efe395cffeec279b04ffd7db78/server/out/vs/workbench/contrib/terminal/common/scripts/shellIntegration-bash.sh
    0	     0	 13243	   /bin/sh -c /bin/ps -ax -o pid=,ppid=,pcpu=,pmem=,command=
    0	     0	 13244	     /bin/ps -ax -o pid=,ppid=,pcpu=,pmem=,command=
Connection to 'ssh-remote+nvidia_new' could not be established
Workspace Info
|  Window (test.py - code - Visual Studio Code)
|  Window (main.py - vse - Visual Studio Code)
|    Folder (code): 508 files
|      File types: jpg(452) py(16) pyc(8) xml(5) engine(5) pth(4) onnx(3)
|                  json(2) gitignore(1) iml(1)
|      Conf files: launch.json(1) settings.json(1)
|      Launch Configs: debugpy
|    Folder (vse): 143 files
|      File types: py(35) png(18) jpg(11) pyc(10) txt(10) ipynb(7) mp4(7)
|                  xml(6) pt(3) avi(2)
|      Conf files:
|  Remote: SSH: nvidia_new|    Folder (infer): 299 files|      File types: py(150) yaml(85) pyc(8) sh(4) jpg(2) md(2)
|      Conf files:
Connection to 'ssh-remote+nvidia_new' could not be established;
Extensions (39)
Extension Author (truncated) Version
wechat-snippet Cha 0.4.11
miniprogram-vscode-extension cra 1.5.1
copilot Git 1.284.0
copilot-chat Git 0.25.1
overleaf-workshop iam 0.15.0
vscode-map-preview jum 0.7.0
vscode-leetcode Lee 0.18.4
rainbow-csv mec 3.18.0
vscode-docker ms- 1.29.4
vscode-language-pack-zh-hans MS- 1.98.2025031209
csdevkit ms- 1.16.6
csharp ms- 2.63.32
vscode-dotnet-runtime ms- 2.2.8
debugpy ms- 2025.4.1
python ms- 2025.3.2025031701
vscode-pylance ms- 2025.3.2
datawrangler ms- 1.20.1
jupyter ms- 2025.2.0
jupyter-keymap ms- 1.1.2
jupyter-renderers ms- 1.1.0
vscode-jupyter-cell-tags ms- 0.1.9
vscode-jupyter-slideshow ms- 0.1.6
remote-containers ms- 0.401.0
remote-ssh ms- 0.118.0
remote-ssh-edit ms- 0.87.0
remote-wsl ms- 0.88.5
cmake-tools ms- 1.20.53
cpptools ms- 1.23.6
cpptools-extension-pack ms- 1.3.1
remote-explorer ms- 0.4.3
autodocstring njp 0.6.1
java red 1.40.0
pdf tom 1.2.2
cmake twx 0.0.17
intellicode-api-usage-examples Vis 0.2.9
vscodeintellicode Vis 1.3.2
vscode-gradle vsc 3.16.4
vscode-java-pack vsc 0.29.0
vscode-maven vsc 0.44.0

(1 theme extensions excluded)

A/B Experiments
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805:30301674
binariesv615:30325510
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
962ge761:30959799
h48ei257:31000450
pythontbext0:30879054
cppperfnew:31000557
dwnewjupytercf:31046870
nativerepl2:31139839
pythonrstrctxt:31112756
nativeloc1:31192215
iacca1:31171482
5fd0e150:31155592
dwcopilot:31170013
6074i472:31201624
dwoutputs:31242946
customenabled:31248079
9064b325:31222308
copilot_t_ci:31222730
968h8231:31262364
jda6j935:31233686
pythoneinst12:31262605
bgcontrol:31262794
fh1c7952:31258891
4gafe986:31261448
31787653:31262186
3e8i5726:31263299

@vs-code-engineering vs-code-engineering bot added *english-please Issue not using English and removed *english-please Issue not using English labels Mar 18, 2025
@lsh9 lsh9 changed the title 所有的vscode窗口崩溃 All vscode windows crash Mar 18, 2025
@lramos15
Copy link
Member

lramos15 commented Mar 18, 2025

Is this only with remote SSH? And are these files large?

Please see https://github.com/microsoft/vscode/wiki/Native-Crash-Issues#creating-a-crash-report

@lramos15 lramos15 added the info-needed Issue requires more information from poster label Mar 18, 2025
@lsh9
Copy link
Author

lsh9 commented Mar 18, 2025

Is this only with remote SSH? And are these files large?

Please see https://github.com/microsoft/vscode/wiki/Native-Crash-Issues#creating-a-crash-report

No. Only on this Windows 11 machine and just small files. The remote machine is not connected only because I did not enter the password after the crash. I guess there is something wrong with my win11 since other software like terminal, task manager will crash if I do some certain operations.

@lramos15
Copy link
Member

Yeah. That does sounds like an issue with the OS. Maybe worth a reinstall

Copy link

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!

@vs-code-engineering vs-code-engineering bot closed this as not planned Won't fix, can't repro, duplicate, stale Mar 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
info-needed Issue requires more information from poster
Projects
None yet
Development

No branches or pull requests

2 participants