microsoft / vscode

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

最新的1.91版本会闪退 #219912

Closed mr-pounds closed 4 months ago

mr-pounds commented 4 months ago

Type: Bug

第一次,vscode界面出现【重启以更新说明】,点击后便出现闪退。 第二次,卸载vscode后,在官网重新下载最新版的Universal 版本,仍然闪退; 第三次,下载silicon版本后,仍然闪退; 最终安装1.90版本正常启动。

VS Code version: Code 1.90.2 (5437499feb04f7a586f677b155b039bc2b3669eb, 2024-06-18T22:54:35.075Z) OS version: Darwin arm64 20.6.0 Modes:

System Info |Item|Value| |---|---| |CPUs|Apple M1 (8 x 2400)| |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)|2, 3, 2| |Memory (System)|16.00GB (0.25GB free)| |Process Argv|--crash-reporter-id b31b4cad-dfa8-41cc-bbb0-50ae6325a179| |Screen Reader|no| |VM|0%|
Extensions (25) Extension|Author (truncated)|Version ---|---|--- better-comments|aar|3.0.2 tsl-problem-matcher|amo|0.6.2 vscode-tailwindcss|bra|0.12.4 catppuccin-vsc|Cat|3.14.0 ruff|cha|2024.30.0 vscode-eslint|dba|3.0.10 prettier-vscode|esb|10.4.0 auto-rename-tag|for|0.1.10 todo-tree|Gru|0.0.226 path-autocomplete|ion|1.25.0 marscode-extension|Mar|1.1.1 vscode-language-pack-zh-hans|MS-|1.90.2024061209 autopep8|ms-|2024.0.0 debugpy|ms-|2024.6.0 python|ms-|2024.8.1 vscode-pylance|ms-|2024.6.1 autodocstring|njp|0.6.1 korofileheader|OBK|4.9.3 material-icon-theme|PKi|5.4.2 vscode-thunder-client|ran|2.24.12 vscode-xml|red|0.27.1 markdown-preview-enhanced|shd|0.8.13 vscode-icons|vsc|12.8.0 markdown-all-in-one|yzh|3.6.2 json|Zai|2.0.2 (3 theme extensions excluded)
A/B Experiments ``` vsliv368cf:30146710 vspor879:30202332 vspor708:30202333 vspor363:30204092 vswsl492:30256859 vscoreces:30445986 vscod805cf:30301675 binariesv615:30325510 vsaa593:30376534 py29gd2263:31024239 c4g48928:30535728 azure-dev_surveyone:30548225 962ge761:30959799 pythongtdpath:30769146 pythonnoceb:30805159 asynctok:30898717 pythonregdiag2:30936856 pythonmypyd1:30879173 h48ei257:31000450 pythontbext0:30879054 dsvsc016:30899300 dsvsc017:30899301 dsvsc018:30899302 cppperfnew:31000557 dsvsc020:30976470 pythonait:31006305 jchc7451:31067544 dsvsc021:30996838 9c06g630:31013171 pythoncenvpt:31062603 a69g1124:31058053 dvdeprecation:31068756 dwnewjupyter:31046869 newcmakeconfigv2:31071590 legacy_priority:31082724 ```
vscodenpa commented 4 months ago

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.91.0. Please try upgrading to the latest version and checking whether this issue remains.

Happy Coding!

vscodenpa commented 4 months ago

感谢您创建此问题!

然而,由于您没有使用英语,我们很难进行处理。如果可能,请您将此问题描述修改为英文。请您直接编辑此问题,不要提交回复或新问题。

请注意,机器翻译服务通常无法处理用于讨论软件问题所需的技术性语言,所以我们推荐您寻找一位熟悉相关技术的人来协助翻译。

如果您无法做到,没有关系。此问题已经被标记为需要翻译,等待社区成员志愿进行翻译。


Thanks for creating this issue!

Unfortunately, as the description is not in English, it's hard for us to work on. If possible, please edit the original issue to be in English.

In our experience, automatic translation services are not able to handle the technical language needed to effectively communicate about software issues, so we recommend finding a human translator who is familiar with our technology to help.

Otherwise, we have marked this as needing translation and a community member may be able to help out.

XiaoInk commented 4 months ago

The issue of VSCode 1.91.0 crashing on macOS 11.6.5 persists.

Yaoxiao1 commented 4 months ago

I got the same issue, after updating vscode to 1.91, it crashes I reinstall the older version of 1.90, it works fine here is some context:

pc: MacOS Catalina, 10.15.7 running code --verbose code --verbose [2529:0704/105611.799784:WARNING:address_sorter_posix.cc(459)] FromSockAddr failed on netmask [main 2024-07-04T02:56:11.938Z] [File Watcher (node.js)] Request to start watching: /Users/yaoxiao/Library/Application Support/Code/User (excludes: <none>, includes: <all>, filter: <none>, correlationId: <none>),/Users/yaoxiao/Library/Application Support/Code/User/settings.json (excludes: <none>, includes: <all>, filter: <none>, correlationId: <none>) [2524:0704/105611.973831:ERROR:node_bindings.cc(162)] Fatal error in V8: v8::Template::Set Invalid value, must be a primitive or a Template [0704/105611.981070:WARNING:process_memory_mac.cc(94)] mach_vm_read(0x7ffee7c33000, 0x2000): (os/kern) invalid address (1) [0704/105612.098903:WARNING:crash_report_exception_handler.cc(235)] UniversalExceptionRaise: (os/kern) failure (5) [0704/105612.099142:ERROR:directory_reader_posix.cc(43)] opendir /Users/yaoxiao/Library/Application Support/Code/Crashpad/attachments/fe15b44d-ff92-45b6-9fe0-b641b4191b32: No such file or directory (2)

zpc7 commented 4 months ago

same issue, mac os version: 11.7.10 big sur


Solution: go the link to download v1.90 https://code.visualstudio.com/updates/v1_90 Update the setting.json: "update.mode": "none"

jledgett commented 4 months ago

Same issue here on an Intel based Mac. Thanks @zpc7 for pointing out the workaround.

Seems like someone didn't test this build before they released it to the world.

gjsjohnmurray commented 4 months ago

/duplicate of https://github.com/microsoft/vscode/issues/219893#issuecomment-2207559915

vscodenpa commented 4 months ago

Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for similar existing issues. See also our issue reporting guidelines.

Happy Coding!