microsoft / vscode

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

Window keeps "closing unexpectedly" #206628

Open justinfagnani opened 5 months ago

justinfagnani commented 5 months ago

Type: Bug

Ever since updating to 1.87.0 the VS Code window keeps closing with an error.

VS Code version: Code 1.87.0 (019f4d1419fbc8219a181fab7892ebccf7ee29a2, 2024-02-27T23:42:51.279Z) OS version: Darwin arm64 23.2.0 Modes:

System Info |Item|Value| |---|---| |CPUs|Apple M1 Pro (10 x 24)| |GPU Status|2d_canvas: enabled
canvas_oop_rasterization: enabled_on
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_graphite: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
webgpu: enabled| |Load (avg)|23, 22, 13| |Memory (System)|32.00GB (7.20GB free)| |Process Argv|--crash-reporter-id 05efde12-5031-40a9-bd7c-ea20439fb0d3| |Screen Reader|no| |VM|0%|
Extensions (23) Extension|Author (truncated)|Version ---|---|--- github-markdown-preview|bie|0.3.0 markdown-checkbox|bie|0.4.0 markdown-emoji|bie|0.3.0 markdown-footnotes|bie|0.1.1 markdown-mermaid|bie|1.22.0 markdown-preview-github-styles|bie|2.0.3 markdown-yaml-preamble|bie|0.1.0 vscode-eslint|dba|2.4.4 prettier-vscode|esb|10.1.0 foam-vscode|foa|0.25.8 copilot|Git|1.169.0 copilot-chat|Git|0.13.0 vscode-github-actions|git|0.26.2 wireit|goo|0.8.0 vscode-graphql|Gra|0.9.1 vscode-graphql-syntax|Gra|1.3.2 polacode-2019|jef|0.6.1 svg|joc|1.5.3 git-graph|mhu|1.30.0 vscode-paste-image|mus|1.0.4 nunjucks|ron|0.3.1 lit-plugin|run|1.4.3 markdown-all-in-one|yzh|3.6.2
A/B Experiments ``` vsliv368cf:30146710 vspor879:30202332 vspor708:30202333 vspor363:30204092 vscoreces:30445986 vscod805cf:30301675 binariesv615:30325510 vsaa593:30376534 py29gd2263:30899288 vscaat:30438848 c4g48928:30535728 azure-dev_surveyone:30548225 vscrp:30673768 962ge761:30959799 pythongtdpath:30769146 welcomedialogc:30910334 pythonidxpt:30866567 pythonnoceb:30805159 asynctok:30898717 pythontestfixt:30902429 pythonregdiag2:30936856 pyreplss1:30897532 pythonmypyd1:30879173 pythoncet0:30885854 h48ei257:30968133 pythontbext0:30879054 accentitlementst:30887150 dsvsc016:30899300 dsvsc017:30899301 dsvsc018:30899302 pydisww2:30959801 cppperfnew:30973185 d34g3935:30971562 edj9j583:30969295 fegfb526:30973843 78248357:30976999 ccp2r3:30958157 dsvsc020:30976470 ```
justinfagnani commented 5 months ago

Just happened again, and I caught the error message:

The window terminated unexpectedly (reason: 'crashed', code: '5')

This seems like it's happening every 10-15 minutes now.

bpasero commented 5 months ago

Can you please follow the steps in https://github.com/Microsoft/vscode/wiki/Native-Crash-Issues to get at more details around the crash and attach the result here? Thanks!

justinfagnani commented 5 months ago

@bpasero I got a crash this morning while running with the --crash-reporter-directory flag. I think this is the right .dmp file (there were 10 in the pending folder): d2568121-0c44-4251-8a3d-2fd0106c1514.dmp.zip