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

gopls: automated issue report (crash) #3510

Open
Pi-Boss opened this issue Aug 28, 2024 · 2 comments
Open

gopls: automated issue report (crash) #3510

Pi-Boss opened this issue Aug 28, 2024 · 2 comments
Labels
WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided.
Milestone

Comments

@Pi-Boss
Copy link

Pi-Boss commented Aug 28, 2024

gopls version: v0.16.1/go1.22.5
gopls flags:
update flags: proxy
extension version: 0.40.3
environment: Visual Studio Code win32
initialization error: undefined
issue timestamp: Wed, 28 Aug 2024 09:35:01 GMT
restart history:
Mon, 26 Aug 2024 08:14:11 GMT: activation (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: incomplete panic trace.

gopls stats -anon { "DirStats": { "Files": 2810, "TestdataFiles": 0, "GoFiles": 263, "ModFiles": 1, "Dirs": 424 }, "GOARCH": "amd64", "GOOS": "windows", "GOPACKAGESDRIVER": "", "GOPLSCACHE": "", "GoVersion": "go1.22.5", "GoplsVersion": "v0.16.1", "InitialWorkspaceLoadDuration": "3.0564734s", "MemStats": { "HeapAlloc": 64434456, "HeapInUse": 107782144, "TotalAlloc": 978611888 }, "WorkspaceStats": { "Files": { "Total": 2873, "Largest": 7712209, "Errs": 0 }, "Views": [ { "GoCommandVersion": "go1.22.5", "AllPackages": { "Packages": 576, "LargestPackage": 148, "CompiledGoFiles": 2890, "Modules": 89 }, "WorkspacePackages": { "Packages": 93, "LargestPackage": 16, "CompiledGoFiles": 282, "Modules": 1 }, "Diagnostics": 56 } ] } }

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 Aug 28, 2024
@hyangah
Copy link
Contributor

hyangah commented Aug 28, 2024

Thanks for the report. Can you 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, ...)? There should be a panic message.

Screen Shot 2021-01-27 at 2 53 49 PM

And, if possible can you update the extension? The latest stable version is v0.42.0. Thanks!

@findleyr
Copy link
Contributor

This is likely to be a dupe of golang/go#68334, which was fixed in go1.22.6.

@findleyr findleyr added the WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided. label Aug 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided.
Projects
None yet
Development

No branches or pull requests

4 participants