Uploaded image for project: 'Percona Server'
  1. Percona Server
  2. PS-5152

Memory leak on innodb.percona_sys_tablespace_encrypt_dblwr

    Details

    • Type: Bug
    • Status: On Hold
    • Priority: Medium
    • Resolution: Unresolved
    • Affects Version/s: 5.7, 8.0, Not 5.6
    • Fix Version/s: None
    • Component/s: None

      Description

      [100%] innodb.percona_sys_tablespace_encrypt_dblwr [ pass ]  51569
      ...
      Direct leak of 56 byte(s) in 1 object(s) allocated from:
          #0 0x7f1d6b8e2138 in calloc (/usr/lib/x86_64-linux-gnu/libasan.so.5+0xee138)
          #1 0x5582f7efeb76 in ut_allocator<unsigned char>::allocate(unsigned long, unsigned char const*, unsigned int, bool, bool) /home/laurynas/percona/percona-8.0/storage/innobase/include/ut0new.h:617
          #2 0x5582f8d3a555 in Datafile::validate_first_page(unsigned int, unsigned long*, bool) /home/laurynas/percona/percona-8.0/storage/innobase/fsp/fsp0file.cc:704
          #3 0x5582f8d586bd in SysTablespace::read_lsn_and_check_flags(unsigned long*) /home/laurynas/percona/percona-8.0/storage/innobase/fsp/fsp0sysspace.cc:544
          #4 0x5582f8d6068c in SysTablespace::open_or_create(bool, bool, unsigned int*, unsigned long*) /home/laurynas/percona/percona-8.0/storage/innobase/fsp/fsp0sysspace.cc:873
          #5 0x5582f864cdf5 in srv_start(bool, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/laurynas/percona/percona-8.0/storage/innobase/srv/srv0start.cc:2002
          #6 0x5582f7eca3f3 in innobase_init_files /home/laurynas/percona/percona-8.0/storage/innobase/handler/ha_innodb.cc:5008
          #7 0x5582f7ecc0b6 in innobase_ddse_dict_init /home/laurynas/percona/percona-8.0/storage/innobase/handler/ha_innodb.cc:12044
          #8 0x5582f6d18bdd in dd::bootstrap::DDSE_dict_init(THD*, dict_init_mode_t, unsigned int) /home/laurynas/percona/percona-8.0/sql/dd/impl/bootstrapper.cc:2199
          #9 0x5582f7638e5a in dd::upgrade_57::do_pre_checks_and_initialize_dd(THD*) /home/laurynas/percona/percona-8.0/sql/dd/upgrade/upgrade.cc:1081
          #10 0x5582f4002c55 in handle_bootstrap /home/laurynas/percona/percona-8.0/sql/bootstrap.cc:347
          #11 0x5582f79aa849 in pfs_spawn_thread /home/laurynas/percona/percona-8.0/storage/perfschema/pfs.cc:2836
          #12 0x7f1d6b7db163 in start_thread (/lib/x86_64-linux-gnu/libpthread.so.0+0x8163)
      
      Direct leak of 56 byte(s) in 1 object(s) allocated from:
          #0 0x7f1d6b8e2138 in calloc (/usr/lib/x86_64-linux-gnu/libasan.so.5+0xee138)
          #1 0x5582f7efeb76 in ut_allocator<unsigned char>::allocate(unsigned long, unsigned char const*, unsigned int, bool, bool) /home/laurynas/percona/percona-8.0/storage/innobase/include/ut0new.h:617
          #2 0x5582f8d3a47b in Datafile::validate_first_page(unsigned int, unsigned long*, bool) /home/laurynas/percona/percona-8.0/storage/innobase/fsp/fsp0file.cc:702
          #3 0x5582f8d586bd in SysTablespace::read_lsn_and_check_flags(unsigned long*) /home/laurynas/percona/percona-8.0/storage/innobase/fsp/fsp0sysspace.cc:544
          #4 0x5582f8d6068c in SysTablespace::open_or_create(bool, bool, unsigned int*, unsigned long*) /home/laurynas/percona/percona-8.0/storage/innobase/fsp/fsp0sysspace.cc:873
          #5 0x5582f864cdf5 in srv_start(bool, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/laurynas/percona/percona-8.0/storage/innobase/srv/srv0start.cc:2002
          #6 0x5582f7eca3f3 in innobase_init_files /home/laurynas/percona/percona-8.0/storage/innobase/handler/ha_innodb.cc:5008
          #7 0x5582f7ecc0b6 in innobase_ddse_dict_init /home/laurynas/percona/percona-8.0/storage/innobase/handler/ha_innodb.cc:12044
          #8 0x5582f6d18bdd in dd::bootstrap::DDSE_dict_init(THD*, dict_init_mode_t, unsigned int) /home/laurynas/percona/percona-8.0/sql/dd/impl/bootstrapper.cc:2199
          #9 0x5582f7638e5a in dd::upgrade_57::do_pre_checks_and_initialize_dd(THD*) /home/laurynas/percona/percona-8.0/sql/dd/upgrade/upgrade.cc:1081
          #10 0x5582f4002c55 in handle_bootstrap /home/laurynas/percona/percona-8.0/sql/bootstrap.cc:347
          #11 0x5582f79aa849 in pfs_spawn_thread /home/laurynas/percona/percona-8.0/storage/perfschema/pfs.cc:2836
          #12 0x7f1d6b7db163 in start_thread (/lib/x86_64-linux-gnu/libpthread.so.0+0x8163)
      

        Smart Checklist

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                laurynas.biveinis Laurynas Biveinis
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: