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

plugins.feedback_plugin_send fails with valgrind warnings in buildbot

    XMLWordPrintable

Details

    Description

      See also MDEV-11110.

      The test started failing in valgrind builder after it was switched to OpenSSL.
      I assume it has something to do with the old version of OpenSSL that the machine has. However, unlike other tests which were failing in libcrypto and libssl, which are now suppressed, this one also produces some warnings which look MariaDB-specific. I can suppress them as well, but I need a confirmation they're not a real problem.

      Usual warnings

      ==31002== Conditional jump or move depends on uninitialised value(s)
      ==31002==    at 0x4C291AA: is_overlap (vg_replace_strmem.c:128)
      ==31002==    by 0x4C291AA: memcpy (vg_replace_strmem.c:1019)
      ==31002==    by 0x58D1142: ssl3_read_bytes (in /usr/lib64/libssl.so.0.9.8)
      ==31002==    by 0x58D1905: ssl3_get_message (in /usr/lib64/libssl.so.0.9.8)
      ==31002==    by 0x58D1E6C: ssl3_get_finished (in /usr/lib64/libssl.so.0.9.8)
      ==31002==    by 0x58CC40F: ssl3_connect (in /usr/lib64/libssl.so.0.9.8)
      ==31002==    by 0x58D352D: ssl23_connect (in /usr/lib64/libssl.so.0.9.8)
      ==31002==    by 0xF03981: ssl_handshake_loop (viossl.c:294)
      ==31002==    by 0xF03B3E: ssl_do (viossl.c:358)
      ==31002==    by 0xF03EAC: sslconnect (viossl.c:422)
      ==31002==    by 0xC799501: feedback::Url_http::send(char const*, unsigned long) (url_http.cc:220)
      ==31002==    by 0xC797F53: feedback::send_report(char const*) (sender_thread.cc:243)
      ==31002==    by 0xC798179: background_thread (sender_thread.cc:288)
      ==31002==    by 0x4E3806F: start_thread (in /lib64/libpthread-2.9.so)
      ==31002==    by 0x68DD13C: clone (in /lib64/libc-2.9.so)
      

      Suspicious warnings

      ==31002== Conditional jump or move depends on uninitialised value(s)
      ==31002==    at 0xEFE68F: strnmov (strnmov.c:41)
      ==31002==    by 0xEFB6FC: process_str_arg (my_vsnprintf.c:215)
      ==31002==    by 0xEFD38F: my_vsnprintf_ex (my_vsnprintf.c:629)
      ==31002==    by 0xEFDA37: my_vsnprintf (my_vsnprintf.c:707)
      ==31002==    by 0x9447B3: vprint_msg_to_log(loglevel, char const*, __va_list_tag*) (log.cc:8124)
      ==31002==    by 0x94480A: Log_to_file_event_handler::log_error(loglevel, char const*, __va_list_tag*) (log.cc:1004)
      ==31002==    by 0x93F049: LOGGER::error_log_print(loglevel, char const*, __va_list_tag*) (log.cc:1112)
      ==31002==    by 0x93F4BF: error_log_print(loglevel, char const*, __va_list_tag*) (log.cc:6058)
      ==31002==    by 0x943253: sql_print_information(char const*, ...) (log.cc:8168)
      ==31002==    by 0xC799964: feedback::Url_http::send(char const*, unsigned long) (url_http.cc:316)
      ==31002==    by 0xC797F53: feedback::send_report(char const*) (sender_thread.cc:243)
      ==31002==    by 0xC798179: background_thread (sender_thread.cc:288)
      ==31002==    by 0x4E3806F: start_thread (in /lib64/libpthread-2.9.so)
      ==31002==    by 0x68DD13C: clone (in /lib64/libc-2.9.so)
       
      ==31002== Conditional jump or move depends on uninitialised value(s)
      ==31002==    at 0x4C2BBD8: strstr (vg_replace_strmem.c:1613)
      ==31002==    by 0xC79992C: feedback::Url_http::send(char const*, unsigned long) (url_http.cc:309)
      ==31002==    by 0xC797F53: feedback::send_report(char const*) (sender_thread.cc:243)
      ==31002==    by 0xC7981D1: background_thread (sender_thread.cc:298)
      ==31002==    by 0x4E3806F: start_thread (in /lib64/libpthread-2.9.so)
      ==31002==    by 0x68DD13C: clone (in /lib64/libc-2.9.so)
      

      and more.

      Attachments

        Issue Links

          Activity

            People

              serg Sergei Golubchik
              elenst Elena Stepanova
              Votes:
              0 Vote for this issue
              Watchers:
              2 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.