Skip to content
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/gopls/internal/regtest/misc: unrecognized failures #59838

Closed
gopherbot opened this issue Apr 26, 2023 · 24 comments
Closed

x/tools/gopls/internal/regtest/misc: unrecognized failures #59838

gopherbot opened this issue Apr 26, 2023 · 24 comments
Labels
gopls Issues related to the Go language server, gopls. NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. Tools This label describes issues relating to any tools in the x/tools repository.
Milestone

Comments

@gopherbot
Copy link

#!watchflakes
post <- pkg == "golang.org/x/tools/gopls/internal/regtest/misc" && test == ""

Issue created automatically to collect these failures.

Example (log):

fork/exec /opt/golang/tmp/workdir-host-solaris-oracle-amd64-oraclerel/tmp/go-build849421425/b542/misc.test: exec format error

watchflakes

@gopherbot gopherbot added the NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. label Apr 26, 2023
@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
post <- pkg == "golang.org/x/tools/gopls/internal/regtest/misc" && test == ""
2023-04-25 19:18 solaris-amd64-oraclerel tools@dd89a2eb go@25b4f406 x/tools/gopls/internal/regtest/misc (log)
fork/exec /opt/golang/tmp/workdir-host-solaris-oracle-amd64-oraclerel/tmp/go-build849421425/b542/misc.test: exec format error

watchflakes

@gopherbot gopherbot added Tools This label describes issues relating to any tools in the x/tools repository. gopls Issues related to the Go language server, gopls. labels Apr 26, 2023
@gopherbot gopherbot added this to the Unreleased milestone Apr 26, 2023
@findleyr
Copy link
Contributor

findleyr commented May 3, 2023

Let's merge this with #58782.

@findleyr findleyr closed this as not planned Won't fix, can't repro, duplicate, stale May 3, 2023
@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
post <- pkg == "golang.org/x/tools/gopls/internal/regtest/misc" && test == ""
2023-05-11 03:57 freebsd-arm64-dmgk tools@9aa9d134 go@48f8c5c0 x/tools/gopls/internal/regtest/misc (log)
serve.go:434: debug server listening at http://localhost:20648
serve.go:434: debug server listening at http://localhost:40852
panic: /tmp/workdir-host-freebsd-arm64-dmgk/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:449: internal error reading shared cache: failed to update access time: chtimes /usr/home/builder/.cache/gopls/bf3d4f50/analysis/10/10162cd77c3b0347b6174fd4b72c410c85bfc7230672fd9b6b8deebc0774f64b: no such file or directory

goroutine 13255 [running]:
golang.org/x/tools/gopls/internal/bug.report({0x4001d53a40, 0xda})
	/tmp/workdir-host-freebsd-arm64-dmgk/gopath/src/golang.org/x/tools/gopls/internal/bug/bug.go:71 +0x3f0
golang.org/x/tools/gopls/internal/bug.Errorf({0xb1eee2?, 0xc412cb7d44f17b6?}, {0x4001e47c58?, 0x4bf67407bcee8d6b?, 0xad6e01?})
	/tmp/workdir-host-freebsd-arm64-dmgk/gopath/src/golang.org/x/tools/gopls/internal/bug/bug.go:52 +0x3c
golang.org/x/tools/gopls/internal/lsp/cache.analyzeImpl({0xd83648?, 0x4004787f40}, 0x4000247980, {0x4002a38a70, 0x2, 0x2}, {0x400195810c, 0x2})
	/tmp/workdir-host-freebsd-arm64-dmgk/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:449 +0x538
golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).analyze.func1({0xd83648?, 0x4004787f40?}, {0xaca580?, 0x4000247980?})
	/tmp/workdir-host-freebsd-arm64-dmgk/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:342 +0x58
golang.org/x/tools/internal/memoize.(*Promise).run.func2.1()
	/tmp/workdir-host-freebsd-arm64-dmgk/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:187 +0x90
runtime/trace.WithRegion({0xd83648?, 0x4004787f40?}, {0x400447f3c8, 0x14}, 0x4000604f88)
	/tmp/workdir-host-freebsd-arm64-dmgk/go/src/runtime/trace/annotation.go:141 +0xc8
golang.org/x/tools/internal/memoize.(*Promise).run.func2()
	/tmp/workdir-host-freebsd-arm64-dmgk/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:180 +0x104
created by golang.org/x/tools/internal/memoize.(*Promise).run in goroutine 13254
	/tmp/workdir-host-freebsd-arm64-dmgk/gopath/src/golang.org/x/tools/internal/memoize/memoize.go:179 +0x1b0

watchflakes

@gopherbot gopherbot reopened this May 11, 2023
@findleyr
Copy link
Contributor

internal error reading shared cache: failed to update access time: chtimes /usr/home/builder/.cache/gopls/bf3d4f50/analysis/10/10162cd77c3b0347b6174fd4b72c410c85bfc7230672fd9b6b8deebc0774f64b: no such file or directory

@bcmills were you deleting files off the dmgk builder?

(note: this isn't a panic in production; we set "PanicOnBugs" for the builder)

In any case, this is a transient, well-understood failure, and we don't yet want to silence this panic.

@bcmills
Copy link
Contributor

bcmills commented May 11, 2023

@bcmills were you deleting files off the dmgk builder?

Nope, wasn't me. 😅

@gopherbot gopherbot reopened this Jun 12, 2023
@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
post <- pkg == "golang.org/x/tools/gopls/internal/regtest/misc" && test == ""
2023-06-10 16:55 linux-s390x-ibm tools@db6a81ed go@ee46f0b5 x/tools/gopls/internal/regtest/misc (log)
serve.go:432: debug server listening at http://localhost:38845
serve.go:432: debug server listening at http://localhost:43541
DETECTED A HANGING GO COMMAND

The gopls test runner has detected a hanging go command. In order to debug
this, the output of ps and lsof/fstat is printed below.

See golang/go#54461 for more details.

ps axo ppid,pid,command:
...
panic: running lsof: exec: "lsof": executable file not found in $PATH

goroutine 44783 [running]:
golang.org/x/tools/internal/gocommand.HandleHangingGoCommand(0xc003521f20)
	/data/golang/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:436 +0x48a
golang.org/x/tools/internal/gocommand.runCmdContext({0x103d180, 0xc001d4b2f0}, 0xc003cf74a0)
	/data/golang/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:372 +0x486
golang.org/x/tools/internal/gocommand.(*Invocation).run(0xc00255de08, {0x103d180, 0xc001d4b2f0}, {0x1035060, 0xc001d4b410}, {0x1035060, 0xc001d4b440})
	/data/golang/workdir/gopath/src/golang.org/x/tools/internal/gocommand/invoke.go:267 +0x12da
golang.org/x/tools/internal/gocommand.(*Invocation).runWithFriendlyError(0xc00255de08, {0x103d180, 0xc001d4b2f0}, {0x1035060, 0xc001d4b410}, {0x1035060, 0xc001d4b440})
...
golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).load(0xc002258300, {0x103d1b8, 0xc006e99c20}, 0x1, {0xc001779080, 0x2, 0x2})
	/data/golang/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/load.go:133 +0xdf0
golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).loadWorkspace(0xc002258300, {0x103d1b8, 0xc006e99c20}, 0x1)
	/data/golang/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/view.go:868 +0x296
golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).initialize(0xc002258300, {0x103d1b8, 0xc006e99c20}, 0x1)
	/data/golang/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/view.go:778 +0x1c8
golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView.func2()
	/data/golang/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/session.go:202 +0x5a
created by golang.org/x/tools/gopls/internal/lsp/cache.(*Session).createView in goroutine 44758
	/data/golang/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/session.go:200 +0xe7c

watchflakes

@findleyr
Copy link
Contributor

Not sure why this wasn't aggregated into the hanging go command issue.

@bcmills is this output useful for you, since it isn't on darwin?

@gopherbot gopherbot reopened this Jul 31, 2023
@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
post <- pkg == "golang.org/x/tools/gopls/internal/regtest/misc" && test == ""
2023-07-31 12:54 freebsd-arm64-dmgk tools@c16d0be6 go@f9c174f5 x/tools/gopls/internal/regtest/misc (log)
panic: /tmp/workdir-host-freebsd-arm64-dmgk/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/check.go:1241: internal error reading typerefs data: can't create cache: mkdir /usr/home/builder/.cache/gopls/c94a400b: no space left on device

goroutine 154 [running]:
golang.org/x/tools/gopls/internal/bug.report({0x40003b8c00, 0x80})
	/tmp/workdir-host-freebsd-arm64-dmgk/gopath/src/golang.org/x/tools/gopls/internal/bug/bug.go:75 +0x450
golang.org/x/tools/gopls/internal/bug.Reportf({0xb38dd2?, 0x3bb6174777b3fd23?}, {0x400014d998?, 0xfcc078d701f31ae1?, 0xaf1b91?})
	/tmp/workdir-host-freebsd-arm64-dmgk/gopath/src/golang.org/x/tools/gopls/internal/bug/bug.go:49 +0x28
golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).typerefData(0x40001b2b00, {0xdb4ed8?, 0x400007ff40}, {0x40003f8ba0, 0x7}, 0x75?, {0x400041feb0, 0x1, 0x1})
	/tmp/workdir-host-freebsd-arm64-dmgk/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/check.go:1241 +0x11c
golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).typerefs(0x40001b2b00, {0xdb4ed8, 0x400007ff40}, 0x40000c9440, {0x400041feb0, 0x1, 0x1})
...
panic: nil handle

goroutine 143 [running]:
golang.org/x/tools/gopls/internal/lsp/cache.assert(...)
	/tmp/workdir-host-freebsd-arm64-dmgk/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/debug.go:10
golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).getPackageHandles(0x40001b2b00, {0xdb4f80, 0x4000323e60}, {0x400041faf0, 0x1, 0x1?})
	/tmp/workdir-host-freebsd-arm64-dmgk/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/check.go:913 +0x4ac
golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).forEachPackage(0xdb4f80?, {0xdb4f80, 0x4000323ce0}, {0x400041faf0, 0x1, 0x1}, 0x0?, 0x73d6cc?)
	/tmp/workdir-host-freebsd-arm64-dmgk/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/check.go:333 +0x158
golang.org/x/tools/gopls/internal/lsp/cache.(*snapshot).PackageDiagnostics(0x4000015f60?, {0xdb4f80?, 0x40002b9050?}, {0x400041faf0, 0x1, 0x1})
	/tmp/workdir-host-freebsd-arm64-dmgk/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/snapshot.go:653 +0x1c8
golang.org/x/tools/gopls/internal/lsp.(*Server).diagnosePkgs.func1()
	/tmp/workdir-host-freebsd-arm64-dmgk/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:440 +0x180
created by golang.org/x/tools/gopls/internal/lsp.(*Server).diagnosePkgs
	/tmp/workdir-host-freebsd-arm64-dmgk/gopath/src/golang.org/x/tools/gopls/internal/lsp/diagnostics.go:433 +0x198

watchflakes

@findleyr
Copy link
Contributor

"No space left on device". Looks like a builder issue.

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
post <- pkg == "golang.org/x/tools/gopls/internal/regtest/misc" && test == ""
2023-10-09 14:58 darwin-amd64-12_0 tools@5874869c go@68f9a6e2 x/tools/gopls/internal/regtest/misc (log)
serve.go:443: debug server listening at http://localhost:49263
serve.go:443: debug server listening at http://localhost:49264
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
	panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x10047534a]

goroutine 14152 [running]:
golang.org/x/tools/gopls/internal/lsp/cache.(*action).exec.func6.1()
	/tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:1312 +0x23a
panic({0x100b669e0, 0x101593e90})
...
golang.org/x/tools/gopls/internal/lsp/cache.execActions.func1.1()
	/tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:1125 +0x3c
sync.(*Once).doSlow(0x1?, 0x100ae4ae0?)
	/tmp/buildlet/go/src/sync/once.go:74 +0xc2
sync.(*Once).Do(...)
	/tmp/buildlet/go/src/sync/once.go:65
golang.org/x/tools/gopls/internal/lsp/cache.execActions.func1()
	/tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:1123 +0x85
created by golang.org/x/tools/gopls/internal/lsp/cache.execActions
	/tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:1121 +0x3c

watchflakes

@gopherbot gopherbot reopened this Oct 9, 2023
@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
post <- pkg == "golang.org/x/tools/gopls/internal/regtest/misc" && test == ""
2023-10-09 14:58 dragonfly-amd64-622 tools@5874869c go@778880b0 x/tools/gopls/internal/regtest/misc (log)
serve.go:443: debug server listening at http://localhost:54504
serve.go:443: debug server listening at http://localhost:53240
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
	panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x8 pc=0x871a1d]

goroutine 8844 [running]:
golang.org/x/tools/gopls/internal/lsp/cache.(*action).exec.func6.1()
	/tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:1312 +0x233
panic({0xf5e080?, 0x19a74a0?})
...
golang.org/x/tools/gopls/internal/lsp/cache.execActions.func1.1()
	/tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:1125 +0x36
sync.(*Once).doSlow(0xc001e766c0?, 0xf99c2?)
	/tmp/workdir/go/src/sync/once.go:74 +0xc2
sync.(*Once).Do(...)
	/tmp/workdir/go/src/sync/once.go:65
golang.org/x/tools/gopls/internal/lsp/cache.execActions.func1()
	/tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:1123 +0x7a
created by golang.org/x/tools/gopls/internal/lsp/cache.execActions in goroutine 8756
	/tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:1121 +0x45

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
post <- pkg == "golang.org/x/tools/gopls/internal/regtest/misc" && test == ""
2023-10-09 14:58 linux-amd64-race tools@5874869c go@e0948d82 x/tools/gopls/internal/regtest/misc (log)
serve.go:443: debug server listening at http://localhost:42855
serve.go:443: debug server listening at http://localhost:34285
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
	panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0xb626a5]

goroutine 9002 [running]:
golang.org/x/tools/gopls/internal/lsp/cache.(*action).exec.func6.1()
	/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:1312 +0x46d
panic({0x1653ee0?, 0x2263820?})
...
golang.org/x/tools/gopls/internal/lsp/cache.execActions.func1.1()
	/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:1125 +0x5b
sync.(*Once).doSlow(0xc00d8d4d20, 0xc00af04fb8)
	/workdir/go/src/sync/once.go:74 +0xf1
sync.(*Once).Do(0xc00d8d4d20, 0xc00af04fb8)
	/workdir/go/src/sync/once.go:65 +0x45
golang.org/x/tools/gopls/internal/lsp/cache.execActions.func1()
	/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:1123 +0x8c
created by golang.org/x/tools/gopls/internal/lsp/cache.execActions in goroutine 8969
	/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:1121 +0x66

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
post <- pkg == "golang.org/x/tools/gopls/internal/regtest/misc" && test == ""
2023-10-09 14:58 openbsd-amd64-72 tools@5874869c go@8222423e x/tools/gopls/internal/regtest/misc (log)
serve.go:443: debug server listening at http://localhost:22950
serve.go:443: debug server listening at http://localhost:2719
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
	panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x8 pc=0x87269d]

goroutine 9301 [running]:
golang.org/x/tools/gopls/internal/lsp/cache.(*action).exec.func6.1()
	/tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:1312 +0x233
panic({0xf5ecc0?, 0x19f73c0?})
...
golang.org/x/tools/gopls/internal/lsp/cache.execActions.func1.1()
	/tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:1125 +0x36
sync.(*Once).doSlow(0x0?, 0xc0022b0440?)
	/tmp/workdir/go/src/sync/once.go:74 +0xc2
sync.(*Once).Do(...)
	/tmp/workdir/go/src/sync/once.go:65
golang.org/x/tools/gopls/internal/lsp/cache.execActions.func1()
	/tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:1123 +0x7a
created by golang.org/x/tools/gopls/internal/lsp/cache.execActions in goroutine 9261
	/tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:1121 +0x45

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
post <- pkg == "golang.org/x/tools/gopls/internal/regtest/misc" && test == ""
2023-10-09 14:58 openbsd-amd64-72 tools@5874869c go@025e8ad6 x/tools/gopls/internal/regtest/misc (log)
serve.go:443: debug server listening at http://localhost:48030
serve.go:443: debug server listening at http://localhost:28137
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
	panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x8 pc=0x8726bd]

goroutine 9274 [running]:
golang.org/x/tools/gopls/internal/lsp/cache.(*action).exec.func6.1()
	/tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:1312 +0x233
panic({0xf5ed40?, 0x19f73c0?})
...
golang.org/x/tools/gopls/internal/lsp/cache.execActions.func1.1()
	/tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:1125 +0x36
sync.(*Once).doSlow(0x0?, 0xc000d70480?)
	/tmp/workdir/go/src/sync/once.go:74 +0xc2
sync.(*Once).Do(...)
	/tmp/workdir/go/src/sync/once.go:65
golang.org/x/tools/gopls/internal/lsp/cache.execActions.func1()
	/tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:1123 +0x7a
created by golang.org/x/tools/gopls/internal/lsp/cache.execActions in goroutine 9234
	/tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:1121 +0x45

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
post <- pkg == "golang.org/x/tools/gopls/internal/regtest/misc" && test == ""
2023-10-09 14:58 darwin-amd64-10_15 tools@5874869c go@262b8050 x/tools/gopls/internal/regtest/misc (log)
serve.go:443: debug server listening at http://localhost:49602
serve.go:443: debug server listening at http://localhost:49603
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
	panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x8 pc=0x100a6219d]

goroutine 15701 [running]:
golang.org/x/tools/gopls/internal/lsp/cache.(*action).exec.func6.1()
	/tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:1312 +0x233
panic({0x10143d400?, 0x101bee670?})
...
golang.org/x/tools/gopls/internal/lsp/cache.execActions.func1.1()
	/tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:1125 +0x36
sync.(*Once).doSlow(0xc00354f338?, 0x0?)
	/tmp/buildlet/go/src/sync/once.go:74 +0xc2
sync.(*Once).Do(...)
	/tmp/buildlet/go/src/sync/once.go:65
golang.org/x/tools/gopls/internal/lsp/cache.execActions.func1()
	/tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:1123 +0x7a
created by golang.org/x/tools/gopls/internal/lsp/cache.execActions in goroutine 15661
	/tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:1121 +0x45

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
post <- pkg == "golang.org/x/tools/gopls/internal/regtest/misc" && test == ""
2023-10-09 14:58 darwin-amd64-nocgo tools@5874869c go@262b8050 x/tools/gopls/internal/regtest/misc (log)
serve.go:443: debug server listening at http://localhost:49260
serve.go:443: debug server listening at http://localhost:49261
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
	panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x8 pc=0x60e4b1d]

goroutine 15061 [running]:
golang.org/x/tools/gopls/internal/lsp/cache.(*action).exec.func6.1()
	/tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:1312 +0x233
panic({0x6abeca0?, 0x726e560?})
...
golang.org/x/tools/gopls/internal/lsp/cache.execActions.func1.1()
	/tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:1125 +0x36
sync.(*Once).doSlow(0x0?, 0x0?)
	/tmp/buildlet/go/src/sync/once.go:74 +0xc2
sync.(*Once).Do(...)
	/tmp/buildlet/go/src/sync/once.go:65
golang.org/x/tools/gopls/internal/lsp/cache.execActions.func1()
	/tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:1123 +0x7a
created by golang.org/x/tools/gopls/internal/lsp/cache.execActions in goroutine 15021
	/tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:1121 +0x45

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
post <- pkg == "golang.org/x/tools/gopls/internal/regtest/misc" && test == ""
2023-10-09 14:58 netbsd-amd64-9_3 tools@5874869c go@ad9e6edf x/tools/gopls/internal/regtest/misc (log)
serve.go:443: debug server listening at http://localhost:65448
serve.go:443: debug server listening at http://localhost:65447
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
	panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x8 pc=0x871d5d]

goroutine 15419 [running]:
golang.org/x/tools/gopls/internal/lsp/cache.(*action).exec.func6.1()
	/tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:1312 +0x233
panic({0xf5df40?, 0x19ef4c0?})
...
golang.org/x/tools/gopls/internal/lsp/cache.execActions.func1.1()
	/tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:1125 +0x36
sync.(*Once).doSlow(0x100000000000000?, 0xc0009a84c0?)
	/tmp/workdir/go/src/sync/once.go:74 +0xc2
sync.(*Once).Do(...)
	/tmp/workdir/go/src/sync/once.go:65
golang.org/x/tools/gopls/internal/lsp/cache.execActions.func1()
	/tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:1123 +0x7a
created by golang.org/x/tools/gopls/internal/lsp/cache.execActions in goroutine 15379
	/tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:1121 +0x45

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
post <- pkg == "golang.org/x/tools/gopls/internal/regtest/misc" && test == ""
2023-10-09 14:58 aix-ppc64 tools@5874869c go@ede27fb4 x/tools/gopls/internal/regtest/misc (log)
serve.go:443: debug server listening at http://localhost:49634
serve.go:443: debug server listening at http://localhost:49635
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
	panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x33 addr=0x0 pc=0x1004a8d14]

goroutine 8654 [running]:
golang.org/x/tools/gopls/internal/lsp/cache.(*action).exec.func6.1()
	/ramdisk8GB/workdir-host-aix-ppc64-osuosl/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:1312 +0x298
