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

Safemalloc reports bytes lost with an unexistent --character-set-server value

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • 10.6
    • 10.6
    • Server
    • None
    • Can result in unexpected behaviour

    Description

      Debug build reports safemalloc warnings when running:

      ./sql/mariadbd -v? --character-set-server=xxx
      

      or

      ./sql/mariadbd --help --versbose --character-set-server=xxx
      

      ./sql/mariadbd: Character set 'xxx' is not a compiled character set and is not specified in the '/my/maria-11.8/sql/share/charsets/Index.xml' file
      ./sql/mariadbd: Character set 'xxx' is not a compiled character set and is not specified in the '/my/maria-11.8/sql/share/charsets/Index.xml' file
      Memory report from safemalloc
      Warning: 2072 bytes lost at 0x3151c70, allocated by T@0 at mysys/array.c:73, mysy
      s/hash.c:99, mysys/thr_mutex.c:171, mysys/thr_mutex.c:312, psi/mysql_thread.h:754
      , mysys/charset.c:873, mysys/charset.c:1005, mysys/charset.c:1024
      Warning: 2072 bytes lost at 0x31513d0, allocated by T@0 at mysys/array.c:73, mysy
      s/hash.c:99, mysys/thr_mutex.c:168, mysys/thr_mutex.c:312, psi/mysql_thread.h:754
      , mysys/charset.c:873, mysys/charset.c:1005, mysys/charset.c:1024
      Warning: 296 bytes lost at 0x3151220, allocated by T@0 at mysys/mulalloc.c:59, m
      ysys/thr_mutex.c:155, mysys/thr_mutex.c:312, psi/mysql_thread.h:754, mysys/charse
      t.c:873, mysys/charset.c:1005, mysys/charset.c:1024, sql/charset_collations.cc:60
      Warning: 1048 bytes lost at 0x30c9510, allocated by T@0 at mysys/array.c:73, mysy
      s/hash.c:99, mysys/charset.c:709, 0x7ffff786d5d7, mysys/charset.c:1004, mysys/cha
      rset.c:1024, sql/charset_collations.cc:60, sql/charset_collations.cc:106
      Warning: 16408 bytes lost at 0x30c5470, allocated by T@0 at mysys/array.c:73, mys
      ys/hash.c:99, sql/json_schema.cc:2851, sql/mysqld.cc:4285, sql/mysqld.cc:5935, sq
      l/main.cc:36, 0x7ffff623e24d, x86_64/start.S:122
      Warning: 6136 bytes lost at 0x30c3bf0, allocated by T@0 at mysys/array.c:73, mysy
      s/hash.c:99, sql/item_create.cc:6617, sql/item_create.cc:6733, sql/mysqld.cc:4275
      , sql/mysqld.cc:5935, sql/main.cc:36, 0x7ffff623e24d
      Warning: 6008 bytes lost at 0x30c23f0, allocated by T@0 at mysys/array.c:73, mysy
      s/hash.c:99, sql/item_create.cc:6617, sql/item_create.cc:6722, sql/mysqld.cc:4275
      , sql/mysqld.cc:5935, sql/main.cc:36, 0x7ffff623e24d
      Warning: 2072 bytes lost at 0x30c1b50, allocated by T@0 at mysys/array.c:73, mysy
      s/hash.c:99, mysys/thr_mutex.c:171, mysys/thr_mutex.c:312, psi/mysql_thread.h:754
      , sql-common/client_plugin.c:290, sql/mysqld.cc:4274, sql/mysqld.cc:5935
      Warning: 2072 bytes lost at 0x30c12b0, allocated by T@0 at mysys/array.c:73, mysy
      s/hash.c:99, mysys/thr_mutex.c:168, mysys/thr_mutex.c:312, psi/mysql_thread.h:754
      , sql-common/client_plugin.c:290, sql/mysqld.cc:4274, sql/mysqld.cc:5935
      Warning: 296 bytes lost at 0x30c1100, allocated by T@0 at mysys/mulalloc.c:59, m
      ysys/thr_mutex.c:155, mysys/thr_mutex.c:312, psi/mysql_thread.h:754, sql-common/c
      lient_plugin.c:290, sql/mysqld.cc:4274, sql/mysqld.cc:5935, sql/main.cc:36
      .....
      

      Attachments

        Activity

          People

            bar Alexander Barkov
            bar Alexander Barkov
            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.