microsoft / vscode

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

Jupyter notebooks run over SSH randomly refuse to respond/interrupt/save and stays unresponsive even if the kernel is terminated manually #213116

Closed munael closed 1 day ago

munael commented 1 month ago

Type: Performance Issue

  1. Start a notebook on an SSH remote.
  2. Use it until it hangs randomly.
  3. Try to interrupt or restart the kernel. Nothing.
  4. Kill the kernel process.
  5. Try to save the notebook and reload the window. Saving loop infinitely.

VS Code version: Code - Insiders 1.90.0-insider (f209ce35ef894bd32c12057724e8d1f1139c433f, 2024-05-17T17:49:32.956Z) OS version: Windows_NT x64 10.0.22621 Modes: Remote OS version: Linux x64 5.15.0-102-generic

System Info |Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i7-8665U CPU @ 1.90GHz (8 x 2112)| |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| |Load (avg)|undefined| |Memory (System)|15.79GB (0.54GB free)| |Process Argv|--crash-reporter-id 99e317c3-0ab7-4106-9d83-dcf6c481fe98| |Screen Reader|yes| |VM|0%| |Item|Value| |---|---| |Remote|SSH: my-remote-machine| |OS|Linux x64 5.15.0-102-generic| |CPUs|Intel(R) Xeon(R) CPU E5-2670 v3 @ 2.30GHz (48 x 1210)| |Memory (System)|251.77GB (238.42GB free)| |VM|0%|
Process Info ``` CPU % Mem MB PID Process 1 150 14844 code-insiders main 0 13 3784 fileWatcher [2] 0 103 4408 window [8] (Issue Reporter) 0 99 7564 window 0 35 13772 extensionHost [3] 0 4 5412 "C:\Users\\AppData\Local\Programs\Microsoft VS Code Insiders\Code - Insiders.exe" "c:\Users\\AppData\Local\Programs\Microsoft VS Code Insiders\resources\app\extensions\json-language-features\server\dist\node\jsonServerMain" --node-ipc --clientProcessId=13772 0 2 21800 electron-nodejs (tsserver.js ) 0 2 30188 electron-nodejs (mathjax.js ) 0 4 30668 "C:\Users\\AppData\Local\Programs\Microsoft VS Code Insiders\Code - Insiders.exe" "c:\Users\\AppData\Local\Programs\Microsoft VS Code Insiders\resources\app\extensions\css-language-features\server\dist\node\cssServerMain" --node-ipc --clientProcessId=13772 0 7 32116 electron-nodejs (tsserver.js ) 0 2 25092 electron-nodejs (typingsInstaller.js typesMap.js ) 0 4 33176 "C:\Users\\AppData\Local\Programs\Microsoft VS Code Insiders\Code - Insiders.exe" "c:\Users\\AppData\Local\Programs\Microsoft VS Code Insiders\resources\app\extensions\markdown-language-features\server\dist\node\workerMain" --node-ipc --clientProcessId=13772 0 7 36192 electron-nodejs (bundle.js ) 0 812 21324 "C:\Program Files\Mozilla Firefox\firefox.exe" 0 127 1640 "C:\Program Files\Mozilla Firefox\firefox.exe" -contentproc --channel=11572 -childID 22 -isForBrowser -prefsHandle 11328 -prefMapHandle 11392 -prefsLen 35765 -prefMapSize 262198 -jsInitHandle 1624 -jsInitLen 231800 -parentBuildID 20240509170740 -win32kLockedDown -appDir "C:\Program Files\Mozilla Firefox\browser" - {085c45e1-ec39-4afa-87b9-58b4b6737b79} 21324 "\\.\pipe\gecko-crash-server-pipe.21324" tab 0 29 5472 "C:\Program Files\Mozilla Firefox\firefox.exe" -contentproc --channel=7672 -childID 12 -isForBrowser -prefsHandle 2240 -prefMapHandle 8776 -prefsLen 35522 -prefMapSize 262198 -jsInitHandle 1624 -jsInitLen 231800 -parentBuildID 20240509170740 -win32kLockedDown -appDir "C:\Program Files\Mozilla Firefox\browser" - {61422cd3-3d6f-4249-949e-865c531b55e0} 21324 "\\.\pipe\gecko-crash-server-pipe.21324" tab 0 5 5620 "C:\Program Files\Mozilla Firefox\firefox.exe" -contentproc --channel=11948 -parentBuildID 20240509170740 -prefsHandle 7976 -prefMapHandle 10252 -prefsLen 41306 -prefMapSize 262198 -appDir "C:\Program Files\Mozilla Firefox\browser" - {ff632beb-a8ea-4cea-ba2f-ecf9648b339d} 21324 "\\.\pipe\gecko-crash-server-pipe.21324" rdd 0 10 8976 "C:\Program Files\Mozilla Firefox\firefox.exe" -contentproc --channel=6608 -childID 19 -isForBrowser -prefsHandle 8180 -prefMapHandle 8184 -prefsLen 35715 -prefMapSize 262198 -jsInitHandle 1624 -jsInitLen 231800 -parentBuildID 20240509170740 -win32kLockedDown -appDir "C:\Program Files\Mozilla Firefox\browser" - {f947383e-975b-48ac-bfe8-6c9b2c1b090d} 21324 "\\.\pipe\gecko-crash-server-pipe.21324" tab 0 10 11288 "C:\Program Files\Mozilla Firefox\firefox.exe" -contentproc --channel=8424 -childID 16 -isForBrowser -prefsHandle 8240 -prefMapHandle 7428 -prefsLen 35715 -prefMapSize 262198 -jsInitHandle 1624 -jsInitLen 231800 -parentBuildID 20240509170740 -win32kLockedDown -appDir "C:\Program Files\Mozilla Firefox\browser" - {063c3221-63e5-456c-a882-cb25f6fcbbe2} 21324 "\\.\pipe\gecko-crash-server-pipe.21324" tab 0 416 17608 "C:\Program Files\Mozilla Firefox\firefox.exe" -contentproc --channel=5508 -childID 5 -isForBrowser -prefsHandle 5544 -prefMapHandle 5540 -prefsLen 36517 -prefMapSize 262198 -jsInitHandle 1624 -jsInitLen 231800 -parentBuildID 20240509170740 -win32kLockedDown -appDir "C:\Program Files\Mozilla Firefox\browser" - {146353ff-b958-4d61-8133-54055a1c9637} 21324 "\\.\pipe\gecko-crash-server-pipe.21324" tab 0 19 19028 "C:\Program Files\Mozilla Firefox\firefox.exe" -contentproc --channel=8856 -childID 17 -isForBrowser -prefsHandle 6472 -prefMapHandle 6392 -prefsLen 35715 -prefMapSize 262198 -jsInitHandle 1624 -jsInitLen 231800 -parentBuildID 20240509170740 -win32kLockedDown -appDir "C:\Program Files\Mozilla Firefox\browser" - {9bbe0961-71d5-4f8e-bcf2-8cd6d4fffdfa} 21324 "\\.\pipe\gecko-crash-server-pipe.21324" tab 0 34 19668 "C:\Program Files\Mozilla Firefox\firefox.exe" -contentproc --channel=9236 -childID 14 -isForBrowser -prefsHandle 6728 -prefMapHandle 8924 -prefsLen 35715 -prefMapSize 262198 -jsInitHandle 1624 -jsInitLen 231800 -parentBuildID 20240509170740 -win32kLockedDown -appDir "C:\Program Files\Mozilla Firefox\browser" - {40ef1e6e-ab2b-4996-8284-961afc891424} 21324 "\\.\pipe\gecko-crash-server-pipe.21324" tab 0 25 19836 "C:\Program Files\Mozilla Firefox\firefox.exe" -contentproc --channel=9888 -childID 23 -isForBrowser -prefsHandle 10716 -prefMapHandle 10952 -prefsLen 35765 -prefMapSize 262198 -jsInitHandle 1624 -jsInitLen 231800 -parentBuildID 20240509170740 -win32kLockedDown -appDir "C:\Program Files\Mozilla Firefox\browser" - {c9454711-f1ed-4177-af5f-096e96bb621f} 21324 "\\.\pipe\gecko-crash-server-pipe.21324" tab 0 22 21860 "C:\Program Files\Mozilla Firefox\firefox.exe" -contentproc --channel=15320 -childID 208 -isForBrowser -prefsHandle 6896 -prefMapHandle 14048 -prefsLen 36253 -prefMapSize 262198 -jsInitHandle 1624 -jsInitLen 231800 -parentBuildID 20240509170740 -win32kLockedDown -appDir "C:\Program Files\Mozilla Firefox\browser" - {0b94e758-5ca8-4273-b119-13c3a18bc42e} 21324 "\\.\pipe\gecko-crash-server-pipe.21324" tab 0 177 22008 "C:\Program Files\Mozilla Firefox\firefox.exe" -contentproc --channel=5540 -childID 6 -isForBrowser -prefsHandle 5716 -prefMapHandle 5748 -prefsLen 31116 -prefMapSize 262198 -jsInitHandle 1624 -jsInitLen 231800 -parentBuildID 20240509170740 -win32kLockedDown -appDir "C:\Program Files\Mozilla Firefox\browser" - {3e94dec6-fb32-425f-bd19-4c56cefd4f7f} 21324 "\\.\pipe\gecko-crash-server-pipe.21324" tab 0 35 22256 "C:\Program Files\Mozilla Firefox\firefox.exe" -contentproc --channel=7656 -childID 13 -isForBrowser -prefsHandle 7360 -prefMapHandle 7372 -prefsLen 35522 -prefMapSize 262198 -jsInitHandle 1624 -jsInitLen 231800 -parentBuildID 20240509170740 -win32kLockedDown -appDir "C:\Program Files\Mozilla Firefox\browser" - {05cf106d-8300-4fe3-a409-1cf674f02d2e} 21324 "\\.\pipe\gecko-crash-server-pipe.21324" tab 0 970 22408 "C:\Program Files\Mozilla Firefox\firefox.exe" -contentproc --channel=2064 -parentBuildID 20240509170740 -prefsHandle 2028 -prefMapHandle 2008 -prefsLen 35304 -prefMapSize 262198 -appDir "C:\Program Files\Mozilla Firefox\browser" - {50c3adc5-126d-4a5e-9001-03b32553da61} 21324 "\\.\pipe\gecko-crash-server-pipe.21324" gpu 0 3 22412 "C:\Program Files\Mozilla Firefox\firefox.exe" -contentproc --channel=9032 -parentBuildID 20240509170740 -sandboxingKind 1 -prefsHandle 12296 -prefMapHandle 11960 -prefsLen 41306 -prefMapSize 262198 -win32kLockedDown -appDir "C:\Program Files\Mozilla Firefox\browser" - {f311d59e-cae3-4ea7-9238-10ed40053e33} 21324 "\\.\pipe\gecko-crash-server-pipe.21324" utility 0 564 22432 "C:\Program Files\Mozilla Firefox\firefox.exe" -contentproc --channel=12292 -childID 25 -isForBrowser -prefsHandle 12492 -prefMapHandle 12496 -prefsLen 35846 -prefMapSize 262198 -jsInitHandle 1624 -jsInitLen 231800 -parentBuildID 20240509170740 -win32kLockedDown -appDir "C:\Program Files\Mozilla Firefox\browser" - {65f6baf8-b1a9-4a22-a37a-f97be82eb33f} 21324 "\\.\pipe\gecko-crash-server-pipe.21324" tab 0 18 22928 "C:\Program Files\Mozilla Firefox\firefox.exe" -contentproc --channel=9572 -childID 18 -isForBrowser -prefsHandle 8252 -prefMapHandle 8248 -prefsLen 35715 -prefMapSize 262198 -jsInitHandle 1624 -jsInitLen 231800 -parentBuildID 20240509170740 -win32kLockedDown -appDir "C:\Program Files\Mozilla Firefox\browser" - {93dfeab9-2b71-4d06-a818-13ed0a0e00bb} 21324 "\\.\pipe\gecko-crash-server-pipe.21324" tab 0 34 23036 "C:\Program Files\Mozilla Firefox\firefox.exe" -contentproc --channel=5752 -childID 7 -isForBrowser -prefsHandle 5680 -prefMapHandle 5284 -prefsLen 31116 -prefMapSize 262198 -jsInitHandle 1624 -jsInitLen 231800 -parentBuildID 20240509170740 -win32kLockedDown -appDir "C:\Program Files\Mozilla Firefox\browser" - {809f7ffc-7873-483d-aafb-a1dea81449d1} 21324 "\\.\pipe\gecko-crash-server-pipe.21324" tab 0 2 23136 "C:\Program Files\Mozilla Firefox\firefox.exe" -contentproc --channel=2432 -parentBuildID 20240509170740 -prefsHandle 2532 -prefMapHandle 2528 -prefsLen 35304 -prefMapSize 262198 -win32kLockedDown -appDir "C:\Program Files\Mozilla Firefox\browser" - {1e3dba39-36ce-4331-ad99-aa4d88d40d82} 21324 "\\.\pipe\gecko-crash-server-pipe.21324" socket 0 36 23684 "C:\Program Files\Mozilla Firefox\firefox.exe" -contentproc --channel=3468 -childID 1 -isForBrowser -prefsHandle 3484 -prefMapHandle 3472 -prefsLen 36476 -prefMapSize 262198 -jsInitHandle 1624 -jsInitLen 231800 -parentBuildID 20240509170740 -win32kLockedDown -appDir "C:\Program Files\Mozilla Firefox\browser" - {1d231bd7-09b5-4b9b-aecc-ac39a39bf0a1} 21324 "\\.\pipe\gecko-crash-server-pipe.21324" tab 0 180 23996 "C:\Program Files\Mozilla Firefox\firefox.exe" -contentproc --channel=2392 -childID 2 -isForBrowser -prefsHandle 3636 -prefMapHandle 4008 -prefsLen 31116 -prefMapSize 262198 -jsInitHandle 1624 -jsInitLen 231800 -parentBuildID 20240509170740 -win32kLockedDown -appDir "C:\Program Files\Mozilla Firefox\browser" - {cd9b03d1-fbd2-4db7-80a1-427c7e4a472c} 21324 "\\.\pipe\gecko-crash-server-pipe.21324" tab 0 6 24316 "C:\Program Files\Mozilla Firefox\firefox.exe" -contentproc --channel=8012 -parentBuildID 20240509170740 -sandboxingKind 0 -prefsHandle 8748 -prefMapHandle 8640 -prefsLen 40960 -prefMapSize 262198 -win32kLockedDown -appDir "C:\Program Files\Mozilla Firefox\browser" - {9891daa4-6a13-4c7a-b543-14679b841fdc} 21324 "\\.\pipe\gecko-crash-server-pipe.21324" utility 0 56 24324 "C:\Program Files\Mozilla Firefox\firefox.exe" -contentproc --channel=9240 -childID 15 -isForBrowser -prefsHandle 2992 -prefMapHandle 8560 -prefsLen 35715 -prefMapSize 262198 -jsInitHandle 1624 -jsInitLen 231800 -parentBuildID 20240509170740 -win32kLockedDown -appDir "C:\Program Files\Mozilla Firefox\browser" - {77da1c65-bfc9-415c-b965-441b25da74b6} 21324 "\\.\pipe\gecko-crash-server-pipe.21324" tab 0 29 26312 "C:\Program Files\Mozilla Firefox\firefox.exe" -contentproc --channel=15168 -childID 675 -isForBrowser -prefsHandle 19240 -prefMapHandle 3384 -prefsLen 36253 -prefMapSize 262198 -jsInitHandle 1624 -jsInitLen 231800 -parentBuildID 20240509170740 -win32kLockedDown -appDir "C:\Program Files\Mozilla Firefox\browser" - {bcafca1c-06f6-4fc4-9cd0-f1b3e56382af} 21324 "\\.\pipe\gecko-crash-server-pipe.21324" tab 0 72 26472 "C:\Program Files\Mozilla Firefox\firefox.exe" -contentproc --channel=14048 -childID 80 -isForBrowser -prefsHandle 7052 -prefMapHandle 8696 -prefsLen 36189 -prefMapSize 262198 -jsInitHandle 1624 -jsInitLen 231800 -parentBuildID 20240509170740 -win32kLockedDown -appDir "C:\Program Files\Mozilla Firefox\browser" - {2fe32dfe-474c-4f41-b157-084828658b34} 21324 "\\.\pipe\gecko-crash-server-pipe.21324" tab 0 20 28312 "C:\Program Files\Mozilla Firefox\firefox.exe" -contentproc --channel=16520 -childID 217 -isForBrowser -prefsHandle 11540 -prefMapHandle 4584 -prefsLen 36253 -prefMapSize 262198 -jsInitHandle 1624 -jsInitLen 231800 -parentBuildID 20240509170740 -win32kLockedDown -appDir "C:\Program Files\Mozilla Firefox\browser" - {40e61306-0da2-435d-9fcf-4dc0df815dd4} 21324 "\\.\pipe\gecko-crash-server-pipe.21324" tab 0 20 30304 "C:\Program Files\Mozilla Firefox\firefox.exe" -contentproc --channel=14444 -childID 209 -isForBrowser -prefsHandle 9144 -prefMapHandle 16088 -prefsLen 36253 -prefMapSize 262198 -jsInitHandle 1624 -jsInitLen 231800 -parentBuildID 20240509170740 -win32kLockedDown -appDir "C:\Program Files\Mozilla Firefox\browser" - {3562bef7-84df-429c-a838-70c86f12d21c} 21324 "\\.\pipe\gecko-crash-server-pipe.21324" tab 0 267 31664 "C:\Program Files\Mozilla Firefox\firefox.exe" -contentproc --channel=11420 -childID 664 -isForBrowser -prefsHandle 14592 -prefMapHandle 12196 -prefsLen 36253 -prefMapSize 262198 -jsInitHandle 1624 -jsInitLen 231800 -parentBuildID 20240509170740 -win32kLockedDown -appDir "C:\Program Files\Mozilla Firefox\browser" - {a3a446e9-4acb-4caf-b2ef-de6645bbf1c0} 21324 "\\.\pipe\gecko-crash-server-pipe.21324" tab 0 160 33396 "C:\Program Files\Mozilla Firefox\firefox.exe" -contentproc --channel=9892 -childID 660 -isForBrowser -prefsHandle 10140 -prefMapHandle 9308 -prefsLen 36253 -prefMapSize 262198 -jsInitHandle 1624 -jsInitLen 231800 -parentBuildID 20240509170740 -win32kLockedDown -appDir "C:\Program Files\Mozilla Firefox\browser" - {50c27e25-ce5c-4073-8e7d-0acd209f3bb9} 21324 "\\.\pipe\gecko-crash-server-pipe.21324" tab 0 172 35888 "C:\Program Files\Mozilla Firefox\firefox.exe" -contentproc --channel=14904 -childID 672 -isForBrowser -prefsHandle 17776 -prefMapHandle 15660 -prefsLen 36253 -prefMapSize 262198 -jsInitHandle 1624 -jsInitLen 231800 -parentBuildID 20240509170740 -win32kLockedDown -appDir "C:\Program Files\Mozilla Firefox\browser" - {63caa1c1-1e99-41a6-8833-5da833558856} 21324 "\\.\pipe\gecko-crash-server-pipe.21324" tab 0 19 37384 "C:\Program Files\Mozilla Firefox\firefox.exe" -contentproc --channel=9136 -childID 211 -isForBrowser -prefsHandle 7400 -prefMapHandle 8744 -prefsLen 36253 -prefMapSize 262198 -jsInitHandle 1624 -jsInitLen 231800 -parentBuildID 20240509170740 -win32kLockedDown -appDir "C:\Program Files\Mozilla Firefox\browser" - {4de550e5-b7ae-4547-8f06-bc85ed4b908c} 21324 "\\.\pipe\gecko-crash-server-pipe.21324" tab 0 47 39244 "C:\Program Files\Mozilla Firefox\firefox.exe" -contentproc --channel=17232 -childID 330 -isForBrowser -prefsHandle 17808 -prefMapHandle 14972 -prefsLen 36253 -prefMapSize 262198 -jsInitHandle 1624 -jsInitLen 231800 -parentBuildID 20240509170740 -win32kLockedDown -appDir "C:\Program Files\Mozilla Firefox\browser" - {4d4cd0cc-3803-4eca-8119-545eddd2a485} 21324 "\\.\pipe\gecko-crash-server-pipe.21324" tab 0 23 39296 "C:\Program Files\Mozilla Firefox\firefox.exe" -contentproc --channel=16648 -childID 216 -isForBrowser -prefsHandle 16480 -prefMapHandle 16548 -prefsLen 36253 -prefMapSize 262198 -jsInitHandle 1624 -jsInitLen 231800 -parentBuildID 20240509170740 -win32kLockedDown -appDir "C:\Program Files\Mozilla Firefox\browser" - {e33ccf95-6989-42b6-87c6-2310aed25777} 21324 "\\.\pipe\gecko-crash-server-pipe.21324" tab 0 29 40908 "C:\Program Files\Mozilla Firefox\firefox.exe" -contentproc --channel=11728 -childID 676 -isForBrowser -prefsHandle 10404 -prefMapHandle 9348 -prefsLen 36253 -prefMapSize 262198 -jsInitHandle 1624 -jsInitLen 231800 -parentBuildID 20240509170740 -win32kLockedDown -appDir "C:\Program Files\Mozilla Firefox\browser" - {ecf0c5db-e0d8-4a7c-8170-06c58dced33c} 21324 "\\.\pipe\gecko-crash-server-pipe.21324" tab 0 29 41704 "C:\Program Files\Mozilla Firefox\firefox.exe" -contentproc --channel=17028 -childID 677 -isForBrowser -prefsHandle 8816 -prefMapHandle 18584 -prefsLen 36253 -prefMapSize 262198 -jsInitHandle 1624 -jsInitLen 231800 -parentBuildID 20240509170740 -win32kLockedDown -appDir "C:\Program Files\Mozilla Firefox\browser" - {c2351f35-9d59-4787-ab51-5affb994610a} 21324 "\\.\pipe\gecko-crash-server-pipe.21324" tab 0 39 41708 "C:\Program Files\Mozilla Firefox\firefox.exe" -contentproc --channel=16644 -childID 674 -isForBrowser -prefsHandle 19372 -prefMapHandle 12188 -prefsLen 36253 -prefMapSize 262198 -jsInitHandle 1624 -jsInitLen 231800 -parentBuildID 20240509170740 -win32kLockedDown -appDir "C:\Program Files\Mozilla Firefox\browser" - {2844ccf0-1346-4014-bdaa-4c9d51733524} 21324 "\\.\pipe\gecko-crash-server-pipe.21324" tab 0 22 23012 utility-network-service 0 41 23936 shared-process 0 3 26788 crashpad-handler 0 29 27548 ptyHost 0 7 21420 conpty-agent 0 2 25736 conpty-agent 0 2 26836 conpty-agent 0 0 30700 "C:\Program Files\Git\bin\bash.exe" --init-file "c:\Users\\AppData\Local\Programs\Microsoft VS Code Insiders\resources\app/out/vs/workbench/contrib/terminal/browser/media/shellIntegration-bash.sh" 0 1 34008 "C:\Program Files\Git\bin\..\usr\bin\bash.exe" --init-file "c:\Users\\AppData\Local\Programs\Microsoft VS Code Insiders\resources\app/out/vs/workbench/contrib/terminal/browser/media/shellIntegration-bash.sh" 0 4 34236 C:\WINDOWS\System32\cmd.exe /c (type "C:\Users\\AppData\Local\Temp\vscode-linux-multi-line-command--------004-452054222.sh" | "C:/WINDOWS/System32/OpenSSH/ssh.exe" -T -D 63281 "my-remote-machine" bash) & exit /b 0 0 9 34900 "C:/WINDOWS/System32/OpenSSH/ssh.exe" -T -D 63281 "my-remote-machine" bash 0 1 35740 "C:\Program Files\Git\bin\bash.exe" --init-file "c:\Users\\AppData\Local\Programs\Microsoft VS Code Insiders\resources\app/out/vs/workbench/contrib/terminal/browser/media/shellIntegration-bash.sh" 0 1 27008 "C:\Program Files\Git\bin\..\usr\bin\bash.exe" --init-file "c:\Users\\AppData\Local\Programs\Microsoft VS Code Insiders\resources\app/out/vs/workbench/contrib/terminal/browser/media/shellIntegration-bash.sh" 0 13 30024 fileWatcher [3] 1 442 30072 window [1] (● V100 -- playground.ipynb -- res2-workspace -- Visual Studio Code - Insiders) 0 20 32432 extensionHost [2] 0 4 7404 "C:\Users\\AppData\Local\Programs\Microsoft VS Code Insiders\Code - Insiders.exe" "c:\Users\\AppData\Local\Programs\Microsoft VS Code Insiders\resources\app\extensions\markdown-language-features\server\dist\node\workerMain" --node-ipc --clientProcessId=32432 0 6 32592 electron-nodejs (bundle.js ) 0 4 33196 "C:\Users\\AppData\Local\Programs\Microsoft VS Code Insiders\Code - Insiders.exe" "c:\Users\\AppData\Local\Programs\Microsoft VS Code Insiders\resources\app\extensions\json-language-features\server\dist\node\jsonServerMain" --node-ipc --clientProcessId=32432 0 29 33816 fileWatcher [1] 1 146 34564 gpu-process 0 59 41160 extensionHost [1] Remote: SSH: my-remote-machine CPU % Mem MB PID Process 0 0 1180172 remote agent 0 0 1180243 fileWatcher 0 0 1180268 ptyHost 0 0 1180652 /bin/bash 0 0 1180663 /bin/bash 0 0 1180826 /bin/bash 0 0 1180853 tmux a -t main 0 0 1271686 /bin/bash 0 0 1271712 /bin/bash 0 0 1414508 /bin/bash 0 0 1582941 /bin/bash 0 0 1271115 fileWatcher 0 0 1413826 fileWatcher 2 0 1541725 extension-host 0 0 1541985 /home/csalt/.vscode-server-insiders/bin/f209ce35ef894bd32c12057724e8d1f1139c433f/node /home/csalt/.vscode-server-insiders/bin/f209ce35ef894bd32c12057724e8d1f1139c433f/extensions/markdown-language-features/server/dist/node/workerMain --node-ipc --clientProcessId=1541725 0 0 1542448 /home/csalt/.vscode-server-insiders/bin/f209ce35ef894bd32c12057724e8d1f1139c433f/node /home/csalt/.vscode-server-insiders/extensions/ms-python.vscode-pylance-2024.5.101/dist/server.bundle.js --cancellationReceive=file:f49a03a48e25c7dcb3b103bd1eca53fdcfac32e8b2 --node-ipc --clientProcessId=1541725 0 0 1557804 /home/csalt/.vscode-server-insiders/bin/f209ce35ef894bd32c12057724e8d1f1139c433f/node /home/csalt/.vscode-server-insiders/bin/f209ce35ef894bd32c12057724e8d1f1139c433f/extensions/json-language-features/server/dist/node/jsonServerMain --node-ipc --clientProcessId=1541725 0 0 1541736 fileWatcher 2 0 1582257 extension-host 0 0 1582556 /home/csalt/.vscode-server-insiders/bin/f209ce35ef894bd32c12057724e8d1f1139c433f/node /home/csalt/.vscode-server-insiders/bin/f209ce35ef894bd32c12057724e8d1f1139c433f/extensions/markdown-language-features/server/dist/node/workerMain --node-ipc --clientProcessId=1582257 0 0 1583002 /home/csalt/.vscode-server-insiders/bin/f209ce35ef894bd32c12057724e8d1f1139c433f/node /home/csalt/.vscode-server-insiders/extensions/ms-python.vscode-pylance-2024.5.101/dist/server.bundle.js --cancellationReceive=file:603d7b5e9db01fa7bbf54b6c8aa4d0e9a8713716a6 --node-ipc --clientProcessId=1582257 0 0 1582299 fileWatcher 0 0 1668342 /bin/sh -c /usr/bin/ps -ax -o pid=,ppid=,pcpu=,pmem=,command= 0 0 1668343 /usr/bin/ps -ax -o pid=,ppid=,pcpu=,pmem=,command= ```
Workspace Info ``` | Remote: SSH: my-remote-machine; ```
Extensions (66) Extension|Author (truncated)|Version ---|---|--- monokai-charcoal-high-contrast|74t|3.4.0 Bookmarks|ale|13.5.0 jsonl|Alp|0.0.1 sdlang|arm|0.1.0 spellright|ban|3.0.124 theme-verdandi|be5|2.0.1 vscode-hyperscript-org|dz4|0.1.5 LogFileHighlighter|emi|2.19.0 vsc-material-theme|Equ|34.3.1 vsc-material-theme-icons|equ|3.6.0 better-nunjucks|gin|0.2.5 language-cython|guy|0.0.8 bootstrap5-snippets|Han|1.2.5 output-colorizer|IBM|0.1.2 vsc-python-indent|Kev|1.18.0 l13-diff|L13|1.3.8 l13-projects|L13|1.1.1 python-sphinx-highlight|leo|0.3.0 jupyter-keymap|ms-|1.1.2 remote-ssh|ms-|0.112.2024051615 remote-ssh-edit|ms-|0.86.0 remote-explorer|ms-|0.5.2024051509 rose-pine|mvl|2.9.0 colorful-comments|Par|1.0.0 bib|phr|0.3.0 salt-water-taffy|rad|0.3.0 shellman|Rem|5.7.0 shebang-snippets|rpi|0.1.4 powerquerymlanguage|sea|1.0.0 vscode-field-lights|sve|0.0.11 semantic-rainbow|the|1.1.7 pdf|tom|1.2.2 errorlens|use|3.17.0 vscode-vimrc|voi|0.1.0 vim|vsc|1.27.3 material-theme|zhu|3.17.2 path-intellisense|chr|2.8.5 rainbow-highlighter|cob|0.1.0 fastcompare|Dav|1.2.1 gitlens|eam|15.0.4 comment-anchors|Exo|1.10.4 vscode-edit-csv|jan|0.9.1 vsc-python-indent|Kev|1.18.0 l13-diff|L13|1.3.8 bash-extension-pack|liz|0.0.4 bash-ide-vscode|mad|1.41.0 vscode-color-identifiers-mode|Mat|1.3.0 rainbow-csv|mec|3.11.0 git-graph|mhu|1.30.0 debugpy|ms-|2024.7.11371019 python|ms-|2024.7.11371014 vscode-pylance|ms-|2024.5.101 jupyter|ms-|2024.4.0 jupyter-keymap|ms-|1.1.2 jupyter-renderers|ms-|1.0.17 vscode-jupyter-cell-tags|ms-|0.1.9 vscode-jupyter-powertoys|ms-|0.1.1 vscode-jupyter-slideshow|ms-|0.1.6 powershell|ms-|2024.2.2 vsliveshare|ms-|1.0.5918 indent-rainbow|ode|8.3.1 shellman|Rem|5.7.0 partial-diff|ryu|1.4.3 indenticator|Sir|0.7.0 vscode-fileutils|sle|3.10.3 markdown-all-in-one|yzh|3.6.2 (55 theme extensions excluded)
rebornix commented 1 month ago

