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/trace: data race in TestTraceStressStartStop #10380

Closed
bradfitz opened this issue Apr 8, 2015 · 0 comments
Closed

runtime/trace: data race in TestTraceStressStartStop #10380

bradfitz opened this issue Apr 8, 2015 · 0 comments
Milestone

Comments

@bradfitz
Copy link
Contributor

bradfitz commented Apr 8, 2015

A trybot testing a commit (one affecting only Plan 9 atop a173357) failed with:

https://storage.googleapis.com/go-build-log/a59db809/linux-amd64-race_46317624.log

...
ok      regexp/syntax   5.239s
ok      runtime 48.389s
?       runtime/cgo [no test files]
ok      runtime/debug   1.023s
==================
WARNING: DATA RACE
Write by goroutine 81:
  runtime/pprof_test.TestTraceStressStartStop.func1.5()
      /tmp/buildlet-scatch129465162/go/src/runtime/pprof/trace_test.go:263 +0x118

Previous write by goroutine 62:
  runtime/pprof_test.TestTraceStress.func4()
      /tmp/buildlet-scatch129465162/go/src/runtime/pprof/trace_test.go:130 +0x118

Goroutine 81 (running) created at:
  runtime/pprof_test.TestTraceStressStartStop.func1()
      /tmp/buildlet-scatch129465162/go/src/runtime/pprof/trace_test.go:272 +0x2f2

Goroutine 62 (finished) created at:
  runtime/pprof_test.TestTraceStress()
      /tmp/buildlet-scatch129465162/go/src/runtime/pprof/trace_test.go:139 +0x490
  testing.tRunner()
      /tmp/buildlet-scatch129465162/go/src/testing/testing.go:452 +0xfc
==================
PASS
Found 1 data race(s)
FAIL    runtime/pprof   19.219s
ok      runtime/race    13.242s
ok      sort    2.003s
ok      strconv 4.902s
ok      strings 2.514s
...
@bradfitz bradfitz added this to the Go1.5 milestone Apr 8, 2015
@mikioh mikioh changed the title runtime/pprof: data race in TestTraceStressStartStop runtime/trace: data race in TestTraceStressStartStop Jul 31, 2015
@golang golang locked and limited conversation to collaborators Aug 5, 2016
@rsc rsc unassigned dvyukov Jun 23, 2022
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