microsoft / vscode-copilot-release

Feedback on GitHub Copilot Chat UX in Visual Studio Code.
https://marketplace.visualstudio.com/items?itemName=GitHub.copilot-chat
Creative Commons Attribution 4.0 International
295 stars 28 forks source link

GitHub Copilot Chat Crashing Whole IDE #1302

Open hgudella opened 3 weeks ago

hgudella commented 3 weeks ago

Steps to Reproduce:

  1. Open VS Code
  2. Open Github Copilot Chat - Select some code and ask a question.

IDE crashes with the following error

image

aeschli commented 3 weeks ago

https://github.com/microsoft/vscode/wiki/Native-Crash-Issues#creating-a-crash-report describes how to get a crash dump. Can you try this?

IAmJSD commented 3 weeks ago

https://github.com/microsoft/vscode-copilot-release/assets/23243233/f655d2b6-325b-47ef-9070-0c526d44bfc1

I get a editor crash as soon as I install it, but do not get a crash from the editor (rather a hang but it is still active just seemingly blocked?) so I presume this won't be helpful? The log information from the shell might be though @aeschli

EDIT: Potentially a bug with VS Code itself since I am getting crashes elsewhere? Will update here.

aeschli commented 3 weeks ago

It looks like the crash happens while the vscode-copilot extension is activated. @digitarald Can we move this issue to the Github team?

IAmJSD commented 3 weeks ago

It looks like the crash happens while the vscode-copilot extension is activated. @digitarald Can we move this issue to the Github team?

sorta, but it was related to the credentials store locking up VS Code here

aeschli commented 2 weeks ago

Oh, how did you find this out? FYI @TylerLeonhardt

IAmJSD commented 2 weeks ago

Oh, how did you find this out? FYI @TylerLeonhardt

lots of trial and error when I would open a repo that used GitHub and it also crashed, added "password-store": "basic" to my argv.json (I know this is unsafe, but I am the only user on this encrypted install, and I will come back to it later, just bodging this VS Code install) and it worked

IAmJSD commented 2 weeks ago

I think there is seemingly a deeper bug that causes the credential store to lock up that affects me on a near stock Ubuntu install (both with the deb and snap), but I don't know if it is the same bug OP has

IAmJSD commented 2 weeks ago

https://github.com/microsoft/vscode-copilot-release/assets/23243233/0cfdd898-eff0-47e9-836b-25beab95d7bc

just reproduced in a completely clean Ubuntu virtual machine install (I show a lot of the setup steps I clicked, a little different for partitioning but the rest is correct)

IAmJSD commented 2 weeks ago

@aeschli (sorry, I realised I forgot to tag you when I wrote all that)

TylerLeonhardt commented 1 week ago

@IAmJSD your issue is likely unrelated to @hgudella who was experiencing an OOM crash and on Windows... and yes, I'm very suspicious of this being an Electron bug when interacting with the keyring.

Would you mind creating a new issue and also attaching the crash dump as called out here?: https://github.com/microsoft/vscode/wiki/Native-Crash-Issues#creating-a-crash-report