-
Notifications
You must be signed in to change notification settings - Fork 6k
Closed
Closed
Copy link
Labels
affects-6.5This bug affects the 6.5.x(LTS) versions.This bug affects the 6.5.x(LTS) versions.affects-7.1This bug affects the 7.1.x(LTS) versions.This bug affects the 7.1.x(LTS) versions.affects-7.5This bug affects the 7.5.x(LTS) versions.This bug affects the 7.5.x(LTS) versions.component/coprocessorseverity/majorsig/executionSIG executionSIG executiontype/bugThe issue is confirmed as a bug.The issue is confirmed as a bug.
Description
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
Run integration test in TiKV env many times, it will panic forever in some rounds. And we will get log like
[2023/11/02 02:13:07.738 +08:00] [ERROR] [coprocessor.go:1117] ["copIteratorWork meet panic"] [r="runtime error: invalid memory address or nil pointer dereference"] ["stack trace"="github.com/pingcap/tidb/pkg/store/copr.(*copIteratorWorker).handleTask.func1
/home/jenkins/agent/workspace/pingcap/tidb/periodics_integration_test/tidb/pkg/store/copr/coprocessor.go:1119
runtime.gopanic
/usr/local/go/src/runtime/panic.go:914
runtime.panicmem
/usr/local/go/src/runtime/panic.go:261
runtime.sigpanic
/usr/local/go/src/runtime/signal_unix.go:861
github.com/pingcap/tidb/pkg/store/copr.(*copIteratorWorker).handleCopCache
/home/jenkins/agent/workspace/pingcap/tidb/periodics_integration_test/tidb/pkg/store/copr/coprocessor.go:1688
github.com/pingcap/tidb/pkg/store/copr.(*copIteratorWorker).handleCopResponse
/home/jenkins/agent/workspace/pingcap/tidb/periodics_integration_test/tidb/pkg/store/copr/coprocessor.go:1437
github.com/pingcap/tidb/pkg/store/copr.(*copIteratorWorker).handleTaskOnce
/home/jenkins/agent/workspace/pingcap/tidb/periodics_integration_test/tidb/pkg/store/copr/coprocessor.go:1278
github.com/pingcap/tidb/pkg/store/copr.(*copIteratorWorker).handleTask
/home/jenkins/agent/workspace/pingcap/tidb/periodics_integration_test/tidb/pkg/store/copr/coprocessor.go:1130
github.com/pingcap/tidb/pkg/store/copr.(*copIteratorWorker).run
/home/jenkins/agent/workspace/pingcap/tidb/periodics_integration_test/tidb/pkg/store/copr/coprocessor.go:817"]
2. What did you expect to see? (Required)
No panic
3. What did you see instead (Required)
panic forever.
4. What is your TiDB version? (Required)
master
Related log link
Log file
integration-test.txt.zip
Metadata
Metadata
Assignees
Labels
affects-6.5This bug affects the 6.5.x(LTS) versions.This bug affects the 6.5.x(LTS) versions.affects-7.1This bug affects the 7.1.x(LTS) versions.This bug affects the 7.1.x(LTS) versions.affects-7.5This bug affects the 7.5.x(LTS) versions.This bug affects the 7.5.x(LTS) versions.component/coprocessorseverity/majorsig/executionSIG executionSIG executiontype/bugThe issue is confirmed as a bug.The issue is confirmed as a bug.