Details
-
Bug
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
10.4(EOL), 10.5, 10.6, 10.9(EOL), 10.10(EOL), 10.11, 11.0(EOL), 11.1(EOL), 11.2(EOL)
-
None
-
None
Description
# mysqld options required for replay: --innodb-force-recovery=6 |
SELECT * FROM INFORMATION_SCHEMA.INNODB_SYS_TABLESPACES; |
Leads to
10.4.31 922db0642b6321ece41adb3232c1616812143573 (Optimized) |
Core was generated by `/test/MD040723-mariadb-10.4.31-linux-x86_64-opt/bin/mariadbd --no-defaults --in'.
|
Program terminated with signal SIGSEGV, Segmentation fault.
|
#0 0x000055bdeaaa1ef1 in i_s_sys_tablespaces_fill_table (thd=<optimized out>,
|
tables=<optimized out>)
|
at /test/10.4_opt/storage/innobase/handler/i_s.cc:6826
|
[Current thread is 1 (Thread 0x14de801c2700 (LWP 1065221))]
|
(gdb) bt
|
#0 0x000055bdeaaa1ef1 in i_s_sys_tablespaces_fill_table (thd=<optimized out>, tables=<optimized out>) at /test/10.4_opt/storage/innobase/handler/i_s.cc:6826
|
#1 0x000055bdea65c1db in get_schema_tables_result (join=join@entry=0x14de5c012240, executed_place=executed_place@entry=PROCESSED_BY_JOIN_EXEC) at /test/10.4_opt/sql/sql_show.cc:9083
|
#2 0x000055bdea643797 in JOIN::exec_inner (this=0x14de5c012240) at /test/10.4_opt/sql/sql_select.cc:4561
|
#3 0x000055bdea643e66 in JOIN::exec (this=this@entry=0x14de5c012240) at /test/10.4_opt/sql/sql_select.cc:4387
|
#4 0x000055bdea641ee6 in mysql_select (thd=0x14de5c000c48, tables=0x14de5c010610, wild_num=1, fields=@0x14de5c0100d8: {<base_list> = {<Sql_alloc> = {<No data fields>}, first = 0x14de5c010540, last = 0x14de5c0136b0, elements = 10}, <No data fields>}, conds=0x0, og_num=0, order=0x0, group=0x0, having=0x0, proc_param=0x0, select_options=<optimized out>, result=0x14de5c012218, unit=0x14de5c004828, select_lex=0x14de5c00ff78) at /test/10.4_opt/sql/sql_select.cc:4826
|
#5 0x000055bdea64291a in handle_select (thd=thd@entry=0x14de5c000c48, lex=lex@entry=0x14de5c004768, result=result@entry=0x14de5c012218, setup_tables_done_option=setup_tables_done_option@entry=0) at /test/10.4_opt/sql/sql_select.cc:442
|
#6 0x000055bdea5ceaee in execute_sqlcom_select (thd=0x14de5c000c48, all_tables=0x14de5c010610) at /test/10.4_opt/sql/sql_parse.cc:6473
|
#7 0x000055bdea5dd05d in mysql_execute_command (thd=0x14de5c000c48) at /test/10.4_opt/sql/sql_parse.cc:3976
|
#8 0x000055bdea5df5a2 in mysql_parse (thd=0x14de5c000c48, rawbuf=<optimized out>, length=<optimized out>, parser_state=<optimized out>, is_com_multi=<optimized out>, is_next_command=<optimized out>) at /test/10.4_opt/sql/sql_parse.cc:8008
|
#9 0x000055bdea5e2055 in dispatch_command (command=COM_QUERY, thd=0x14de5c000c48, packet=<optimized out>, packet_length=<optimized out>, is_com_multi=<optimized out>, is_next_command=<optimized out>) at /test/10.4_opt/sql/sql_class.h:1231
|
#10 0x000055bdea5e38af in do_command (thd=0x14de5c000c48) at /test/10.4_opt/sql/sql_parse.cc:1378
|
#11 0x000055bdea6d0dae in do_handle_one_connection (connect=<optimized out>) at /test/10.4_opt/sql/sql_connect.cc:1420
|
#12 0x000055bdea6d0e3d in handle_one_connection (arg=<optimized out>) at /test/10.4_opt/sql/sql_connect.cc:1324
|
#13 0x000014de98c52609 in start_thread (arg=<optimized out>) at pthread_create.c:477
|
#14 0x000014de9883e133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
|
11.2.0 e81fa345020ec6a067583db6a7019d6404b26f93 (Debug) |
Core was generated by `/test/MD270723-mariadb-11.2.0-linux-x86_64-dbg/bin/mariadbd --no-defaults --inn'.
|
Program terminated with signal SIGSEGV, Segmentation fault.
|
#0 fil_space_t::full_crc32 (this=0x0)
|
at /test/11.2_dbg/storage/innobase/include/fil0fil.h:648
|
[Current thread is 1 (Thread 0x1514cc1c9700 (LWP 4068750))]
|
(gdb) bt
|
#0 fil_space_t::full_crc32 (this=0x0) at /test/11.2_dbg/storage/innobase/include/fil0fil.h:648
|
#1 i_s_sys_tablespaces_fill (thd=thd@entry=0x1514b8000d48, s=<error reading variable>, t=0x1514b8019ae0) at /test/11.2_dbg/storage/innobase/handler/i_s.cc:6115
|
#2 0x00005569e6a4237d in i_s_sys_tablespaces_fill_table (thd=0x1514b8000d48, tables=0x1514b80139f0) at /test/11.2_dbg/storage/innobase/handler/i_s.cc:6208
|
#3 0x00005569e64a2ad1 in get_schema_tables_result (join=join@entry=0x1514b8014f20, executed_place=executed_place@entry=PROCESSED_BY_JOIN_EXEC) at /test/11.2_dbg/sql/sql_show.cc:9083
|
#4 0x00005569e6476107 in JOIN::exec_inner (this=this@entry=0x1514b8014f20) at /test/11.2_dbg/sql/sql_string.h:776
|
#5 0x00005569e6476cb2 in JOIN::exec (this=this@entry=0x1514b8014f20) at /test/11.2_dbg/sql/sql_select.cc:4712
|
#6 0x00005569e6474b30 in mysql_select (thd=thd@entry=0x1514b8000d48, tables=0x1514b80139f0, fields=@0x1514b8013600: {<base_list> = {<Sql_alloc> = {<No data fields>}, first = 0x1514b8013920, last = 0x1514b80163b0, elements = 9}, <No data fields>}, conds=0x0, og_num=0, order=0x0, group=0x0, having=0x0, proc_param=0x0, select_options=2701396736, result=0x1514b8014ef8, unit=0x1514b8005058, select_lex=0x1514b8013348) at /test/11.2_dbg/sql/sql_select.cc:5243
|
#7 0x00005569e64752ce in handle_select (thd=thd@entry=0x1514b8000d48, lex=lex@entry=0x1514b8004f78, result=result@entry=0x1514b8014ef8, setup_tables_done_option=setup_tables_done_option@entry=0) at /test/11.2_dbg/sql/sql_select.cc:628
|
#8 0x00005569e63da0da in execute_sqlcom_select (thd=thd@entry=0x1514b8000d48, all_tables=0x1514b80139f0) at /test/11.2_dbg/sql/sql_parse.cc:6056
|
#9 0x00005569e63e643b in mysql_execute_command (thd=thd@entry=0x1514b8000d48, is_called_from_prepared_stmt=is_called_from_prepared_stmt@entry=false) at /test/11.2_dbg/sql/sql_parse.cc:3944
|
#10 0x00005569e63d473b in mysql_parse (thd=thd@entry=0x1514b8000d48, rawbuf=<optimized out>, length=<optimized out>, parser_state=parser_state@entry=0x1514cc1c82c0) at /test/11.2_dbg/sql/sql_parse.cc:7800
|
#11 0x00005569e63e1c00 in dispatch_command (command=command@entry=COM_QUERY, thd=thd@entry=0x1514b8000d48, packet=packet@entry=0x1514b800af49 "SELECT * FROM information_schema.innodb_sys_TABLESPACEs", packet_length=packet_length@entry=55, blocking=blocking@entry=true) at /test/11.2_dbg/sql/sql_class.h:1374
|
#12 0x00005569e63e40b8 in do_command (thd=0x1514b8000d48, blocking=blocking@entry=true) at /test/11.2_dbg/sql/sql_parse.cc:1405
|
#13 0x00005569e6549717 in do_handle_one_connection (connect=<optimized out>, connect@entry=0x5569e9d52848, put_in_cache=put_in_cache@entry=true) at /test/11.2_dbg/sql/sql_connect.cc:1445
|
#14 0x00005569e6549be6 in handle_one_connection (arg=0x5569e9d52848) at /test/11.2_dbg/sql/sql_connect.cc:1347
|
#15 0x00001514ebc84609 in start_thread (arg=<optimized out>) at pthread_create.c:477
|
#16 0x00001514eb870133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
|
Bug confirmed present in:
MariaDB: 10.4.31 (dbg), 10.4.31 (opt), 10.5.21 (dbg), 10.5.22 (dbg), 10.5.22 (opt), 10.6.15 (dbg), 10.6.15 (opt), 10.9.8 (dbg), 10.9.8 (opt), 10.10.6 (dbg), 10.10.6 (opt), 10.11.4 (opt), 10.11.5 (dbg), 10.11.5 (opt), 11.0.2 (dbg), 11.0.2 (opt), 11.0.3 (dbg), 11.0.3 (opt), 11.1.2 (dbg), 11.1.2 (opt), 11.2.0 (dbg), 11.2.0 (opt)