vscode: Crash on launch after the last update

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

  • VS Code Version: 89de5a8d 2024-06-05 (160) 327MB classic
  • OS Version: Ubuntu 22.04.4 LTS

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Reactions: 35
  • Comments: 40 (2 by maintainers)

Most upvoted comments

Temporary solution for snap users

sudo snap revert code

I’m done. I downloaded the manual from https://code.visualstudio.com/Download and installed the manual .deb package. Now it is working fine.

Temporary solution for snap users

sudo snap revert code

But this only works if there are older revisions in the system. If you’ve discarded them ( lack of storage, because of the disk partitioning, being a common cause ) - this will no longer work.

Can confirm, also started crashing on Ubuntu today.

Revert the last update this way and it’s working again

sudo snap revert code

Im using v.1.90 disable all extention still crash on lauch, remove and reinstall from app center

  • OS Version: Ubuntu 22.04.4 LTS

If you don’t have revisions stored you can run snap install --revision 159 --classic code to install the recent version (that doesn’t crash ) Must run snap remove code before

+1

Vscode 1.90 (snap) crashes on both Ubuntu 22.04 and 24.04. Using snap revert worked (back to1.89.1).

Same here, also on Ubuntu 22.04.4 LTS and installed via sudo snap install code --classic. Tried reinstalling and even removing ~/.vscode and ~/.config/Code, to no avail.

Can also confirm installing manually via https://code.visualstudio.com/Download worked as @jhonerexy suggested (thank you!)

The copilot extension is crashing even on Mac. image

image

Copilot

  • Version: 1.199.0
  • Build: prod
  • Editor: vscode/1.90.0
  • Operating system: Darwin
  • Operating system version: 23.5.0
  • Operating system architecture: arm64

Same here : no more crash but high CPU load and unresponsiveness of VSCode.

Installing the debian package worked for me. There might be a problem with the snap version.

Why has this issue been closed? I am using:

NAME="Ubuntu"
VERSION="22.04.4 LTS (Jammy Jellyfish)"

I am still facing this issue since the last update. My VS Code crashed and is not even launching. I installed it from the Snap Store.

The same happens here, I suggest uninstalling whatever version you have and download version 1.90 .deb and install with dpkg -i. It worked here after doing this.

https://code.visualstudio.com/download

It also didn’t worked for me (ubuntu 24.04) tried everything (snap, revert, deb for version 1.89 eventually I installed version 1.90 via deb file and dpkg -i worked for me.

No worries, hope it helps! @bpasero pending.zip

I had the same issue with snap store (classic) after last update (89de5a8d). It was auto closing when executing vscode. I reinstalled it from the .deb package and it got fixed.

OS: Ubuntu 22.04.4 LTS Kernel: 6.2.7-060207-generic