Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
msimms opened this issue Jul 3, 2024 · 87 comments
Closed

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

msimms opened this issue Jul 3, 2024 · 87 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug candidate Issue identified as probable candidate for fixing in the next release confirmed Issue has been confirmed by VS Code Team member macos-big-sur macos-catalina regression Something that used to work is now broken upstream Issue identified as 'upstream' component related (exists outside of VS Code) verified Verification succeeded

Comments

@msimms
Copy link

msimms commented Jul 3, 2024

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

  • VS Code Version: 1.91
  • OS Version: Mac OS Catalina

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.

@vscodenpa
Copy link

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
Copy link

pcmanik commented Jul 3, 2024

Same issue on Mac OS Big Sur (11.7.10)

@adrianomarquess
Copy link

Same issue on Mac OS Big Sur (11.7.10)

Up

@lomars
Copy link

lomars commented Jul 3, 2024

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
Copy link

Ice-Cap commented Jul 3, 2024

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 deepak1556 changed the title Does Not Launch on Mac OS Catalina v1.91 does not launch on Catalina or Big Sur due to Fatal error in V8 Jul 3, 2024
@deepak1556 deepak1556 added bug Issue identified by VS Code Team member as probable bug upstream Issue identified as 'upstream' component related (exists outside of VS Code) regression Something that used to work is now broken macos-catalina confirmation-pending macos-big-sur labels Jul 3, 2024
@deepak1556
Copy link
Collaborator

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
Copy link

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
Copy link

roojay520 commented Jul 4, 2024

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

@kythuatwebso
Copy link

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

@emauriciomoreno
Copy link

Same issue on Mac OS Big Sur (11.7.10)

@artkirienko
Copy link

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
Copy link

zipzou commented Jul 4, 2024

Mac OS Catalina 10.15.7 is crashed with VS Code Version 1.91.0

The Version 1.90.x is worked!

@zpc7
Copy link

zpc7 commented Jul 4, 2024

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
Copy link

jledgett commented Jul 4, 2024

Same issue on iMac with Catalina.

@gjsjohnmurray
Copy link
Contributor

@deepak1556 maybe get this pinned?

@jackbullen
Copy link

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

@steveca057
Copy link

Same issue

@suhee700
Copy link

Same issue in macOS Big Sur v11.6.5, rollback v1.90(https://code.visualstudio.com/updates/v1_90) and fix.

@RoyTynan
Copy link

RoyTynan commented Jul 10, 2024

V1.91 on Intel Mac Book Pro running new install of Big Sur 11.7.10. Not installing
V1.90 installed ok. In Preferences/Settings disabled auto update, it's working

@everm1nd
Copy link

Same here.
VSCode launch output from console:

➜  MacOS ./Electron
[1656:0710/133403.472349:ERROR:node_bindings.cc(162)] Fatal error in V8: v8::Template::Set Invalid value, must be a primitive or a Template
[0710/133403.698046:WARNING:crash_report_exception_handler.cc(235)] UniversalExceptionRaise: (os/kern) failure (5)
[1]    1656 segmentation fault  ./Electron
[0710/133403.728267:ERROR:directory_reader_posix.cc(43)] opendir /Users/nikitasimakov/Library/Application Support/Code/Crashpad/attachments/369cb1e9-4609-4e22-9356-982964c2b50f: No such file or directory (2)

Version:

➜  MacOS code --version
1.91.0
ea1445cc7016315d0f5728f8e8b12a45dc0a7286
x64

Fixed by rollback to:

1.90.2
5437499feb04f7a586f677b155b039bc2b3669eb
x64

@deepak1556
Copy link
Collaborator

Locking the issue again till new release is made, we have enough data to be confident that the fix in #219893 (comment) resolves the issue. I will update here once the build is released. Thanks for your patience.

@deepak1556
Copy link
Collaborator

Fix is now available in latest release 1.91.1

@microsoft microsoft unlocked this conversation Jul 11, 2024
@deepak1556 deepak1556 unpinned this issue Jul 11, 2024
@douggaming
Copy link

Thanks for fixing!

@starball5
Copy link

Related on Stack Overflow: Visual Studio Code 1.91 not opening on macOS 11

@Doyle4
Copy link

Doyle4 commented Jul 12, 2024

1.91 still not working on MacOS Catalina.

EDIT: Didn't spot the update fix, website still shows 1.91, all good this way now.

@alexkuc
Copy link

alexkuc commented Jul 12, 2024

I am on MacOS Big Sur 11.7.10 and can confirm update fixed it work me (1.91.1).

@peanut996
Copy link

peanut996 commented Jul 13, 2024

get same issue

mac catalina on 1.91.0

1.91.1 fixed it. it works.

@hoc081098
Copy link

1.19.1 works 🌸

@YtachY
Copy link

YtachY commented Jul 14, 2024

MacOS BigSur v11.7.10

1.91.1 fixed it.
Now vscode works.

@shaoyuchu
Copy link

1.91.1 works on macOS Catalina 10.15.6
Thanks for the fix!

@Koolstr
Copy link

Koolstr commented Jul 17, 2024

Same here, the v1.91.1 patch fixed it. Now VS Code is no longer crashing on launch for me, on macOS Catalina 10.15.7. Thanks!

@NOVACOAX
Copy link

v1.91.0 won't open on macOS Big Sur 11.7.10.
The new patch (v1.91.1) works fine 👍

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug candidate Issue identified as probable candidate for fixing in the next release confirmed Issue has been confirmed by VS Code Team member macos-big-sur macos-catalina regression Something that used to work is now broken upstream Issue identified as 'upstream' component related (exists outside of VS Code) verified Verification succeeded
Projects
None yet
Development

No branches or pull requests