-
Notifications
You must be signed in to change notification settings - Fork 645
Extension host terminated unexpectedly with SIGPIPE #1845
Comments
I am assuming you are on the latest version of VS Code (1.26.0). If so, an upstream issue microsoft/vscode#56301 is being tracked for this in the VS Code repo. This is most likely related to an issue with electron throwing SIGPIPE error when passing stdin to a badly spawned process. Please run |
I'm having exactly the same issue with |
So the upstream electron issue occurs when we try to spawn a process using a command that is not found and then pipe stdin. The only place we use With the below fix, you should see a prompt for installing Please try the below and let me know if it fixes the issue
|
Thank you so much for the quick reply and for acting so fast on it! I'm sorry but I don't believe it worked :(
Maybe I'm doing something wrong? |
@juliofarah Can you run |
Installing the latest version you linked above worked for me 🎉 Thanks @ramya-rao-a ! |
It worked! Thanks @ramya-rao-a ! |
@ramya-rao-a This issue is still occurring sporadically when I save a file. Not sure if its related to gofmt |
@mgitkin-vz Can you try to run |
@ramya-rao-a Also encountering this issue. I've installed the workaround and ensured that all the tools are up-to-date. The extension host still crashes on save. |
@ramya-rao-a Yes, I ran |
|
@calvn The first error about 'map' of undefined would have shown up when updating the tools right? Then how did you ensure all tools were updated? I am trying to narrow down which feature is actually causing this. If |
@ramya-rao-a I just re-ran the tool installation command to make sure everything is up to date.
How do you disable some of the features? I've not done this before since it has always worked pretty well with out of the box config. |
@ramya-rao-a Ah good point. I just disabled all of my extensions and quickly after "reloading" the issue happened again: However, after fully quitting the Code process and restarting, I haven't been able to reproduce the issue. |
@calvn To disable the features, go to your settings (Ctrl+,), look for @mgitkin-vz Please keep an eye out if you see it now after fully quitting VS Code |
@ramya-rao-a I just got another crash, this one looks much more informative. edit: attached log instead |
@mgitkin-vz I believe all the errors in that log related to "expected this, got that" is from formatting. @mgitkin-vz @calvn Can you disable the format on save feature and try again? Add the below setting
|
@ramya-rao-a No dice. |
@calvn I see that you are on gophers slack, can you log in there and we can continue the investigation there? it would be much faster. |
In my case reinstall of go sdk via apt helped. It seems like apt package contains much more than .tgz artifact hosted on golang. It seems like some tool used by an extension was missing in the system |
I encoutered the same issue, and I just return to VS Code 1.25.1 which works well |
Not work for me. Emmm... |
It appears that this issue happens whenever I enable vscodevim extension and vscodego together. It works fine if I enable vscodego only (edit: the issue still happens if only vscodego is enabled) |
@lizebang @xuefeng-huang Did you run |
@ramya-rao-a Thanks a lot. I have update go tools and it works well at least 8 hours. I think there is no problem for me. Thanks. |
@ramya-rao-a Using version 0.6.87 I'm not able to reproduce this issue any more (even when using editor.formatOnSave) Thanks! |
Thanks @mgitkin-vz, @lizebang, @gpomykala for confirming the fix. |
@ramya-rao-a I installed the new vscodego extension and updated all tools, it works fine now |
Alright then I'll close this issue. |
Seeing this as well. Tried the fix and still occurring regularly. |
@jhartman86 did you upgrade VSCode to 1.26.1? it should fix this issue |
Issue occurs on 2 different Linux systems: Debian 9 / Ubuntu 18. Default plugin / go env settings. GOPATH defined, go tools available in PATH
Steps to Reproduce:
Result:
Extension host terminated unexpectedly. Code: null Signal: SIGPIPE
Last entries from extension host log:
[2018-08-14 06:43:59.022] [exthost1] [info] ExtensionService#_doActivateExtension ms-vscode.Go {"startup":false,"activationEvent":"onLanguage:go"}
[2018-08-14 06:43:59.022] [exthost1] [info] ExtensionService#loadCommonJSModule /home/plgrpom/.vscode/extensions/ms-vscode.go-0.6.86/out/src/goMain
[2018-08-14 06:43:59.437] [exthost1] [info] eager extensions activated
The text was updated successfully, but these errors were encountered: