skip to Main Content

I am using an ubuntu machine and when I open vscode it opens for a second or so and then crashes. When starting code through the terminal with following command code --verbose I get the following error.

[19814:0606/134456.415221:ERROR:gpu_process_host.cc(993)] GPU process exited unexpectedly: exit_code=133
[19814:0606/134456.415235:WARNING:gpu_process_host.cc(1364)] The GPU process has crashed 6 time(s)
[19814:0606/134456.415243:FATAL:gpu_data_manager_impl_private.cc(448)] GPU process isn't usable. Goodbye.
[0606/134456.419486:ERROR:process_memory_range.cc(75)] read out of range
[0606/134456.419494:ERROR:process_memory_range.cc(75)] read out of range
...

Here is part of the error message

I also tried to remove code and reinstall it. But still get an error. Any idea on how I can fix this.
To remove I used, sudo snap remove vscode & cd ~ && rm -rf .vscode && rm -rf .config/Code

4

Answers


  1. The following seems to work for me:

    • Uninstall snap package sudo snap remove --purge code
    • Install rpm package: sudo dnf localinstall [PATH_TO_DOWNLOADED_RPM]

    The RPM can be downloaded from here

    It could be a snap-related problem

    Login or Signup to reply.
  2. This solved the problem for me

    sudo snap revert code
    

    I found the solution here

    Login or Signup to reply.
  3. There are solutions https://github.com/microsoft/vscode/issues/204159
    This one worked for me:
    sudo snap revert code –revision 159

    Login or Signup to reply.
  4. I have no rep to comment or upvote but removing the snap and installing the .deb as GaLaKtlkUs mentioned worked for me.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search