-
Notifications
You must be signed in to change notification settings - Fork 30.8k
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
Error: Extension host terminated unexpectedly #36843
Comments
/cc @jrieken |
@jdhines Do you have git installed on your machine ? |
Yes, I do. |
Ok, let's try to see if this is a problem with any of the built-in extensions. Assuming you have installed VS Code Insiders at This will make it so we start an extension host process without any extensions. |
Is it possible to print out the name of the extension which crashed? Elimination by trial leads to a lot of wasted time. |
ping @jdhines |
@alexandrudima @joaomoreno So sorry for the absence, haven't needed to use VS Code on my PC for several days. I renamed the |
@jdhines Thank you. This implies that one of the built-in extensions is causing the crash. The following built-in extensions are activated on startup:
Can you please add these folders back in to the |
I added each one in turn, restarting VS Code Insiders each time, and the error did not pop up again. But there were a ton more extensions in the Given that, I fired up regular VS Code, and no error there either! So it doesn't make sense, but it seems like renaming and then switching back the extensions folder in Insiders fixed both versions, at least for the time being. |
@jdhines Most likely something else changed in the past week on your environment... now that the crash is not reproducible ... |
I don't think so, because I fired up Insiders today before renaming the extensions folder as you suggested, and was still getting the error. Seems like renaming it "shook" things somehow to get it back in order. |
This is super-confusing for me. On each startup we do a Also, VS Code and VS Code Insiders have different installation paths and different I am really puzzled as to what causes the crash now... |
Wow. So you can't reproduce the issue in any way any more, @jdhines? |
I just uninstalled Insiders and reinstalled the same version (since it was still in my Downloads folder): 1.18.0-insider, commit aaec298... And the error is back. So I guess you could say it's reproducible. |
Interestingly, even with a fresh install (and having removed the VS Code Insiders folder from I haven't tried renaming the other extensions folder yet. |
@jdhines Can you try something out for me? Edit .then(void 0, () => findSpecificGit('git')); Does the issue still reproduce with that commented out? |
Commented out that line then started up Insiders; no error. Makes it seem like making any changes to or within |
OK. How about this build? Can you reproduce it at all with it? Work for a while, make some changes, wait a few minutes before giving up. |
This issue has been closed automatically because it needs more information and has not had recent activity. Please refer to our guidelines for filing issues. Thank you for your contributions. |
Closing as duplicate of #32739 |
Sorry, just been working hard on something else, haven't had time to get back to playing with this on my other computer, but I will update here if I found out anything. |
Steps to Reproduce:
Reproduces without extensions: No, because it seems to be some problem with the extension system
The text was updated successfully, but these errors were encountered: