Closed as not planned
Closed as not planned
Description
#!stacks
"runtime.gopanic" && "sync.(*WaitGroup).Add:+19" && "diagnoseChangedViews.func1:+16`"
Issue created by stacks.
func (wg *WaitGroup) Add(delta int) {
...
state := wg.state.Add(uint64(delta) << 32)
v := int32(state >> 32)
w := uint32(state)
...
if v < 0 {
panic("sync: negative WaitGroup counter") // <---------- here
}
This stack OKWeGA
was reported by telemetry:
crash/crash
runtime.gopanic:+69
sync.(*WaitGroup).Add:+19
sync.(*WaitGroup).Done:=89
golang.org/x/tools/gopls/internal/server.(*server).diagnoseChangedViews.func1:+16
golang.org/x/tools/gopls/internal/server.(*server).diagnoseChangedViews.gowrap1:+16
runtime.goexit:+0
golang.org/x/tools/[email protected] go1.23.3 linux/amd64 vscode (1)
Metadata
Metadata
Assignees
Labels
Issues describing a possible bug in the Go implementation.Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.This label describes issues relating to any tools in the x/tools repository.Issues related to the Go compiler and/or runtime.Issues related to the Go language server, gopls."can't happen" gopls crashes (races, unsafe, miscompile, runtime bugs, faulty HW)
Type
Projects
Status
Done