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

log/syslog: data race on crashy in test #5894

Closed
dvyukov opened this issue Jul 16, 2013 · 3 comments
Closed

log/syslog: data race on crashy in test #5894

dvyukov opened this issue Jul 16, 2013 · 3 comments
Milestone

Comments

@dvyukov
Copy link
Member

dvyukov commented Jul 16, 2013

17284:8b5ccd3ec19a tip
$ go test -race -short -cpu=1,8 std
sometimes reports:

WARNING: DATA RACE
Write by goroutine 7:
  log/syslog.TestConcurrentReconnect()
      src/pkg/log/syslog/syslog_test.go:297 +0x68
  testing.tRunner()
      src/pkg/testing/testing.go:360 +0x10e

Previous read by goroutine 50:
  log/syslog.func·001()
      src/pkg/log/syslog/syslog_test.go:61 +0x129

Goroutine 7 (running) created at:
  testing.RunTests()
      src/pkg/testing/testing.go:440 +0xaf1
  testing.Main()
      src/pkg/testing/testing.go:372 +0xad
  main.main()
      log/syslog/_test/_testmain.go:61 +0xdc

Goroutine 50 (finished) created at:
  log/syslog.runStreamSyslog()
      src/pkg/log/syslog/syslog_test.go:69 +0x152
  log/syslog.func·003()
      src/pkg/log/syslog/syslog_test.go:113 +0xc2
@davecheney
Copy link
Contributor

Comment 1:

This package makes me miserable.

@rsc
Copy link
Contributor

rsc commented Jul 30, 2013

Comment 2:

Labels changed: added go1.2maybe.

Status changed to Accepted.

@rsc
Copy link
Contributor

rsc commented Sep 9, 2013

Comment 3:

This issue was closed by revision 1b65155.

Status changed to Fixed.

@rsc rsc added this to the Go1.2 milestone Apr 14, 2015
@rsc rsc removed the go1.2maybe label Apr 14, 2015
@golang golang locked and limited conversation to collaborators Jun 24, 2016
This issue was closed.
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

4 participants