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

stack is printed twice when recover from panic #53092

Open
lance6716 opened this issue May 8, 2024 · 0 comments
Open

stack is printed twice when recover from panic #53092

lance6716 opened this issue May 8, 2024 · 0 comments
Labels
component/ddl This issue is related to DDL of TiDB. severity/minor type/bug This issue is a bug.

Comments

@lance6716
Copy link
Contributor

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

like https://do.pingcap.net/jenkins/blue/organizations/jenkins/pingcap%2Ftidb%2Fghpr_check2/detail/ghpr_check2/8946/pipeline

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

3. What did you see instead (Required)


[2024/05/07 13:06:05.007 +00:00] [ERROR] [wait_group_wrapper.go:168] ["panic in wait group"] [recover="runtime error: invalid memory address or nil pointer dereference"] [stack="github.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1.1\n\tpkg/util/wait_group_wrapper.go:168\nruntime.gopanic\n\tGOROOT/src/runtime/panic.go:920\nruntime.panicmem\n\tGOROOT/src/runtime/panic.go:261\nruntime.sigpanic\n\tGOROOT/src/runtime/signal_unix.go:861\ngithub.com/pingcap/tidb/pkg/disttask/importinto.generateWriteIngestSpecs\n\tpkg/disttask/importinto/planner.go:367\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*LogicalPlan).ToPhysicalPlan\n\tpkg/disttask/importinto/planner.go:128\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*ImportSchedulerExt).OnNextSubtasksBatch\n\tpkg/disttask/importinto/scheduler.go:310\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).switch2NextStep\n\tpkg/disttask/framework/scheduler/scheduler.go:451\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).onRunning\n\tpkg/disttask/framework/scheduler/scheduler.go:404\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).scheduleTask\n\tpkg/disttask/framework/scheduler/scheduler.go:258\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).ScheduleTask\n\tpkg/disttask/framework/scheduler/scheduler.go:122\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*Manager).startScheduler.func1\n\tpkg/disttask/framework/scheduler/scheduler_manager.go:367\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:171"] [stack="github.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1.1\n\tpkg/util/wait_group_wrapper.go:168\nruntime.gopanic\n\tGOROOT/src/runtime/panic.go:920\nruntime.panicmem\n\tGOROOT/src/runtime/panic.go:261\nruntime.sigpanic\n\tGOROOT/src/runtime/signal_unix.go:861\ngithub.com/pingcap/tidb/pkg/disttask/importinto.generateWriteIngestSpecs\n\tpkg/disttask/importinto/planner.go:367\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*LogicalPlan).ToPhysicalPlan\n\tpkg/disttask/importinto/planner.go:128\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*ImportSchedulerExt).OnNextSubtasksBatch\n\tpkg/disttask/importinto/scheduler.go:310\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).switch2NextStep\n\tpkg/disttask/framework/scheduler/scheduler.go:451\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).onRunning\n\tpkg/disttask/framework/scheduler/scheduler.go:404\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).scheduleTask\n\tpkg/disttask/framework/scheduler/scheduler.go:258\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).ScheduleTask\n\tpkg/disttask/framework/scheduler/scheduler.go:122\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*Manager).startScheduler.func1\n\tpkg/disttask/framework/scheduler/scheduler_manager.go:367\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:171"]

4. What is your TiDB version? (Required)

@lance6716 lance6716 added type/bug This issue is a bug. severity/minor labels May 8, 2024
@jebter jebter added the component/ddl This issue is related to DDL of TiDB. label May 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/ddl This issue is related to DDL of TiDB. severity/minor type/bug This issue is a bug.
Projects
None yet
Development

No branches or pull requests

2 participants