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

segmentation violation #16987

Closed
bronze1man opened this issue Sep 4, 2016 · 3 comments
Closed

segmentation violation #16987

bronze1man opened this issue Sep 4, 2016 · 3 comments

Comments

@bronze1man
Copy link
Contributor

bronze1man commented Sep 4, 2016

Please answer these questions before submitting your issue. Thanks!

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

go version go1.7 linux/amd64

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

# go env
GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH=""
GORACE=""
GOROOT="/usr/local/go"
GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64"
CC="gcc"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build548111168=/tmp/go-build -gno-record-gcc-switches"
CXX="g++"
CGO_ENABLED="1"
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x6515ef]

goroutine 27407223 [running]:
panic(0xa3ff60, 0xc420010060)
    /usr/local/go/src/runtime/panic.go:500 +0x1a1
net/http.(*persistConn).closeConnIfStillIdle(0xc420272400)
    /usr/local/go/src/net/http/transport.go:1311 +0x2f
net/http.(*persistConn).(net/http.closeConnIfStillIdle)-fm()
    /usr/local/go/src/net/http/transport.go:683 +0x2a
created by time.goFunc
    /usr/local/go/src/time/sleep.go:154 +0x44
@bronze1man
Copy link
Contributor Author

bronze1man commented Sep 4, 2016

This stuff happened randomly.
It looks like #16208 but the line of code is not the same.
When will go1.7.1 release?

@bronze1man bronze1man reopened this Sep 4, 2016
@bradfitz
Copy link
Contributor

bradfitz commented Sep 4, 2016

This is a dup of #16208. Go 1.7.1 will come soon. It was supposed to be last week.

@quentinmit
Copy link
Contributor

Closing as dupe. Please watch for Go 1.7.1.

@golang golang locked and limited conversation to collaborators Sep 6, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants