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 in the TestSetAndGetOwnerOpValue #50152

Closed
Tracked by #41316
hawkingrei opened this issue Jan 8, 2024 · 0 comments · Fixed by #50163
Closed
Tracked by #41316

panic in the TestSetAndGetOwnerOpValue #50152

hawkingrei opened this issue Jan 8, 2024 · 0 comments · Fixed by #50163
Labels
affects-7.1 affects-7.5 component/ddl This issue is related to DDL of TiDB. severity/major type/bug This issue is a bug.

Comments

@hawkingrei
Copy link
Member

hawkingrei commented Jan 8, 2024

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
-- 

https://tiprow.hawkingrei.com/view/gs/pingcapprow/logs/coverage/1744173198565445632#1:build-log.txt%3A12294

4. What is your TiDB version? (Required)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects-7.1 affects-7.5 component/ddl This issue is related to DDL of TiDB. severity/major type/bug This issue is a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants