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

net/http: TestTransportConcurrency crash #15740

mikioh opened this issue May 19, 2016 · 2 comments

net/http: TestTransportConcurrency crash #15740

mikioh opened this issue May 19, 2016 · 2 comments


Copy link

@mikioh mikioh commented May 19, 2016


ok      net 1.862s
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0xffffffff addr=0x0 pc=0xca834]

goroutine 5245 [running]:
panic(0x5504c0, 0x10e18030)
    /tmp/workdir/go/src/runtime/panic.go:500 +0x720
net/http.send(0x1187c200, 0xb51100, 0x12e7c420, 0x10e1a500, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
    /tmp/workdir/go/src/net/http/client.go:243 +0x414
net/http.(*Client).send(0x11ccd080, 0x1187c200, 0x0, 0x0, 0x0, 0x0, 0x11fa2088, 0x0, 0x0, 0x2)
    /tmp/workdir/go/src/net/http/client.go:146 +0x1a0
net/http.(*Client).doFollowingRedirects(0x11ccd080, 0x1187c200, 0xa0f8b4, 0x24, 0x0, 0x0, 0x0, 0x0)
    /tmp/workdir/go/src/net/http/client.go:528 +0xd80
net/http.(*Client).Get(0x11ccd080, 0x12e160f0, 0x24, 0x5909ed, 0x7, 0x0, 0x0, 0x12cf1740)
    /tmp/workdir/go/src/net/http/client.go:418 +0xc0
net/http_test.TestTransportConcurrency.func3(0x11ffb600, 0x11ccd080, 0x11ffb5c0, 0x11acb080, 0x11fedf00, 0xa0f99c)
    /tmp/workdir/go/src/net/http/transport_test.go:1282 +0x140
created by net/http_test.TestTransportConcurrency
    /tmp/workdir/go/src/net/http/transport_test.go:1300 +0x500
FAIL    net/http    13.477s
@mikioh mikioh added this to the Go1.7 milestone May 19, 2016
Copy link

@bradfitz bradfitz commented May 19, 2016

Is this reproducible? I've never seen this.

Copy link

@bradfitz bradfitz commented May 20, 2016

I ran the test 500 times in both normal and race mode (which does random goroutine scheduling) and can't reproduce.

Closing until there's more to go on.

@bradfitz bradfitz closed this May 20, 2016
@golang golang locked and limited conversation to collaborators May 20, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.