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

Unstable test: TestUsingReorgCtx #41418

Closed
Tracked by #41316
zimulala opened this issue Feb 15, 2023 · 0 comments · Fixed by #41421
Closed
Tracked by #41316

Unstable test: TestUsingReorgCtx #41418

zimulala opened this issue Feb 15, 2023 · 0 comments · Fixed by #41421
Labels
severity/minor sig/sql-infra SIG: SQL Infra type/bug The issue is confirmed as a bug.

Comments

@zimulala
Copy link
Contributor

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

panic: runtime error: invalid memory address or nil pointer dereference

[signal SIGSEGV: segmentation violation code=0x1 addr=0x10 pc=0x448b259]


goroutine 183764 [running]:

github.com/pingcap/tidb/ddl.(*reorgCtx).isReorgCanceled(...)

	ddl/reorg.go:113

github.com/pingcap/tidb/ddl.(*reorgCtx).IsReorgCanceled(...)

	ddl/ddl_test.go:62

github.com/pingcap/tidb/ddl_test.TestUsingReorgCtx.func2()

	ddl/ddl_worker_test.go:334 +0xd9

github.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1()

	util/wait_group_wrapper.go:154 +0x6b

created by github.com/pingcap/tidb/util.(*WaitGroupWrapper).Run

	util/wait_group_wrapper.go:152 +0x8d

--

Coverage runner: Not collecting coverage for failed test.

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

3. What did you see instead (Required)

4. What is your TiDB version? (Required)

@zimulala zimulala added type/bug The issue is confirmed as a bug. sig/sql-infra SIG: SQL Infra severity/minor labels Feb 15, 2023
@zimulala zimulala changed the title Unstable test TestUsingReorgCtx Unstable test: TestUsingReorgCtx Feb 15, 2023
ti-chi-bot pushed a commit that referenced this issue Feb 15, 2023
blacktear23 pushed a commit to blacktear23/tidb that referenced this issue Feb 15, 2023
ghazalfamilyusa pushed a commit to ghazalfamilyusa/tidb that referenced this issue Feb 15, 2023
zimulala added a commit to zimulala/tidb that referenced this issue Feb 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
severity/minor sig/sql-infra SIG: SQL Infra type/bug The issue is confirmed as a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant