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

ASAN: 133 byte(s) leaked in 4 allocation(s) while shutting down server after executing auth_gssapi plugin installation command

    XMLWordPrintable

Details

    Description

      --ERROR ER_UNKNOWN_ERROR 
      INSTALL SONAME 'auth_gssapi';
      SHUTDOWN;
      

      Leads to

      CS 10.5.27 e997bf58fbefa06d47403001482ab81502f764dd (Optimized, UBASAN)

      =================================================================
      ==3388317==ERROR: LeakSanitizer: detected memory leaks
       
      Direct leak of 48 byte(s) in 1 object(s) allocated from:
          #0 0x56018f6190d8 in malloc (/test/UBASAN_MD090824-mariadb-10.5.27-linux-x86_64-opt/bin/mariadbd+0x7c0d0d8)
          #1 0x14efa64d0ee4  (<unknown module>)
       
      Indirect leak of 53 byte(s) in 1 object(s) allocated from:
          #0 0x56018f5a1ced in strdup (/test/UBASAN_MD090824-mariadb-10.5.27-linux-x86_64-opt/bin/mariadbd+0x7b95ced)
          #1 0x14efa6614a45  (<unknown module>)
       
      Indirect leak of 24 byte(s) in 1 object(s) allocated from:
          #0 0x56018f6190d8 in malloc (/test/UBASAN_MD090824-mariadb-10.5.27-linux-x86_64-opt/bin/mariadbd+0x7c0d0d8)
          #1 0x14efa6614903  (<unknown module>)
       
      Indirect leak of 8 byte(s) in 1 object(s) allocated from:
          #0 0x56018f6190d8 in malloc (/test/UBASAN_MD090824-mariadb-10.5.27-linux-x86_64-opt/bin/mariadbd+0x7c0d0d8)
          #1 0x14efa6614959  (<unknown module>)
       
      SUMMARY: AddressSanitizer: 133 byte(s) leaked in 4 allocation(s).
      241205  8:20:59 [ERROR] mysqld got signal 6 ;
      Sorry, we probably made a mistake, and this is a bug.
      

      ASAN Build command

      cmake . -DWITH_SSL=bundled -DBUILD_CONFIG=mysql_release -DWITH_TOKUDB=0 -DWITH_JEMALLOC=no -DFEATURE_SET=community -DDEBUG_EXTNAME=OFF -DWITH_EMBEDDED_SERVER=0 -DENABLE_DOWNLOADS=1 -DDOWNLOAD_BOOST=1 -DWITH_BOOST=/tmp/boost_184112 -DENABLED_LOCAL_INFILE=1 -DENABLE_DTRACE=0 -DWITH_SAFEMALLOC=OFF -DPLUGIN_PERFSCHEMA=NO -DWITH_DBUG_TRACE=OFF -DWITH_ZLIB=bundled -DWITH_ROCKSDB=1 -DWITH_PAM=ON -DWITH_MARIABACKUP=0 -DFORCE_INSOURCE_BUILD=1 -DWITH_ASAN=ON -DWITH_ASAN_SCOPE=ON -DWITH_UBSAN=ON -DWSREP_LIB_WITH_ASAN=ON -DCMAKE_CXX_FLAGS=-static-libasan -DMYSQL_MAINTAINER_MODE=OFF -DWARNING_AS_ERROR='' -DCMAKE_BUILD_TYPE=RelWithDebInfo
      

      Attachments

        Activity

          People

            serg Sergei Golubchik
            ramesh Ramesh Sivaraman
            Votes:
            0 Vote for this issue
            Watchers:
            1 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.