## Bug Report Please answer these questions before submitting your issue. Thanks! ### 1. Minimal reproduce step (Required) ``` [2023/12/27 21:35:01.575 +08:00] [ERROR] [wait_group_wrapper.go:233] ["panic in error group"] [recover="runtime error: integer divide by zero"] ``` parallelCPUProfiler has similar issue <!-- a step by step guide for reproducing the bug. --> ### 2. What did you expect to see? (Required) contains stack ### 3. What did you see instead (Required) no ### 4. What is your TiDB version? (Required) <!-- Paste the output of SELECT tidb_version() -->