microsoft / vscode

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

Extensions are breaking and needs restarting #177159

Closed diegovfeder closed 1 year ago

diegovfeder commented 1 year ago

Type: Bug

I am getting a lot of errors with extensions. Somehow they just break and then a message pops up asking me to restart

VS Code version: Code 1.76.1 (Universal) (5e805b79fcb6ba4c2d23712967df89a089da575b, 2023-03-08T16:32:09.831Z) OS version: Darwin arm64 22.3.0 Modes: Sandboxed: No

System Info |Item|Value| |---|---| |CPUs|Apple M1 Pro (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
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_renderer: enabled_on
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off| |Load (avg)|17, 9, 6| |Memory (System)|16.00GB (1.25GB free)| |Process Argv|--crash-reporter-id 26e86bfc-abe2-4860-b37c-28c90233f488| |Screen Reader|no| |VM|0%|
Extensions (44) Extension|Author (truncated)|Version ---|---|--- codesnap|adp|1.3.4 vscode-sqlite|ale|0.14.1 vscode-tailwindcss|bra|0.9.8 path-intellisense|chr|2.8.4 postcss|css|1.0.9 dart-code|Dar|3.60.1 flutter|Dar|3.60.0 vscode-markdownlint|Dav|0.49.0 vscode-eslint|dba|2.4.0 githistory|don|0.6.20 es7-react-js-snippets|dsz|4.4.3 gitlens|eam|13.3.2 EditorConfig|Edi|0.16.4 prettier-vscode|esb|9.10.4 vscode-diff|fab|1.4.2 vscode-jest-runner|fir|0.4.60 auto-rename-tag|for|0.1.10 copilot|Git|1.77.9225 vscode-graphql|Gra|0.8.6 vscode-graphql-syntax|Gra|1.1.0 todo-tree|Gru|0.0.224 vscode-env|Iro|0.1.0 vscode-language-babel|mgm|0.0.37 mongodb-vscode|mon|0.10.0 vscode-docker|ms-|1.24.0 remote-containers|ms-|0.282.0 vsliveshare|ms-|1.0.5834 color-highlight|nau|2.5.0 convert-css-in-js|pau|1.1.3 vscode-versionlens|pfl|1.5.0 material-icon-theme|PKi|4.24.0 tsimporter|pmn|2.0.1 prisma|Pri|4.11.0 vscode-yaml|red|1.12.1 LiveServer|rit|5.7.9 autoimport|ste|1.5.4 vscode-mdx|uni|1.2.5 errorlens|use|3.8.0 intellicode-api-usage-examples|Vis|0.2.7 vscodeintellicode|Vis|1.2.30 vscode-conventional-commits|viv|1.25.0 vscode-wakatime|Wak|24.0.7 vscode-import-cost|wix|3.3.0 markdown-all-in-one|yzh|3.5.0 (1 theme extensions excluded)
A/B Experiments ``` vsliv368cf:30146710 vsreu685:30147344 python383cf:30185419 vspor879:30202332 vspor708:30202333 vspor363:30204092 vswsl492cf:30256860 vslsvsres303:30308271 pythonvspyl392:30443607 vserr242:30382549 pythontb:30283811 vsjup518:30340749 pythonptprofiler:30281270 vshan820:30294714 vstes263:30335439 vscoreces:30445986 pythondataviewer:30285071 vscod805cf:30301675 binariesv615:30325510 bridge0708:30335490 bridge0723:30353136 cmake_vspar411:30581797 vsaa593:30376534 pythonvs932:30410667 cppdebug:30492333 vsclangdf:30486550 c4g48928:30535728 dsvsc012cf:30540253 pynewext54:30681850 azure-dev_surveyone:30548225 pyindex848:30662994 nodejswelcome1cf:30587006 2e4cg342:30602488 pyind779:30671433 f6dab269:30613381 pythonsymbol12:30671437 2i9eh265:30646982 vsccsb:30677849 pythonb192:30669360 funwalk2:30682974 pythonms35:30686772 ```
gjsjohnmurray commented 1 year ago

Please use the Start Extension Bisect command to investigate which extension is causing the problem.

Based on other recent issues my guess is Copilot. See #176562

isidorn commented 1 year ago

Thank you very much for opening this issue. We are currently investigating Copilot causing crashes and we are consolidating all the findings in https://github.com/microsoft/vscode/issues/176562 We believe this is an out of memory issue, and we can not yet reproduce it on our side. Thus it would be super helpful if you can share reproducible steps (what type of file opened, does this happen when Copilot is suggesting) here https://github.com/microsoft/vscode/issues/176562

Due to the consolidation I am closing this as a duplicate.

If you can reproduce this issue after disabling Copilot do let us know and we can reopen this issue.