vscode-go icon indicating copy to clipboard operation
vscode-go copied to clipboard

gopls: automated issue report (crash)

Open Pi-Boss opened this issue 1 year ago • 2 comments

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>

Pi-Boss avatar Aug 28 '24 09:08 Pi-Boss

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!

hyangah avatar Aug 28 '24 13:08 hyangah

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

findleyr avatar Aug 28 '24 13:08 findleyr

Timed out in state WaitingForInfo. Closing.

(I am just a bot, though. Please speak up if this is a mistake or you have the requested information.)

gopherbot avatar Sep 28 '24 22:09 gopherbot