microsoft / vscode

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

Typescript engine periodically crashes #152297

Closed MohdVara closed 2 years ago

MohdVara commented 2 years ago

Issue Type: Bug

Editing ts code.

VS Code version: Code 1.68.0 (Universal) (4af164ea3a06f701fe3e89a2bcbb421d2026b68f, 2022-06-08T11:44:00.250Z) OS version: Darwin arm64 21.5.0 Restricted Mode: No

System Info |Item|Value| |---|---| |CPUs|Apple M1 (8 x 24)| |GPU Status|2d_canvas: enabled
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_renderer: enabled_on
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled| |Load (avg)|11, 11, 9| |Memory (System)|8.00GB (0.13GB free)| |Process Argv|--crash-reporter-id 149c33a5-aaea-4600-ba76-f41a6711a848| |Screen Reader|no| |VM|0%|
Extensions (42) Extension|Author (truncated)|Version ---|---|--- better-comments|aar|3.0.0 aws-toolkit-vscode|ama|1.39.0 vscode-intelephense-client|bme|1.8.2 npm-intellisense|chr|1.4.2 vscode-devtools-for-chrome|cod|0.0.7 vscode-mysql-client2|cwe|5.4.1 vscode-refresh-browser|dae|1.1.3 vscode-eslint|dba|2.2.2 gitlens|eam|12.1.0 vscode-html-css|ecm|1.13.0 vscode-npm-script|eg2|0.3.25 prettier-vscode|esb|9.5.0 auto-close-tag|for|0.5.14 auto-complete-tag|for|0.1.0 auto-rename-tag|for|0.1.10 vue-snippets|hol|1.0.4 solidity|Jua|0.0.139 vscode-JS-CSS-HTML-formatter|lon|0.2.3 stackfinder|mar|0.3.7 file-downloader|min|1.0.12 vscode-docker|ms-|1.22.0 remote-containers|ms-|0.238.2 remote-ssh|ms-|0.82.1 remote-ssh-edit|ms-|0.80.0 remote-wsl|ms-|0.66.3 vscode-remote-extensionpack|ms-|0.21.0 azure-account|ms-|0.10.1 vuejs-extension-pack|mub|1.6.0 vetur|oct|0.35.0 vscode-yaml|red|1.8.0 vue-vscode-snippets|sdr|3.1.1 sonarlint-vscode|Son|3.5.4 stepsize|Ste|0.50.1 open-in-browser|tec|2.0.0 es6-string-html|Tob|2.12.0 vscode-status-bar-format-toggle|tom|3.0.0 truffle-vscode|tru|2.3.3 highlight-matching-tag|vin|0.10.1 vscodeintellicode|Vis|1.2.21 volar|Vue|0.37.8 vscode-typescript-vue-plugin|Vue|0.37.8 JavaScriptSnippets|xab|1.8.0
A/B Experiments ``` vsliv368cf:30146710 vsreu685:30147344 python383cf:30185419 vspor879:30202332 vspor708:30202333 vspor363:30204092 vstes516:30244333 vslsvsres303:30308271 pythonvspyl392:30443607 vserr242:30382549 pythontb:30283811 vsjup518:30340749 pythonptprofiler:30281270 vshan820:30294714 vstes263:30335439 pythondataviewer:30285071 vscod805cf:30301675 binariesv615:30325510 bridge0708:30335490 bridge0723:30353136 vsaa593cf:30376535 vsc1dst:30438360 pythonvs932:30410667 wslgetstarted:30449410 vscscmwlcmt:30465135 cppdebug:30492333 vsclangdf:30486550 ```
vscodenpa commented 2 years 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.68.1. Please try upgrading to the latest version and checking whether this issue remains.

Happy Coding!

blasterbug commented 2 years ago

Same issue with VSC 1.68.1

mjbvz commented 2 years ago

Does this reproduce in the latest VS Code insiders build with all extensions disabled?

blasterbug commented 2 years ago

Same issue there too it seems. Although I did not get not the error message in 4/5 hours of testing/using VSC insiders but the Typescript IntelliSense loads forever.

image

EDIT: It keeps happening.

image

mjbvz commented 2 years ago

@blasterbug Please open a new issue (and test on insiders with extensions disabled)

blasterbug commented 2 years ago

@blasterbug Please open a new issue (and test on insiders with extensions disabled)

It is what I just did

mjbvz commented 2 years ago

Closing as we need more info from the original poster. Most likely culprit is vscode-typescript-vue-plugin

blasterbug commented 2 years ago

Closing as we need more info from the original poster. Most likely culprit is vscode-typescript-vue-plugin

I do not have vscode-typescript-vue-plugin installed and yet this is happening. What more do you need to investigate the issue?

blasterbug commented 2 years ago

VS Code version: Code - Insiders 1.69.0-insider (fbf1cf3832d43088e27837dbb68d24ab65a098c1, 2022-06-17T05:16:27.373Z) OS version: Darwin x64 21.5.0 Restricted Mode: No

System Info |Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i7-7660U CPU @ 2.50GHz (4 x 2500)| |GPU Status|2d_canvas: enabled
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_renderer: enabled_on
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled| |Load (avg)|19, 24, 19| |Memory (System)|16.00GB (0.04GB free)| |Process Argv|--crash-reporter-id ca8ca43d-fbef-48e9-878f-520ff823fb79| |Screen Reader|yes| |VM|0%|
Extensions (18) Extension|Author (truncated)|Version ---|---|--- vscode-tailwindcss|bra|0.8.6 path-intellisense|chr|2.8.1 vscode-eslint|dba|2.2.3 es7-react-js-snippets|dsz|4.4.3 EditorConfig|Edi|0.16.4 prettier-vscode|esb|9.5.0 auto-rename-tag|for|0.1.10 copilot|Git|1.31.6194 vscode-sort|hen|0.2.5 dotenv|mik|1.0.1 color-highlight|nau|2.5.0 prisma|Pri|4.0.0 vscode-yaml|red|1.8.0 errorlens|use|3.5.1 highlight-matching-tag|vin|0.10.1 file-icons-mac|way|1.0.1 fig|wit|0.0.6 change-case|wma|1.0.0 (1 theme extensions excluded)
A/B Experiments ``` vsliv695:30137379 vsins829:30139715 vsliv368cf:30146710 vsreu685:30147344 python383:30185418 vspor879:30202332 vspor708:30202333 vspor363:30204092 vslsvsres303:30308271 pythonvspyl392:30422396 pythontb:30258533 pythonptprofiler:30281269 vshan820:30294714 pythondataviewer:30285072 vscod805:30301674 bridge0708:30335490 bridge0723:30353136 vsaa593:30376534 pythonvs932:30404738 wslgetstarted:30449409 vscscmwlcmt:30465136 cppdebug:30492333 pylanb8912:30496796 vsclangdf:30492506 ```