summaryrefslogtreecommitdiff
path: root/mysql-test/valgrind.supp
diff options
context:
space:
mode:
authorSachin Setiya <sachin.setiya@mariadb.com>2017-02-22 11:40:01 +0530
committerSachin Setiya <sachin.setiya@mariadb.com>2017-02-22 11:40:01 +0530
commit32591b750fa52047d0b359c3fc02e9cf41631331 (patch)
tree7764a9333a62076dd029d723e246ff29d628825f /mysql-test/valgrind.supp
parentcf673adee2d1e43d5cdeab91c7f1fc3e73fa3b37 (diff)
downloadmariadb-git-32591b750fa52047d0b359c3fc02e9cf41631331.tar.gz
MDEV-11718 5.5 rpl and federated tests massively fail in buildbot with valgrind
Problem:- When MariaDB is compiled with jemalloc support, And we run mtr valgrind test, valgrind interferes with libjemalloc and returns false errors. Solution:- Run valgrind with --soname-synonyms=somalloc=libjemalloc* or --soname-synonyms=somalloc=NONE depending on whether we are dynamically linking or statically linking. Signed-off-by: Sachin Setiya <sachin.setiya@mariadb.com>
Diffstat (limited to 'mysql-test/valgrind.supp')
-rw-r--r--mysql-test/valgrind.supp10
1 files changed, 10 insertions, 0 deletions
diff --git a/mysql-test/valgrind.supp b/mysql-test/valgrind.supp
index 154031feb0d..4448f2a069a 100644
--- a/mysql-test/valgrind.supp
+++ b/mysql-test/valgrind.supp
@@ -1074,3 +1074,13 @@
...
fun:pthread_create*
}
+
+{
+ Memory Leak in loader and valgrind malloc
+ Memcheck:Leak
+ match-leak-kinds:reachable
+ obj:*/vgpreload_memcheck*.so
+ ...
+ obj:*/ld-*.so
+ ...
+}