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

Valgrind warnings (Conditional jump or move depends on uninitialised value) on slave with slave-parallel-threads > 0

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 10.0.5
    • Component/s: None
    • Labels:
      None

      Description

      ==11897== Thread 30:
      ==11897== Conditional jump or move depends on uninitialised value(s)
      ==11897==    at 0x4C2C0BF: __GI_strcpy (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
      ==11897==    by 0x7945DC: rpl_parallel::do_event(rpl_group_info*, Log_event*) (rpl_parallel.cc:660)
      ==11897==    by 0x58FBF0: exec_relay_log_event(THD*, Relay_log_info*, rpl_group_info*) (slave.cc:3347)
      ==11897==    by 0x5928CC: handle_slave_sql (slave.cc:4328)
      ==11897==    by 0x9A9B43: pfs_spawn_thread (pfs.cc:1015)
      ==11897==    by 0x545AE99: start_thread (pthread_create.c:308)
      ==11897==    by 0x619CCBC: clone (clone.S:112)
      
      revision-id: knielsen@knielsen-hq.org-20131024065348-t37zcjiw9mdta4kd
      revno: 3683
      branch-nick: 10.0-knielsen
      

      It's enough to run a dummy MTR test with -mysqld=-slave-parallel-threads=1 --valgrind-mysqld
      (not necessarily 1 thread, can be more):

      
      --source include/master-slave.inc
      --source include/have_binlog_format_row.inc
      
      select 1;
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

              Hide
              knielsen Kristian Nielsen added a comment -

              Thanks! It should be fixed now in revision 3685.

              Show
              knielsen Kristian Nielsen added a comment - Thanks! It should be fixed now in revision 3685.

                People

                • Assignee:
                  knielsen Kristian Nielsen
                  Reporter:
                  elenst Elena Stepanova
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: