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

panic on transportReader.Read #18339

Closed
lysu opened this issue Jul 3, 2020 · 4 comments
Closed

panic on transportReader.Read #18339

lysu opened this issue Jul 3, 2020 · 4 comments
Labels

Comments

@lysu
Copy link
Contributor

lysu commented Jul 3, 2020

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

unknown

2. What did you expect to see? (Required)

everything works well

3. What did you see instead (Required)

github.com/pingcap/tidb/store/tikv.(*batchCommandsClient).batchRecvLoop.func1
	/home/jenkins/agent/workspace/tidb_v3.0.15/go/src/github.com/pingcap/tidb/store/tikv/client_batch.go:312
runtime.gopanic
	/usr/local/go/src/runtime/panic.go:679
runtime.panicmem
	/usr/local/go/src/runtime/panic.go:199
runtime.sigpanic
	/usr/local/go/src/runtime/signal_unix.go:394
google.golang.org/grpc/internal/transport.(*transportReader).Read
	/home/jenkins/agent/workspace/tidb_v3.0.15/go/pkg/mod/google.golang.org/[email protected]/internal/transport/transport.go:414
io.ReadAtLeast
	/usr/local/go/src/io/io.go:310
io.ReadFull
	/usr/local/go/src/io/io.go:329
google.golang.org/grpc/internal/transport.(*Stream).Read
	/home/jenkins/agent/workspace/tidb_v3.0.15/go/pkg/mod/google.golang.org/[email protected]/internal/transport/transport.go:398
google.golang.org/grpc.(*parser).recvMsg
	/home/jenkins/agent/workspace/tidb_v3.0.15/go/pkg/mod/google.golang.org/[email protected]/rpc_util.go:476
google.golang.org/grpc.recvAndDecompress
	/home/jenkins/agent/workspace/tidb_v3.0.15/go/pkg/mod/google.golang.org/[email protected]/rpc_util.go:607
google.golang.org/grpc.recv
	/home/jenkins/agent/workspace/tidb_v3.0.15/go/pkg/mod/google.golang.org/[email protected]/rpc_util.go:650
google.golang.org/grpc.(*csAttempt).recvMsg
	/home/jenkins/agent/workspace/tidb_v3.0.15/go/pkg/mod/google.golang.org/[email protected]/stream.go:864
google.golang.org/grpc.(*clientStream).RecvMsg.func1
	/home/jenkins/agent/workspace/tidb_v3.0.15/go/pkg/mod/google.golang.org/[email protected]/stream.go:715
google.golang.org/grpc.(*clientStream).withRetry
	/home/jenkins/agent/workspace/tidb_v3.0.15/go/pkg/mod/google.golang.org/[email protected]/stream.go:567
google.golang.org/grpc.(*clientStream).RecvMsg
	/home/jenkins/agent/workspace/tidb_v3.0.15/go/pkg/mod/google.golang.org/[email protected]/stream.go:714
github.com/pingcap/kvproto/pkg/tikvpb.(*tikvBatchCommandsClient).Recv
	/home/jenkins/agent/workspace/tidb_v3.0.15/go/pkg/mod/github.com/pingcap/[email protected]/pkg/tikvpb/tikvpb.pb.go:2606
github.com/pingcap/tidb/store/tikv.(*batchCommandsClient).recv
	/home/jenkins/agent/workspace/tidb_v3.0.15/go/src/github.com/pingcap/tidb/store/tikv/client_batch.go:247
github.com/pingcap/tidb/store/tikv.(*batchCommandsClient).batchRecvLoop
	/home/jenkins/agent/workspace/tidb_v3.0.15/go/src/github.com/pingcap/tidb/store/tikv/client_batch.go:319

4. Affected version (Required)

v3.0.15

5. Root Cause Analysis

WIP

@lysu lysu added the type/bug The issue is confirmed as a bug. label Jul 3, 2020
@HunDunDM
Copy link
Contributor

HunDunDM commented Jul 3, 2020

/label component/server

@ghost
Copy link

ghost commented Jul 21, 2020

@lysu I believe this is fixed in #18437?

@jebter jebter added the sig/transaction SIG:Transaction label Nov 16, 2020
@lysu
Copy link
Contributor Author

lysu commented Nov 19, 2020

transportReader.Read question can be recovery from error by #18437

but and it didn't reproduced again, so we can close it first...and reopen when it appear again

@lysu lysu closed this as completed Nov 19, 2020
@ti-srebot
Copy link
Contributor

Please edit this comment or add a new comment to complete the following information

Not a bug

  1. Remove the 'type/bug' label
  2. Add notes to indicate why it is not a bug

Duplicate bug

  1. Add the 'type/duplicate' label
  2. Add the link to the original bug

Bug

Note: Make Sure that 'component', and 'severity' labels are added
Example for how to fill out the template: #20100

1. Root Cause Analysis (RCA) (optional)

2. Symptom (optional)

3. All Trigger Conditions (optional)

4. Workaround (optional)

5. Affected versions

6. Fixed versions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

7 participants