[MDEV-19494] Crash on "SHOW TABLES" in INFORMATION_SCHEMA Created: 2019-05-16  Updated: 2020-08-25  Resolved: 2019-05-16

Status: Closed
Project: MariaDB Server
Component/s: Information Schema
Affects Version/s: 10.3.15
Fix Version/s: N/A

Type: Bug Priority: Major
Reporter: Hartmut Holzgraefe Assignee: Sergei Golubchik
Resolution: Duplicate Votes: 0
Labels: None

Issue Links:
Duplicate
is duplicated by MDEV-19490 show tables fails when selecting the ... Closed

 Description   

Simple

USE INFORMATION_SCHEMA;
SHOW TABLES;

crashes the server in 10.3.15.

Crash backtrace:

/usr/local/mysql-maria-10.3.15/bin/mysqld(my_print_stacktrace+0x29)[0x55eeea457039]
mysys/stacktrace.c:270(my_print_stacktrace)[0x55eee9fa532d]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x12890)[0x7f56469fe890]
/usr/local/mysql-maria-10.3.15/bin/mysqld(+0xbf7845)[0x55eeea483845]
strings/ctype-utf8.c:5299(my_strcasecmp_utf8)[0x55eee9e4ac6d]
sql/sql_show.cc:8032(find_schema_table(THD*, st_mysql_const_lex_string const*, bool*))[0x55eee9d91401]
sql/sql_base.cc:3499(open_and_process_table)[0x55eee9d91fb9]
sql/sql_base.cc:5095(open_normal_and_derived_tables(THD*, TABLE_LIST*, unsigned int, unsigned int))[0x55eee9e3b940]
sql/sql_show.cc:1570(mysqld_list_fields(THD*, TABLE_LIST*, char const*))[0x55eee9dedbab]
sql/sql_parse.cc:2052(dispatch_command(enum_server_command, THD*, char*, unsigned int, bool, bool))[0x55eee9dee0cf]
sql/sql_parse.cc:1406(do_command(THD*))[0x55eee9eb24ec]
sql/sql_connect.cc:1402(do_handle_one_connection(CONNECT*))[0x55eee9eb26c4]
nptl/pthread_create.c:463(start_thread)[0x7f56469f36db]
x86_64/clone.S:97(clone)[0x7f5645ddd88f]


Generated at Thu Feb 08 08:52:07 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.