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

cmd/go: data race on cgoLibGccFile #4426

Closed
dvyukov opened this issue Nov 23, 2012 · 1 comment
Closed

cmd/go: data race on cgoLibGccFile #4426

dvyukov opened this issue Nov 23, 2012 · 1 comment
Milestone

Comments

@dvyukov
Copy link
Member

dvyukov commented Nov 23, 2012

14937:f2755950769b tip

$ go install -race cmd/go
$ go test -race -run=none -short -bench=none std

may be required to run several times with bumped GOMAXPROCS.

WARNING: DATA RACE
Write by goroutine 20:
  main.(*builder).cgo()
      src/cmd/go/build.go:1639 +0x317b
  main.(*builder).build()
      src/cmd/go/build.go:688 +0xbdd
  main.func·004()
      src/cmd/go/build.go:570 +0x4bd
  main.func·005()
      src/cmd/go/build.go:619 +0x122

Previous write by goroutine 18:
  main.(*builder).cgo()
      src/cmd/go/build.go:1639 +0x317b
  main.(*builder).build()
      src/cmd/go/build.go:688 +0xbdd
  main.func·004()
      src/cmd/go/build.go:570 +0x4bd
  main.func·005()
      src/cmd/go/build.go:619 +0x122

Goroutine 20 (running) created at:
  main.(*builder).do()
      src/cmd/go/build.go:621 +0x679
  main.runTest()
      src/cmd/go/test.go:385 +0x27ff
  main.main()
      src/cmd/go/main.go:148 +0x786
  runtime.main()
      src/pkg/runtime/proc.c:248 +0x91

Goroutine 18 (running) created at:
  main.(*builder).do()
      src/cmd/go/build.go:621 +0x679
  main.runTest()
      src/cmd/go/test.go:385 +0x27ff
  main.main()
      src/cmd/go/main.go:148 +0x786
  runtime.main()
      src/pkg/runtime/proc.c:248 +0x91
@minux
Copy link
Member

minux commented Nov 23, 2012

Comment 1:

This issue was closed by revision 7171f53.

Status changed to Fixed.

@rsc rsc added this to the Go1.1 milestone Apr 14, 2015
@rsc rsc removed the go1.1 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