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

Conditional jump or move depends on uninitialised value - slave sql - ha_myisam::check_and_repair

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 5.5.32
    • Fix Version/s: 5.5
    • Component/s: None
    • Labels:
      None
    • Environment:
      wheezy build x86_64

      Description

      While doing the valgrind tests for MDEV-4974 I came across this:

      The server was running solely as a sql slave when it was restarted.

      ==4576== Memcheck, a memory error detector
      ==4576== Copyright (C) 2002-2011, and GNU GPL'd, by Julian Seward et al.
      ==4576== Using Valgrind-3.7.0 and LibVEX; rerun with -h for copyright info
      ==4576== Command: /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --plugin-dir=/usr/lib/mysql/plugin --user=mysql --open-files-limit=2000 --pid-file=/var/run/mysqld/mysqld.pid --socket=/var/run/mysqld/mysqld.sock --port=3306
      ==4576== Parent PID: 1994
      ==4576== 
      ==4576== Warning: set address range perms: large range [0xb0d0000, 0x1b7b0000) (defined)
      ==4576== Thread 17:
      ==4576== Conditional jump or move depends on uninitialised value(s)
      ==4576==    at 0x919F1E: chk_del (mi_check.c:191)
      ==4576==    by 0x9156DD: ha_myisam::check(THD*, st_ha_check_opt*) (ha_myisam.cc:890)
      ==4576==    by 0x912626: ha_myisam::check_and_repair(THD*) (ha_myisam.cc:1626)
      ==4576==    by 0x465E63: auto_repair_table(THD*, TABLE_LIST*) (sql_base.cc:3972)
      ==4576==    by 0x4660EE: Open_table_context::recover_from_failed_open(THD*) (sql_base.cc:4156)
      ==4576==    by 0x467A59: open_tables(THD*, TABLE_LIST**, unsigned int*, unsigned int, Prelocking_strategy*) (sql_base.cc:5058)
      ==4576==    by 0x468803: open_and_lock_tables(THD*, TABLE_LIST*, bool, unsigned int, Prelocking_strategy*) (sql_base.cc:5635)
      ==4576==    by 0x68BE7D: Rows_log_event::do_apply_event(Relay_log_info const*) (sql_base.h:524)
      ==4576==    by 0x43C9BC: apply_event_and_update_pos(Log_event*, THD*, Relay_log_info*) (log_event.h:1257)
      ==4576==    by 0x43D81F: handle_slave_sql (slave.cc:2791)
      ==4576==    by 0x4E35B4F: start_thread (pthread_create.c:304)
      ==4576==    by 0x654BA7C: clone (clone.S:112)
      

        Gliffy Diagrams

          Attachments

            Activity

            There are no comments yet on this issue.

              People

              • Assignee:
                Unassigned
                Reporter:
                danblack Daniel Black
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: