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

Failed tests (Valgrind warings) -main.date_formats

    XMLWordPrintable

    Details

      Description

      both ES and CS:

      main.date_formats                        w7 [ fail ]  Found warnings/errors in server log file!
              Test ended at 2020-10-02 14:04:33
      line
      ==9549== Thread 6:
      ==9549== Conditional jump or move depends on uninitialised value(s)
      ==9549==    at 0xB408DD: extract_date_time(THD*, st_date_time_format*, char const*, unsigned int, st_mysql_time*, enum_mysql_timestamp_type, char const**, char const*, date_conv_mode_t) [clone .isra.100] (item_timefunc.cc:399)
      ==9549==    by 0xB45CE9: Item_func_str_to_date::get_date_common(THD*, st_mysql_time*, date_mode_t, enum_mysql_timestamp_type) (item_timefunc.cc:3079)
      ==9549==    by 0x9C8610: Type_handler::Item_send_datetime(Item*, Protocol*, st_value*) const (sql_type.cc:7428)
      ==9549==    by 0x7B4699: Protocol::send_result_set_row(List<Item>*) (protocol.cc:1085)
      ==9549==    by 0x8229D1: select_send::send_data(List<Item>&) (sql_class.cc:3025)
      ==9549==    by 0x8ADFE0: send_data_with_check (sql_class.h:5314)
      ==9549==    by 0x8ADFE0: end_send(JOIN*, st_join_table*, bool) (sql_select.cc:21817)
      ==9549==    by 0x89A3B1: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:20848)
      ==9549==    by 0x89FDFC: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:20664)
      ==9549==    by 0x8CE5D5: do_select (sql_select.cc:20159)
      ==9549==    by 0x8CE5D5: JOIN::exec_inner() (sql_select.cc:4455)
      ==9549==    by 0x8CE82B: JOIN::exec() (sql_select.cc:4236)
      ==9549==    by 0x8CCA2D: mysql_select(THD*, TABLE_LIST*, 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:4651)
      ==9549==    by 0x8CD569: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:429)
      ==9549==    by 0x73BD06: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:6210)
      ==9549==    by 0x8731B2: mysql_execute_command(THD*) (sql_parse.cc:3932)
      ==9549==    by 0x875D0B: mysql_parse(THD*, char*, unsigned int, Parser_state*, bool, bool) (sql_parse.cc:7994)
      ==9549==    by 0x8776FA: dispatch_command(enum_server_command, THD*, char*, unsigned int, bool, bool) (sql_parse.cc:1868)
      ==9549==    by 0x8791CA: do_command(THD*) (sql_parse.cc:1349)
      ==9549==    by 0x95FB71: do_handle_one_connection(CONNECT*, bool) (sql_connect.cc:1410)
      ==9549==    by 0x95FE33: handle_one_connection (sql_connect.cc:1312)
      ==9549==    by 0xCB619C: pfs_spawn_thread (pfs.cc:2201)
      ==9549== Conditional jump or move depends on uninitialised value(s)
      ==9549==    at 0xB408DD: extract_date_time(THD*, st_date_time_format*, char const*, unsigned int, st_mysql_time*, enum_mysql_timestamp_type, char const**, char const*, date_conv_mode_t) [clone .isra.100] (item_timefunc.cc:399)
      ==9549==    by 0xB45CE9: Item_func_str_to_date::get_date_common(THD*, st_mysql_time*, date_mode_t, enum_mysql_timestamp_type) (item_timefunc.cc:3079)
      ==9549==    by 0x9C3F41: Temporal_with_date::make_from_item(THD*, Item*, date_mode_t) (sql_type.cc:1009)
      ==9549==    by 0xB4A029: Temporal_with_date (sql_type.h:2035)
      ==9549==    by 0xB4A029: Datetime (sql_type.h:2314)
      ==9549==    by 0xB4A029: Datetime (sql_type.h:2320)
      ==9549==    by 0xB4A029: Datetime (sql_type.h:2323)
      ==9549==    by 0xB4A029: Item_handled_func::Handler_datetime::val_str_ascii(Item_handled_func*, String*) const (item_func.h:668)
      ==9549==    by 0xB0F773: Item_func::val_str_from_val_str_ascii(String*, String*) (item_strfunc.cc:98)
      ==9549==    by 0xB4AA6D: Item_handled_func::Handler_temporal::val_str(Item_handled_func*, String*) const (item_func.h:546)
      ==9549==    by 0xB0FB6B: Item_func_concat::val_str(String*) (item_strfunc.cc:618)
      ==9549==    by 0x9C8353: Type_handler::Item_send_str(Item*, Protocol*, st_value*) const (sql_type.cc:7343)
      ==9549==    by 0x7B4699: Protocol::send_result_set_row(List<Item>*) (protocol.cc:1085)
      ==9549==    by 0x8229D1: select_send::send_data(List<Item>&) (sql_class.cc:3025)
      ==9549==    by 0x8ADFE0: send_data_with_check (sql_class.h:5314)
      ==9549==    by 0x8ADFE0: end_send(JOIN*, st_join_table*, bool) (sql_select.cc:21817)
      ==9549==    by 0x89A3B1: evaluate_join_record(JOIN*, st_join_table*, int) (sql_select.cc:20848)
      ==9549==    by 0x89FDFC: sub_select(JOIN*, st_join_table*, bool) (sql_select.cc:20664)
      ==9549==    by 0x8CE5D5: do_select (sql_select.cc:20159)
      ==9549==    by 0x8CE5D5: JOIN::exec_inner() (sql_select.cc:4455)
      ==9549==    by 0x8CE82B: JOIN::exec() (sql_select.cc:4236)
      ==9549==    by 0x8CCA2D: mysql_select(THD*, TABLE_LIST*, 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:4651)
      ==9549==    by 0x8CD569: handle_select(THD*, LEX*, select_result*, unsigned long) (sql_select.cc:429)
      ==9549==    by 0x73BD06: execute_sqlcom_select(THD*, TABLE_LIST*) (sql_parse.cc:6210)
      ==9549==    by 0x8731B2: mysql_execute_command(THD*) (sql_parse.cc:3932)
      ==9549==    by 0x875D0B: mysql_parse(THD*, char*, unsigned int, Parser_state*, bool, bool) (sql_parse.cc:7994)
      ^ Found warnings in /var/tmp/mtr/7/log/mysqld.1.err
      ok
       
       - skipping '/var/tmp/mtr/7/log/main.date_formats/'
      

        Attachments

          Activity

            People

            Assignee:
            sanja Oleksandr Byelkin
            Reporter:
            tturenko Timofey Turenko
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: