Skip to content

panic in the disttask/framework/scheduler.(*Manager).startScheduler #49941

@hawkingrei

Description

@hawkingrei

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)

panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0x678e332]
goroutine 39534 [running]:
github.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*Manager).startScheduler(0xc00832c360, 0xc00953bee0, {0x0, 0x0})
	pkg/disttask/framework/scheduler/scheduler_manager.go:267 +0x232
github.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*Manager).scheduleTaskLoop(0xc00832c360)
	pkg/disttask/framework/scheduler/scheduler_manager.go:219 +0x10ba
github.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1()
	pkg/util/wait_group_wrapper.go:157 +0x59
created by github.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run in goroutine 36840
	pkg/util/wait_group_wrapper.go:155 +0x7c
-- 

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

4. What is your TiDB version? (Required)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions