-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
transport: data race between http2Client.operateHeaders() and Stream.BytesReceived() #1316
Comments
Thanks for reporting, we'll have a fix out soon.
…On Fri, Jun 16, 2017 at 12:34 PM, Anthony Romano ***@***.***> wrote:
What version of gRPC are you using?
1.4.1
What version of Go are you using (go version)?
1.8.3
What operating system (Linux, Windows, …) and version?
Ubuntu Linux 16.10
What did you do?
Ran the etcd proxy tests:
PASSES=grpcproxy ./test
What did you expect to see?
No data races from grpc.
What did you see instead?
WARNING: DATA RACE
Write at 0x00c425b38ff1 by goroutine 2016:
google.golang.org/grpc/transport.(*http2Client).operateHeaders()
/home/jenkins/workspace/etcd-proxy/gopath/src/google.golang.org/grpc/transport/http2_client.go:1027 +0x93
google.golang.org/grpc/transport.(*http2Client).reader()
/home/jenkins/workspace/etcd-proxy/gopath/src/google.golang.org/grpc/transport/http2_client.go:1142 +0x8f8
Previous read at 0x00c425b38ff1 by goroutine 795:
google.golang.org/grpc/transport.(*Stream).BytesReceived()
/home/jenkins/workspace/etcd-proxy/gopath/src/google.golang.org/grpc/transport/transport.go:377 +0x91
google.golang.org/grpc.(*clientStream).finish()
/home/jenkins/workspace/etcd-proxy/gopath/src/google.golang.org/grpc/stream.go:492 +0x8d1
google.golang.org/grpc.newClientStream.func3()
/home/jenkins/workspace/etcd-proxy/gopath/src/google.golang.org/grpc/stream.go:254 +0x209
Goroutine 2016 (running) created at:
google.golang.org/grpc/transport.newHTTP2Client()
/home/jenkins/workspace/etcd-proxy/gopath/src/google.golang.org/grpc/transport/http2_client.go:267 +0x12ec
google.golang.org/grpc/transport.NewClientTransport()
/home/jenkins/workspace/etcd-proxy/gopath/src/google.golang.org/grpc/transport/transport.go:463 +0xbe
google.golang.org/grpc.(*addrConn).resetTransport()
/home/jenkins/workspace/etcd-proxy/gopath/src/google.golang.org/grpc/clientconn.go:876 +0x414
google.golang.org/grpc.(*ClientConn).resetAddrConn.func1()
/home/jenkins/workspace/etcd-proxy/gopath/src/google.golang.org/grpc/clientconn.go:648 +0x41
Goroutine 795 (running) created at:
google.golang.org/grpc.newClientStream()
/home/jenkins/workspace/etcd-proxy/gopath/src/google.golang.org/grpc/stream.go:269 +0x1703
google.golang.org/grpc.NewClientStream()
/home/jenkins/workspace/etcd-proxy/gopath/src/google.golang.org/grpc/stream.go:105 +0x1fc
github.com/coreos/etcd/etcdserver/etcdserverpb.(*watchClient).Watch()
/home/jenkins/workspace/etcd-proxy/gopath/src/github.com/coreos/etcd/etcdserver/etcdserverpb/rpc.pb.go:3191 +0xe9
github.com/coreos/etcd/clientv3.(*watchGrpcStream).openWatchClient()
/home/jenkins/workspace/etcd-proxy/gopath/src/github.com/coreos/etcd/clientv3/watch.go:774 +0x18e
github.com/coreos/etcd/clientv3.(*watchGrpcStream).newWatchClient()
/home/jenkins/workspace/etcd-proxy/gopath/src/github.com/coreos/etcd/clientv3/watch.go:691 +0x5c3
github.com/coreos/etcd/clientv3.(*watchGrpcStream).run()
/home/jenkins/workspace/etcd-proxy/gopath/src/github.com/coreos/etcd/clientv3/watch.go:422 +0x12b
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#1316>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/ATtnRw_Y6mQMKt4Hjv_X2K-Ql6pN6PRRks5sEtizgaJpZM4N82Z0>
.
|
k8s-github-robot
pushed a commit
to kubernetes/kubernetes
that referenced
this issue
Oct 20, 2017
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. update gRPC to pick up data race fix **What this PR does / why we need it**: **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #53124 **Special notes for your reviewer**: **Release note**: ```release-note update gRPC to v1.6.0 to pick up data race fix grpc/grpc-go#1316 ```
sttts
pushed a commit
to sttts/apiserver
that referenced
this issue
Oct 21, 2017
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. update gRPC to pick up data race fix **What this PR does / why we need it**: **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #53124 **Special notes for your reviewer**: **Release note**: ```release-note update gRPC to v1.6.0 to pick up data race fix grpc/grpc-go#1316 ``` Kubernetes-commit: 70960a5ed785c64df837139a783f89901d7891f1
sttts
pushed a commit
to sttts/kube-aggregator
that referenced
this issue
Oct 21, 2017
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. update gRPC to pick up data race fix **What this PR does / why we need it**: **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #53124 **Special notes for your reviewer**: **Release note**: ```release-note update gRPC to v1.6.0 to pick up data race fix grpc/grpc-go#1316 ``` Kubernetes-commit: 70960a5ed785c64df837139a783f89901d7891f1
sttts
pushed a commit
to sttts/sample-apiserver
that referenced
this issue
Oct 21, 2017
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. update gRPC to pick up data race fix **What this PR does / why we need it**: **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #53124 **Special notes for your reviewer**: **Release note**: ```release-note update gRPC to v1.6.0 to pick up data race fix grpc/grpc-go#1316 ``` Kubernetes-commit: 70960a5ed785c64df837139a783f89901d7891f1
sttts
pushed a commit
to sttts/apiextensions-apiserver
that referenced
this issue
Oct 21, 2017
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. update gRPC to pick up data race fix **What this PR does / why we need it**: **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #53124 **Special notes for your reviewer**: **Release note**: ```release-note update gRPC to v1.6.0 to pick up data race fix grpc/grpc-go#1316 ``` Kubernetes-commit: 70960a5ed785c64df837139a783f89901d7891f1
sttts
pushed a commit
to sttts/apiserver
that referenced
this issue
Oct 26, 2017
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. update gRPC to pick up data race fix **What this PR does / why we need it**: **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #53124 **Special notes for your reviewer**: **Release note**: ```release-note update gRPC to v1.6.0 to pick up data race fix grpc/grpc-go#1316 ``` Kubernetes-commit: 70960a5ed785c64df837139a783f89901d7891f1
sttts
pushed a commit
to sttts/kube-aggregator
that referenced
this issue
Oct 26, 2017
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. update gRPC to pick up data race fix **What this PR does / why we need it**: **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #53124 **Special notes for your reviewer**: **Release note**: ```release-note update gRPC to v1.6.0 to pick up data race fix grpc/grpc-go#1316 ``` Kubernetes-commit: 70960a5ed785c64df837139a783f89901d7891f1
sttts
pushed a commit
to sttts/sample-apiserver
that referenced
this issue
Oct 26, 2017
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. update gRPC to pick up data race fix **What this PR does / why we need it**: **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #53124 **Special notes for your reviewer**: **Release note**: ```release-note update gRPC to v1.6.0 to pick up data race fix grpc/grpc-go#1316 ``` Kubernetes-commit: 70960a5ed785c64df837139a783f89901d7891f1
sttts
pushed a commit
to sttts/apiextensions-apiserver
that referenced
this issue
Oct 26, 2017
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. update gRPC to pick up data race fix **What this PR does / why we need it**: **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #53124 **Special notes for your reviewer**: **Release note**: ```release-note update gRPC to v1.6.0 to pick up data race fix grpc/grpc-go#1316 ``` Kubernetes-commit: 70960a5ed785c64df837139a783f89901d7891f1
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
What version of gRPC are you using?
1.4.1
What version of Go are you using (
go version
)?1.8.3
What operating system (Linux, Windows, …) and version?
Ubuntu Linux 16.10
What did you do?
Ran the etcd proxy tests:
PASSES=grpcproxy ./test
What did you expect to see?
No data races from grpc.
What did you see instead?
The text was updated successfully, but these errors were encountered: