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

TestSyncLoadOnObjectWhichCanNotFoundInStorage errors like nil pointer dereference #58162

Closed
AilinKid opened this issue Dec 11, 2024 · 1 comment · Fixed by #58164
Closed

TestSyncLoadOnObjectWhichCanNotFoundInStorage errors like nil pointer dereference #58162

AilinKid opened this issue Dec 11, 2024 · 1 comment · Fixed by #58164
Labels
component/test severity/moderate sig/planner SIG: Planner type/bug The issue is confirmed as a bug.

Comments

@AilinKid
Copy link
Contributor

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

https://do.pingcap.net/jenkins/blue/organizations/jenkins/pingcap%2Ftidb%2Fghpr_unit_test/detail/ghpr_unit_test/24158/tests

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

TestSyncLoadOnObjectWhichCanNotFoundInStorage test sucessfully

3. What did you see instead (Required)

--- FAIL: TestSyncLoadOnObjectWhichCanNotFoundInStorage (51.04s)
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=0x0 pc=0x8679bb8]
goroutine 49 [running]:
testing.tRunner.func1.2({0x8d2e500, 0xd0e4620})
	GOROOT/src/testing/testing.go:1632 +0x3fc
testing.tRunner.func1()
	GOROOT/src/testing/testing.go:1635 +0x6b6
panic({0x8d2e500?, 0xd0e4620?})
	GOROOT/src/runtime/panic.go:785 +0x132
pkg/statistics/handle/syncload/syncload_test_test.TestSyncLoadOnObjectWhichCanNotFoundInStorage(0xc00120d520)
	pkg/statistics/handle/syncload/stats_syncload_test.go:469 +0x12d8
testing.tRunner(0xc00120d520, 0x96df748)
	GOROOT/src/testing/testing.go:1690 +0x227
created by testing.(*T).Run in goroutine 1
	GOROOT/src/testing/testing.go:1743 +0x826

4. What is your TiDB version? (Required)

master

@AilinKid AilinKid added type/bug The issue is confirmed as a bug. sig/planner SIG: Planner labels Dec 11, 2024
@AilinKid
Copy link
Contributor Author

/cc @hawkingrei @winoros

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/test severity/moderate sig/planner SIG: Planner type/bug The issue is confirmed as a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants