[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) Created: 2017-01-05  Updated: 2017-07-11  Resolved: 2017-07-11

Status: Closed
Project: MariaDB Server
Component/s: Server
Affects Version/s: 5.5
Fix Version/s: N/A

Type: Bug Priority: Major
Reporter: Elena Stepanova Assignee: Sergei Golubchik
Resolution: Cannot Reproduce Votes: 0
Labels: None

Issue Links:
Relates
relates to MDEV-7069 Fix buildbot failures in main server ... Stalled

 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..


Generated at Thu Feb 08 07:52:13 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.