-
Notifications
You must be signed in to change notification settings - Fork 6k
Closed
Labels
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/ddlThis issue is related to DDL of TiDB.This issue is related to DDL of TiDB.severity/majortype/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)
2. What did you expect to see? (Required)
3. What did you see instead (Required)
--- FAIL: TestSetAndGetOwnerOpValue (36.00s)
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x8 pc=0x6a9f497]
goroutine 175 [running]:
testing.tRunner.func1.2({0x1ff2da0, 0x8fd01d0})
GOROOT/src/testing/testing.go:1545 +0x238
testing.tRunner.func1()
GOROOT/src/testing/testing.go:1548 +0x397
panic({0x1ff2da0?, 0x8fd01d0?})
GOROOT/src/runtime/panic.go:914 +0x21f
github.com/pingcap/tidb/pkg/owner.(*ownerManager).SetOwnerOpValue(0xc0006fe960, {0x30f2c10, 0x9f0eec0}, 0x0)
pkg/owner/manager.go:415 +0x897
github.com/pingcap/tidb/pkg/owner_test.TestSetAndGetOwnerOpValue(0xc0003556c0)
pkg/owner/manager_test.go:158 +0x556
testing.tRunner(0xc0003556c0, 0x28c2dc8)
GOROOT/src/testing/testing.go:1595 +0xff
created by testing.(*T).Run in goroutine 1
GOROOT/src/testing/testing.go:1648 +0x3ad
--
4. What is your TiDB version? (Required)
Metadata
Metadata
Assignees
Labels
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/ddlThis issue is related to DDL of TiDB.This issue is related to DDL of TiDB.severity/majortype/bugThe issue is confirmed as a bug.The issue is confirmed as a bug.