I think I saw this a few times this month @DonJayamanne

DonJayamanne commented 1 month ago

Use it until it hangs randomly.

Looks like it hangs at some point and thats most likely the issue, not necessarily the execution or the like. @munael when things hang, is it possible to share some of the logs from VS Code (have a look at the console logs Dev Tools using the command Toggle Developer Tools), if there are any please can you share them.

I think I saw this a few times this month

Not sure how execution prevents saving of notebooks

@rebornix did you run into this or did you see other similar issues? @amunger /cc

munael commented 1 month ago

I'll try to get logs.

There's something else I noticed: the hang starts when I try to access a non-existent property of a variable and either auto-complete or type info hover tips get invoked, or when I try to run the cell.

Specifically, it happened when I tried to access a[b].shape but a[b] was a tuple, not a torch tensor (as I expected).

But other non-existent properties are fine 😅

Please note that the "hang" does not affect any part of the UI in the traditional way of hangs. Type tips still work, scrolling and typing work. But execution waits indefinitely, the cell with the code above stays in the waiting stage and never moved to execution.

And if you try to save nothing happens. If you try to close or restart the window or the tab, you get prompted to save or discard changes. Choosing Save shows an infinite loading modal with the option to cancel. The only option that works is to discard all changes.

DonJayamanne commented 1 month ago

