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)
Temporary solution for snap users
sudo snap revert codeI’m done. I downloaded the manual from https://code.visualstudio.com/Download and installed the manual .deb package. Now it is working fine.
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
Im using v.1.90 disable all extention still crash on lauch, remove and reinstall from app center
If you don’t have revisions stored you can run
snap install --revision 159 --classic codeto install the recent version (that doesn’t crash ) Must runsnap remove codebefore+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~/.vscodeand~/.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.
Copilot
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.
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