golang / vscode-go

Go extension for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=golang.Go
Other
3.79k stars 729 forks source link

gopls: automated issue report (crash) #3157

Closed bokunodev closed 4 months ago

bokunodev commented 5 months ago

gopls version: (devel)/go1.22rc2 gopls flags: update flags: proxy extension version: 0.40.3 environment: VSCodium linux initialization error: undefined issue timestamp: Sun, 04 Feb 2024 06:37:20 GMT restart history: Sun, 04 Feb 2024 02:15:25 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": 3, "TestdataFiles": 0, "GoFiles": 1, "ModFiles": 1, "Dirs": 1 }, "GOARCH": "amd64", "GOOS": "linux", "GOPACKAGESDRIVER": "", "GOPLSCACHE": "", "GoVersion": "go1.22rc2", "GoplsVersion": "(devel)", "InitialWorkspaceLoadDuration": "647.085523ms", "MemStats": { "HeapAlloc": 18965680, "HeapInUse": 27910144, "TotalAlloc": 270623808 }, "WorkspaceStats": { "Files": { "Total": 1117, "Largest": 395026, "Errs": 0 }, "Views": [ { "GoCommandVersion": "go1.22rc2", "AllPackages": { "Packages": 169, "LargestPackage": 161, "CompiledGoFiles": 1114, "Modules": 6 }, "WorkspacePackages": { "Packages": 1, "LargestPackage": 1, "CompiledGoFiles": 1, "Modules": 1 }, "Diagnostics": 1 } ] } }
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.
findleyr commented 5 months ago

How recent is your gopls? This may have been https://go.dev/issue/65516.

gopherbot commented 4 months ago

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.)