Open GaranR opened 6 months ago
Sorry I can't reproduce this issue. TiDB reported this error below when running valid.txt
:
➜ tidb git:(master) 2tisql < /Users/zhangyuanjia/Downloads/valid.txt;
ERROR 1062 (23000) at line 3812: Duplicate entry '2147483648.1' for key 't__gn.c_e20nr0'
But after removing the unique attribute of this column t__gn.c_e20nr0
, I can't reproduce this issue:
➜ tidb git:(master) 2tisql < /Users/zhangyuanjia/Downloads/error.txt; -- no error
➜ tidb git:(master)
Degrade this from Major to Minor temporarily. Could you help take a look at this? @GaranR
The POC in this issue and #52159 were both generated from an early version of our tool in March. There were some difficulties in reproducing the issue with that version at the time. I was able to reproduce it successfully once before, but now I am unable to reproduce it; it consistently results in a timeout. Fell free to close this issue if necessary.
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
First execute the following valid.sql valid.txt
Then a crash occurs when executing the error.sql below error.txt
2. What did you expect to see? (Required)
Expect no crashes
3. What did you see instead (Required)
4. What is your TiDB version? (Required)
We are the BASS team from the School of Cyber Science and Technology at Beihang University. Our main focus is on system software security, operating systems, and program analysis research, as well as the development of automated program testing frameworks for detecting software defects. Using our self-developed database vulnerability testing tool, we have identified the above-mentioned vulnerabilities in TiDB that may lead to database crashes.