Error in TiFlash version 7.1.2

Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: 7.1.2版本tiflash报错

| username: wenyi

select * from TIFLASH_REPLICA, error
1105 - runtime error: invalid memory address or nil pointer dereference
Checked system memory, memory is sufficient

| username: Fly-bird | Original post link

Is this normal for TIFLASH_REPLICA?

| username: 像风一样的男子 | Original post link

Congratulations, you found a bug.

| username: wenyi | Original post link

There are so many bugs in TiDB, it’s frustrating.

| username: 像风一样的男子 | Original post link

A typical error caused by assigning a value to a Go pointer without initializing the pointer first.

| username: wenyi | Original post link

This error is normal, understood this way.

| username: 像风一样的男子 | Original post link

Go submit issues.

| username: RenlySir | Original post link

It is recommended to post the table structure (after desensitization) to check the field types.

| username: wenyi | Original post link

I don’t understand, this is a system table, you can view the table structure.

| username: 像风一样的男子 | Original post link

You are the first to try it, I suggest the official team give you a testing fee.

| username: Billmay表妹 | Original post link

It may be necessary to provide the reproduction steps of this suspected bug to better determine whether it is indeed a bug.

| username: wenyi | Original post link

Cousin, just check it casually, it should report an error.

| username: tidb菜鸟一只 | Original post link

How many tables currently have TiFlash replicas configured?
Can we investigate which specific table is causing the issue?
I did some random testing on my side and couldn’t reproduce the problem…

| username: 芮芮是产品 | Original post link

666 You found a bug.

| username: Jellybean | Original post link

I didn’t expect such a commonly used SQL to have bugs in the new version.

This indicates that we should conduct thorough testing before using new data versions.

| username: RenlySir | Original post link

My tests show no issues. Have you checked the character set of the Linux system?

| username: 像风一样的男子 | Original post link

Yes, safety first.

| username: lilinghai | Original post link

Please provide the TiDB error log at the time of this error message, specifically the panic error stack, to facilitate problem analysis.

| username: zhanggame1 | Original post link

I just upgraded to 7.1.2 and tried it out, no issues.

| username: RenlySir | Original post link

I encountered this issue before, it was because the default value in the data did not meet the requirements. You can check it out.