microsoft / vscode

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

VS Code crashed 3 times in 5 minutes #176588

Closed fResult closed 1 year ago

fResult commented 1 year ago

Type: Bug

I don't know why this happens and how to fix? image

VS Code version: Code 1.76.0 (92da9481c0904c6adfe372c12da3b7748d74bdcb, 2023-03-01T10:23:06.752Z) OS version: Darwin arm64 22.3.0 Modes: Sandboxed: 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
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)|3, 4, 4| |Memory (System)|8.00GB (0.82GB free)| |Process Argv|--crash-reporter-id 90fa5bdb-220c-4488-866d-c8ea77a48dd2| |Screen Reader|no| |VM|0%|
Extensions (87) Extension|Author (truncated)|Version ---|---|--- better-comments|aar|3.0.2 vscode-css-formatter|aes|1.0.2 Bookmarks|ale|13.3.1 project-manager|ale|12.7.0 icons-carbon|ant|0.2.6 jsdoc-markdown-highlighting|bie|0.0.1 vscode-tailwindcss|bra|0.9.7 turbo-console-log|Cha|2.7.1 codestream|Cod|14.16.0 postcss|css|1.0.9 vscode-terminal-themes|ctf|0.1.1 vscode-eslint|dba|2.4.0 githistory|don|0.6.20 vscode-generate-getter-setter|DSK|0.5.0 es7-react-js-snippets|dsz|4.4.3 gitlens|eam|13.3.2 vscode-html-css|ecm|1.13.1 prettier-vscode|esb|9.10.4 exercism-cli|exe|0.2.2 vscode-relative-line-numbers|ext|0.0.5 vscode-jest-runner|fir|0.4.60 foam-vscode|foa|0.21.1 auto-rename-tag|for|0.1.10 code-runner|for|0.12.0 copilot|Git|1.77.9225 gitlab-workflow|Git|3.60.0 todo-tree|Gru|0.0.224 haskell|has|2.2.2 vscode-mocha-test-adapter|hbe|2.14.1 vscode-test-explorer|hbe|2.21.1 vscode-drawio|hed|1.6.6 output-colorizer|IBM|0.1.2 vscode-react-typescript|inf|1.3.1 vscode-env|Iro|0.1.0 hoogle-vscode|jca|0.0.7 dupchecker|jia|0.1.7 rust-formatter|jms|0.0.1 language-haskell|jus|3.6.0 vscode-js-annotations|lan|0.11.0 node-module-intellisense|lei|1.5.0 i18n-ally|lok|2.8.1 git-graph|mhu|1.30.0 code-beautifier|mic|2.3.3 dotenv|mik|1.0.1 vscode-scss|mrm|0.10.0 js-atom-grammar|ms-|0.1.14 test-adapter-converter|ms-|0.1.6 vsliveshare|ms-|1.0.5834 jsdoc-link|MuT|0.2.0 color-highlight|nau|2.5.0 vetur|oct|0.37.3 indent-rainbow|ode|8.3.1 material-icon-theme|PKi|4.24.0 vscode-css-navigation|puc|1.13.3 quicktype|qui|12.0.46 vscode-yaml|red|1.12.1 html-to-jsx|ria|0.0.1 LiveServer|rit|5.7.9 rust-analyzer|rus|0.3.1426 vs-code-prettier-eslint|rve|5.0.4 trailing-spaces|sha|0.4.1 markdown-preview-enhanced|shd|0.6.8 vscode-scss-formatter|sib|2.4.5 html5-boilerplate|sid|1.1.1 ormolu-vscode|sju|0.0.10 js-jsx-snippets|sky|11.0.1 es6-mocha-snippets|spo|0.2.2 code-spell-checker|str|2.19.0 vscode-styled-components|sty|1.7.5 sass-indented|syl|1.8.26 es6-string-html|Tob|2.12.1 highlight-matching-tag|vin|0.10.1 windicss-intellisense|voo|0.21.6 vscode-icons|vsc|12.2.0 volar|Vue|1.2.0 vscode-typescript-vue-plugin|Vue|1.2.0 console-ninja|Wal|0.0.81 quokka-vscode|Wal|1.0.527 wallaby-vscode|Wal|1.0.350 vscode-todo-highlight|way|1.0.5 vscode-import-cost|wix|3.3.0 change-case|wma|1.0.0 JavaScriptSnippets|xab|1.8.0 ReactSnippets|xab|2.4.0 viml|Xad|2.1.2 html-css-class-completion|Zig|1.20.0 vue|znc|0.12.0 (2 theme extensions excluded)
A/B Experiments ``` vsliv368:30146709 vsreu685:30147344 python383cf:30185419 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 vscod805:30301674 binariesv615:30325510 bridge0708:30335490 bridge0723:30353136 cmake_vspar411:30581797 vsaa593:30376534 pythonvs932:30410667 cppdebug:30492333 vsclangdf:30486550 c4g48928:30535728 dsvsc012cf:30540253 pynewvextcfv2:30681851 azure-dev_surveyone:30548225 pyindex848:30662994 nodejswelcome1cf:30587006 3biah626:30602489 pyind779:30671433 f6dab269:30613381 pythonsymbol12:30671437 a9j8j154:30646983 6233i204:30672705 vsccsb:30677849 funwalk2cf:30676044 ```
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.