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/fcgi: data race in request map #11552

Closed
mikioh opened this issue Jul 3, 2015 · 1 comment
Closed

net/http/fcgi: data race in request map #11552

mikioh opened this issue Jul 3, 2015 · 1 comment
Milestone

Comments

@mikioh
Copy link
Contributor

mikioh commented Jul 3, 2015

See http://build.golang.org/log/80058e5e364eadb202fd4d2a11df80f5ce102ecd

==================
WARNING: DATA RACE
Read by goroutine 13:
  runtime.mapiternext()
      /tmp/workdir/go/src/runtime/hashmap.go:621 +0x0
  net/http/fcgi.(*child).cleanUp()
      /tmp/workdir/go/src/net/http/fcgi/child.go:292 +0x136
  net/http/fcgi.(*child).serve()
      /tmp/workdir/go/src/net/http/fcgi/child.go:151 +0x156

Previous write by goroutine 14:
  runtime.mapdelete()
      /tmp/workdir/go/src/runtime/hashmap.go:511 +0x0
  net/http/fcgi.(*child).serveRequest()
      /tmp/workdir/go/src/net/http/fcgi/child.go:272 +0x605

Goroutine 13 (running) created at:
  net/http/fcgi.TestChildServeCleansUp()
      /tmp/workdir/go/src/net/http/fcgi/fcgi_test.go:252 +0x6e2
  testing.tRunner()
      /tmp/workdir/go/src/testing/testing.go:455 +0xdc

Goroutine 14 (finished) created at:
  net/http/fcgi.(*child).handleRecord()
      /tmp/workdir/go/src/net/http/fcgi/child.go:221 +0x14c6
  net/http/fcgi.(*child).serve()
      /tmp/workdir/go/src/net/http/fcgi/child.go:153 +0x17d
==================
Found 1 data race(s)
FAIL    net/http/fcgi   1.019s
@mikioh mikioh added this to the Go1.5 milestone Jul 3, 2015
@gopherbot
Copy link

CL https://golang.org/cl/11890 mentions this issue.

@golang golang locked and limited conversation to collaborators Jul 11, 2016
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

2 participants