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

valgrind failure in rpl_row_corruption

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 10.0.9
    • Fix Version/s: 10.0.10
    • Component/s: None
    • Labels:
      None

      Description

      One can see a valgrind failure:

      http://buildbot.askmonty.org/buildbot/builders/work-amd64-valgrind/builds/5398/steps/test/logs/stdio
      rpl.rpl_row_corruption 'row'             w3 [ fail ]  Found warnings/errors in server log file!
              Test ended at 2014-03-28 04:48:17
      line
      ==22840== Use of uninitialised value of size 8
      ==22840==    at 0x4C27379: strnlen (mc_replace_strmem.c:371)
      ==22840==    by 0xE299B8: process_str_arg (my_vsnprintf.c:207)
      ==22840==    by 0xE2A7EF: my_vsnprintf_ex (my_vsnprintf.c:629)
      ==22840==    by 0xE00D8F: DbugVfprintf (dbug.c:1297)
      ==22840==    by 0xE03499: _db_doprnt_ (dbug.c:1279)
      ==22840==    by 0x892B82: Table_map_log_event::do_apply_event(rpl_group_info*) (log_event.cc:10814)
      ==22840==    by 0x54E20F: apply_event_and_update_pos(Log_event*, THD*, rpl_group_info*, rpl_parallel_thread*) (log_event.h:1340)
      ==22840==    by 0x558408: exec_relay_log_event(THD*, Relay_log_info*, rpl_group_info*) (slave.cc:3556)
      ==22840==    by 0x559E9C: handle_slave_sql (slave.cc:4610)
      ==22840==    by 0x9776C8: pfs_spawn_thread (pfs.cc:1853)
      ==22840==    by 0x4E3506F: start_thread (in /lib64/libpthread-2.9.so)
      ==22840==    by 0x62F713C: clone (in /lib64/libc-2.9.so)
      ==22840== Conditional jump or move depends on uninitialised value(s)
      ==22840==    at 0xE2B266: strnmov (strnmov.c:40)
      ==22840==    by 0xE29ABE: process_str_arg (my_vsnprintf.c:215)
      ==22840==    by 0xE2A7EF: my_vsnprintf_ex (my_vsnprintf.c:629)
      ==22840==    by 0xE00D8F: DbugVfprintf (dbug.c:1297)
      ==22840==    by 0xE03499: _db_doprnt_ (dbug.c:1279)
      ==22840==    by 0x892B82: Table_map_log_event::do_apply_event(rpl_group_info*) (log_event.cc:10814)
      ==22840==    by 0x54E20F: apply_event_and_update_pos(Log_event*, THD*, rpl_group_info*, rpl_parallel_thread*) (log_event.h:1340)
      ==22840==    by 0x558408: exec_relay_log_event(THD*, Relay_log_info*, rpl_group_info*) (slave.cc:3556)
      ==22840==    by 0x559E9C: handle_slave_sql (slave.cc:4610)
      ==22840==    by 0x9776C8: pfs_spawn_thread (pfs.cc:1853)
      ==22840==    by 0x4E3506F: start_thread (in /lib64/libpthread-2.9.so)
      ==22840==    by 0x62F713C: clone (in /lib64/libc-2.9.so)
      ^ Found warnings in /dev/shm/var_auto_oYK5/3/log/mysqld.2.err
      ok

        Attachments

          Activity

            People

            • Assignee:
              psergey Sergei Petrunia
              Reporter:
              psergey Sergei Petrunia
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: