microsoft / vscode

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

JS/TS server crashed 5 times #219563

Closed frankshearar closed 2 months ago

frankshearar commented 2 months ago

Type: Bug

I have a custom git alias - codeall = "!f() { git status | grep both.[amd] | cut -d\":\" -f2 | xargs code ; }; f" - that i ran from a PowerShell prompt. After some time - perhaps 10s? - VS Code finally opened, and I saw a dialog reporting that the JS/TS server had crashed 5 times and would not be restarted.

VS Code version: Code 1.90.0 (89de5a8d4d6205e5b11647eb6a74844ca23d2573, 2024-06-04T19:33:54.889Z) OS version: Windows_NT x64 10.0.22631 Modes:

System Info |Item|Value| |---|---| |CPUs|Intel(R) Xeon(R) W-2145 CPU @ 3.70GHz (16 x 3696)| |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)|63.73GB (8.62GB free)| |Process Argv|privacy/data-at-rest-scanning/index.md --crash-reporter-id 5b87bb2e-fe9b-4b91-9167-c37744ded5f0| |Screen Reader|no| |VM|0%|
Extensions (41) Extension|Author (truncated)|Version ---|---|--- vscode-openapi|42C|4.27.0 vscode-tlaplus|aly|1.5.4 vscode-json|and|1.5.2 vscode-httpyac|anw|6.14.0 alloy|Ara|0.7.1 markdown-mermaid|bie|1.23.1 alloy-vscode|Don|0.1.6 graphviz-preview|EFa|1.6.4 vscode-codeql|Git|1.13.1 mermaid-export|Gru|0.0.8 vscode-test-explorer|hbe|2.21.1 rest-client|hum|0.25.1 Ionide-fsharp|Ion|7.20.3 vscode-edit-csv|jan|0.9.1 rainbow-csv|mec|3.12.0 azure-pipelines|ms-|1.228.0 vscode-azureresourcegroups|ms-|0.9.1 vscode-docker|ms-|1.29.1 csdevkit|ms-|1.7.27 csharp|ms-|2.34.12 vscode-dotnet-runtime|ms-|2.0.7 vscodeintellicode-csharp|ms-|2.1.11 debugpy|ms-|2024.6.0 isort|ms-|2023.10.1 python|ms-|2024.8.1 vscode-pylance|ms-|2024.6.1 jupyter|ms-|2024.5.0 jupyter-keymap|ms-|1.1.2 jupyter-renderers|ms-|1.0.18 vscode-jupyter-cell-tags|ms-|0.1.9 vscode-jupyter-slideshow|ms-|0.1.6 remote-containers|ms-|0.369.0 remote-wsl|ms-|0.88.2 azure-account|ms-|0.12.0 hexeditor|ms-|1.10.0 powershell|ms-|2024.2.2 test-adapter-converter|ms-|0.1.9 vscode-yaml|red|1.15.0 kuskus-kusto-language-server|ros|3.2.3 rust-analyzer|rus|0.3.2020 har-viewer|unc|0.0.2
A/B Experiments ``` vsliv368:30146709 vspor879:30202332 vspor708:30202333 vspor363:30204092 vscoreces:30445986 vscod805:30301674 binariesv615:30325510 vsaa593:30376534 py29gd2263:31024239 c4g48928:30535728 azure-dev_surveyone:30548225 vscrp:30673768 a9j8j154:30646983 962ge761:30959799 pythongtdpath:30769146 welcomedialogc:30910334 pythonidxpt:30866567 pythonnoceb:30805159 asynctok:30898717 pythontestfixt:30902429 pythonregdiag2:30936856 pythonmypyd1:30879173 pythoncet0:30885854 h48ei257:31000450 pythontbext0:30879054 accentitlementsc:30995553 dsvsc016:30899300 dsvsc017:30899301 dsvsc018:30899302 cppperfnew:31000557 dsvsc020:30976470 pythonait:31006305 jchc7451:31067544 chatpanelt:31048053 dsvsc021:30996838 f3je6385:31013174 pythoncenvpt:31062603 a69g1124:31058053 dvdeprecation:31068756 pythonprt:31056678 dwnewjupyter:31046869 26j00206:31048877 ```
VSCodeTriageBot commented 2 months ago

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.90.2. Please try upgrading to the latest version and checking whether this issue remains.

Happy Coding!

mjbvz commented 2 months ago

Does it happen if you run VS Code without that script?

VSCodeTriageBot commented 2 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!

frankshearar commented 2 months ago

I don't know, to be honest. This is the primary way that I open files in VS Code.