Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

panic:runtime error: invalid memory address or nil pointer #47531

Closed
loong95 opened this issue Oct 11, 2023 · 5 comments
Closed

panic:runtime error: invalid memory address or nil pointer #47531

loong95 opened this issue Oct 11, 2023 · 5 comments
Labels
affects-7.1 affects-7.5 may-affects-5.4 This bug maybe affects 5.4.x versions. may-affects-6.1 may-affects-6.5 report/community The community has encountered this bug. severity/major sig/transaction SIG:Transaction type/bug The issue is confirmed as a bug.

Comments

@loong95
Copy link

loong95 commented Oct 11, 2023

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

dashboard页面“SQL语句分析”、“慢查询”;客户端执行select * from cluster_processlist

2. What did you expect to see? (Required)

功能正常使用

3. What did you see instead (Required)

SQL语句分析查询报错:
image

PD日志如下:
image

客户端查询cluster_processlist报错:
image
tidb-server日志如下:
image

进入慢查询页面,报错:
image

4. What is your TiDB version? (Required)

5.7.25-TiDB-v7.1.1

image

image

image

image

部署了两个集群,这个集群有问题,另一个集群没问题

@loong95 loong95 added the type/bug The issue is confirmed as a bug. label Oct 11, 2023
@jebter jebter changed the title 集群报错,runtime error: invalid memory address or nil pointer panic:runtime error: invalid memory address or nil pointer Oct 11, 2023
@ti-chi-bot ti-chi-bot bot added may-affects-5.3 This bug maybe affects 5.3.x versions. may-affects-5.4 This bug maybe affects 5.4.x versions. may-affects-6.1 may-affects-6.5 may-affects-7.1 labels Oct 11, 2023
@cfzjywxk
Copy link
Contributor

/cc @LykxSassinator
It seems there's a crash at recordSlowStat, PTAL

@rebelsre
Copy link

遇到类似的问题,执行 select * from INFORMATION_SCHEMA.CLUSTER_STATEMENTS_SUMMARY_HISTORY limit 1; 稳定重现
replayer_lpj0ZXzLWwOSvnGNp9b-mQ==_1698649890339077634.zip

@cfzjywxk
Copy link
Contributor

Close this issue as it's fixed in tikv/client-go#1017,
the client-go depency is already updated in tidb repo.

@cfzjywxk cfzjywxk added affects-7.5 and removed may-affects-5.3 This bug maybe affects 5.3.x versions. may-affects-5.4 This bug maybe affects 5.4.x versions. may-affects-6.1 may-affects-6.5 labels Oct 31, 2023
@seiya-annie seiya-annie added the sig/transaction SIG:Transaction label Nov 8, 2023
@rebelsre
Copy link

关闭此问题,因为它已在 tikv/client-go#1017 中修复,client-go depency 已经在 tidb repo 中更新。

请问有什么临时的解决方案让它重新可用不,而不是只能等下个版本的更新

@ti-chi-bot ti-chi-bot bot added may-affects-5.4 This bug maybe affects 5.4.x versions. may-affects-6.1 labels Dec 8, 2023
ti-chi-bot bot pushed a commit that referenced this issue Dec 8, 2023
@seiya-annie
Copy link

/found community

@ti-chi-bot ti-chi-bot bot added the report/community The community has encountered this bug. label Jun 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects-7.1 affects-7.5 may-affects-5.4 This bug maybe affects 5.4.x versions. may-affects-6.1 may-affects-6.5 report/community The community has encountered this bug. severity/major sig/transaction SIG:Transaction type/bug The issue is confirmed as a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants
@cfzjywxk @jebter @loong95 @rebelsre @seiya-annie and others