Reputation: 211
I get this error after I clicked "Kill terminal" in VS Code:
"Unable to resolve your shell environment: Unexpected exit code from spawned shell (code null, signal SIGSEGV)"
Now my VSCode does this when I click on Terminal, New Terminal: It opens the window for about one second and then crashes and disappears.
I already deleted the settings.json file because I found a post on a similar problem. Unfortunately this did not help.
Upvotes: 8
Views: 8306
Reputation: 1
If your .bashrc file is messed up then this happens. Alternatively you can create a new user on your remote machine and try connecting then this works.
Upvotes: 0
Reputation: 1
I had this same issue. The issue was resolved for me after I updated VS Code.
Upvotes: -1
Reputation: 636
I believe I got the same message and was definitely struggling with the same Terminal crashing issue. What worked for me was uninstalling VS Code, and then downloading it again.
I'm using macOS and surprisingly, all my extensions were still available in the reinstall. There's probably a more technical way of doing it but that worked for me so I hope that helps!
Upvotes: 2