diff options
author | Monty <monty@mariadb.org> | 2015-09-01 18:40:54 +0300 |
---|---|---|
committer | Monty <monty@mariadb.org> | 2015-09-01 18:42:02 +0300 |
commit | 4f0255cbf9df7b0dca507cbdcc753ae7821a47a4 (patch) | |
tree | 41af0c227d33af2aca7e7651270915e8ee1a5c8a /mysql-test/valgrind.supp | |
parent | 56aa19989f5800df8a398173727558bfb3ea1251 (diff) | |
download | mariadb-git-4f0255cbf9df7b0dca507cbdcc753ae7821a47a4.tar.gz |
Fixed errors and bugs found by valgrind:
- If run with valgrind, mysqltest will now wait longer when syncronizing slave with master
- Ensure that we wait with cleanup() until slave thread has stopped.
- Added signal_thd_deleted() to signal close_connections() that all THD's has been freed.
- Check in handle_fatal_signal() that we don't use variables that has been freed.
- Increased some timeouts when run with --valgrind
Other things:
- Fixed wrong test in one_thread_per_connection_end() if galera is used.
- Removed not needed calls to THD_CHECK_SENTRY() when we are calling 'delete thd'.
Diffstat (limited to 'mysql-test/valgrind.supp')
-rw-r--r-- | mysql-test/valgrind.supp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/mysql-test/valgrind.supp b/mysql-test/valgrind.supp index 2fca6ef90e8..53ddda21258 100644 --- a/mysql-test/valgrind.supp +++ b/mysql-test/valgrind.supp @@ -127,6 +127,15 @@ } { + pthread memalign memory loss3 + Memcheck:Leak + fun:memalign + fun:tls_get_addr_tail + ... + fun:*ha_finalize_handlerton* +} + +{ pthread pthread_key_create Memcheck:Leak fun:malloc |