summaryrefslogtreecommitdiff
path: root/mysql-test/valgrind.supp
diff options
context:
space:
mode:
authorMonty <monty@mariadb.org>2019-08-12 15:47:24 +0300
committerSergei Golubchik <serg@mariadb.org>2019-08-23 22:03:54 +0200
commit97dd057702d167559cdaee86eb0b1a455d925168 (patch)
tree08d714f224348c2829e5e78b9f0dd4b447485f45 /mysql-test/valgrind.supp
parentb444b6b9100f8fff0d5b19597e21f35fe4c9d9cb (diff)
downloadmariadb-git-97dd057702d167559cdaee86eb0b1a455d925168.tar.gz
Fixed issues when running mtr with --valgrind
- Note that some issues was also fixed in 10.2 and 10.4. I also fixed them here to be able to continue with making 10.5 valgrind safe again - Disable connection threads warnings when doing shutdown
Diffstat (limited to 'mysql-test/valgrind.supp')
-rw-r--r--mysql-test/valgrind.supp176
1 files changed, 176 insertions, 0 deletions
diff --git a/mysql-test/valgrind.supp b/mysql-test/valgrind.supp
index 20533230943..d33cbcf2694 100644
--- a/mysql-test/valgrind.supp
+++ b/mysql-test/valgrind.supp
@@ -1638,6 +1638,81 @@
fun:clone
}
+{
+ codership test wsrep_info.plugin
+ Memcheck:Leak
+ match-leak-kinds: possible
+ fun:malloc
+ fun:tls_get_addr_tail
+}
+
+{
+ codership/galera
+ Memcheck:Addr4
+ fun:_ZN14Wsrep_thd_args11thread_typeEv
+ fun:_Z15start_wsrep_THDPv
+ fun:start_thread
+ fun:clone
+}
+
+{
+ codership/galera
+ Memcheck:Leak
+ match-leak-kinds: indirect
+ fun:malloc
+ fun:strdup
+ fun:dummy_init
+ fun:_ZN5wsrep18wsrep_provider_v26C1ERNS_12server_stateERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESA_
+ fun:_ZN5wsrep8provider13make_providerERNS_12server_stateERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESA_
+ fun:_ZN5wsrep12server_state13load_providerERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_
+ fun:_Z10wsrep_initv
+}
+
+{
+ codership/galera
+ Memcheck:Leak
+ match-leak-kinds: indirect
+ fun:malloc
+ fun:wsrep_dummy_loader
+ fun:wsrep_load
+ fun:_ZN5wsrep18wsrep_provider_v26C1ERNS_12server_stateERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESA_
+ fun:_ZN5wsrep8provider13make_providerERNS_12server_stateERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESA_
+ fun:_ZN5wsrep12server_state13load_providerERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_
+ fun:_Z10wsrep_initv
+}
+
+{
+ codership/galera
+ Memcheck:Leak
+ match-leak-kinds: indirect
+ fun:malloc
+ fun:wsrep_load
+ fun:_ZN5wsrep18wsrep_provider_v26C1ERNS_12server_stateERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESA_
+ fun:_ZN5wsrep8provider13make_providerERNS_12server_stateERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESA_
+ fun:_ZN5wsrep12server_state13load_providerERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_
+ fun:_Z10wsrep_initv
+}
+
+{
+ codership/galera
+ Memcheck:Leak
+ match-leak-kinds: definite
+ fun:_Znwm
+ fun:_ZN5wsrep8provider13make_providerERNS_12server_stateERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESA_
+ fun:_ZN5wsrep12server_state13load_providerERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_
+ fun:_Z10wsrep_initv
+}
+
+{
+ MDEV-20378 wsrep_info.plugin
+ Memcheck:Addr4
+ fun:_ZN14Wsrep_thd_args11thread_typeEv
+ fun:_Z15start_wsrep_THDPv
+ fun:pfs_spawn_thread
+ fun:start_thread
+ fun:clone
+}
+
#
# MDEV-11061: OpenSSL 0.9.8 problems
#
@@ -1945,7 +2020,108 @@
...
}
+{
+ From rocksdb.mariadb_plugin.test
+ Memcheck:Leak
+ match-leak-kinds: reachable
+ fun:calloc
+ fun:__cxa_thread_atexit_impl
+ fun:__tls_init
+ fun:_ZTWN7rocksdb12perf_contextE
+ fun:_ZN7rocksdb17InstrumentedMutex4LockEv
+ ...
+ fun:_ZNSt10unique_ptrIN7rocksdb9DBOptionsESt14default_deleteIS1_EED1Ev
+ fun:__run_exit_handlers
+}
+
##
## RocksDB Storage Engine suppressions end
##
+#
+# wolfSSL problems, to be removed after fixed by wolfSSL team
+#
+
+{
+ WolfSSL_accept
+ Memcheck:Cond
+ ...
+ fun:wolfSSL_accept
+}
+
+{
+ WolfSSL_connect
+ Memcheck:Cond
+ ...
+ fun:wolfSSL_connect
+}
+
+{
+ WolfSSL send param
+ Memcheck:Param
+ socketcall.sendto(msg)
+ fun:send
+ ...
+ fun:wolfSSL_connect
+}
+
+#
+# Temporary suppressions to be able to run all tests in 10.5 with --valgrind
+#
+
+#
+# InnoDB errors
+#
+
+{
+ InnoDB encryption
+ Memcheck:Addr2
+ fun:memmove
+ fun:wolfSSL_EVP_CipherUpdate
+}
+
+{
+ InnoDB row_in_step
+ Memcheck:Cond
+ fun:_Z12row_ins_stepP9que_thr_t
+ ...
+ fun:_ZN11ha_innobase10update_rowEPKhS1_
+}
+
+{
+ InnoDB leak
+ Memcheck:Leak
+ match-leak-kinds: indirect,definite
+ fun:malloc
+ fun:_Z26mem_heap_create_block_funcP16mem_block_info_tmPKcjm
+ ...
+ fun:_ZN11ha_innobase10delete_rowEPKh
+}
+
+{
+ InnoDB leak
+ Memcheck:Leak
+ match-leak-kinds: indirect,definite
+ fun:malloc
+ fun:_Z26mem_heap_create_block_funcP16mem_block_info_tmPKcjm
+ ...
+ fun:_ZN7handler13ha_update_rowEPKhS1_
+}
+
+#
+# Optimizer
+#
+
+{
+ innodb_fts.fulltext_misc
+ Memcheck:Param
+ write(buf)
+ fun:write
+ fun:my_write
+ fun:inline_mysql_file_write
+ fun:_my_b_cache_write
+ fun:my_b_flush_io_cache
+ fun:end_io_cache
+ ...
+ fun:_Z11mysql_unionP3THDP3LEXP13select_resultP18st_select_lex_unitm
+}