Skip to content

Data race in pkg/archive/zip/reader_test.go #2590

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

Closed
gopherbot opened this issue Dec 20, 2011 · 1 comment
Closed

Data race in pkg/archive/zip/reader_test.go #2590

gopherbot opened this issue Dec 20, 2011 · 1 comment

Comments

@gopherbot
Copy link
Contributor

by [email protected]:

Tests in $GOROOT/src/pkg/archive/zip produce the following report when run with
ThreadSanitizer (http://code.google.com/p/data-race-test):

==22413== WARNING: Possible data race during read of size 1 at 0xf8400563d0: {{{
==22413==    T2 (L{}):
==22413==     #0  archive/zip._func_002 ~/go/src/pkg/archive/zip/reader_test.go:167
==22413==     #1  runtime.goexit ~/go/src/pkg/runtime/proc.c:266
==22413==   Concurrent write(s) happened at (OR AFTER) these points:
==22413==    T1 (L{}):
==22413==     #0  archive/zip.readTestZip ~/go/src/pkg/archive/zip/reader_test.go:165
==22413==     #1  archive/zip.TestReader ~/go/src/pkg/archive/zip/reader_test.go:122
==22413==     #2  testing.tRunner ~/go/src/pkg/testing/testing.go:189
==22413==     #3  runtime.goexit ~/go/src/pkg/runtime/proc.c:266
==22413==    Race verifier data: 0x42083d,0x41d073
==22413== }}}


linux amd64
6g version weekly.2011-12-14 10968
@dvyukov
Copy link
Member

dvyukov commented Dec 20, 2011

Comment 1:

Fixed in
http://code.google.com/p/go/source/detail?r=ab010ea28439

Labels changed: added threadsanitizer, removed priority-triage.

Status changed to Fixed.

@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

2 participants