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
net/http: [signal SIGSEGV: segmentation violation code=0x1] invalid memory address or nil pointer dereference #62133
Comments
how do we reproduce this? I don't think there's sufficient information for us to do anything with this report? |
I've browsed the source code which raised a panic by backtracing your stack message but it seemed unlikely to cause a panic of "invalid memory address or nil pointer dereference" there, I'm afraid that we need more info here, a reproducible code example would be the best, if not, at least share more details and context info at the time. |
|
I am sorry that I have not checked the reply for a long time. This is an accidental error in the production system. I am sorry that I cannot provide the fault recurrence code.but today again:
Used a self-signed security certificate,There are a lot of the following logs:
and
|
go v1.20.8 same error |
Two new anomalies. I don't know if they'll help(go version go1.20.8 linux/arm64):
and
|
Timed out in state WaitingForInfo. Closing. (I am just a bot, though. Please speak up if this is a mistake or you have the requested information.) |
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
What did you expect to see?
What did you see instead?
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x4f pc=0x46cc48]
goroutine 53571406 [running]:
internal/poll.runtime_pollSetDeadline(0x4f, 0x12a05f002, 0x77)
/home/huawel/go/src/runtime/netpoll.go:328 +0x28
internal/poll.setDeadlineImpl(0x403e945380, {0x470580?, 0x0?, 0x3c6dec0?}, 0x400484f988?)
/home/huawel/go/src/internal/poll/fd_poll_runtime.go:161 +0x1a8
internal/poll.(*FD).SetWriteDeadline(...)
/home/huawel/go/src/internal/poll/fd_poll_runtime.go:143
net.(*netFD).SetWriteDeadline(...)
/home/huawel/go/src/net/fd_posix.go:146
net.(*conn).SetWriteDeadline(0x405aeee678, {0x63d534?, 0x400484f988?, 0x3c6dec0?})
/home/huawel/go/src/net/net.go:261 +0x3c
crypto/tls.(*Conn).SetWriteDeadline(...)
/home/huawel/go/src/crypto/tls/conn.go:153
crypto/tls.(*Conn).closeNotify(0x4021a9d500)
/home/huawel/go/src/crypto/tls/conn.go:1400 +0x104
crypto/tls.(*Conn).Close(0x4021a9d500)
/home/huawel/go/src/crypto/tls/conn.go:1370 +0x8c
net/http.(*conn).close(0x4027d76360)
/home/huawel/go/src/net/http/server.go:1734 +0x34
net/http.(*conn).serve.func1()
/home/huawel/go/src/net/http/server.go:1865 +0x198
net/http.(*conn).serve(0x4027d76360, {0x245d140, 0x4001426420})
/home/huawel/go/src/net/http/server.go:2031 +0x654
created by net/http.(*Server).Serve
/home/huawel/go/src/net/http/server.go:3089 +0x4e8
The text was updated successfully, but these errors were encountered: