-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Closed
Labels
found/automationFound by automation testsFound by automation testsseverity/criticaltype/bugThe issue is confirmed as a bug.The issue is confirmed as a bug.
Description
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
running oltp_read_write with 32 tables each with 10,000,000 rows
2. What did you expect to see? (Required)
no panic
3. What did you see instead (Required)
tidb panic
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x2000955]
goroutine 14357480 [running]:
github.com/pingcap/tidb/sessionctx/stmtctx.(*StatementContext).GetResourceGroupTagByLabel(0xc04a4311e0, 0x2, 0x25, 0x2, 0x1)
/home/jenkins/agent/workspace/build_tidb_multi_branch_master/go/src/github.com/pingcap/tidb/sessionctx/stmtctx/stmtctx.go:308 +0x375
github.com/pingcap/tidb/sessionctx/stmtctx.(*StatementContext).GetResourceGroupTagger.func1(0xc05dab9200)
/home/jenkins/agent/workspace/build_tidb_multi_branch_master/go/src/github.com/pingcap/tidb/sessionctx/stmtctx/stmtctx.go:292 +0x7d
github.com/tikv/client-go/v2/txnkv/transaction.actionCommit.handleSingleBatch(0x0, 0xc0ccb86480, 0xc0292ce090, 0x4ce, 0x1, 0x1f2, 0x430b168, 0xc02a6a70c0, 0x0, 0x0, ...)
/nfs/cache/mod/github.com/tikv/client-go/v2@v2.0.0-alpha.0.20211118154139-b11da6307c6f/txnkv/transaction/commit.go:77 +0x2166
github.com/tikv/client-go/v2/txnkv/transaction.(*batchExecutor).startWorker.func1(0xc06ca00740, 0xc04cb85560, 0x4ce, 0x1, 0x1f2, 0x430b168, 0xc02a6a70c0, 0x0)
/nfs/cache/mod/github.com/tikv/client-go/v2@v2.0.0-alpha.0.20211118154139-b11da6307c6f/txnkv/transaction/2pc.go:1804 +0x197
created by github.com/tikv/client-go/v2/txnkv/transaction.(*batchExecutor).startWorker
/nfs/cache/mod/github.com/tikv/client-go/v2@v2.0.0-alpha.0.20211118154139-b11da6307c6f/txnkv/transaction/2pc.go:1787 +0x19e
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x20008b9]
4. What is your TiDB version? (Required)
latest nightly build
[2021/11/25 09:17:25.069 +08:00] [INFO] [printer.go:34] ["Welcome to TiDB."] ["Release Version"=v5.4.0-alpha-222-g5916672ce] [Edition=Community] ["Git Commit Hash"=5916672ce97672ff0e3a46cca69300fe61cde715] ["Git Branch"=master] ["UTC Build Time"="2021-11-24 11:26:42"] [GoVersion=go1.16.4] ["Race Enabled"=false] ["Check Table Before Drop"=false] ["TiKV Min Version"=v3.0.0-60965b006877ca7234adaced7890d7b029ed1306]
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
found/automationFound by automation testsFound by automation testsseverity/criticaltype/bugThe issue is confirmed as a bug.The issue is confirmed as a bug.
