-
Notifications
You must be signed in to change notification settings - Fork 17.8k
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
x/tools/internal/jsonrpc2_v2: "panic: close of closed channel" in idleListener.run #51435
Comments
…el" in idleListener.run When timeout, closing timeout channel in idleListener.run may be called many times. I added sync.Once field to idleListner for preventing it. Fixes golang/go#51435
Change https://go.dev/cl/390194 mentions this issue: |
Will be fixed (or rendered obsolete) by https://go-review.googlesource.com/c/tools/+/388597/. |
Found new matching dashboard test flakes for:
2022-07-29 20:19 openbsd-386-68 tools@9580c84d go@dee3efd9 x/tools/internal/jsonrpc2_v2 (log)
2022-08-10 17:41 openbsd-amd64-68 tools@0ad49fde go@d4280fda x/tools/internal/jsonrpc2_v2 (log)
2022-08-10 17:41 openbsd-amd64-70 tools@0ad49fde go@9f8685f4 x/tools/internal/jsonrpc2_v2 (log)
2022-08-31 14:39 openbsd-amd64-68 tools@41c3a9b1 go@5634629f x/tools/internal/jsonrpc2_v2 (log)
2022-08-31 21:08 openbsd-386-70 tools@4ccc73cb go@889d3265 x/tools/internal/jsonrpc2_v2 (log)
|
Found new dashboard test flakes for:
2022-09-20 16:27 openbsd-amd64-68 tools@6782af03 go@d5a5db3b x/tools/internal/jsonrpc2_v2 (log)
|
Found new dashboard test flakes for:
2022-09-21 16:48 openbsd-386-68 tools@2f047133 go@c8e1cf49 x/tools/internal/jsonrpc2_v2 (log)
2022-09-21 16:48 openbsd-amd64-68 tools@2f047133 go@a366ed59 x/tools/internal/jsonrpc2_v2 (log)
|
Found new dashboard test flakes for:
2022-09-26 22:21 openbsd-386-68 tools@eb45e986 go@2b9596cb x/tools/internal/jsonrpc2_v2 (log)
|
Change https://go.dev/cl/435357 mentions this issue: |
Found new dashboard test flakes for:
2022-09-29 22:28 openbsd-amd64-68 tools@d49f960b go@d7dbe011 x/tools/internal/jsonrpc2_v2 (log)
|
Found new dashboard test flakes for:
2022-10-07 14:50 openbsd-amd64-68 tools@26a95e69 go@947091d3 x/tools/internal/jsonrpc2_v2 (log)
|
Change https://go.dev/cl/388597 mentions this issue: |
Found new dashboard test flakes for:
2022-10-17 17:58 openbsd-amd64-68 tools@bc4e384f go@b65e259e x/tools/internal/jsonrpc2_v2 (log)
|
golang/tools@bc4e384 does not contain golang/tools@371ef16 yet. So the found flake is not new. This issue can be closed. |
panic: close of closed channel
goroutine 200 [running]:
golang.org/x/tools/internal/jsonrpc2_v2.(*idleListener).run(0x5dba6090)
/tmp/workdir/gopath/src/golang.org/x/tools/internal/jsonrpc2_v2/serve.go:276 +0x168
created by golang.org/x/tools/internal/jsonrpc2_v2.NewIdleListener
/tmp/workdir/gopath/src/golang.org/x/tools/internal/jsonrpc2_v2/serve.go:185 +0x136
FAIL golang.org/x/tools/internal/jsonrpc2_v2 1.607s
The text was updated successfully, but these errors were encountered: