summaryrefslogtreecommitdiff
path: root/mysql-test
diff options
context:
space:
mode:
authorSergey Vojtovich <svoj@mariadb.org>2016-06-13 17:10:31 +0400
committerSergey Vojtovich <svoj@mariadb.org>2016-06-13 17:10:31 +0400
commitd6a1bae57f369d6d1781b94696b87e81e39be4ca (patch)
tree6a0f947ebcb50199f8acb7a1aee9debccaf58bdd /mysql-test
parent2db724c8d2f3771c1a20b8cf9aaaf913b94aee68 (diff)
downloadmariadb-git-d6a1bae57f369d6d1781b94696b87e81e39be4ca.tar.gz
MDEV-10218 - rpl.rpl_binlog_errors fails in buildbot with valgrind warnings -
bytes are possibly lost Restored suppressions removed by MDEV-9994: they're needed for detached threads.
Diffstat (limited to 'mysql-test')
-rw-r--r--mysql-test/valgrind.supp19
1 files changed, 19 insertions, 0 deletions
diff --git a/mysql-test/valgrind.supp b/mysql-test/valgrind.supp
index 16b59b8a06f..b86cbd23408 100644
--- a/mysql-test/valgrind.supp
+++ b/mysql-test/valgrind.supp
@@ -1047,3 +1047,22 @@
fun:_nss_dns_gethostbyaddr_r
fun:gethostbyaddr_r
}
+
+
+#
+# Detached threads may not complete deiniitialization by the time shutdown
+# thread calls exit. This is unfortunate property of detached threads, which
+# we currently can only ignore. Unfortunately there is no way to distinguish
+# between false positives generated by detached threads and real memory leaks
+# generated by not joined joinable threads. So we hide both cases.
+#
+# To avoid enumeration of the whole variety of possible traces we ignore all
+# "possibly lost" blocks allocated by pthread_create (and it's callees).
+#
+{
+ Detached threads memory loss
+ Memcheck:Leak
+ match-leak-kinds:possible
+ ...
+ fun:pthread_create*
+}