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

Server crashes in in bitmap_bits_set upon REPAIR PARTITION after rebuilding under test_pseudo_invisible

    XMLWordPrintable

Details

    • 10.3.6-1

    Description

      --source include/have_partition.inc
      --source include/have_binlog_format_row.inc
       
      CREATE TABLE t1 (a INT NOT NULL, KEY (a)) ENGINE=MEMORY PARTITION BY KEY(a) PARTITIONS 4;
      INSERT INTO t1 VALUES (1),(2);
      SET debug_dbug="+d,test_pseudo_invisible";
      ALTER TABLE t1 REBUILD PARTITION p2;
      SET debug_dbug='';
      ALTER TABLE t1 REPAIR PARTITION p1,p2,p3;
       
      # Cleanup
      DROP TABLE t1;
      

      10.3 1951e7f05ae7b6

      #3  <signal handler called>
      #4  0x000056481d082abf in bitmap_bits_set (map=0x0) at /data/src/10.3/mysys/my_bitmap.c:603
      #5  0x000056481ca05946 in pack_row (table=0x7f901006f5d0, cols=0x0, row_data=0x7f9010071b78 '\245' <repeats 120 times>, "h4z\025\217\217\217\217\065\b", record=0x7f901000a700 "\377\002") at /data/src/10.3/sql/rpl_record.cc:65
      #6  0x000056481c584c72 in THD::binlog_write_row (this=0x7f9010000b00, table=0x7f901006f5d0, is_trans=false, record=0x7f901000a700 "\377\002") at /data/src/10.3/sql/sql_class.cc:6715
      #7  0x000056481c8ce203 in Write_rows_log_event::binlog_row_logging_function (thd=0x7f9010000b00, table=0x7f901006f5d0, is_transactional=false, before_record=0x0, after_record=0x7f901000a700 "\377\002") at /data/src/10.3/sql/log_event.h:4764
      #8  0x000056481c8c7fbc in binlog_log_row (table=0x7f901006f5d0, before_record=0x0, after_record=0x7f901000a700 "\377\002", log_func=0x56481c8ce180 <Write_rows_log_event::binlog_row_logging_function(THD*, TABLE*, bool, unsigned char const*, unsigned char const*)>) at /data/src/10.3/sql/handler.cc:6049
      #9  0x000056481c8c89a6 in handler::ha_write_row (this=0x7f9010070c28, buf=0x7f901000a700 "\377\002") at /data/src/10.3/sql/handler.cc:6211
      #10 0x000056481d05d9b0 in ha_partition::check_misplaced_rows (this=0x7f901000e528, read_part_id=3, do_repair=true) at /data/src/10.3/sql/ha_partition.cc:10650
      #11 0x000056481d04560d in ha_partition::handle_opt_part (this=0x7f901000e528, thd=0x7f9010000b00, check_opt=0x7f90100057e0, part_id=3, flag=4) at /data/src/10.3/sql/ha_partition.cc:1264
      #12 0x000056481d045dac in ha_partition::handle_opt_partitions (this=0x7f901000e528, thd=0x7f9010000b00, check_opt=0x7f90100057e0, flag=4) at /data/src/10.3/sql/ha_partition.cc:1423
      #13 0x000056481d045321 in ha_partition::repair (this=0x7f901000e528, thd=0x7f9010000b00, check_opt=0x7f90100057e0) at /data/src/10.3/sql/ha_partition.cc:1176
      #14 0x000056481c8c36d5 in handler::ha_repair (this=0x7f901000e528, thd=0x7f9010000b00, check_opt=0x7f90100057e0) at /data/src/10.3/sql/handler.cc:4187
      #15 0x000056481c743fe3 in mysql_admin_table(THD *, TABLE_LIST *, HA_CHECK_OPT *, const char *, thr_lock_type, bool, bool, uint, int (*)(THD *, TABLE_LIST *, HA_CHECK_OPT *), struct {...}, int (*)(THD *, TABLE_LIST *, HA_CHECK_OPT *)) (thd=0x7f9010000b00, tables=0x7f9010014e58, check_opt=0x7f90100057e0, operator_name=0x56481d190825 "repair", lock_type=TL_WRITE, open_for_modify=false, repair_table_use_frm=false, extra_open_options=32, prepare_func=0x56481c741ec6 <prepare_for_repair(THD*, TABLE_LIST*, HA_CHECK_OPT*)>, operator_func=(int (handler::*)(handler * const, THD *, HA_CHECK_OPT *)) 0x56481c8c3694 <handler::ha_repair(THD*, st_ha_check_opt*)>, view_operator_func=0x56481c6d70ad <view_repair(THD*, TABLE_LIST*, st_ha_check_opt*)>) at /data/src/10.3/sql/sql_admin.cc:803
      #16 0x000056481c746565 in Sql_cmd_repair_table::execute (this=0x7f90100154e8, thd=0x7f9010000b00) at /data/src/10.3/sql/sql_admin.cc:1401
      #17 0x000056481caa3be3 in Sql_cmd_alter_table_repair_partition::execute (this=0x7f90100154e8, thd=0x7f9010000b00) at /data/src/10.3/sql/sql_partition_admin.cc:727
      #18 0x000056481c5db4d0 in mysql_execute_command (thd=0x7f9010000b00) at /data/src/10.3/sql/sql_parse.cc:6250
      #19 0x000056481c5dfff8 in mysql_parse (thd=0x7f9010000b00, rawbuf=0x7f9010014d58 "ALTER TABLE t1 REPAIR PARTITION p1,p2,p3", length=40, parser_state=0x7f902e11d5e0, is_com_multi=false, is_next_command=false) at /data/src/10.3/sql/sql_parse.cc:7977
      #20 0x000056481c5cd83f in dispatch_command (command=COM_QUERY, thd=0x7f9010000b00, packet=0x7f90100fe831 "", packet_length=40, is_com_multi=false, is_next_command=false) at /data/src/10.3/sql/sql_parse.cc:1825
      #21 0x000056481c5cc27f in do_command (thd=0x7f9010000b00) at /data/src/10.3/sql/sql_parse.cc:1370
      #22 0x000056481c733b74 in do_handle_one_connection (connect=0x56481f0f1660) at /data/src/10.3/sql/sql_connect.cc:1402
      #23 0x000056481c733901 in handle_one_connection (arg=0x56481f0f1660) at /data/src/10.3/sql/sql_connect.cc:1308
      #24 0x000056481cbd1c50 in pfs_spawn_thread (arg=0x56481f0f97a0) at /data/src/10.3/storage/perfschema/pfs.cc:1862
      #25 0x00007f9035bcf494 in start_thread (arg=0x7f902e11e700) at pthread_create.c:333
      #26 0x00007f9033fb593f in clone () from /lib/x86_64-linux-gnu/libc.so.6
      

      Attachments

        Issue Links

          Activity

            People

              sachin.setiya.007 Sachin Setiya (Inactive)
              elenst Elena Stepanova
              Votes:
              0 Vote for this issue
              Watchers:
              3 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.