@munael

There's something else I noticed: the hang starts when I try to access a non-existent property of

Can you replicate this issue when you reload VS Code, open this notebook and start typing in that same place Or do you have to first run some code in the notebook against the kernel. Basically I'm looking for exact steps to repro this and eliminate steps like (no need to execute code, other extensions do not play a role, etc).

munael commented 1 month ago

@DonJayamanne

Noticed these warnings when it happened again today without invoking type tooltips.

The first message repeats many times above the quoted portion.

2024-05-23 03:17:12.991 [error] Unavailable (FileSystemError): ENOPRO: No file system provider found for resource 'vscode-notebook-cell://ssh-remote%2B7b22686f73744e616d65223a224d542d4750552d303034227d/<data/path>/playground.ipynb#X23sdnNjb2RlLXJlbW90ZQ%3D%3D'
    at E.e (/home/user/.vscode-server-insiders/bin/f209ce35ef894bd32c12057724e8d1f1139c433f/out/vs/workbench/api/node/extensionHostProcess.js:154:6619)
    at Object.stat (/home/user/.vscode-server-insiders/bin/f209ce35ef894bd32c12057724e8d1f1139c433f/out/vs/workbench/api/node/extensionHostProcess.js:154:3892)
2024-05-23 03:17:13.782 [error] Unavailable (FileSystemError): ENOPRO: No file system provider found for resource 'vscode-notebook-cell://ssh-remote%2B7b22686f73744e616d65223a224d542d4750552d303034227d/<data/path>/playground.ipynb#X23sdnNjb2RlLXJlbW90ZQ%3D%3D'
    at E.e (/home/user/.vscode-server-insiders/bin/f209ce35ef894bd32c12057724e8d1f1139c433f/out/vs/workbench/api/node/extensionHostProcess.js:154:6619)
    at Object.stat (/home/user/.vscode-server-insiders/bin/f209ce35ef894bd32c12057724e8d1f1139c433f/out/vs/workbench/api/node/extensionHostProcess.js:154:3892)
2024-05-23 03:17:19.675 [error] [ms-toolsai.jupyter] provider FAILED
2024-05-23 03:17:19.676 [error] Error: DisposableStore is missing...
    at Pe.l (/home/user/.vscode-server-insiders/bin/f209ce35ef894bd32c12057724e8d1f1139c433f/out/vs/workbench/api/node/extensionHostProcess.js:155:108416)
    at Pe.resolveCompletionItem (/home/user/.vscode-server-insiders/bin/f209ce35ef894bd32c12057724e8d1f1139c433f/out/vs/workbench/api/node/extensionHostProcess.js:155:107886)
DonJayamanne commented 1 week ago

@munael Are you still running into this issue with the latest versions?

VSCodeTriageBot commented 1 day 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!