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

runtime: unexpected return pc for runtime.sigpanic called on go1.17-devel darwin #46645

Closed
meling opened this issue Jun 8, 2021 · 3 comments
Closed

Comments

@meling
Copy link

@meling meling commented Jun 8, 2021

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

$ go version
go version devel go1.17-c20bcb6488 Tue Jun 8 05:02:19 2021 +0000 darwin/amd64

Does this issue reproduce with the latest release?

No, only devel (tip).

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

go env Output
$ go env
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/meling/Library/Caches/go-build"
GOENV="/Users/meling/Library/Application Support/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOINSECURE=""
GOMODCACHE="/Users/meling/go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="darwin"
GOPATH="/Users/meling/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/Cellar/go/HEAD-c20bcb6/libexec"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/Cellar/go/HEAD-c20bcb6/libexec/pkg/tool/darwin_amd64"
GOVCS=""
GOVERSION="devel go1.17-c20bcb6488 Tue Jun 8 05:02:19 2021 +0000"
GCCGO="gccgo"
AR="ar"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD="/Users/meling/work/quickfeed/go.mod"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -arch x86_64 -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/qf/stfl1sbn3p9939ylh7v1fm680000gn/T/go-build3142141964=/tmp/go-build -gno-record-gcc-switches -fno-common"

What did you do?

Ran make test on my quickfeed project. This works fine with go1.16.4.

What did you expect to see?

That the tests pass without the failure below.

What did you see instead?

See bug.txt.
This problem has persisted for 3-6 weeks (don't recall exactly when I first saw this problem).
I don't know where to start debugging this if this is a compatibility problem with my dependencies.
It appears to be limited to the code and tests in the web and web/auth packages, but several of the tests I tried to run individually fail too. Hence, I suspect it is one of the dependencies that is loaded in these packages that are not loaded in other parts of the codebase.

@cherrymui
Copy link
Contributor

@cherrymui cherrymui commented Jun 8, 2021

What version of golang.org/x/sys are you using? Could you try updating that? We recently made a fix in the x/sys repo. Thanks.

Loading

@meling
Copy link
Author

@meling meling commented Jun 17, 2021

Upgrading golang.org/x/sys fixed the problem:

go get: upgraded golang.org/x/sys v0.0.0-20210119212857-b64e53b001e4 => v0.0.0-20210616094352-59db8d763f22

Thanks!

Loading

@meling meling closed this Jun 17, 2021
@cherrymui
Copy link
Contributor

@cherrymui cherrymui commented Jun 17, 2021

Thanks for confirming.

Loading

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants