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

errors.test fails with valgrind (Conditional jump or move depends on uninitialised value)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 10.3
    • Fix Version/s: 10.3.3
    • Component/s: XML Functions
    • Labels:
      None

      Description

      mtr --valgrind errors returns the following output in 10.3 and bb-10.2-ext:

      main.errors                              [ fail ]  Found warnings/errors in server log file!
              Test ended at 2017-11-03 08:39:35
      line
      ==20701== Thread 6:
      ==20701== Conditional jump or move depends on uninitialised value(s)
      ==20701==    at 0xA4B807: Item_int::Item_int(THD*, char const*, unsigned int) (item.cc:3350)
      ==20701==    by 0xC0227B: my_xpath_parse_Number(my_xpath_st*) (item_xmlfunc.cc:2502)
      ==20701==    by 0xC01128: my_xpath_parse_PrimaryExpr(my_xpath_st*) (item_xmlfunc.cc:1974)
      ==20701==    by 0xC01679: my_xpath_parse_FilterExpr(my_xpath_st*) (item_xmlfunc.cc:2144)
      ==20701==    by 0xC01494: my_xpath_parse_FilterExpr_opt_slashes_RelativeLocationPath(my_xpath_st*) (item_xmlfunc.cc:2085)
      ==20701==    by 0xC0164C: my_xpath_parse_PathExpr(my_xpath_st*) (item_xmlfunc.cc:2121)
      ==20701==    by 0xC01310: my_xpath_parse_UnionExpr(my_xpath_st*) (item_xmlfunc.cc:2043)
      ==20701==    by 0xC02129: my_xpath_parse_UnaryExpr(my_xpath_st*) (item_xmlfunc.cc:2458)
      ==20701==    by 0xC01F08: my_xpath_parse_MultiplicativeExpr(my_xpath_st*) (item_xmlfunc.cc:2414)
      ==20701==    by 0xC01D25: my_xpath_parse_AdditiveExpr(my_xpath_st*) (item_xmlfunc.cc:2362)
      ==20701==    by 0xC01BCD: my_xpath_parse_RelationalExpr(my_xpath_st*) (item_xmlfunc.cc:2320)
      ==20701==    by 0xC01A1A: my_xpath_parse_EqualityExpr(my_xpath_st*) (item_xmlfunc.cc:2259)
      ==20701==    by 0xC017D2: my_xpath_parse_AndExpr(my_xpath_st*) (item_xmlfunc.cc:2193)
      ==20701==    by 0xC01698: my_xpath_parse_OrExpr(my_xpath_st*) (item_xmlfunc.cc:2161)
      ==20701==    by 0xC029D2: my_xpath_parse(my_xpath_st*, char const*, char const*) (item_xmlfunc.cc:2707)
      ==20701==    by 0xC02CD3: Item_xml_str_func::fix_fields(THD*, Item**) (item_xmlfunc.cc:2758)
      ^ Found warnings in /home/bar/maria-git/server.10.3/mysql-test/var/log/mysqld.1.err
      ok
       
       - saving '/home/bar/maria-git/server.10.3/mysql-test/var/log/main.errors/' to '/home/bar/maria-git/server.10.3/mysql-test/var/log/main.errors/'
      valgrind_report                          [ pass ]       
      --------------------------------------------------------------------------
      

        Attachments

          Activity

            People

            Assignee:
            bar Alexander Barkov
            Reporter:
            bar Alexander Barkov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Git Integration