-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
tidb crash when querying information_schema: fatal error: concurrent map writes #33385
Comments
@WolfeeTJ could you please add reproduce steps for this issue? |
please kindly try this: select |
updated the original post. not sure why github didn't show my previsous edit but only in the draft. but nevermind. |
I can reproduce this issue. error stack:
Related stack:
|
Same as #32459 |
Closed by #33946. |
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
you could easily reproduce and see tidb crashes when run the below query many times in a loop:
select src.column_name,src.column_type from (select column_name,column_type from INFORMATION_SCHEMA.columns where table_schema = 'mysql' and table_name = 'user' ) src left join (select column_name,column_type from INFORMATION_SCHEMA.columns where table_schema = 'mysql' and table_name = 'user') tar on src.column_name = tar.column_name where tar.column_name is null;
2. What did you expect to see? (Required)
3. What did you see instead (Required)
4. What is your TiDB version? (Required)
Release Version: v5.4.0 Edition: Community Git Commit Hash: 55f3b24 Git Branch: heads/refs/tags/v5.4.0 UTC Build Time: 2022-01-25 08:39:26 GoVersion: go1.16.4 Race Enabled: false TiKV Min Version: v3.0.0-60965b006877ca7234adaced7890d7b029ed1306 Check Table Before Drop: false
fatal error: concurrent map writes
goroutine 84783511 [running]:
runtime.throw(0x3fb0f58, 0x15)
log file uploaded:
tidb_stderr.202203240819.log.zip
The text was updated successfully, but these errors were encountered: