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

LP #1669005: Valgrind error on tokudb.backup.tokudb_backup_exclude

    Details

    • Type: Bug
    • Status: Done
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None

      Description

      **Reported in Launchpad by Laurynas Biveinis last update 07-04-2017 02:33:58

      On 5.6 trunk with Valgrind:

      tokudb.backup.tokudb_backup_exclude w1 [ fail ] Found warnings/errors in server log file!
      Test ended at 2017-02-28 01:09:48
      Warnings:
      Warning 1265 Data truncated for column 'line' at row 4
      line
      ==25727== Thread 39:
      ==25727== Conditional jump or move depends on uninitialised value(s)
      ==25727== at 0x4C30F69: strlen (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
      ==25727== by 0x66BAB93: std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::assign(char const*) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.22)
      ==25727== by 0xE3093CD: tokudb_backup_get_master_infos(THD*, std::vector<tokudb_backup_master_info, std::allocator<tokudb_backup_master_info> >*) (tokudb_backup.cc:359)
      ==25727== by 0xE309722: tokudb_backup_after_stop_capt_fun(void*) (tokudb_backup.cc:402)
      ==25727== by 0x4E4D27D: backup_callbacks::after_stop_capt_call() (backup_callbacks.h:71)
      ==25727== by 0x4E4ADBA: manager::do_backup(directory_set*, backup_callbacks*) (manager.cc:230)
      ==25727== by 0x4E53C7B: tokubackup_create_backup (backup.cc:406)
      ==25727== by 0xE30A8E4: tokudb_backup_run(THD*, char const*) (tokudb_backup.cc:981)
      ==25727== by 0xE30ABD7: tokudb_backup_check_dir(THD*, st_mysql_sys_var*, void*, st_mysql_value*) (tokudb_backup.cc:1029)
      ==25727== by 0x834F4D: sys_var_pluginvar::do_check(THD*, set_var*) (sql_plugin.cc:3300)
      ==25727== by 0x754668: sys_var::check(THD*, set_var*) (set_var.cc:213)
      ==25727== by 0x7555CD: set_var::check(THD*) (set_var.cc:636)
      ==25727== by 0x755262: sql_set_variables(THD*, List<set_var_base>*, bool) (set_var.cc:575)
      ==25727== by 0x81E067: mysql_execute_command(THD*) (sql_parse.cc:4236)
      ==25727== by 0x825D26: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:7056)
      ==25727== by 0x816EAF: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1485)
      ^ Found warnings in /mnt/workspace/percona-server-5.6-valgrind/BUILD_TYPE/valgrind/Host/ubuntu-xenial-64bit/build/mysql-test/var/1/log/mysqld.1.err

        Smart Checklist

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                lpjirasync lpjirasync (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: