Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extension host terminated unexpectedly #36201

Closed
euk-anthonyb opened this issue Oct 13, 2017 · 42 comments
Closed

Extension host terminated unexpectedly #36201

euk-anthonyb opened this issue Oct 13, 2017 · 42 comments
Assignees
Labels
freeze-slow-crash-leak VS Code crashing, performance, freeze and memory leak issues info-needed Issue requires more information from poster

Comments

@euk-anthonyb
Copy link

  • VSCode Version:
  • OS Version:

Steps to Reproduce:

  1. Launch the latest version of VS Code on Windows 10
  2. When project loads, processes hang up and alerts appear on screen
  3. The application is incapacitated
    image

Reproduces without extensions: Yes/No

@euk-anthonyb
Copy link
Author

Here is a copy of my console log from the vs code developer tools:
vscode-1507881159896.log

@gosongs
Copy link

gosongs commented Oct 13, 2017

same to me

image

@euk-anthonyb
Copy link
Author

:(

I'm returning to Atom to get my work done.

@egamma
Copy link
Member

egamma commented Oct 13, 2017

Can you reproduce the problem when you start with extension disabled code --disable-extensions?

@euk-anthonyb
Copy link
Author

euk-anthonyb commented Oct 13, 2017

I'm not able to disable extensions. I can't run any commands. Not even with 1.17.11 release that I just installed.

image

image

@egamma
Copy link
Member

egamma commented Oct 13, 2017

@euk-anthonyb sorry I was not clear. I meant, exit VS Code then start VS Code from the command line with this command line argument.
image

@euk-anthonyb
Copy link
Author

Oh, I see.... Tried the command line but nothing happens.

image

@FeiX01
Copy link

FeiX01 commented Oct 13, 2017

the same issue after run the code --disable-extensions

@lxoxo00a
Copy link

I finally solve the problome , just add git.exe into the settings.json. (Install the GOW https://github.com/bmatzelle/gow to use commend "where git.exe" in cmd.

My OS is Win10;
My error was like this:
image

In my computer ,it was the VSCode cannot detect installed Git led to the error.

@bpasero
Copy link
Member

bpasero commented Oct 16, 2017

@euk-anthonyb @FeiX01 is git.exe on your path? @joaomoreno fyi, not sure if you have heard the extension host crashing when git.exe is not found?

@bpasero bpasero added freeze-slow-crash-leak VS Code crashing, performance, freeze and memory leak issues info-needed Issue requires more information from poster labels Oct 16, 2017
@joaomoreno
Copy link
Member

joaomoreno commented Oct 16, 2017

@bpasero Yes I have a few issues like that though I was never able to reproduce... no matter how hard I try. #32739 #34692

@joaomoreno
Copy link
Member

joaomoreno commented Oct 16, 2017

@euk-anthonyb @jkvon What is the language of your Windows installation?

@euk-anthonyb
Copy link
Author

@bpasero: I've asked IT but I have not yet heard back from them. Is there a quick way to see if git.exe is on my path?

@euk-anthonyb
Copy link
Author

@joaomoreno: My Windows language is English.

@ravinsinghd
Copy link

ravinsinghd commented Oct 19, 2017

Extension host stop working.txt

facing same problem (1.17.2) . attached my console log

@joaomoreno
Copy link
Member

@euk-anthonyb @ravinsinghd @jkvon @gosongs If you open a command prompt, can you show me the values of the following environment variables:

  • ProgramW6432
  • ProgramFiles(x86)
  • ProgramFiles

@ravinsinghd Is the issue fixed if you install Git?

@ravinsinghd
Copy link

@joaomoreno I have git installed already. please find the output for the commend
capture

@joaomoreno
Copy link
Member

And where is git installed?

If you go into VSCode's installation directory and move away extensions\git does the issue still reproduce?

@ravinsinghd
Copy link

ravinsinghd commented Oct 19, 2017

you want me to remove this folder?

capture

@joaomoreno
Copy link
Member

Yes, just move it away temporarily. Then, try to see if the issue comes up.

@ravinsinghd
Copy link

@joaomoreno after moved the git folder that issue not came. i worked almost 8hrs not facing problem.

@ravinsinghd
Copy link

@joaomoreno that issue occur again. i uninstall most of my extensions still it's occur.

@ravinsinghd
Copy link

Did you guys found root cause? In anyway we can help ?
if you want any logs or something I am ready to share. past 2 weeks working with code become horrible experience.

@joaomoreno
Copy link
Member

So. It is definitely the git extension right? If the folder is there you have the issue, if it's not then you don't. Right?

Is there any way we can do a remote screen sharing session? Let me know a good time for you.

@ravinsinghd
Copy link

@joaomoreno I am not sure it's git. because now i don't have git folder still the problem happen.i am happy to share screen. let me suitable time for you and how to share I will share

@PixelT
Copy link

PixelT commented Oct 29, 2017

I have this same issue on macOS

@joaomoreno
Copy link
Member

@ravinsinghd How about tomorrow, Monday, October 30 at 07:30 AM UTC? That would be 13:00 in Bangalore.

https://hangouts.google.com/hangouts/_/joaomoreno.com/vscode36201

@ravinsinghd
Copy link

Awesome will connect

@ravinsinghd
Copy link

@joaomoreno i joined in hangout

@joaomoreno
Copy link
Member

Hmmm me too... I don't see you there.

@joaomoreno
Copy link
Member

@euk-anthonyb
Copy link
Author

euk-anthonyb commented Oct 30, 2017

Hi guys, I've been out of the office for a while.

Here are my cmd prompt environmental variables:
image

Manually removing the git resource from the VS Code extensions directory has no effect.

image

Sorry to say this, but I'm too busy to troubleshoot this at work any further. I'm now falling back to Atom for my daily tasks.

Let me know when you find a fix.

@ravinsinghd
Copy link

@euk-anthonyb can you let me know what are the extensions you are using?. will compare your list with me, will see if any common extension. may be that give some clue.

@ravinsinghd
Copy link

@joaomoreno as you suggest i am disabling my extensions one by one and checking if the issue happen
I disabled Beautify extension. After that also error happen. so Beautify OK.

image

Next will try disable angular language service

@joaomoreno
Copy link
Member

Bringing in @alexandrudima. People remove the git extension and still have the problem. So this seems to be something else.

@ravinsinghd's crash is an out of memory one.

@alexdima
Copy link
Member

alexdima commented Nov 1, 2017

@joaomoreno I'm sorry can you point out which of the 5 distinct reports experience a crash after removing the built-in git extension? I can then start a new issue / thread and investigate what is the root cause. Because I love investigating code not written by me running in the extension host ❤️

@joaomoreno
Copy link
Member

@euk-anthonyb Can you try out this build? Do you still have the same issue?

@ravinsinghd
Copy link

@joaomoreno I can reproduce the problem by enable and disable Angular Language Service extension

@joaomoreno
Copy link
Member

OK @ravinsinghd. Good to know. Please file an issue to that extension. But for now let us focus on @euk-anthonyb's problem.

@joaomoreno
Copy link
Member

Closing as duplicate of #32739

@euk-anthonyb
Copy link
Author

I was finally able to get the Insiders app installed (IT had a huge backlog of requests) but unfortunately, it does not fare any better than the standard version. :(

image

image

@euk-anthonyb
Copy link
Author

For some strange reason, this version of the Insiders build now works without incident. :)

@vscodebot vscodebot bot locked and limited conversation to collaborators Dec 25, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
freeze-slow-crash-leak VS Code crashing, performance, freeze and memory leak issues info-needed Issue requires more information from poster
Projects
None yet
Development

No branches or pull requests

10 participants