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

sys_vars.all_vars and some other tests produce valgrind warnings in buildbot (blocks are still reachable in loss record in malloc / ... dl_open_worker)

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 5.5
    • Fix Version/s: N/A
    • Component/s: Server
    • Labels:
      None

      Description

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

      sys_vars.innodb_stats_sample_pages_basic 'innodb_plugin' w12 [ pass ]   1376
      ***Warnings generated in error logs during shutdown after running tests: sys_vars.all_vars
       
      ==3229== 37 bytes in 1 blocks are still reachable in loss record 1 of 5
      ==3229==    at 0x4C28BE3: malloc (vg_replace_malloc.c:299)
      ==3229==    by 0x40079EC: expand_dynamic_string_token (in /usr/lib64/ld-2.17.so)
      ==3229==    by 0x40084F5: _dl_map_object (in /usr/lib64/ld-2.17.so)
      ==3229==    by 0x40138D0: dl_open_worker (in /usr/lib64/ld-2.17.so)
      ==3229==    by 0x400F313: _dl_catch_error (in /usr/lib64/ld-2.17.so)
      ==3229==    by 0x401325A: _dl_open (in /usr/lib64/ld-2.17.so)
      ==3229==    by 0x58D402A: dlopen_doit (in /usr/lib64/libdl-2.17.so)
      ==3229==    by 0x400F313: _dl_catch_error (in /usr/lib64/ld-2.17.so)
      ==3229==    by 0x58D462C: _dlerror_run (in /usr/lib64/libdl-2.17.so)
      ==3229==    by 0x58D40C0: dlopen@@GLIBC_2.2.5 (in /usr/lib64/libdl-2.17.so)
      ==3229==    by 0x610A4E: plugin_dl_add(st_mysql_lex_string const*, int) (sql_plugin.cc:750)
      ==3229==    by 0x611885: plugin_add(st_mem_root*, st_mysql_lex_string const*, st_mysql_lex_string*, int) (sql_plugin.cc:1056)
      ==3229==    by 0x6146EB: mysql_install_plugin(THD*, st_mysql_lex_string const*, st_mysql_lex_string const*) (sql_plugin.cc:2127)
      ==3229==    by 0x606313: mysql_execute_command(THD*) (sql_parse.cc:4418)
      ==3229==    by 0x609B7B: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5931)
      ==3229==    by 0x5FD6A5: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1079)
      ==3229== 8,032 bytes in 1 blocks are still reachable in loss record 5 of 5
      ==3229==    at 0x4C2A975: calloc (vg_replace_malloc.c:711)
      ==3229==    by 0x4009A9D: do_lookup_x (in /usr/lib64/ld-2.17.so)
      ==3229==    by 0x4009FAE: _dl_lookup_symbol_x (in /usr/lib64/ld-2.17.so)
      ==3229==    by 0x400BB25: _dl_relocate_object (in /usr/lib64/ld-2.17.so)
      ==3229==    by 0x4013BC9: dl_open_worker (in /usr/lib64/ld-2.17.so)
      ==3229==    by 0x400F313: _dl_catch_error (in /usr/lib64/ld-2.17.so)
      ==3229==    by 0x401325A: _dl_open (in /usr/lib64/ld-2.17.so)
      ==3229==    by 0x58D402A: dlopen_doit (in /usr/lib64/libdl-2.17.so)
      ==3229==    by 0x400F313: _dl_catch_error (in /usr/lib64/ld-2.17.so)
      ==3229==    by 0x58D462C: _dlerror_run (in /usr/lib64/libdl-2.17.so)
      ==3229==    by 0x58D40C0: dlopen@@GLIBC_2.2.5 (in /usr/lib64/libdl-2.17.so)
      ==3229==    by 0x610A4E: plugin_dl_add(st_mysql_lex_string const*, int) (sql_plugin.cc:750)
      ==3229==    by 0x611885: plugin_add(st_mem_root*, st_mysql_lex_string const*, st_mysql_lex_string*, int) (sql_plugin.cc:1056)
      ==3229==    by 0x6146EB: mysql_install_plugin(THD*, st_mysql_lex_string const*, st_mysql_lex_string const*) (sql_plugin.cc:2127)
      ==3229==    by 0x606313: mysql_execute_command(THD*) (sql_parse.cc:4418)
      ==3229==    by 0x609B7B: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:5931)
      

      Some other tests or sequences of tests produce similar warnings. As discussed briefly, it's not clear right away whether a suppression should be added for this..

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: