Skip to content

some panic in TTL #57112

@lcwangchao

Description

@lcwangchao
runtime error: invalid memory address or nil pointer dereference"] [stack="github.com/pingcap/tidb/pkg/ttl/ttlworker.(*baseWorker).loop.func1
	/home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tidb/pkg/ttl/ttlworker/worker.go:128
runtime.gopanic
	/usr/local/go/src/runtime/panic.go:785
runtime.panicmem
	/usr/local/go/src/runtime/panic.go:262
runtime.sigpanic
	/usr/local/go/src/runtime/signal_unix.go:900
github.com/pingcap/tidb/pkg/ttl/ttlworker.(*TTLTimersSyncer).SyncTimers
	/home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tidb/pkg/ttl/ttlworker/timer_sync.go:219
github.com/pingcap/tidb/pkg/ttl/ttlworker.(*JobManager).onTimerTick
	/home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tidb/pkg/ttl/ttlworker/job_manager.go:314
github.com/pingcap/tidb/pkg/ttl/ttlworker.(*JobManager).jobLoop
	/home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tidb/pkg/ttl/ttlworker/job_manager.go:207
github.com/pingcap/tidb/pkg/ttl/ttlworker.(*baseWorker).loop
	/home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tidb/pkg/ttl/ttlworker/worker.go:134
github.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1
	/home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/tidb/pkg/util/wait_group_wrapper.go:157

Metadata

Metadata

Assignees

No one assigned

    Labels

    affects-7.5This bug affects the 7.5.x(LTS) versions.affects-8.1This bug affects the 8.1.x(LTS) versions.affects-8.5This bug affects the 8.5.x(LTS) versions.impact/panicseverity/moderatesig/sql-infraSIG: SQL Infratype/bugThe issue is confirmed as a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions