microsoft / vscode

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

extension host terminated unexpectedly 3 times within the last 5 minutes. #169547

Closed mkmoorthy1 closed 1 year ago

mkmoorthy1 commented 1 year ago

Type: Bug

extension host terminated unexpectedly 3 times within the last 5 minutes. I have been placing this problem since last update of vscode. I have not installed any extension after that. I tried to disable git related extension but no success. Please look into it.

VS Code version: Code 1.74.1 (1ad8d514439d5077d2b0b7ee64d2ce82a9308e5a, 2022-12-14T10:30:51.966Z) OS version: Windows_NT x64 10.0.22621 Modes: Sandboxed: No

System Info |Item|Value| |---|---| |CPUs|11th Gen Intel(R) Core(TM) i5-11320H @ 3.20GHz (8 x 3187)| |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.79GB (4.94GB free)| |Process Argv|--crash-reporter-id 298a9e2f-7ca7-4a8d-96ae-f2396165dab2| |Screen Reader|no| |VM|0%|
Extensions (126) Extension|Author (truncated)|Version ---|---|--- react-redux-simple-snippets|abo|1.2.4 html-snippets|abu|0.2.1 reacticons|afz|0.1.4 react-hooks-snippets|AlD|1.2.0 arepl|alm|2.0.4 pythonrepl|ast|0.3.1 All-Autocomplete|Ati|0.0.23 vsc-react-documentation|avr|1.2.1 vscode-intelephense-client|bme|1.8.2 vscode-tailwindcss|bra|0.9.1 npm-intellisense|chr|1.4.3 path-intellisense|chr|2.8.3 js-codeformer|cms|2.6.1 jsrefactor|cms|3.0.1 react-template|dab|0.1.1 vscode-eslint|dba|2.2.6 react-components|der|0.0.6 vscode-styled-components|die|0.1.33 react-redux-react-router-snippets|dis|0.4.29 python-preview|don|0.0.4 githistory|don|0.6.19 es7-react-js-snippets|dsz|4.4.3 vscode-babel-coloring|dza|0.0.4 gitlens|eam|13.1.1 vscode-html-css|ecm|1.13.1 vscode-npm-script|eg2|0.3.29 react-native-react-redux|EQu|2.0.6 prettier-vscode|esb|9.10.3 flow-for-vscode|flo|2.2.0 auto-close-tag|for|0.5.14 auto-complete-tag|for|0.1.0 auto-rename-tag|for|0.1.10 pythonsnippets|frh|1.0.2 json2ts|Gre|0.0.6 ReactCodeSnippets|haz|1.2.1 vscode-test-explorer|hbe|2.21.1 react-bootstrap4|Him|1.1.0 rest-client|hum|0.25.1 react-css-copypaste|Huz|0.0.5 react-files|Huz|0.1.2 iceworks-generator|ice|1.0.2 iceworks-style-helper|ice|1.1.2 path-autocomplete|ion|1.22.1 search-node-modules|jas|1.3.0 react-vscode-extension-pack|jaw|1.0.0 vscode-nuget-package-manager|jmr|1.1.6 styled-components-snippets|jon|0.10.0 generate-react-component|jos|0.2.1 vsc-python-indent|Kev|1.18.0 vscode-react-templates|kko|0.0.2 react-pack|lau|1.0.0 python-extension-pack|Leo|2.0.0 react-apollo-snippets|lev|0.0.3 ts-extension-pack|loi|0.3.0 vscode-language-babel|mgm|0.0.36 Angular-BeastCode|Mik|10.0.3 react-native-styled-component-snippets|mil|1.0.1 csharp|ms-|1.25.2 isort|ms-|2022.8.0 python|ms-|2022.20.1 vscode-pylance|ms-|2022.12.20 jupyter|ms-|2022.11.1003412109 jupyter-keymap|ms-|1.0.0 jupyter-renderers|ms-|1.0.12 brackets-keybindings|ms-|0.1.1 brackets-pack|ms-|0.1.1 cpptools|ms-|1.13.8 test-adapter-converter|ms-|0.1.6 vscode-typescript-next|ms-|5.0.202212180 vscode-typescript-tslint-plugin|ms-|1.3.4 vscode-react-native|msj|1.10.0 vscode-react-native-preview|msj|2022.12.120 color-highlight|nau|2.5.0 trailing-semicolon|nau|1.0.2 component-autocomplete|Ned|1.0.0 live-server-preview|neg|0.1.4 autodocstring|njp|0.6.1 javascript-react-extensions-pack|nsy|1.0.2 vscode-extension-auto-import|Nuc|1.4.3 vscode-react-native-storybooks|Ort|2.7.1 prettier-vscode-with-tabs|pas|1.1.0 reactdocs|Pat|1.0.1 vscode-versionlens|pfl|1.0.10 vscode-react-refactor|pla|1.1.3 tsimporter|pmn|2.0.1 react-maker|Qes|0.2.3 vscode-thunder-client|ran|2.2.0 typescript-hero|rbb|3.0.0 java|red|1.13.0 vscode-commons|red|0.0.6 vscode-microprofile|red|0.6.0 vscode-quarkus|red|1.12.0 create-react-tsx-component|ric|1.9.1 react-development-extensions-pack|ric|1.5.0 LiveServer|rit|5.7.9 es7-react-js-snippets|rod|1.9.3 react-snippets|run|0.1.3 vs-code-prettier-eslint|rve|5.0.4 react-component-refactor|san|0.2.0 react-native-snippet|san|0.6.0 prettier-vscode|Sim|2.0.7 code-spell-checker|str|2.12.0 move-ts|str|1.12.0 python-pack|Swe|0.1.15 sass-indented|syl|1.8.23 lorem-ipsum|Tyr|1.3.1 vscode-react-snippets|ugr|2.0.1 vscode-java-debug|vsc|0.47.0 vscode-java-dependency|vsc|0.21.1 vscode-java-pack|vsc|0.25.7 vscode-java-test|vsc|0.37.1 vscode-maven|vsc|0.40.2 vscode-icons|vsc|12.0.1 Python-extension-pack|wal|1.0.1 vscode-todo-highlight|way|1.0.5 vscode-import-cost|wix|3.3.0 es7-react-js-snippets|woo|2.4.0 omi-snippets|Wsc|2.2.8 JavaScriptSnippets|xab|1.8.0 ReactSnippets|xab|2.4.0 php-debug|xde|1.29.1 reactpreview|zen|0.7.4 react-native-vscode-extensionpack|zet|0.0.2 material-theme|zhu|3.15.6 html-css-class-completion|Zig|1.20.0 classnametocss|zit|0.0.6
A/B Experiments ``` vsliv368cf:30146710 vsreu685:30147344 python383cf:30185419 vspor879:30202332 vspor708:30202333 vspor363:30204092 vslsvsres303:30308271 pythonvspyl392:30443607 vserr242cf:30382550 pythontb:30283811 vsjup518:30340749 pythonptprofiler:30281270 vshan820:30294714 vstes263:30335439 vscorecescf:30445987 pythondataviewer:30285071 vscod805:30301674 binariesv615:30325510 bridge0708:30335490 bridge0723:30353136 cmake_vspar411:30581797 vsaa593cf:30376535 pythonvs932:30410667 cppdebug:30492333 vsclangdf:30486550 c4g48928:30535728 dsvsc012cf:30540253 azure-dev_surveyone:30548225 pyindex848:30577860 nodejswelcome1cf:30587006 3biah626:30602489 gswce1:30612156 iaj6b796:30613358 89544117:30613380 fim-prod:30623723 ```
alexr00 commented 1 year ago

Given that you have 126 extensions installed this is very likely caused by one of them. To figure out which one is cause the crash, you can use extension bisect (link coming in bot comment).

vscodenpa commented 1 year ago

This issue is caused by an extension, please file it with the repository (or contact) the extension has linked in its overview in VS Code or the marketplace for VS Code. See also our issue reporting guidelines. If you don't know which extension is causing the problem, you can run Help: Start extension bisect from the command palette (F1) to help identify the problem extension.

Happy Coding!

AliMasaoodi commented 1 year ago

This error "Extension host terminated unexpectedly 3 times within the last 5 minutes" is more likely caused by an extension, in my case, it was "Live Sass Compiler" extension, and that makes sense since it was migrated and outdated.

mkmoorthy1 commented 1 year ago

This error "Extension host terminated unexpectedly 3 times within the last 5 minutes" is more likely caused by an extension, in my case, it was "Live Sass Compiler" extension, and that makes sense since it was migrated and outdated.

Thanks Ali for the solution.