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

Conditional jump or move depends on uninitialised value in my_scan_weight_utf8_general_ci, main.mysql_client_test fails in biuldbot with valgrind

    XMLWordPrintable

Details

    Description

      http://buildbot.askmonty.org/buildbot/builders/work-amd64-valgrind/builds/10024/steps/test/logs/stdio

      main.mysql_client_test                   w3 [ fail ]  Found warnings/errors in server log file!
              Test ended at 2017-04-27 08:29:11
      line
      ==7510== Thread 7:
      ==7510== Conditional jump or move depends on uninitialised value(s)
      ==7510==    at 0xF65694: my_scan_weight_utf8_general_ci (strcoll.ic:89)
      ==7510==    by 0xF6584D: my_strnncoll_utf8_general_ci (strcoll.ic:175)
      ==7510==    by 0xEEFA4D: hashcmp (hash.c:370)
      ==7510==    by 0xEEF821: my_hash_first_from_hash_value (hash.c:285)
      ==7510==    by 0xEEF76C: my_hash_first (hash.c:257)
      ==7510==    by 0xEEF6C3: my_hash_search (hash.c:231)
      ==7510==    by 0x6331F9: plugin_find_internal(st_mysql_lex_string const*, int) (sql_plugin.cc:900)
      ==7510==    by 0x633627: plugin_lock_by_name(THD*, st_mysql_lex_string const*, int) (sql_plugin.cc:1026)
      ==7510==    by 0x874809: ha_table_exists(THD*, char const*, char const*, handlerton**) (handler.cc:5034)
      ==7510==    by 0x6D4B12: mysql_rm_table_no_locks(THD*, TABLE_LIST*, bool, bool, bool, bool, bool) (sql_table.cc:2399)
      ==7510==    by 0x6D4087: mysql_rm_table(THD*, TABLE_LIST*, char, char) (sql_table.cc:2084)
      ==7510==    by 0x621276: mysql_execute_command(THD*) (sql_parse.cc:4243)
      ==7510== Use of uninitialised value of size 8
      ==7510==    at 0xF65549: my_weight_mb1_utf8_general_ci (ctype-utf8.c:5362)
      ==7510==    by 0xF656A6: my_scan_weight_utf8_general_ci (strcoll.ic:91)
      ==7510==    by 0xF6584D: my_strnncoll_utf8_general_ci (strcoll.ic:175)
      ==7510==    by 0xEEFA4D: hashcmp (hash.c:370)
      ==7510==    by 0xEEF821: my_hash_first_from_hash_value (hash.c:285)
      ==7510==    by 0xEEF76C: my_hash_first (hash.c:257)
      ==7510==    by 0xEEF6C3: my_hash_search (hash.c:231)
      ==7510==    by 0x6331F9: plugin_find_internal(st_mysql_lex_string const*, int) (sql_plugin.cc:900)
      ==7510==    by 0x633627: plugin_lock_by_name(THD*, st_mysql_lex_string const*, int) (sql_plugin.cc:1026)
      ==7510==    by 0x874809: ha_table_exists(THD*, char const*, char const*, handlerton**) (handler.cc:5034)
      ==7510==    by 0x6D4B12: mysql_rm_table_no_locks(THD*, TABLE_LIST*, bool, bool, bool, bool, bool) (sql_table.cc:2399)
      ==7510==    by 0x6D4087: mysql_rm_table(THD*, TABLE_LIST*, char, char) (sql_table.cc:2084)
      

      Also reproducible locally.

      Attachments

        Activity

          People

            monty Michael Widenius
            elenst Elena Stepanova
            Votes:
            0 Vote for this issue
            Watchers:
            3 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.