microsoft / vscode

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

v1.91 does not launch on Catalina or Big Sur due to Fatal error in V8 #219893

Closed msimms closed 2 days ago

msimms commented 6 days ago

Does this issue occur when all extensions are disabled?: Yes/No

Steps to Reproduce:

  1. Launch 1.91 on Mac OS Catalina, VSCode will crash. If you try launching from the command line, you'll see the following error: "Fatal error in V8: v8::Template::Set Invalid value, must be a primitive or a Template"

I know this is an old version of Mac OS, but if an OS will no longer be supported then perhaps it shouldn't update automatically. This particular installation is a developer test machine that won't/can't be updated past Catalina.

VSCodeTriageBot commented 6 days 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!

pcmanik commented 6 days ago

Same issue on Mac OS Big Sur (11.7.10)

adrianomarquess commented 6 days ago

Same issue on Mac OS Big Sur (11.7.10)

Up

lomars commented 6 days ago

I have the same issue with Mac OS Catalina with VS Code Version: 1.91. The app crashes on Launch. I reverted back to VS Code Version: 1.90.

Ice-Cap commented 6 days ago

Same issue on Mac OS Big Sur (11.7.10)

I have the same issue on Mac OS Big Sur. I had to revert to version 1.90 of VS Code

deepak1556 commented 6 days ago

Sorry for the breakage, I am currently investigating this issue. There has not been any obvious runtime changes in this update that could trigger this.

Please download https://code.visualstudio.com/updates/v1_90 and disable updates via "update.mode": "none" till this issue is resolved.

britniangela commented 6 days ago

I now have two VS apps on my computer after trying to get back to the previous version and now everything is messed up. GitHub isn't finding the project I'm in the middle of working on and I don't know what to do because I'm an online "student" for an online coding workshop.

roojay520 commented 6 days ago

Same problem Intel macOS Catalina(10.15.7), v1.90.2 works fine.

kythuatwebso commented 6 days ago

Same problem Intel Mac OS Catalina, Rollback again v1.90.2 👎

emauriciomoreno commented 6 days ago

Same issue on Mac OS Big Sur (11.7.10)

artkirienko commented 6 days ago

Mac OS Catalina (10.15.4 (19E287)) with VS Code Version 1.91.0

The app crashes on launch, but you can run this in the terminal:

$ code --version
1.91.0
ea1445cc7016315d0f5728f8e8b12a45dc0a7286
x64

I reverted back to VS Code Version 1.90

zipzou commented 6 days ago

Mac OS Catalina 10.15.7 is crashed with VS Code Version 1.91.0

The Version 1.90.x is worked!

zpc7 commented 6 days 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 6 days ago

Same issue on iMac with Catalina.

gjsjohnmurray commented 6 days ago

@deepak1556 maybe get this pinned?

jackbullen commented 6 days ago

Any ideas why executing scripts/code.sh in commit ea1445c works fine?

steveca057 commented 6 days ago

Same issue

walidaalhomsi commented 6 days ago

Same issue with Catalina here ...

walidaalhomsi commented 6 days ago

Reverted back to 1.90 to get it working, you can download it from here: https://code.visualstudio.com/updates/v1_90

caio-sp commented 6 days ago

Same here with catalina, v8 engine and electron... :(

adrianjones1 commented 6 days ago

I am using Catalina and found that VCsode wouldn't start this morning. I reverted to V1.90 intel as suggested but it still won't start (after restarting my Mac). Any ideas what I need to do?

yklykl530 commented 6 days ago

osx 11.3 has same bug

fire9953 commented 6 days ago

Met this issue too, feel very distressed and helpless。

Process: Electron [2189] Path: /Applications/Visual Studio Code.app/Contents/MacOS/Electron Identifier: com.microsoft.VSCode Version: 1.91.0 (1.91.0) Code Type: X86-64 (Native) Parent Process: ??? [1] Responsible: Electron [2189] OS Version: macOS 11.7.10 (20G1427

Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY

EuniceShaw commented 6 days ago

操作系统:MACOS Big Sur(版本:11.7.10) VScode版本1.90.2升级到1.91.0版本无法启动,退回1.90才能正常使用~

johebll commented 6 days ago

Just wanted to add, experiencing this on 10.15.7 (19H2026), because telemetry won't tell, as i reverted to previous 1.90.2, which works fine. Best

MohammedMalleck commented 6 days ago

Had this issue on Mac OS Big Sur version 11.7.0 & downloaded this old version https://code.visualstudio.com/updates/v1_90 and disable updates via "update.mode": "none" until this issue is resolved.

adrianjones1 commented 6 days ago

I reverted to V1.90 which also has the same issue for me on Catalina Intel. I then tried V1.89.1 and that is working. Make sure internet is disabled after installing but before opening otherwise it will auto update and break again! Go to Preferences - Settings and set Update Mode: None.

Seem's to be working ok now. Not sure why V1.90 doesn't work though.

Chillifish commented 6 days ago

Another Big Sur affected here. Clicked restart to update and can no longer launch. Can confirm that downloading v1.9.0 worked. It's a little hard to find the link to download on the page though. It's the third paragraph under the title.

Also, when I had chosen not to update automatically, it had to restart to apply the preference and restarted with the self-downloaded update, so had to download the old version again.

fa2002 commented 6 days ago

Such a serious problem? ! How to test before going online? !

fa2002 commented 6 days ago

Such a serious problem was actually released without rigorous testing.

ariahassanpour commented 6 days ago

I faced the same issue on my mac OS 10.15. the steps that I followed to remedy were as follows: 1- Uninstall VS Code 2- download the latest functioning version (1.90.2) from: https://update.code.visualstudio.com/1.90.2/darwin-universal/stable 3- make sure to turn off your internet connection 4- unzip and install the older version of VS Code 5- open VS Code, hit "Code" on the top. Then go to Preferences > Settings
6- search for Update settings and set the Update mode to "none". it asks you to restart the program. 7- now you can safely turn your internet connection back on.

benhsainalaa commented 6 days ago

I had the same issue, just remove VS code from application then download the last version of Vs code from this link https://code.visualstudio.com/docs/?dv=osx unzip it then it's work again

jercomio commented 6 days ago

Same issue on Mac OS Big Sur (11.7.10) with VS Code 1.91.0

deepak1556 commented 6 days ago

I was able to narrow down the issue,

Based on the above this hints like a problem with the linker used by the CI agents, attempted to narrow down the problematic versions,

Fixed: Binaries using symbols with a weak definition crash at runtime on iOS 14/macOS 12 or older. This impacts primarily C++ projects due to their extensive use of weak symbols. (114813650) (FB13097713)

Fixed: Weak symbol imports are linked as non-weak imports, when used from LTO object files. (115521975) (FB13171424)

I was able to confirm that switching to Xcode >= 15.1 in the CI agents resolves the issue. I will prepare a candidate fix based on this and update here once the builds are available. Also locking this issue to avoid this comment from being hidden.

deepak1556 commented 5 days ago

Steps for verification:

Prerequisite (Setup Big Sur):

Testing:

deepak1556 commented 2 days ago

Closing for verification.

deepak1556 commented 1 day ago

Can users additionally help verify if the following builds based on 1.91.1 address the issue,

Apple Intel Apple Silicon Universal

felixjichao commented 1 day ago

Can users additionally help verify if the following builds based on 1.91.1 address the issue,

Apple Intel Apple Silicon Universal

It is working on macOS Big Sur Version 11.2 (Apple Intel).

xiaoyang-chen commented 1 day ago

Can users additionally help verify if the following builds based on 1.91.1 address the issue,

Apple Intel Apple Silicon Universal

I install vscode by homebrew, how to test 1.91.1

caio-sp commented 1 day ago

Can users additionally help verify if the following builds based on 1.91.1 address the issue,

Apple Intel Apple Silicon Universal

It's working perfectly in catalina!!! (macOS 10.15.7) Thanks :)

YaroED commented 1 day ago

I have a same problem.

lfcod commented 1 day ago

Same issue on Mac OS Big Sur (11.7.10)

alex4ernysh commented 1 day ago

Могут ли пользователи дополнительно помочь проверить, решают ли следующие сборки 1.91.1эту проблему,

Apple Intel

Mac OS Big Sur (11.7.10) It's working

zipzou commented 1 day ago

Can users additionally help verify if the following builds based on 1.91.1 address the issue,

Apple Intel Apple Silicon Universal

It's working for 10.15.7 (Apple Intel) now.

deepak1556 commented 1 day ago

Thanks all for verifying, the fixed build will be released in the next couple of days to stable release line.

neil-peng commented 1 day ago

i has the same problem! 💢💢💢

yssefnoam commented 1 day ago

still have the problem

hangj commented 1 day ago

I have this issue for many days, and I have to use zed now.

PandaDennis commented 1 day ago

The New version VS Code update has pause my good day 😂 . I need to rollback to May 2024 (version 1.90)

So Sad 😭

RollingTL commented 1 day ago

I have the same problem. Version 1.91 not opening on Big Sur. It is very frustrating. What is gone wrong with VSCode team? Six days - still no solution.