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

Memory leak on binlog_encryption.mysqlbinlog

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 8.0.x
    • Fix Version/s: 8.0.13-4
    • Component/s: None

      Description

      190102 13:12:33 [  4%] binlog_encryption.mysqlbinlog 'mix'      w7 [ fail ]
              Test ended at 2019-01-02 13:12:33
      
      CURRENT_TEST: binlog_encryption.mysqlbinlog
      ERROR: Could not read entry at offset 164: Error in log format or read error 1.
      ERROR: Error decrypting an event.
      
      =================================================================
      ==992==ERROR: LeakSanitizer: detected memory leaks
      
      Direct leak of 64 byte(s) in 1 object(s) allocated from:
          #0 0x7f55570edc50 in malloc (/usr/lib64/libasan.so.4+0xd9c50)
          #1 0x5eed3a in my_raw_malloc /tmp/ps/mysys/my_malloc.cc:199
          #2 0x5eeeb8 in my_malloc(unsigned int, unsigned long, int) /tmp/ps/mysys/my_malloc.cc:81
          #3 0x551a3a in Default_binlog_event_allocator::allocate(unsigned long) /tmp/ps/sql/binlog_reader.cc:23
          #4 0x4c5d17 in bool Binlog_event_data_istream::read_event_data<Default_binlog_event_allocator>(unsigned char**, unsigned int*, Default_binlog_event_allocator*, bool, binary_log::enum_binlog_checksum_alg) (/tmp/results/PS/bin/mysqlbinlog+0x4c5d17)
          #5 0x4c818c in bool Mysqlbinlog_event_data_istream::read_event_data<Default_binlog_event_allocator>(unsigned char**, unsigned int*, Default_binlog_event_allocator*, bool, binary_log::enum_binlog_checksum_alg) (/tmp/results/PS/bin/mysqlbinlog+0x4c818c)
          #6 0x4c8b40 in Log_event* Binlog_event_object_istream<Mysqlbinlog_event_data_istream>::read_event_object<Default_binlog_event_allocator>(binary_log::Format_description_event const&, bool, Default_binlog_event_allocator*) (/tmp/results/PS/bin/mysqlbinlog+0x4c8b40)
          #7 0x4cf768 in Basic_binlog_file_reader<Mysqlbinlog_ifile, Mysqlbinlog_event_data_istream, Binlog_event_object_istream, Default_binlog_event_allocator>::read_event_object() (/tmp/results/PS/bin/mysqlbinlog+0x4cf768)
          #8 0x4b9267 in dump_local_log_entries /tmp/ps/client/mysqlbinlog.cc:2542
          #9 0x4b95b1 in dump_single_log /tmp/ps/client/mysqlbinlog.cc:1898
          #10 0x4b9ac1 in dump_multiple_logs /tmp/ps/client/mysqlbinlog.cc:1938
          #11 0x4ba478 in main /tmp/ps/client/mysqlbinlog.cc:2798
          #12 0x7f5554951d1f in __libc_start_main (/lib64/libc.so.6+0x1ed1f)
      

        Smart Checklist

          Attachments

            Activity

              People

              Assignee:
              robert.golebiowski Robert Golebiowski
              Reporter:
              laurynas.biveinis Laurynas Biveinis (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - Not Specified
                  Not Specified
                  Logged:
                  Time Spent - 2 hours, 58 minutes
                  2h 58m