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

Assertion `map->n_bits == map2->n_bits' failed in bitmap_union

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • 10.5, 10.3(EOL), 10.4(EOL)
    • 10.5
    • None

    Description

      --source include/have_partition.inc
       
      create  table  p (i1 int, i2 int) partition by hash (i1) partitions 3;
      set  debug_dbug= "+d,test_completely_invisible";
      alter table p order by i1;
      set  debug_dbug="";
      create  table  a (i1 int,i2 int);
      alter  table p  exchange partition p0 with table a ;
      
      

      10.3 2b6f8044903dc974c32e071b

      #3  <signal handler called>
      #4  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
      #5  0x00007f2031c70535 in __GI_abort () at abort.c:79
      #6  0x00007f2031c7040f in __assert_fail_base (fmt=0x7f2031dd2ee0 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=0x55f13f6482bc "map->n_bits == map2->n_bits", file=0x55f13f648120 "/10.3/mysys/my_bitmap.c", line=580, function=<optimized out>) at assert.c:92
      #7  0x00007f2031c7e102 in __GI___assert_fail (assertion=0x55f13f6482bc "map->n_bits == map2->n_bits", file=0x55f13f648120 "/10.3/mysys/my_bitmap.c", line=580, function=0x55f13f648460 <__PRETTY_FUNCTION__.14678> "bitmap_union") at assert.c:101
      #8  0x000055f13f1d4b55 in bitmap_union (map=0x7f20100a3f30, map2=0x7f20100a0198) at /10.3/mysys/my_bitmap.c:580
      #9  0x000055f13eaf3b97 in verify_data_with_partition (table=0x7f2010127b60, part_table=0x7f201009c890, part_id=0) at /10.3/sql/sql_partition.cc:4145
      #10 0x000055f13eb125e7 in Sql_cmd_alter_table_exchange_partition::exchange_partition (this=0x7f20100138a8, thd=0x7f2010000d50, table_list=0x7f2010012b90, alter_info=0x7f202c4aaa50) at /10.3/sql/sql_partition_admin.cc:602
      #11 0x000055f13eb10eac in Sql_cmd_alter_table_exchange_partition::execute (this=0x7f20100138a8, thd=0x7f2010000d50) at /10.3/sql/sql_partition_admin.cc:99
      #12 0x000055f13e61d705 in mysql_execute_command (thd=0x7f2010000d50) at /10.3/sql/sql_parse.cc:6023
      #13 0x000055f13e622e70 in mysql_parse (thd=0x7f2010000d50, rawbuf=0x7f2010012a78 "alter  table p  exchange partition p0 with table a", length=50, parser_state=0x7f202c4ab5c0, is_com_multi=false, is_next_command=false) at /10.3/sql/sql_parse.cc:7811
      #14 0x000055f13e60f7f8 in dispatch_command (command=COM_QUERY, thd=0x7f2010000d50, packet=0x7f2010008ed1 "alter  table p  exchange partition p0 with table a ", packet_length=51, is_com_multi=false, is_next_command=false) at /10.3/sql/sql_parse.cc:1851
      #15 0x000055f13e60e11b in do_command (thd=0x7f2010000d50) at /10.3/sql/sql_parse.cc:1397
      #16 0x000055f13e786694 in do_handle_one_connection (connect=0x55f1411fb5d0) at /10.3/sql/sql_connect.cc:1403
      #17 0x000055f13e7863f6 in handle_one_connection (arg=0x55f1411fb5d0) at /10.3/sql/sql_connect.cc:1308
      #18 0x000055f13f1252d1 in pfs_spawn_thread (arg=0x55f14120a5d0) at /10.3/storage/perfschema/pfs.cc:1869
      #19 0x00007f20323c3fa3 in start_thread (arg=<optimized out>) at pthread_create.c:486
      #20 0x00007f2031d474cf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
      
      

      Attachments

        Issue Links

          Activity

            People

              serg Sergei Golubchik
              alice Alice Sherepa
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Git Integration

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