panic({0x1100e2b10?, 0x11083c000?})
...
golang.org/x/tools/gopls/internal/lsp/cache.execActions.func1.1()
	/ramdisk8GB/workdir-host-aix-ppc64-osuosl/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:1125 +0x4c
sync.(*Once).doSlow(0x100082368?, 0x0?)
	/ramdisk8GB/workdir-host-aix-ppc64-osuosl/go/src/sync/once.go:74 +0x134
sync.(*Once).Do(...)
	/ramdisk8GB/workdir-host-aix-ppc64-osuosl/go/src/sync/once.go:65
golang.org/x/tools/gopls/internal/lsp/cache.execActions.func1()
	/ramdisk8GB/workdir-host-aix-ppc64-osuosl/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:1123 +0xa4
created by golang.org/x/tools/gopls/internal/lsp/cache.execActions in goroutine 8611
	/ramdisk8GB/workdir-host-aix-ppc64-osuosl/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:1121 +0x6c

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
post <- pkg == "golang.org/x/tools/gopls/internal/regtest/misc" && test == ""
2023-10-09 14:58 darwin-amd64-nocgo tools@5874869c go@778880b0 x/tools/gopls/internal/regtest/misc (log)
serve.go:443: debug server listening at http://localhost:49290
serve.go:443: debug server listening at http://localhost:49291
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
	panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x8 pc=0x36bad5d]

goroutine 14935 [running]:
golang.org/x/tools/gopls/internal/lsp/cache.(*action).exec.func6.1()
	/tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:1312 +0x233
panic({0x4094ca0?, 0x4844560?})
...
golang.org/x/tools/gopls/internal/lsp/cache.execActions.func1.1()
	/tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:1125 +0x36
sync.(*Once).doSlow(0x0?, 0x0?)
	/tmp/buildlet/go/src/sync/once.go:74 +0xc2
sync.(*Once).Do(...)
	/tmp/buildlet/go/src/sync/once.go:65
golang.org/x/tools/gopls/internal/lsp/cache.execActions.func1()
	/tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:1123 +0x7a
created by golang.org/x/tools/gopls/internal/lsp/cache.execActions in goroutine 14879
	/tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:1121 +0x45

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
post <- pkg == "golang.org/x/tools/gopls/internal/regtest/misc" && test == ""
2023-10-10 03:24 darwin-amd64-nocgo tools@f6d8589e go@26b5783b x/tools/gopls/internal/regtest/misc (log)
serve.go:443: debug server listening at http://localhost:49258
serve.go:443: debug server listening at http://localhost:49259
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
	panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x8 pc=0x14642fd]

goroutine 8545 [running]:
golang.org/x/tools/gopls/internal/lsp/cache.(*action).exec.func6.1()
	/tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:1312 +0x228
panic({0x1b3b040?, 0x25b74f0?})
...
golang.org/x/tools/gopls/internal/lsp/cache.execActions.func1.1()
	/tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:1125 +0x36
sync.(*Once).doSlow(0x10000c00c748270?, 0xc001036c00?)
	/tmp/buildlet/go/src/sync/once.go:74 +0xbf
sync.(*Once).Do(...)
	/tmp/buildlet/go/src/sync/once.go:65
golang.org/x/tools/gopls/internal/lsp/cache.execActions.func1()
	/tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:1123 +0x7a
created by golang.org/x/tools/gopls/internal/lsp/cache.execActions in goroutine 8505
	/tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:1121 +0x3e
2023-10-10 13:36 darwin-amd64-nocgo tools@fda3fe3a go@aa8e4c5e x/tools/gopls/internal/regtest/misc (log)
serve.go:443: debug server listening at http://localhost:49253
serve.go:443: debug server listening at http://localhost:49254
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
	panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x8 pc=0x4aa7b3d]

goroutine 8779 [running]:
golang.org/x/tools/gopls/internal/lsp/cache.(*action).exec.func6.1()
	/tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:1312 +0x233
panic({0x5481e40?, 0x5c32560?})
...
golang.org/x/tools/gopls/internal/lsp/cache.execActions.func1.1()
	/tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:1125 +0x36
sync.(*Once).doSlow(0x0?, 0x0?)
	/tmp/buildlet/go/src/sync/once.go:74 +0xc2
sync.(*Once).Do(...)
	/tmp/buildlet/go/src/sync/once.go:65
golang.org/x/tools/gopls/internal/lsp/cache.execActions.func1()
	/tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:1123 +0x7a
