Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-13982

Server crashes in in ha_partition::engine_name

    Details

      Description

      --source include/have_partition.inc
      create table t (a int) engine=Aria transactional=1 partition by hash(a) partitions 2;
      

      10.3 67eb1252ac7

      #3  <signal handler called>
      #4  0x000055b52143be64 in ha_partition::engine_name (this=0x7fcb58016360) at /data/src/10.3/sql/ha_partition.h:426
      #5  0x000055b520aabc62 in mysql_prepare_create_table (thd=0x7fcb58000b00, create_info=0x7fcb68286820, alter_info=0x7fcb68286770, db_options=0x7fcb68284bf4, file=0x7fcb58016360, key_info_buffer=0x7fcb68286210, key_count=0x7fcb68286204, create_table_mode=0) at /data/src/10.3/sql/sql_table.cc:4104
      #6  0x000055b520aacde3 in mysql_create_frm_image (thd=0x7fcb58000b00, db=0x7fcb58015160 "test", table_name=0x7fcb58014b18 "t", create_info=0x7fcb68286820, alter_info=0x7fcb68286770, create_table_mode=0, key_info=0x7fcb68286210, key_count=0x7fcb68286204, frm=0x7fcb68286220) at /data/src/10.3/sql/sql_table.cc:4504
      #7  0x000055b520aad828 in create_table_impl (thd=0x7fcb58000b00, orig_db=0x7fcb58015160 "test", orig_table_name=0x7fcb58014b18 "t", db=0x7fcb58015160 "test", table_name=0x7fcb58014b18 "t", path=0x7fcb68286230 "./test/t", options=..., create_info=0x7fcb68286820, alter_info=0x7fcb68286770, create_table_mode=0, is_trans=0x7fcb6828648e, key_info=0x7fcb68286210, key_count=0x7fcb68286204, frm=0x7fcb68286220) at /data/src/10.3/sql/sql_table.cc:4746
      #8  0x000055b520aade82 in mysql_create_table_no_lock (thd=0x7fcb58000b00, db=0x7fcb58015160 "test", table_name=0x7fcb58014b18 "t", create_info=0x7fcb68286820, alter_info=0x7fcb68286770, is_trans=0x7fcb6828648e, create_table_mode=0, table_list=0x7fcb58014b50) at /data/src/10.3/sql/sql_table.cc:4862
      #9  0x000055b520aae19b in mysql_create_table (thd=0x7fcb58000b00, create_table=0x7fcb58014b50, create_info=0x7fcb68286820, alter_info=0x7fcb68286770) at /data/src/10.3/sql/sql_table.cc:4937
      #10 0x000055b5209e3bd8 in mysql_execute_command (thd=0x7fcb58000b00) at /data/src/10.3/sql/sql_parse.cc:4237
      #11 0x000055b5209efa18 in mysql_parse (thd=0x7fcb58000b00, rawbuf=0x7fcb580149f8 "create table t (a int) engine=Aria transactional=1 partition by hash(a) partitions 2", length=84, parser_state=0x7fcb68287610, is_com_multi=false, is_next_command=false) at /data/src/10.3/sql/sql_parse.cc:7920
      #12 0x000055b5209dd1e0 in dispatch_command (command=COM_QUERY, thd=0x7fcb58000b00, packet=0x7fcb58088971 "create table t (a int) engine=Aria transactional=1 partition by hash(a) partitions 2", packet_length=84, is_com_multi=false, is_next_command=false) at /data/src/10.3/sql/sql_parse.cc:1819
      #13 0x000055b5209dbc42 in do_command (thd=0x7fcb58000b00) at /data/src/10.3/sql/sql_parse.cc:1370
      #14 0x000055b520b32978 in do_handle_one_connection (connect=0x55b5230b4490) at /data/src/10.3/sql/sql_connect.cc:1418
      #15 0x000055b520b32705 in handle_one_connection (arg=0x55b5230b4490) at /data/src/10.3/sql/sql_connect.cc:1324
      #16 0x000055b520fabd48 in pfs_spawn_thread (arg=0x55b52314d470) at /data/src/10.3/storage/perfschema/pfs.cc:1862
      #17 0x00007fcb6ff35494 in start_thread (arg=0x7fcb68288700) at pthread_create.c:333
      #18 0x00007fcb6e0ad93f in clone () from /lib/x86_64-linux-gnu/libc.so.6
      

        Attachments

          Activity

            People

            • Assignee:
              serg Sergei Golubchik
              Reporter:
              elenst Elena Stepanova
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: