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

Assertion `(bits & (1ULL << 25)) == 0' failed in Gtid_log_event::do_apply_event

    XMLWordPrintable

Details

    Description

      Note: I'm not sure whether the test is legit, as it's using a debug injection, but it's an existing one, so I assume it's made the way it is supposed to make sense. Anyway, it's worth checking.

      --source include/have_innodb.inc
      --source include/have_binlog_format_mixed.inc
      --source include/master-slave.inc
       
      CREATE TABLE t1 (a INT) ENGINE=InnoDB;
      INSERT INTO t1 VALUES (1);
       
      --connection master1
      SET debug_dbug = '+d,fail_binlog_write_1';
      --error ER_ERROR_ON_WRITE
      UPDATE t1 SET a = 2;
      SET debug_dbug = '';
      --error ER_BAD_TABLE_ERROR
      DROP TEMPORARY TABLE t1;
       
      --connection master
      CREATE TEMPORARY TABLE t1 (i INT) ENGINE=InnoDB;
       
      --sync_slave_with_master
      

      10.2 74f677fcc222f6

      mysqld: /data/src/10.2/sql/log_event.cc:7593: virtual int Gtid_log_event::do_apply_event(rpl_group_info*): Assertion `(bits & (1ULL << 25)) == 0' failed.
      170918  1:06:58 [ERROR] mysqld got signal 6 ;
       
      #7  0x00007fb0d1662ee2 in __assert_fail () from /lib/x86_64-linux-gnu/libc.so.6
      #8  0x000056317e4c0ce3 in Gtid_log_event::do_apply_event (this=0x7fb06c01da20, rgi=0x7fb06c000a90) at /data/src/10.2/sql/log_event.cc:7593
      #9  0x000056317e0876fd in Log_event::apply_event (this=0x7fb06c01da20, rgi=0x7fb06c000a90) at /data/src/10.2/sql/log_event.h:1452
      #10 0x000056317e07c6a8 in apply_event_and_update_pos_apply (ev=0x7fb06c01da20, thd=0x7fb06c001550, rgi=0x7fb06c000a90, reason=0) at /data/src/10.2/sql/slave.cc:3571
      #11 0x000056317e07cbdf in apply_event_and_update_pos (ev=0x7fb06c01da20, thd=0x7fb06c001550, rgi=0x7fb06c000a90) at /data/src/10.2/sql/slave.cc:3719
      #12 0x000056317e07d3f5 in exec_relay_log_event (thd=0x7fb06c001550, rli=0x56318141a7b8, serial_rgi=0x7fb06c000a90) at /data/src/10.2/sql/slave.cc:4009
      #13 0x000056317e080957 in handle_slave_sql (arg=0x563181418af0) at /data/src/10.2/sql/slave.cc:5148
      #14 0x000056317e68c996 in pfs_spawn_thread (arg=0x7fb0700384f0) at /data/src/10.2/storage/perfschema/pfs.cc:1862
      #15 0x00007fb0d35a7494 in start_thread (arg=0x7fb0c418b700) at pthread_create.c:333
      #16 0x00007fb0d171f93f in clone () from /lib/x86_64-linux-gnu/libc.so.6
      

      Attachments

        Activity

          People

            bnestere Brandon Nesterenko
            elenst Elena Stepanova
            Votes:
            0 Vote for this issue
            Watchers:
            3 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.