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

LP #610531: valgrind warnings in 5.1.47-rel11.2

    XMLWordPrintable

    Details

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

      Description

      **Reported in Launchpad by Mark Callaghan last update 04-08-2010 13:05:23

      I built 5.1.47-rel11.2 from source using gcc-4.1.2 on centos-5.2 and 64-bit x86.
      There are valgrind warnings from mtr --valgrind --suite=innodb

      The configure command line is:
      ./configure --enable-thread-safe-client --with-plugins=partition,csv,blackhole,myisam,heap,innodb_plugin --without-plugin-innobase --with-fast-mutexes --with-extra-charsets=all --without-debug C_EXTRA_FLAGS="-fno-omit-frame-pointer -fno-strict-aliasing -Wall"

      I think these are the same I saw in the MariaDB builds. I don't think these are in official MySQL.

      ==17041== Conditional jump or move depends on uninitialised value(s)
      ==17041== at 0x7BEF68: rw_lock_x_lock_func (sync0rw.ic:283)
      ==17041== by 0x76EF41: log_groups_write_checkpoint_info (log0log.c:1859)
      ==17041== by 0x770660: log_checkpoint (log0log.c:2057)
      ==17041== by 0x77096E: log_fsp_current_free_limit_set_and_checkpoint (log0log.c:177)
      ==17041== by 0x82B729: fsp_fill_free_list (fsp0fsp.c:1417)
      ==17041== by 0x82C629: fsp_header_init (fsp0fsp.c:1019)
      ==17041== by 0x7BD412: innobase_start_or_create_for_mysql (srv0start.c:1652)
      ==17041== by 0x750612: innobase_init(void*) (in /s/bld/percona-opt/sql/mysqld)
      ==17041== by 0x6AC2D7: ha_initialize_handlerton(st_plugin_int*) (in /s/bld/percona-opt/sql/mysqld)
      ==17041== by 0x733D36: plugin_initialize(st_plugin_int*) (in /s/bld/percona-opt/sql/mysqld)
      ==17041== by 0x737300: plugin_init(int*, char**, int) (in /s/bld/percona-opt/sql/mysqld)
      ==17041== by 0x5AF4D0: init_server_components() (in /s/bld/percona-opt/sql/mysqld)
      ==17041== by 0x5B2C54: main (in /s/bld/percona-opt/sql/mysqld)
      ==17041==
      ==17041== Conditional jump or move depends on uninitialised value(s)
      ==17041== at 0x7BF0E0: rw_lock_x_lock_func (sync0rw.c:569)
      ==17041== by 0x835D5A: fseg_create_general (mtr0mtr.ic:271)
      ==17041== by 0x7DC92C: btr_create (btr0btr.c:768)
      ==17041== by 0x82C658: fsp_header_init (fsp0fsp.c:1020)
      ==17041== by 0x7BD412: innobase_start_or_create_for_mysql (srv0start.c:1652)
      ==17041== by 0x750612: innobase_init(void*) (in /s/bld/percona-opt/sql/mysqld)
      ==17041== by 0x6AC2D7: ha_initialize_handlerton(st_plugin_int*) (in /s/bld/percona-opt/sql/mysqld)
      ==17041== by 0x733D36: plugin_initialize(st_plugin_int*) (in /s/bld/percona-opt/sql/mysqld)
      ==17041== by 0x737300: plugin_init(int*, char**, int) (in /s/bld/percona-opt/sql/mysqld)
      ==17041== by 0x5AF4D0: init_server_components() (in /s/bld/percona-opt/sql/mysqld)
      ==17041== by 0x5B2C54: main (in /s/bld/percona-opt/sql/mysqld)

      There are also bogus warnings when compiling in debug mode with -DHAVE_purify. These will be fixed in a future MySQL release:

      ==13890== Uninitialised byte(s) found during client check request
      ==13890== at 0x839757: buf_page_get_gen (buf0buf.ic:976)
      ==13890== by 0x86D528: fsp_header_init (fsp0fsp.c:989)
      ==13890== by 0x7EF192: innobase_start_or_create_for_mysql (srv0start.c:1652)
      ==13890== by 0x772CD5: innobase_init(void*) (ha_innodb.cc:2421)
      ==13890== by 0x6B0C9F: ha_initialize_handlerton(st_plugin_int*) (handler.cc:435)
      ==13890== by 0x74FBEF: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1019)
      ==13890== by 0x752FDB: plugin_init(int*, char**, int) (sql_plugin.cc:1246)
      ==13890== by 0x5A3331: init_server_components() (mysqld.cc:3983)
      ==13890== by 0x5A779D: main (mysqld.cc:4460)
      ==13890== Address 0x6474CBC is not stack'd, malloc'd or (recently) free'd
      ./include/buf0buf.ic:976: 0x6474cb0[144] undefined at 12
      ==13890==
      ==13890== Uninitialised byte(s) found during client check request
      ==13890== at 0x839514: buf_page_get_gen (buf0buf.c:2511)
      ==13890== by 0x86D528: fsp_header_init (fsp0fsp.c:989)
      ==13890== by 0x7EF192: innobase_start_or_create_for_mysql (srv0start.c:1652)
      ==13890== by 0x772CD5: innobase_init(void*) (ha_innodb.cc:2421)
      ==13890== by 0x6B0C9F: ha_initialize_handlerton(st_plugin_int*) (handler.cc:435)
      ==13890== by 0x74FBEF: plugin_initialize(st_plugin_int*) (sql_plugin.cc:1019)
      ==13890== by 0x752FDB: plugin_init(int*, char**, int) (sql_plugin.cc:1246)
      ==13890== by 0x5A3331: init_server_components() (mysqld.cc:3983)
      ==13890== by 0x5A779D: main (mysqld.cc:4460)
      ==13890== Address 0x6474CBC is not stack'd, malloc'd or (recently) free'd
      buf/buf0buf.c:2511: 0x6474cb0[144] undefined at 12

        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: