Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

invalid memory address at stmtsummary/v2.(*StmtSummary).Enabled #41315

Closed
@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=0x29326dd]goroutine 88196 [running]:github.com/pingcap/tidb/util/stmtsummary/v2.(*StmtSummary).Enabled(...)util/stmtsummary/v2/stmtsummary.go:156github.com/pingcap/tidb/util/stmtsummary/v2.Enabled()util/stmtsummary/v2/stmtsummary.go:511 +0x9dgithub.com/pingcap/tidb/executor.(*ExecStmt).SummaryStmt(0xc025bfb3b0, 0x1)executor/adapter.go:1854 +0xa5github.com/pingcap/tidb/executor.(*ExecStmt).FinishExecuteStmt(0xc025bfb3b0, 0x5?, {0x0, 0x0}, 0x70?)executor/adapter.go:1469 +0x387github.com/pingcap/tidb/executor.(*ExecStmt).CloseRecordSet(0xc025bfb3b0, 0x2f2c5254b?, {0x0?, 0x0?})executor/adapter.go:1542 +0x38github.com/pingcap/tidb/executor.(*recordSet).Close(0xc0260f6dc0)executor/adapter.go:203 +0x67github.com/pingcap/tidb/session.(*execStmtResult).Close(0xc0260df9b0)session/session.go:2416 +0x42github.com/pingcap/tidb/parser/terror.Call(0xc02df2f820?)parser/terror/terror.go:306 +0x3bgithub.com/pingcap/tidb/ddl.(*session).execute(0xc02c624bd0, {0x5421488, 0xc00022c000}, {0xc01705b930, 0xc8}, {0x4cae580, 0xd})ddl/ddl.go:1674 +0x44bgithub.com/pingcap/tidb/ddl.(*ddl).getJob(0xc02cb4f480, 0x0?, 0x0?, 0xc02df2fb68)ddl/job_table.go:105 +0x175github.com/pingcap/tidb/ddl.(*ddl).getReorgJob(0x53f94a0?, 0xc02df0c280?)ddl/job_table.go:155 +0x52github.com/pingcap/tidb/ddl.(*ddl).loadDDLJobAndRun(0xc02cb4f480, 0xc02df2fdb8?, 0xc02d6d6cc0, 0xc02df2fe48)ddl/job_table.go:217 +0x139github.com/pingcap/tidb/ddl.(*ddl).startDispatchLoop(0xc02cb4f480)ddl/job_table.go:202 +0x7e7github.com/pingcap/tidb/util.(*WaitGroupWrapper).Run.func1()util/wait_group_wrapper.go:154 +0x6bcreated by github.com/pingcap/tidb/util.(*WaitGroupWrapper).Runutil/wait_group_wrapper.go:152 +0x8d

https://do.pingcap.net/jenkins/blue/organizations/jenkins/pingcap%2Ftidb%2Fghpr_unit_test/detail/ghpr_unit_test/16678/pipeline

4. What is your TiDB version? (Required)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp