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

gcol.gcol_select_innodb fails in buildbot with valgrind (Conditional jump or move depends on uninitialised value)

    XMLWordPrintable

Details

    Description

      http://buildbot.askmonty.org/buildbot/builders/xenial-amd64-valgrind/builds/183/steps/test/logs/stdio
      Also reproducible locally with cmake . -DCMAKE_BUILD_TYPE=Debug -DWITH_VALGRIND=YES

      gcol.gcol_select_innodb 'innodb'         w8 [ fail ]  Found warnings/errors in server log file!
              Test ended at 2016-12-22 09:35:19
      line
      ==30276== Thread 27:
      ==30276== Conditional jump or move depends on uninitialised value(s)
      ==30276==    at 0x82D244: JOIN_CACHE::write_record_data(unsigned char*, bool*) (sql_join_cache.cc:1369)
      ==30276==    by 0x82DC03: JOIN_CACHE::put_record() (sql_join_cache.cc:1569)
      ==30276==    by 0x71026B: sub_select_cache(JOIN*, st_join_table*, bool) (sql_select.cc:18146)
      ==30276==    by 0x710CDB: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:18575)
      ==30276==    by 0x7107AA: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:18392)
      ==30276==    by 0x70FBB7: do_select(JOIN*, Procedure*) (sql_select.cc:17897)
      ==30276==    by 0x6EAF27: JOIN::exec_inner() (sql_select.cc:3388)
      ==30276==    by 0x6EA463: JOIN::exec() (sql_select.cc:3199)
      ==30276==    by 0x6EB5C5: mysql_select(THD*, TABLE_LIST*, unsigned int, List<Item>&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:3584)
      ==30276==    by 0x6729D0: mysql_derived_fill(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:1054)
      ==30276==    by 0x670D70: mysql_handle_single_derived(LEX*, TABLE_LIST*, unsigned int) (sql_derived.cc:197)
      ==30276==    by 0x700562: st_join_table::preread_init() (sql_select.cc:11648)
      ==30276== Conditional jump or move depends on uninitialised value(s)
      ==30276==    at 0x82D546: JOIN_CACHE::write_record_data(unsigned char*, bool*) (sql_join_cache.cc:1407)
      ==30276==    by 0x82DC03: JOIN_CACHE::put_record() (sql_join_cache.cc:1569)
      ==30276==    by 0x71026B: sub_select_cache(JOIN*, st_join_table*, bool) (sql_select.cc:18146)
      ==30276==    by 0x710CDB: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:18575)
      ==30276==    by 0x7107AA: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:18392)
      ==30276==    by 0x70FBB7: do_select(JOIN*, Procedure*) (sql_select.cc:17897)
      ==30276==    by 0x6EAF27: JOIN::exec_inner() (sql_select.cc:3388)
      ==30276==    by 0x6EA463: JOIN::exec() (sql_select.cc:3199)
      ==30276==    by 0x6EB5C5: mysql_select(THD*, TABLE_LIST*, unsigned int, List<Item>&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:3584)
      ==30276==    by 0x6729D0: mysql_derived_fill(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:1054)
      ==30276==    by 0x670D70: mysql_handle_single_derived(LEX*, TABLE_LIST*, unsigned int) (sql_derived.cc:197)
      ==30276==    by 0x700562: st_join_table::preread_init() (sql_select.cc:11648)
      ==30276== Conditional jump or move depends on uninitialised value(s)
      ==30276==    at 0x4C324A3: memcpy@@GLIBC_2.14 (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
      ==30276==    by 0x82D588: JOIN_CACHE::write_record_data(unsigned char*, bool*) (sql_join_cache.cc:1408)
      ==30276==    by 0x82DC03: JOIN_CACHE::put_record() (sql_join_cache.cc:1569)
      ==30276==    by 0x71026B: sub_select_cache(JOIN*, st_join_table*, bool) (sql_select.cc:18146)
      ==30276==    by 0x710CDB: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:18575)
      ==30276==    by 0x7107AA: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:18392)
      ==30276==    by 0x70FBB7: do_select(JOIN*, Procedure*) (sql_select.cc:17897)
      ==30276==    by 0x6EAF27: JOIN::exec_inner() (sql_select.cc:3388)
      ==30276==    by 0x6EA463: JOIN::exec() (sql_select.cc:3199)
      ==30276==    by 0x6EB5C5: mysql_select(THD*, TABLE_LIST*, unsigned int, List<Item>&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex_unit*, st_select_lex*) (sql_select.cc:3584)
      ==30276==    by 0x6729D0: mysql_derived_fill(THD*, LEX*, TABLE_LIST*) (sql_derived.cc:1054)
      ==30276==    by 0x670D70: mysql_handle_single_derived(LEX*, TABLE_LIST*, unsigned int) (sql_derived.cc:197)
      ...
      

      Attachments

        Activity

          People

            serg Sergei Golubchik
            elenst Elena Stepanova
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.