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

Conditional jump or move depends on uninitialised value(s): binary_log::Log_event_footer::event_checksum_test

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: On Hold
    • Priority: Medium
    • Resolution: Unresolved
    • Affects Version/s: 8.0
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      Valgrind on CentOS 6, test binlog_encryption.mysqlbinlog 'mix':

      181119 10:28:49 binlog_encryption.mysqlbinlog 'mix'      w2 [ fail ]  Found warnings/errors in server log file!
              Test ended at 2018-11-19 10:28:49
      line
      ==925== Thread 36:
      ==925== Conditional jump or move depends on uninitialised value(s)
      ==925==    at 0x3B2C80F: binary_log::Log_event_footer::event_checksum_test(unsigned char*, unsigned long, binary_log::enum_binlog_checksum_alg) (binlog_event.cpp:163)
      ==925==    by 0x3702B06: Log_event::read_log_event(IO_CACHE*, String*, Format_description_log_event const*, mysql_mutex_t*, binary_log::enum_binlog_checksum_alg, char const*, bool*, char*) (log_event.cc:1562)
      ==925==    by 0x3780AF5: Binlog_sender::read_event(IO_CACHE*, binary_log::enum_binlog_checksum_alg, unsigned char**, unsigned int*) (rpl_binlog_sender.cc:1139)
      ==925==    by 0x377D98D: Binlog_sender::send_events(IO_CACHE*, unsigned long long) (rpl_binlog_sender.cc:429)
      ==925==    by 0x377D731: Binlog_sender::send_binlog(IO_CACHE*, unsigned long long) (rpl_binlog_sender.cc:364)
      ==925==    by 0x377D0BD: Binlog_sender::run() (rpl_binlog_sender.cc:258)
      ==925==    by 0x3778336: mysql_binlog_send(THD*, char*, unsigned long long, Gtid_set*, unsigned int) (rpl_master.cc:1009)
      ==925==    by 0x3777D8C: com_binlog_dump(THD*, char*, unsigned long) (rpl_master.cc:937)
      ==925==    by 0x29C8851: dispatch_command(THD*, COM_DATA const*, enum_server_command) (sql_parse.cc:1849)
      ==925==    by 0x29C63E0: do_command(THD*) (sql_parse.cc:1262)
      ==925==    by 0x2B66D7D: handle_connection (connection_handler_per_thread.cc:317)
      ==925==    by 0x3BEFEEB: pfs_spawn_thread (pfs.cc:2836)
      ==925==    by 0x70E2AA0: start_thread (in /lib64/libpthread-2.12.so)
      ==925==    by 0x8E36C4C: clone (in /lib64/libc-2.12.so)
      ==925== Use of uninitialised value of size 8
      ==925==    at 0x81927C5: crc32 (in /lib64/libz.so.1.2.3)
      ==925==    by 0x2A8C972: binary_log::checksum_crc32(unsigned int, unsigned char const*, unsigned long) (binlog_event.h:433)
      ==925==    by 0x3B2C8BC: binary_log::Log_event_footer::event_checksum_test(unsigned char*, unsigned long, binary_log::enum_binlog_checksum_alg) (binlog_event.cpp:188)
      ==925==    by 0x3702B06: Log_event::read_log_event(IO_CACHE*, String*, Format_description_log_event const*, mysql_mutex_t*, binary_log::enum_binlog_checksum_alg, char const*, bool*, char*) (log_event.cc:1562)
      ==925==    by 0x3780AF5: Binlog_sender::read_event(IO_CACHE*, binary_log::enum_binlog_checksum_alg, unsigned char**, unsigned int*) (rpl_binlog_sender.cc:1139)
      ==925==    by 0x377D98D: Binlog_sender::send_events(IO_CACHE*, unsigned long long) (rpl_binlog_sender.cc:429)
      ==925==    by 0x377D731: Binlog_sender::send_binlog(IO_CACHE*, unsigned long long) (rpl_binlog_sender.cc:364)
      ==925==    by 0x377D0BD: Binlog_sender::run() (rpl_binlog_sender.cc:258)
      ==925==    by 0x3778336: mysql_binlog_send(THD*, char*, unsigned long long, Gtid_set*, unsigned int) (rpl_master.cc:1009)
      ==925==    by 0x3777D8C: com_binlog_dump(THD*, char*, unsigned long) (rpl_master.cc:937)
      ==925==    by 0x29C8851: dispatch_command(THD*, COM_DATA const*, enum_server_command) (sql_parse.cc:1849)
      ==925==    by 0x29C63E0: do_command(THD*) (sql_parse.cc:1262)
      ==925==    by 0x2B66D7D: handle_connection (connection_handler_per_thread.cc:317)
      ==925==    by 0x3BEFEEB: pfs_spawn_thread (pfs.cc:2836)
      ==925==    by 0x70E2AA0: start_thread (in /lib64/libpthread-2.12.so)
      ==925==    by 0x8E36C4C: clone (in /lib64/libc-2.12.so)
      

        Smart Checklist

          Attachments

            Activity

              People

              • Assignee:
                przemyslaw.skibinski Przemyslaw Skibinski
                Reporter:
                laurynas.biveinis Laurynas Biveinis
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 9 minutes
                  9m