microsoft / vscode

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

Extension is disapear so many time #177088

Closed meofiscoding closed 1 year ago

meofiscoding commented 1 year ago

Type: Bug

using visual studio for a while then you will see

VS Code version: Code 1.76.1 (5e805b79fcb6ba4c2d23712967df89a089da575b, 2023-03-08T16:32:00.131Z) OS version: Windows_NT x64 10.0.19044 Modes: Sandboxed: No

System Info |Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i5-1038NG7 CPU @ 2.00GHz (8 x 1997)| |GPU Status|2d_canvas: enabled
canvas_oop_rasterization: disabled_off
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_renderer: enabled_on
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off| |Load (avg)|undefined| |Memory (System)|15.81GB (3.74GB free)| |Process Argv|--enable-proposed-api TabNine.tabnine-vscode --crash-reporter-id 6166a3f1-b68b-47eb-88c4-7bb287b65c57| |Screen Reader|no| |VM|0%|
Extensions (116) Extension|Author (truncated)|Version ---|---|--- html-snippets|abu|0.2.1 android-dev-ext|ade|1.3.2 asp-net-core-switcher|adr|2.0.2 autocomment|Akv|1.4.10 laravel-extra-intellisense|ami|0.6.2 android-support|Ant|0.6.0 vscode-django|bat|1.10.0 simple-react-snippets|bur|1.2.7 npm-intellisense|chr|1.4.4 path-intellisense|chr|2.8.4 laravel-goto-view|cod|1.3.8 dart-code|Dar|3.60.1 flutter|Dar|3.60.0 vscode-eslint|dba|2.4.0 composer-php-vscode|DEV|1.31.12740 phptools-vscode|DEV|1.31.12740 profiler-php-vscode|DEV|1.31.12740 python-environment-manager|don|1.0.4 python-extension-pack|don|1.7.0 es7-react-js-snippets|dsz|4.4.3 vscode-babel-coloring|dza|0.0.4 vscode-html-css|ecm|1.13.1 EditorConfig|Edi|0.16.4 vscode-npm-script|eg2|0.3.29 react-native-react-redux|EQu|2.0.6 prettier-vscode|esb|9.10.4 bootstrap-4-cdn-snippet|eve|1.13.0 android-system-tools|fli|0.0.2 dotnet|for|0.0.4 kotlin|fwc|0.2.26 vscode-chatgpt|gen|3.9.5 copilot|Git|1.77.9225 copilot-labs|Git|0.12.791 vscode-pull-request-github|Git|0.60.0 laravel-create-view|gli|0.0.6 android-adb-wlan|Han|0.0.9 extract-method|Har|0.0.1 vscode-test-explorer|hbe|2.21.1 svgeditor|hen|2.9.0 laravel-blade-wrapper|IHu|1.0.1 search-node-modules|jas|1.3.0 react-vscode-extension-pack|jaw|1.0.0 csharpextensions|jch|1.3.1 react-component|jer|1.1.0 svg|joc|1.5.1 docomment|k--|1.0.0 vscode-colorize|kam|0.11.1 vsc-python-indent|Kev|1.18.0 unity-code-snippets|kle|1.3.0 MagicPython|mag|1.1.0 Kotlin|mat|1.7.1 vscode-language-babel|mgm|0.0.37 dotenv|mik|1.0.1 vscode-docker|ms-|1.24.0 csharp|ms-|1.25.4 vscode-dotnet-runtime|ms-|1.6.0 data-workspace-vscode|ms-|0.4.0 mssql|ms-|1.17.1 sql-bindings-vscode|ms-|0.3.0 sql-database-projects-vscode|ms-|0.21.0 isort|ms-|2022.8.0 python|ms-|2023.4.1 vscode-pylance|ms-|2023.3.20 jupyter|ms-|2023.2.1200692131 jupyter-keymap|ms-|1.1.0 jupyter-renderers|ms-|1.0.15 vscode-jupyter-cell-tags|ms-|0.1.6 vscode-jupyter-slideshow|ms-|0.1.5 remote-containers|ms-|0.282.0 cmake-tools|ms-|1.13.45 cpptools|ms-|1.14.4 cpptools-extension-pack|ms-|1.3.0 test-adapter-converter|ms-|0.1.6 vscode-react-native|msj|1.10.2 sqltools|mtx|0.27.1 laravel-goto-components|nao|1.2.0 autodocstring|njp|0.6.1 laravel-blade|one|1.32.0 laravel-extension-pack|one|1.1.0 laravel5-snippets|one|1.15.0 oracledevtools|Ora|21.5.0 proto|pet|0.0.2 material-icon-theme|PKi|4.24.0 Csharp-ASPNETCore|rah|1.11.0 vscode-thunder-client|ran|2.5.1 java|red|1.15.0 phpdoc-comment-vscode-plugin|rex|1.3.0 LiveServer|rit|5.7.9 laravel-artisan|rya|0.0.28 aspnet-helper|sch|0.6.4 vscode-blade-formatter|shu|0.20.12 svg-preview|Sim|2.8.3 js-web-component|sri|1.1.0 thunder-lwc|Ste|2.2.1 tabnine-vscode|Tab|3.6.42 asp-net-core-vs-code-extension-pack|tem|1.0.3 bootstrap4-vscode|the|6.1.0 python|tht|0.2.3 pygame-snippets|tus|0.0.1 cmake|twx|0.0.17 intellicode-api-usage-examples|Vis|0.2.7 vscodeintellicode|Vis|1.2.30 vscode-svg-previewer|vit|0.7.0 vscode-gradle|vsc|3.12.6 vscode-java-debug|vsc|0.49.0 vscode-java-dependency|vsc|0.21.1 vscode-java-pack|vsc|0.25.9 vscode-java-test|vsc|0.38.1 vscode-maven|vsc|0.40.4 bootstrap-3-snippets|wcw|0.1.0 jinja|who|0.0.8 JavaScriptSnippets|xab|1.8.0 ReactSnippets|xab|2.4.0 php-debug|xde|1.32.0 bootstrap-v4-snippets|Zac|1.1.3 vscode-proto3|zxh|0.5.5 (2 theme extensions excluded)
A/B Experiments ``` vsliv368:30146709 vsreu685:30147344 python383:30185418 vspor879:30202332 vspor708:30202333 vspor363:30204092 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 dsvsc012:30540252 pynewvextcfv2:30681851 azure-dev_surveyone:30548225 vscccc:30610679 pyindex848:30662994 nodejswelcome1cf:30587006 282f8724:30602487 pyind779:30671433 89544117:30613380 pythonsymbol12:30671437 2i9eh265:30646982 6233i204:30672705 vsccsb:30677849 funwalk2cf:30682975 ```
sandy081 commented 1 year ago

Can you please elaborate and explain us the problem you are seeing and help us understanding how to reproduce that?

gjsjohnmurray commented 1 year ago

My guess is that the GitHub Copilot extension is causing the problem.

meofiscoding commented 1 year ago

Not only Github Copilot, my Colorize extension is affect too, they has disappeared several time

meofiscoding commented 1 year ago

by the way, when im start open VSCode, it said that something went wrong checking access: Unexpected end of Json input from Source: Github Copilot Labs (Extension)

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.