[MDEV-9539] Server crashes in make_columns_old_format on SHOW GEOMETRY_COLUMNS Created: 2016-02-09  Updated: 2016-02-23  Resolved: 2016-02-23

Status: Closed
Project: MariaDB Server
Component/s: Admin statements
Affects Version/s: 10.1
Fix Version/s: 10.1.12

Type: Bug Priority: Major
Reporter: Elena Stepanova Assignee: Sergei Golubchik
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Relates
relates to MDEV-9540 SHOW SPATIAL_REF_SYS and SHOW SYSTEM_... Closed
relates to MDEV-9538 Server crashes in check_show_access o... Closed
Sprint: 10.1.12

 Description   

SHOW GEOMETRY_COLUMNS;

Stack trace from 10.1 commit 7b14ba63f22e6c98c1982dae8847035ad1b8e155

#3  <signal handler called>
#4  0x00007f93d278532a in strlen () from /lib64/libc.so.6
#5  0x000055952c249218 in make_columns_old_format (thd=0x7f93b487e6b0, schema_table=0x55952d26f9a0 <schema_tables+2432>) at /src/10.1/sql/sql_show.cc:7677
#6  0x000055952c249a16 in make_schema_select (thd=0x7f93b487e6b0, sel=0x7f93b48827c8, schema_table=0x55952d26f9a0 <schema_tables+2432>) at /src/10.1/sql/sql_show.cc:7852
#7  0x000055952c391199 in MYSQLparse (thd=0x7f93b487e6b0) at /src/10.1/sql/sql_yacc.yy:12880
#8  0x000055952c1bb6f9 in parse_sql (thd=0x7f93b487e6b0, parser_state=0x7f93d49e3630, creation_ctx=0x0, do_pfs_digest=true) at /src/10.1/sql/sql_parse.cc:9266
#9  0x000055952c1b75eb in mysql_parse (thd=0x7f93b487e6b0, rawbuf=0x7f93d1432288 "SHOW GEOMETRY_COLUMNS", length=21, parser_state=0x7f93d49e3630) at /src/10.1/sql/sql_parse.cc:7254
#10 0x000055952c1a6474 in dispatch_command (command=COM_QUERY, thd=0x7f93b487e6b0, packet=0x7f93b4885d71 "SHOW GEOMETRY_COLUMNS", packet_length=21) at /src/10.1/sql/sql_parse.cc:1488
#11 0x000055952c1a51a6 in do_command (thd=0x7f93b487e6b0) at /src/10.1/sql/sql_parse.cc:1109
#12 0x000055952c2da798 in do_handle_one_connection (thd_arg=0x7f93b487e6b0) at /src/10.1/sql/sql_connect.cc:1349
#13 0x000055952c2da4fc in handle_one_connection (arg=0x7f93b487e6b0) at /src/10.1/sql/sql_connect.cc:1261
#14 0x00007f93d467b0a4 in start_thread () from /lib64/libpthread.so.0
#15 0x00007f93d27e904d in clone () from /lib64/libc.so.6


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