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: send on closed channel #13933

Closed
karmeye opened this issue Jan 13, 2016 · 1 comment
Closed

net/http: send on closed channel #13933

karmeye opened this issue Jan 13, 2016 · 1 comment

Comments

@karmeye
Copy link

karmeye commented Jan 13, 2016

Using latest code in the master branch (771da53)

Got this when connecting to db (with race detector on)

2016/01/13 09:46:20 http2: panic serving 127.0.0.1:54807: send on closed channel
goroutine 2329 [running]:
net/http.(*http2serverConn).runHandler.func1(0xc825287f4f, 0xc820188280, 0xc8201430d0)
    /usr/local/go/src/net/http/h2_bundle.go:3737 +0xde
database/sql.(*DB).putConnDBLocked(0xc8200ca210, 0xc82005c230, 0x0, 0x0, 0xc8265422a0)
    /usr/local/go/src/database/sql/sql.go:940 +0x30d
database/sql.(*DB).putConn(0xc8200ca210, 0xc82005c230, 0x0, 0x0)
    /usr/local/go/src/database/sql/sql.go:906 +0x2f0
database/sql.(*DB).prepare(0xc8200ca210, 0x658a40, 0x46, 0x1, 0x1c4, 0x0, 0x0)
    /usr/local/go/src/database/sql/sql.go:1000 +0x41b
database/sql.(*DB).Prepare(0xc8200ca210, 0x658a40, 0x46, 0x11400, 0x0, 0x0)
    /usr/local/go/src/database/sql/sql.go:964 +0x87

Related to #13924 ?

@bradfitz
Copy link
Contributor

Yes, duplicate.

@golang golang locked and limited conversation to collaborators Jan 13, 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

3 participants