Skip to content

import/path: issue title #71265

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

Closed
Wangdaen opened this issue Jan 14, 2025 · 2 comments
Closed

import/path: issue title #71265

Wangdaen opened this issue Jan 14, 2025 · 2 comments
Labels
BugReport Issues describing a possible bug in the Go implementation.

Comments

@Wangdaen
Copy link

Go version

go version go1.23.4 linux/amd64

Output of go env in your module/workspace:

GO111MODULE='on'
GOARCH='amd64'
GOBIN=''
GOCACHE='/root/.cache/go-build'
GOENV='/root/.config/go/env'
GOEXE=''
GOEXPERIMENT=''
GOFLAGS=''
GOHOSTARCH='amd64'
GOHOSTOS='linux'
GOINSECURE=''
GOMODCACHE='/root/go/pkg/mod'
GONOPROXY='git-biz.qianxin-inc.cn'
GONOSUMDB='git-biz.qianxin-inc.cn'
GOOS='linux'
GOPATH='/root/go'
GOPRIVATE=''
GOPROXY='https://goproxy.cn,direct'
GOROOT='/root/.g/go'
GOSUMDB='sum.golang.org'
GOTMPDIR=''
GOTOOLCHAIN='auto'
GOTOOLDIR='/root/.g/go/pkg/tool/linux_amd64'
GOVCS=''
GOVERSION='go1.23.4'
GODEBUG=''
GOTELEMETRY='local'
GOTELEMETRYDIR='/root/.config/go/telemetry'
GCCGO='gccgo'
GOAMD64='v1'
AR='ar'
CC='gcc'
CXX='g++'
CGO_ENABLED='1'
GOMOD='/mnt/d/pwnzen/fanzha/src/warden/app/cms/go.mod'
GOWORK='/mnt/d/pwnzen/fanzha/src/warden/go.work'
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 -fdebug-prefix-map=/tmp/go-build1401895487=/tmp/go-build -gno-record-gcc-switches'

What did you do?

In Go version 1.23.4, I have observed that accessing a nil pointer to a struct object does not trigger a runtime panic as expected; instead, the process hangs indefinitely without throwing an error. The program logic and flow appear to be correct, but whenever I try to access a property or invoke a method on a nil struct pointer, the program unexpectedly hangs and becomes unresponsive.

What did you see happen?

程序无限挂起

What did you expect to see?

访问空指针应该panic

@gabyhelp gabyhelp added the BugReport Issues describing a possible bug in the Go implementation. label Jan 14, 2025
@seankhliao
Copy link
Member

this is most likely something to do with your environment. without more detail to reproduce it, I don't think this is an actionable report.

@seankhliao seankhliao closed this as not planned Won't fix, can't repro, duplicate, stale Jan 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BugReport Issues describing a possible bug in the Go implementation.
Projects
None yet
Development

No branches or pull requests

3 participants