Skip to content

net/http: panic: runtime error: index out of range #15145

Closed
@alexbrainman

Description

@alexbrainman

Just seen on windows-amd64-race builder http://build.golang.org/log/81d3f339f9c1248dcbd80defc911b338d61c4118

ok      net 30.538s
panic: runtime error: index out of range

goroutine 2528 [running]:
panic(0x8d2140, 0xc0820060e0)
    C:/workdir/go/src/runtime/panic.go:500 +0x1a6
net/http_test.(*rwTestConn).RemoteAddr(0xc0820ee420, 0xb500e0, 0xc0823ca000)
    <autogenerated>:113 +0x9c
net/http.(*conn).serve(0xc0823ce200)
    C:/workdir/go/src/net/http/server.go:1388 +0x74
created by net/http.(*Server).Serve
    C:/workdir/go/src/net/http/server.go:2146 +0x3f9
FAIL    net/http    12.205s
ok      net/http/cgi    6.434s

I am not sure what to do here. But I am also confused about <autogenerated>:113 in stack trace. I wonder what happened here. Am I missing something?

Alex

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions