Skip to content

runtime: TestGdbCoreSignalBacktrace fails when run outside of all.bash #61487

@siebenmann

Description

@siebenmann

What version of Go are you using (go version)?

This is the current git tip:

$ go version
go version devel go1.22-57e2eb64eb Thu Jul 20 20:54:38 2023 +0000 linux/amd64

Does this issue reproduce with the latest release?

No. This doesn't happen with a 'git checkout go1.20.6', building that Go, and then running go test -short std cmd.

What operating system and processor architecture are you using (go env)?

go env Output
$ go env
GO111MODULE=''
GOARCH='amd64'
GOBIN=''
GOCACHE='/home/cks/.cache/go-build'
GOENV='/home/cks/.config/go/env'
GOEXE=''
GOEXPERIMENT=''
GOFLAGS=''
GOHOSTARCH='amd64'
GOHOSTOS='linux'
GOINSECURE=''
GOMODCACHE='/home/cks/go/pkg/mod'
GONOPROXY=''
GONOSUMDB=''
GOOS='linux'
GOPATH='/home/cks/go'
GOPRIVATE=''
GOPROXY='https://proxy.golang.org,direct'
GOROOT='/w/620/cks/go'
GOSUMDB='sum.golang.org'
GOTMPDIR=''
GOTOOLCHAIN='auto'
GOTOOLDIR='/w/620/cks/go/pkg/tool/linux_amd64'
GOVCS=''
GOVERSION='devel go1.22-57e2eb64eb Thu Jul 20 20:54:38 2023 +0000'
GCCGO='gccgo'
GOAMD64='v1'
AR='ar'
CC='gcc'
CXX='g++'
CGO_ENABLED='1'
GOMOD='/w/620/cks/go/src/go.mod'
GOWORK=''
CGO_CFLAGS='-O2 -g'
CGO_CPPFLAGS=''
CGO_CXXFLAGS='-O2 -g'
CGO_FFLAGS='-O2 -g'
CGO_LDFLAGS='-O2 -g'
PKG_CONFIG='pkg-config'
GOGCCFLAGS='-fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=/tmp/go-build1776540564=/tmp/go-build -gno-record-gcc-switches'

This is on an up to date Ubuntu 22.04 LTS Linux server, on amd64.

What did you do?

In a git tip clone, run ./all.bash, which will succeed. Then run go test -short std cmd, which will report various things and eventually a FAIL for TestGdbCoreSignalBacktrace, although it will print a bunch of ?s and other things that may be the sign of additional problems. I'm attaching the full 'go test' output rather than trying to cut it down but omit something that turns out to matter.

go-test-out.txt

This may be somehow related to #61484.

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrozenDueToAgeNeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.compiler/runtimeIssues related to the Go compiler and/or runtime.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions