Skip to content

cmd/go: SEGV causes flaky gopls test #77241

Description

@gopherbot
#!watchflakes
default <- pkg == "golang.org/x/tools/gopls/internal/test/integration/misc" && test == "TestRenameWithUnsafeSlice/default"

Issue created automatically to collect these failures.

Example (log):

=== RUN   TestRenameWithUnsafeSlice/default
goroutine profile: total 10
2 @ 0x10427edec 0x104241180 0x10427dff0 0x1042dd2b8 0x1042e2bec 0x1042e2bd1 0x10452d088 0x104549b50 0x104548498 0x104c6e8f4 0x10516d428 0x10516d371 0x104287414
#	0x10427dfef	internal/poll.runtime_pollWait+0x9f					/Users/swarming/.swarming/w/ir/x/w/goroot/src/runtime/netpoll.go:351
#	0x1042dd2b7	internal/poll.(*pollDesc).wait+0xb7					/Users/swarming/.swarming/w/ir/x/w/goroot/src/internal/poll/fd_poll_runtime.go:84
#	0x1042e2beb	internal/poll.(*pollDesc).waitRead+0x35b				/Users/swarming/.swarming/w/ir/x/w/goroot/src/internal/poll/fd_poll_runtime.go:89
#	0x1042e2bd0	internal/poll.(*FD).Accept+0x340					/Users/swarming/.swarming/w/ir/x/w/goroot/src/internal/poll/fd_unix.go:613
#	0x10452d087	net.(*netFD).accept+0x37						/Users/swarming/.swarming/w/ir/x/w/goroot/src/net/fd_unix.go:150
#	0x104549b4f	net.(*TCPListener).accept+0x3f						/Users/swarming/.swarming/w/ir/x/w/goroot/src/net/tcpsock_posix.go:159
#	0x104548497	net.(*TCPListener).Accept+0x67						/Users/swarming/.swarming/w/ir/x/w/goroot/src/net/tcpsock.go:387
...

1 @ 0x10427edec 0x10426bd70 0x104381f58 0x104287414
#	0x104381f57	runtime/trace.(*traceMultiplexer).startLocked.func1+0xb7	/Users/swarming/.swarming/w/ir/x/w/goroot/src/runtime/trace/subscribe.go:167

1 @ 0x10427edec 0x1042835e0 0x104e38960 0x104287414
#	0x1042835df	time.Sleep+0x14f					/Users/swarming/.swarming/w/ir/x/w/goroot/src/runtime/time.go:363
#	0x104e3895f	golang.org/x/tools/gopls/internal/filecache.gc+0x13f	/Users/swarming/.swarming/w/ir/x/w/targetrepo3574310271/gopls/internal/filecache/filecache.go:457

    runner.go:198: closing the sandbox: error(s) cleaning sandbox: cleaning modcache: go command failed (stdout: ) (stderr: ): signal: segmentation fault; removing files: <nil>
--- FAIL: TestRenameWithUnsafeSlice/default (0.21s)

watchflakes

Metadata

Metadata

Assignees

No one assigned

    Labels

    GoCommandcmd/goNeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.ToolsThis label describes issues relating to any tools in the x/tools repository.goplsIssues related to the Go language server, gopls.

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    Status
    Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions