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

Warning: Memory not freed: 32 on setting wsrep_sst_auth

    XMLWordPrintable

Details

    Description

      New regression after MDEV-24509 fix.

      DROP VIEW v;
      CREATE TABLE t (a INT) ENGINE=InnoDB;
      SET @@global.wsrep_sst_auth='abc';
      SHUTDOWN;
      

      Will lead to:

      10.6.3 891a927e804c5a3a582f6137c2f316ef7abb25ca (Optimized)

      2021-06-28 19:55:23 0 [Note] /test/MD280621-mariadb-10.6.3-linux-x86_64-opt/bin/mysqld: Shutdown complete
       
      Warning: Memory not freed: 32
      

      10.6.3 891a927e804c5a3a582f6137c2f316ef7abb25ca (Debug)

      2021-06-28 19:53:37 0 [Note] /test/MD280621-mariadb-10.6.3-linux-x86_64-dbg/bin/mysqld: Shutdown complete               
       
      Warning: Memory not freed: 32                                                                                           
      Warning:   32 bytes lost at 0x150e60008480, allocated by T@0 at mysys/my_malloc.c:233, sql/wsrep_sst.cc:249, sql/wsrep_sst.cc:291, sql/set_var.cc:208, sql/set_var.cc:863, sql/set_var.cc:745, sql/sql_parse.cc:5039, sql/sql_parse.cc:8028     
      Memory lost: 32 bytes in 1 chunks                                                                                       
      Warning:   32 bytes lost at 0x150e60008480, allocated by T@0 at mysys/my_malloc.c:233, sql/wsrep_sst.cc:249, sql/wsrep_sst.cc:291, sql/set_var.cc:208, sql/set_var.cc:863, sql/set_var.cc:745, sql/sql_parse.cc:5039, sql/sql_parse.cc:8028
      Memory lost: 32 bytes in 1 chunks
      

      Issue present in optimized and debug builds from 10.4 to 10.6.

      Attachments

        Issue Links

          Activity

            People

              jplindst Jan Lindström (Inactive)
              Roel Roel Van de Paar
              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.