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

runtime: data race in BenchmarkChanPopular #11014

Closed
mikioh opened this issue Jun 1, 2015 · 1 comment
Closed

runtime: data race in BenchmarkChanPopular #11014

mikioh opened this issue Jun 1, 2015 · 1 comment
Milestone

Comments

@mikioh
Copy link
Contributor

mikioh commented Jun 1, 2015

See http://build.golang.org/log/41cf112ce32f9d0ab6e3680867fc0569099cea3f.

==================
WARNING: DATA RACE
Write by goroutine 83:
  testing.(*B).runN()
      C:/workdir/go/src/testing/benchmark.go:120 +0x83
  testing.(*B).launch()
      C:/workdir/go/src/testing/benchmark.go:216 +0x1c1

Previous read by goroutine 1055:
  runtime_test.BenchmarkChanPopular.func1()
      C:/workdir/go/src/runtime/chan_test.go:905 +0x58

Goroutine 83 (running) created at:
  testing.(*B).run()
      C:/workdir/go/src/testing/benchmark.go:179 +0x6b
  testing.RunBenchmarks()
      C:/workdir/go/src/testing/benchmark.go:332 +0xa19
  testing.(*M).Run()
      C:/workdir/go/src/testing/testing.go:501 +0x2a6
  main.main()
      runtime/_test/_testmain.go:850 +0x219

Goroutine 1055 (finished) created at:
  runtime_test.BenchmarkChanPopular()
      C:/workdir/go/src/runtime/chan_test.go:911 +0x1e7
  testing.(*B).runN()
      C:/workdir/go/src/testing/benchmark.go:124 +0xf9
  testing.(*B).launch()
      C:/workdir/go/src/testing/benchmark.go:199 +0x86
==================
@gopherbot
Copy link
Contributor

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

@mikioh mikioh closed this as completed in 1fa0a8c Jun 2, 2015
@mikioh mikioh added this to the Go1.5 milestone Jun 2, 2015
@golang golang locked and limited conversation to collaborators Jun 25, 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