created by golang.org/x/tools/gopls/internal/lsp/cache.execActions in goroutine 8739
	/tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:1121 +0x45
2023-10-10 13:36 linux-arm64-race tools@fda3fe3a go@aa8e4c5e x/tools/gopls/internal/regtest/misc (log)
serve.go:443: debug server listening at http://localhost:33051
serve.go:443: debug server listening at http://localhost:36731
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
	panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x63c0e0]

goroutine 9002 [running]:
golang.org/x/tools/gopls/internal/lsp/cache.(*action).exec.func6.1()
	/tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:1312 +0x3c8
panic({0xf34e20?, 0x1b4e9a0?})
...
golang.org/x/tools/gopls/internal/lsp/cache.execActions.func1.1()
	/tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:1125 +0x5c
sync.(*Once).doSlow(0xc00060fc00, 0xc00ab0dfb0)
	/tmp/workdir/go/src/sync/once.go:74 +0xb8
sync.(*Once).Do(0xc00060fc00, 0xc00ab0dfb0)
	/tmp/workdir/go/src/sync/once.go:65 +0x44
golang.org/x/tools/gopls/internal/lsp/cache.execActions.func1()
	/tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:1123 +0x84
created by golang.org/x/tools/gopls/internal/lsp/cache.execActions in goroutine 8962
	/tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:1121 +0x60

watchflakes

@findleyr
Copy link
Contributor

These all look related to https://go.dev/cl/533615. CC @jba @adonovan

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
post <- pkg == "golang.org/x/tools/gopls/internal/regtest/misc" && test == ""
2023-10-10 13:36 darwin-amd64-nocgo tools@fda3fe3a go@aa8e4c5e x/tools/gopls/internal/regtest/misc (log)
serve.go:443: debug server listening at http://localhost:49255
serve.go:443: debug server listening at http://localhost:49256
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
	panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x8 pc=0xaa49b3d]

goroutine 15628 [running]:
golang.org/x/tools/gopls/internal/lsp/cache.(*action).exec.func6.1()
	/tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:1312 +0x233
panic({0xb423e40?, 0xbbd4560?})
...
golang.org/x/tools/gopls/internal/lsp/cache.execActions.func1.1()
	/tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:1125 +0x36
sync.(*Once).doSlow(0xc001a62401?, 0xc008644100?)
	/tmp/buildlet/go/src/sync/once.go:74 +0xc2
sync.(*Once).Do(...)
	/tmp/buildlet/go/src/sync/once.go:65
golang.org/x/tools/gopls/internal/lsp/cache.execActions.func1()
	/tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:1123 +0x7a
created by golang.org/x/tools/gopls/internal/lsp/cache.execActions in goroutine 15588
	/tmp/buildlet/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:1121 +0x45

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
post <- pkg == "golang.org/x/tools/gopls/internal/regtest/misc" && test == ""
2023-10-10 15:06 openbsd-386-72 tools@8954aa7a go@26b5783b x/tools/gopls/internal/regtest/misc (log)
serve.go:443: debug server listening at http://localhost:7369
serve.go:443: debug server listening at http://localhost:3104
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
	panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x4 pc=0x8480e96]

goroutine 7718 [running]:
golang.org/x/tools/gopls/internal/lsp/cache.(*action).exec.func6.1()
	/tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:1312 +0x1f3
panic({0x8b341e0, 0x949f4e0})
...
golang.org/x/tools/gopls/internal/lsp/cache.execActions.func1.1()
	/tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:1125 +0x3f
sync.(*Once).doSlow(0x6fb1f100, 0x76a807e0)
	/tmp/workdir/go/src/sync/once.go:74 +0xad
sync.(*Once).Do(0x6fb1f100, 0x76a807e0)
	/tmp/workdir/go/src/sync/once.go:65 +0x39
golang.org/x/tools/gopls/internal/lsp/cache.execActions.func1()
	/tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:1123 +0x86
created by golang.org/x/tools/gopls/internal/lsp/cache.execActions in goroutine 7598
	/tmp/workdir/gopath/src/golang.org/x/tools/gopls/internal/lsp/cache/analysis.go:1121 +0x3b

watchflakes

@findleyr
Copy link
Contributor

Closing as the bug in https://go.dev/cl/533615 has been fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
gopls Issues related to the Go language server, gopls. NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. Tools This label describes issues relating to any tools in the x/tools repository.
Projects
Status: Done
Development

No branches or pull requests

3 participants