vscode: Crash when launching in Ubuntu

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

  • VS Code Version: 1.90.0 89de5a8d4d6205e5b11647eb6a74844ca23d2573 x64
  • OS Version: Ubuntu 22.04.4 LTS

crashreport.zip

Hi, This morning when I tried to start vscode, it shows a window for a few seconds and then shuts down again without a warning. I generated a crash report and attached dmp files which were located in the pending subfolder. Thanks for your help, Thomas

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Reactions: 17
  • Comments: 16 (1 by maintainers)

Most upvoted comments

Never mind

snap install code --revision 159

should do it

Workaround: https://askubuntu.com/a/1373424/955461

snap revert code

This started happening to me today, after upgrading to the latest version. I run code with snap run code --verbose and I saw this error: 21565:0606/085711.850019:FATAL:gpu_data_manager_impl_private.cc(448)] GPU process isn't usable. Goodbye.

I tried running code with the --in-process-gpu Electron flag, like this code --in-process-gpu . and it worked.

Also tried reinstalling: sudo snap remove code rm -rf ~/.vscode rm -rf ~/.config/Code/ sudo snap install --classic code

Did not help!

Reverting to

1.89.1
dc96b837cf6bb4af9cd736aa3af08cf8279f7685
x64

fixed it for me

Thank you Perondas, but can u please explain how you exactly executed the snap revert command?

Reverting to

1.89.1
dc96b837cf6bb4af9cd736aa3af08cf8279f7685
x64

fixed it for me