Closed
Description
With go version go1.5beta1 on linux/amd64, I see the following crash in an http server that serves short-lived requests. The process is stable with go1.4.1.
The appearance of 0xdeaddeaddeaddead
makes me suspicious of memory corruption in the runtime. (@rsc)
unexpected fault address 0x0
fatal error: fault
[signal 0xb code=0x80 addr=0x0 pc=0x411393]
goroutine 727961 [running]:
runtime.throw(0xa45e70, 0x5)
/usr/local/go/src/runtime/panic.go:527 +0x96 fp=0xc82027dcf8 sp=0xc82027dce0
runtime.sigpanic()
/usr/local/go/src/runtime/sigpanic_unix.go:27 +0x2ab fp=0xc82027dd48 sp=0xc82027dcf8
runtime.assertI2T2(0x9ba380, 0xdeaddeaddeaddead, 0x0, 0xc82027de38, 0x8)
/usr/local/go/src/runtime/iface.go:201 +0x33 fp=0xc82027dd68 sp=0xc82027dd48
redacted(0x0, 0x0)
/redacted.go:30 +0x11c fp=0xc82027de58 sp=0xc82027dd68
redacted(0xc821b2f5e0, 0xc820057b00, 0xecd2ffd34, 0x32c0c225, 0xd42120, 0x0, 0xc82187bec0, 0xc820877aa0, 0xc82025e370, 0xc82187be60, ...)
/redacted.go:87 +0x287 fp=0xc82027df40 sp=0xc82027de58
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc82027df48 sp=0xc82027df40
created by redacted
/redacted.go:107 +0x252
goroutine 1 [IO wait]:
net.runtime_pollWait(0x7f61dc9381d8, 0x72, 0xc820012130)
/usr/local/go/src/runtime/netpoll.go:157 +0x60
net.(*pollDesc).Wait(0xc8201af1e0, 0x72, 0x0, 0x0)
/usr/local/go/src/net/fd_poll_runtime.go:73 +0x3a
net.(*pollDesc).WaitRead(0xc8201af1e0, 0x0, 0x0)
/usr/local/go/src/net/fd_poll_runtime.go:78 +0x36
net.(*netFD).accept(0xc8201af180, 0x0, 0x7f61de7807f0, 0xc821962080)
/usr/local/go/src/net/fd_unix.go:408 +0x27c
net.(*TCPListener).AcceptTCP(0xc8200c80f0, 0xc8203b0090, 0x0, 0x0)
/usr/local/go/src/net/tcpsock_posix.go:249 +0x4d
net.(*TCPListener).Accept(0xc8200c80f0, 0x0, 0x0, 0x0, 0x0)
/usr/local/go/src/net/tcpsock_posix.go:259 +0x3d
redacted(0x7f61de780738, 0xc8200c80f0, 0x0, 0x0, 0x0, 0x0)
/redacted.go:26 +0x53
redacted(0xc8201fb330, 0x0, 0x0, 0x0, 0x0)
<autogenerated>:3 +0xb0
net/http.(*Server).Serve(0xc820220480, 0x7f61dc93d868, 0xc8201fb330, 0x0, 0x0)
/usr/local/go/src/net/http/server.go:1820 +0xb3
redacted(0xc820220420, 0x7f61dc93d868, 0xc8201fb330, 0x0, 0x0)
/redacted.go:32 +0x1a7
redacted(0x7f61de780738, 0xc8200c80f0, 0x7f61dc93d840, 0xc8201b5380, 0x0, 0x0)
/redacted.go:99 +0x85
main.main()
/redacted.go:147 +0x12ea
[snip]