diff options
author | Sachin Setiya <sachin.setiya@mariadb.com> | 2017-02-22 11:40:01 +0530 |
---|---|---|
committer | Sachin Setiya <sachin.setiya@mariadb.com> | 2017-02-22 11:40:01 +0530 |
commit | 32591b750fa52047d0b359c3fc02e9cf41631331 (patch) | |
tree | 7764a9333a62076dd029d723e246ff29d628825f /mysql-test/valgrind.supp | |
parent | cf673adee2d1e43d5cdeab91c7f1fc3e73fa3b37 (diff) | |
download | mariadb-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.supp | 10 |
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 + ... +} |