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 triggers multiple gopls installations & restarts, followed by automated crash report #2690

Closed
jwang11 opened this issue Mar 6, 2023 · 2 comments
Milestone

Comments

@jwang11
Copy link

jwang11 commented Mar 6, 2023

gopls version: v0.11.0 (go1.20.1)
gopls flags:
update flags: proxy
extension version: 0.38.0
go version: 1.20
environment: Visual Studio Code win32
initialization error: undefined
issue timestamp: Mon, 06 Mar 2023 13:11:45 GMT
restart history:
Mon, 06 Mar 2023 10:06:24 GMT: activation (enabled: false)
Mon, 06 Mar 2023 13:09:36 GMT: installation (enabled: true)
Mon, 06 Mar 2023 13:09:36 GMT: installation (enabled: true)

ATTENTION: PLEASE PROVIDE THE DETAILS REQUESTED BELOW.

Describe what you observed.

Please attach the stack trace from the crash.
A window with the error message should have popped up in the lower half of your screen.
Please copy the stack trace and error messages from that window and paste it in this issue.

Failed to auto-collect gopls trace: unrecognized crash pattern.

OPTIONAL: If you would like to share more information, you can attach your complete gopls logs.

NOTE: THESE MAY CONTAIN SENSITIVE INFORMATION ABOUT YOUR CODEBASE.
DO NOT SHARE LOGS IF YOU ARE WORKING IN A PRIVATE REPOSITORY.

<OPTIONAL: ATTACH LOGS HERE>

@gopherbot gopherbot added this to the Untriaged milestone Mar 6, 2023
@hyangah hyangah changed the title gopls: automated issue report (crash) extension triggers multiple gopls installations & restarts, followed by automated crash report Mar 8, 2023
@hyangah
Copy link
Contributor

hyangah commented Mar 8, 2023

Based on the restart history, and timing, I think this is a bug related to gopls upgrade/installation.
(two restarts followed by gopls installations)

Thanks for the report @jwang11. I guess the logs are gone by now. If this happens again, please share the log you see in the gopls output channel and tell us when you observed this popup (e.g. I was updating gopls, I just opened the vscode, I did refactoring, ...).
Screen Shot 2021-01-27 at 2 53 49 PM

@hyangah hyangah added automatedReport Automatically created issues NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. labels Mar 8, 2023
@hyangah hyangah modified the milestones: Untriaged, v0.39.0 Mar 8, 2023
@hyangah hyangah modified the milestones: v0.39.0, v0.40.0 Jun 8, 2023
@gopherbot
Copy link
Collaborator

Change https://go.dev/cl/539415 mentions this issue: src/language/goLanguageServer: improve suggestGoplsIssueReport

@hyangah hyangah removed NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. automatedReport Automatically created issues labels Nov 6, 2023
@hyangah hyangah modified the milestones: v0.40.0, v0.41.0, v0.40.1 Nov 6, 2023
@hyangah hyangah modified the milestones: v0.40.1, v0.41.0 Dec 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants