I am using an Ubuntu machine and when I open Visual Studio Code, it opens for a second or so and then crashes. When starting Visual Studio Code (executable code
) through the terminal with the 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 I still get an error. How I can fix this?
To remove, I used sudo snap remove vscode
& cd ~ && rm -rf .vscode && rm -rf .config/Code
.