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

FLASHBACK: Server crashes in bitmap_bits_set / pack_row / THD::binlog_write_row

    XMLWordPrintable

Details

    Description

      excerpt from binlog.binlog_base64_flag

      # Run the test with --mysqld=--flashback
       
      DROP TABLE IF EXISTS t1;
      exec $MYSQL_BINLOG suite/binlog/std_data/bug32407.001 | $MYSQL;
      

      10.2 abe6aca8d46a

      #3  <signal handler called>
      #4  0x00007f2f58fd489f in bitmap_bits_set (map=0x0) at /data/src/10.2/mysys/my_bitmap.c:600
      #5  0x00007f2f589975cd in pack_row (table=0x7f2f4d4c7c70, cols=0x0, row_data=0x7f2f4d41cca0 '\245' <repeats 200 times>..., record=0x7f2f4d41cb88 "\375\001") at /data/src/10.2/sql/rpl_record.cc:65
      #6  0x00007f2f585b7a9f in THD::binlog_write_row (this=0x7f2f4d416070, table=0x7f2f4d4c7c70, is_trans=false, record=0x7f2f4d41cb88 "\375\001") at /data/src/10.2/sql/sql_class.cc:6320
      #7  0x00007f2f5886e909 in Write_rows_log_event::binlog_row_logging_function (thd=0x7f2f4d416070, table=0x7f2f4d4c7c70, is_transactional=false, before_record=0x0, after_record=0x7f2f4d41cb88 "\375\001") at /data/src/10.2/sql/log_event.h:4714
      #8  0x00007f2f5886bcb0 in binlog_log_row_internal (table=0x7f2f4d4c7c70, before_record=0x0, after_record=0x7f2f4d41cb88 "\375\001", log_func=0x7f2f5886e8d4 <Write_rows_log_event::binlog_row_logging_function(THD*, TABLE*, bool, unsigned char const*, unsigned char const*)>) at /data/src/10.2/sql/handler.cc:5804
      #9  0x00007f2f5886bd1a in binlog_log_row (table=0x7f2f4d4c7c70, before_record=0x0, after_record=0x7f2f4d41cb88 "\375\001", log_func=0x7f2f5886e8d4 <Write_rows_log_event::binlog_row_logging_function(THD*, TABLE*, bool, unsigned char const*, unsigned char const*)>) at /data/src/10.2/sql/handler.cc:5816
      #10 0x00007f2f5886c52d in handler::ha_write_row (this=0x7f2f4d48d888, buf=0x7f2f4d41cb88 "\375\001") at /data/src/10.2/sql/handler.cc:5967
      #11 0x00007f2f5899a99b in replace_record (thd=0x7f2f4d416070, table=0x7f2f4d4c7c70, master_reclength=5, master_fields=1) at /data/src/10.2/sql/log_event_old.cc:478
      #12 0x00007f2f5899b428 in Write_rows_log_event_old::do_exec_row (this=0x7f2f4d40eaf0, table=0x7f2f4d4c7c70) at /data/src/10.2/sql/log_event_old.cc:886
      #13 0x00007f2f58999960 in Old_rows_log_event::do_apply_event (this=0x7f2f4d40eaf0, ev=0x7f2f4d40eaf0, rgi=0x7f2f4d48c800) at /data/src/10.2/sql/log_event_old.cc:239
      #14 0x00007f2f5899fbd1 in Write_rows_log_event_old::do_apply_event (this=0x7f2f4d40eaf0, rgi=0x7f2f4d48c800) at /data/src/10.2/sql/log_event_old.h:405
      #15 0x00007f2f5855542f in Log_event::apply_event (this=0x7f2f4d40eaf0, rgi=0x7f2f4d48c800) at /data/src/10.2/sql/log_event.h:1452
      #16 0x00007f2f5870fdfe in mysql_client_binlog_statement (thd=0x7f2f4d416070) at /data/src/10.2/sql/sql_binlog.cc:287
      #17 0x00007f2f585fdef4 in mysql_execute_command (thd=0x7f2f4d416070) at /data/src/10.2/sql/sql_parse.cc:6090
      #18 0x00007f2f58602cac in mysql_parse (thd=0x7f2f4d416070, rawbuf=0x7f2f4d464088 "BINLOG '\n4CdYRxMBAAAAJwAAAPIAAAAAABEAAAAAAAAABHRlc3QAAnQxAAED\n4CdYRxQBAAAAIgAAABQBAAAQABEAAAAAAAEAAf/9AQAAAA==\n'", length=112, parser_state=0x7f2f59682dd0, is_com_multi=false, is_next_command=false) at /data/src/10.2/sql/sql_parse.cc:7842
      #19 0x00007f2f585f0db7 in dispatch_command (command=COM_QUERY, thd=0x7f2f4d416070, packet=0x7f2f4d458071 "BINLOG '\n4CdYRxMBAAAAJwAAAPIAAAAAABEAAAAAAAAABHRlc3QAAnQxAAED\n4CdYRxQBAAAAIgAAABQBAAAQABEAAAAAAAEAAf/9AQAAAA==\n'", packet_length=112, is_com_multi=false, is_next_command=false) at /data/src/10.2/sql/sql_parse.cc:1800
      #20 0x00007f2f585ef7af in do_command (thd=0x7f2f4d416070) at /data/src/10.2/sql/sql_parse.cc:1360
      #21 0x00007f2f587381e8 in do_handle_one_connection (connect=0x7f2f550716b0) at /data/src/10.2/sql/sql_connect.cc:1354
      #22 0x00007f2f58737f75 in handle_one_connection (arg=0x7f2f550716b0) at /data/src/10.2/sql/sql_connect.cc:1260
      #23 0x00007f2f58a7ca36 in pfs_spawn_thread (arg=0x7f2f55014ef0) at /data/src/10.2/storage/perfschema/pfs.cc:1862
      #24 0x00007f2f57c1d0a4 in start_thread (arg=0x7f2f59684300) at pthread_create.c:309
      #25 0x00007f2f55bca87d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
      

      Attachments

        Activity

          People

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