Skip to content

gopls: automated issue report (crash) #3717

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

Closed
waar19 opened this issue Mar 14, 2025 · 3 comments
Closed

gopls: automated issue report (crash) #3717

waar19 opened this issue Mar 14, 2025 · 3 comments
Labels
WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided.
Milestone

Comments

@waar19
Copy link

waar19 commented Mar 14, 2025

gopls version: v0.18.1/go1.24.1
gopls flags:
update flags: proxy
extension version: 0.46.1
environment: Visual Studio Code win32
initialization error: undefined
issue timestamp: Fri, 14 Mar 2025 19:27:27 GMT
restart history:
Fri, 14 Mar 2025 19:23:45 GMT: activation (enabled: true)
Fri, 14 Mar 2025 19:25:29 GMT: installation (enabled: true)
Fri, 14 Mar 2025 19:25:56 GMT: installation (enabled: true)
Fri, 14 Mar 2025 19:26:29 GMT: installation (enabled: true)
Fri, 14 Mar 2025 19:27:03 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.

goroutine 18176 gp=0xc00a6b4540 m=nil [sync.WaitGroup.Wait]:
runtime.gopark(0xc009cfbde0?, 0x429bf4?, 0x0?, 0xe0?, 0xd21131?)
C:/Program Files/Go/src/runtime/proc.go:435 +0xce fp=0xc009cfbd80 sp=0xc009cfbd60 pc=0x489a6e
runtime.goparkunlock(...)
C:/Program Files/Go/src/runtime/proc.go:441
runtime.semacquire1(0xc00c202718, 0x0, 0x1, 0x0, 0x18)
C:/Program Files/Go/src/runtime/sema.go:188 +0x22f fp=0xc009cfbde8 sp=0xc009cfbd80 pc=0x469d0f
sync.runtime_SemacquireWaitGroup(0xc00a8e0660?)
C:/Program Files/Go/src/runtime/sema.go:110 +0x25 fp=0xc009cfbe20 sp=0xc009cfbde8 pc=0x48ae45
sync.(*WaitGroup).Wait(0xc0001b8460?)
C:/Program Files/Go/src/sync/waitgroup.go:118 +0x48 fp=0xc009cfbe48 sp=0xc009cfbe20 pc=0x49f688
golang.org/x/tools/gopls/internal/server.(*server).diagnoseChangedViews(0xc00014a600, {0x14d24f0, 0xc006f96230}, 0x1c, 0xc00a32b2c0, 0x2)
C:/Users/waar1/go/pkg/mod/golang.org/x/tools/gopls@v0.18.1/internal/server/diagnostics.go:173 +0x52a fp=0xc009cfbf98 sp=0xc009cfbe48 pc=0xead12a
golang.org/x/tools/gopls/internal/server.(*server).didModifyFiles.func2()
C:/Users/waar1/go/pkg/mod/golang.org/x/tools/gopls@v0.18.1/internal/server/text_synchronization.go:270 +0x34 fp=0xc009cfbfe0 sp=0xc009cfbf98 pc=0xec6374
runtime.goexit({})
C:/Program Files/Go/src/runtime/asm_amd64.s:1700 +0x1 fp=0xc009cfbfe8 sp=0xc009cfbfe0 pc=0x491fc1
created by golang.org/x/tools/gopls/internal/server.(*server).didModifyFiles in goroutine 18439
C:/Users/waar1/go/pkg/mod/golang.org/x/tools/gopls@v0.18.1/internal/server/text_synchronization.go:269 +0x507
[Error - 2:27:27 PM]

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

gopls stats -anon { "DirStats": { "Files": 165, "TestdataFiles": 0, "GoFiles": 163, "ModFiles": 1, "Dirs": 4 }, "GOARCH": "amd64", "GOOS": "windows", "GOPACKAGESDRIVER": "", "GOPLSCACHE": "", "GoVersion": "go1.24.1", "GoplsVersion": "v0.18.1", "InitialWorkspaceLoadDuration": "917.9986ms", "MemStats": { "HeapAlloc": 120088904, "HeapInUse": 139870208, "TotalAlloc": 173946072 }, "WorkspaceStats": { "Files": { "Total": 1316, "Largest": 523354, "Errs": 0 }, "Views": [ { "GoCommandVersion": "go1.24.1", "AllPackages": { "Packages": 208, "LargestPackage": 160, "CompiledGoFiles": 1312, "Modules": 10 }, "WorkspacePackages": { "Packages": 4, "LargestPackage": 160, "CompiledGoFiles": 163, "Modules": 1 }, "Diagnostics": 42 } ] } }

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 14, 2025
@findleyr
Copy link
Member

Hi, is this crash reproducible for you?

@findleyr findleyr added the WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided. label Mar 19, 2025
@findleyr
Copy link
Member

Thank you for copying in the stack, but it seems to be missing the panic message.

@gopherbot
Copy link
Collaborator

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 gopherbot closed this as not planned Won't fix, can't repro, duplicate, stale Apr 19, 2025
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

3 participants