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

Assertion `name != ((void *)0)' failed after FLUSH relay logs

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 10.0, 10.1, 10.2, 10.3, 10.4, 10.5, 10.6
    • Fix Version/s: 10.2, 10.3, 10.4, 10.5, 10.6
    • Component/s: Replication
    • Labels:
      None

      Description

      --error ER_BAD_SLAVE
      start slave;
       
      connect (con1, localhost, root);
      --send reset slave
       
      --connection default
      flush relay logs;
      

      10.2 228630f61ac10240c36717

       
      #3  <signal handler called>
      #4  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
      #5  0x00007f642868b859 in __GI_abort () at abort.c:79
      #6  0x00007f642868b729 in __assert_fail_base (fmt=0x7f6428821588 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=0x5559e4219c50 "name != ((void *)0)", file=0x5559e4219c18 "/10.2/src/mysys/mf_format.c", line=34, function=<optimized out>) at assert.c:92
      #7  0x00007f642869cf36 in __GI___assert_fail (assertion=0x5559e4219c50 "name != ((void *)0)", file=0x5559e4219c18 "/10.2/src/mysys/mf_format.c", line=34, function=0x5559e4219cf0 <__PRETTY_FUNCTION__.14413> "fn_format") at assert.c:101
      #8  0x00005559e3e803a5 in fn_format (to=0x7f64226d0620 "@\006m\"d\177", name=0x0, dir=0x5559e421eea0 ".", extension=0x5559e406165a "", flag=4) at /10.2/src/mysys/mf_format.c:34
      #9  0x00005559e3857e2d in MYSQL_LOG::generate_new_name (this=0x5559e71373a8, new_name=0x7f64226d0620 "@\006m\"d\177", log_name=0x0, next_log_number=0) at /10.2/src/sql/log.cc:2743
      #10 0x00005559e385e470 in MYSQL_BIN_LOG::new_file_impl (this=0x5559e71373a0, need_lock=true) at /10.2/src/sql/log.cc:5106
      #11 0x00005559e385e289 in MYSQL_BIN_LOG::new_file (this=0x5559e71373a0) at /10.2/src/sql/log.cc:5051
      #12 0x00005559e3410a5a in rotate_relay_log (mi=0x5559e7135200) at /10.2/src/sql/slave.cc:7408
      #13 0x00005559e36190a0 in Master_info_index::flush_all_relay_logs (this=0x5559e70718d0) at /10.2/src/sql/rpl_mi.cc:2005
      #14 0x00005559e365701f in reload_acl_and_cache (thd=0x7f6410000d90, options=2048, tables=0x0, write_to_binlog=0x7f64226d0c80) at /10.2/src/sql/sql_reload.cc:190
      #15 0x00005559e34d014c in mysql_execute_command (thd=0x7f6410000d90) at /10.2/src/sql/sql_parse.cc:5198
      #16 0x00005559e34d7b42 in mysql_parse (thd=0x7f6410000d90, rawbuf=0x7f6410012708 "flush relay logs", length=16, parser_state=0x7f64226d1560, is_com_multi=false, is_next_command=false) at /10.2/src/sql/sql_parse.cc:7793
      #17 0x00005559e34c5d9d in dispatch_command (command=COM_QUERY, thd=0x7f6410000d90, packet=0x7f6410008b61 "flush relay logs", packet_length=16, is_com_multi=false, is_next_command=false) at /10.2/src/sql/sql_parse.cc:1827
      #18 0x00005559e34c4898 in do_command (thd=0x7f6410000d90) at /10.2/src/sql/sql_parse.cc:1381
      #19 0x00005559e3620661 in do_handle_one_connection (connect=0x5559e70973c0) at /10.2/src/sql/sql_connect.cc:1336
      #20 0x00005559e36203c6 in handle_one_connection (arg=0x5559e70973c0) at /10.2/src/sql/sql_connect.cc:1241
      #21 0x00005559e3e49ec4 in pfs_spawn_thread (arg=0x5559e707a5d0) at /10.2/src/storage/perfschema/pfs.cc:1869
      #22 0x00007f6428bad609 in start_thread (arg=<optimized out>) at pthread_create.c:477
      #23 0x00007f6428788293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
      

        Attachments

          Activity

            People

            Assignee:
            Elkin Andrei Elkin
            Reporter:
            alice Alice Sherepa
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:

                Git Integration