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

InnoDB: Failing assertion: dict_tf2_is_valid(flags, flags2) upon creating sequence with REDUNDANT row format

    XMLWordPrintable

Details

    Description

      --source include/have_innodb.inc
       
      CREATE SEQUENCE seq1 ENGINE=InnoDB ROW_FORMAT REDUNDANT;
       
      # Cleanup
      DROP SEQUENCE seq1;
      

      10.3 b8c92d752c34e5

      2018-01-29 18:50:17 0x7f33a0081700  InnoDB: Assertion failure in file /data/src/10.3/storage/innobase/dict/dict0mem.cc line 118
      InnoDB: Failing assertion: dict_tf2_is_valid(flags, flags2)
      InnoDB: We intentionally generate a memory trap.
       
      #5  0x00007f33a6a7b3fa in abort () from /lib/x86_64-linux-gnu/libc.so.6
      #6  0x000055db16122594 in ut_dbg_assertion_failed (expr=0x55db1673e308 "dict_tf2_is_valid(flags, flags2)", file=0x55db1673e2d0 "/data/src/10.3/storage/innobase/dict/dict0mem.cc", line=118) at /data/src/10.3/storage/innobase/ut/ut0dbg.cc:61
      #7  0x000055db161fcb51 in dict_mem_table_create (name=0x7f33a007bb80 "test/seq1", space=0, n_cols=8, n_v_cols=0, flags=12288, flags2=80) at /data/src/10.3/storage/innobase/dict/dict0mem.cc:118
      #8  0x000055db15f0959b in create_table_info_t::create_table_def (this=0x7f33a007bb30) at /data/src/10.3/storage/innobase/handler/ha_innodb.cc:11378
      #9  0x000055db15ef54ff in create_table_info_t::create_table (this=0x7f33a007bb30) at /data/src/10.3/storage/innobase/handler/ha_innodb.cc:12854
      #10 0x000055db15ef615e in ha_innobase::create (this=0x7f335800ca68, name=0x7f33a007eb00 "./test/seq1", form=0x7f33a007c080, create_info=0x7f33a007f7b0) at /data/src/10.3/storage/innobase/handler/ha_innodb.cc:13169
      #11 0x000055db1635a2a3 in ha_sequence::create (this=0x7f335800d278, name=0x7f33a007eb00 "./test/seq1", form=0x7f33a007c080, create_info=0x7f33a007f7b0) at /data/src/10.3/sql/ha_sequence.cc:175
      #12 0x000055db15bbc8ae in handler::ha_create (this=0x7f335800d278, name=0x7f33a007eb00 "./test/seq1", form=0x7f33a007c080, info_arg=0x7f33a007f7b0) at /data/src/10.3/sql/handler.cc:4539
      #13 0x000055db15bbd8e1 in ha_create_table (thd=0x7f3358000b00, path=0x7f33a007eb00 "./test/seq1", db=0x7f33580154c8 "test", table_name=0x7f3358014e60 "seq1", create_info=0x7f33a007f7b0, frm=0x7f33a007eaf0) at /data/src/10.3/sql/handler.cc:4910
      #14 0x000055db159f7e37 in rea_create_table (thd=0x7f3358000b00, frm=0x7f33a007eaf0, path=0x7f33a007eb00 "./test/seq1", db=0x7f33580154c8 "test", table_name=0x7f3358014e60 "seq1", create_info=0x7f33a007f7b0, file=0x7f3358016888, no_ha_create_table=false) at /data/src/10.3/sql/unireg.cc:517
      #15 0x000055db1599be83 in create_table_impl (thd=0x7f3358000b00, orig_db=0x7f33580154c8 "test", orig_table_name=0x7f3358014e60 "seq1", db=0x7f33580154c8 "test", table_name=0x7f3358014e60 "seq1", path=0x7f33a007eb00 "./test/seq1", options=..., create_info=0x7f33a007f7b0, alter_info=0x7f33a007f700, create_table_mode=0, is_trans=0x7f33a007ed5e, key_info=0x7f33a007eae0, key_count=0x7f33a007ead4, frm=0x7f33a007eaf0) at /data/src/10.3/sql/sql_table.cc:4988
      #16 0x000055db1599c481 in mysql_create_table_no_lock (thd=0x7f3358000b00, db=0x7f33580154c8 "test", table_name=0x7f3358014e60 "seq1", create_info=0x7f33a007f7b0, alter_info=0x7f33a007f700, is_trans=0x7f33a007ed5e, create_table_mode=0, table_list=0x7f3358014e98) at /data/src/10.3/sql/sql_table.cc:5102
      #17 0x000055db1599c821 in mysql_create_table (thd=0x7f3358000b00, create_table=0x7f3358014e98, create_info=0x7f33a007f7b0, alter_info=0x7f33a007f700) at /data/src/10.3/sql/sql_table.cc:5177
      #18 0x000055db158cd33a in mysql_execute_command (thd=0x7f3358000b00) at /data/src/10.3/sql/sql_parse.cc:4260
      #19 0x000055db158d9050 in mysql_parse (thd=0x7f3358000b00, rawbuf=0x7f3358014d80 "CREATE SEQUENCE seq1 ENGINE=InnoDB ROW_FORMAT REDUNDANT", length=55, parser_state=0x7f33a00805f0, is_com_multi=false, is_next_command=false) at /data/src/10.3/sql/sql_parse.cc:7987
      #20 0x000055db158c687f in dispatch_command (command=COM_QUERY, thd=0x7f3358000b00, packet=0x7f33581200d1 "CREATE SEQUENCE seq1 ENGINE=InnoDB ROW_FORMAT REDUNDANT", packet_length=55, is_com_multi=false, is_next_command=false) at /data/src/10.3/sql/sql_parse.cc:1826
      #21 0x000055db158c52b3 in do_command (thd=0x7f3358000b00) at /data/src/10.3/sql/sql_parse.cc:1370
      #22 0x000055db15a2c7e8 in do_handle_one_connection (connect=0x55db19e18de0) at /data/src/10.3/sql/sql_connect.cc:1401
      #23 0x000055db15a2c575 in handle_one_connection (arg=0x55db19e18de0) at /data/src/10.3/sql/sql_connect.cc:1307
      #24 0x000055db15eca1b4 in pfs_spawn_thread (arg=0x55db19e35fd0) at /data/src/10.3/storage/perfschema/pfs.cc:1862
      #25 0x00007f33a8749494 in start_thread (arg=0x7f33a0081700) at pthread_create.c:333
      #26 0x00007f33a6b2f93f in clone () from /lib/x86_64-linux-gnu/libc.so.6
      

      Attachments

        Activity

          People

            marko Marko Mäkelä
            elenst Elena Stepanova
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.