Skip to content

Commit d2ae8cf

Browse files
committed
MDEV-36345: Add Leak Sanitizer suppression for _dl_catch_exception
This showed up when executing under ASAN(includes LSAN) the tests in the following order: * plugins.show_all_plugins * plugins.simple_password_check * plugins.sql_error_log * plugins.two_password_validations * roles.acl_load_mutex-5170 Or an "INSTALL PLUGIN" (existing or not), followed by "SHUTDOWN" as exhibited in MDEV-35772. Given the common depth of stack the internal glibc symbol was chosen based on its exception naming and the msan libunwind bug llvm/llvm-project#84348 that maybe is going into ASAN resolving too.
1 parent a2ee2c7 commit d2ae8cf

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

mysql-test/lsan.supp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# LSAN (Asan leaks) suppressions
22

3+
# MDEV-36345 Memleak on shutdown in acl_load_mutex test
4+
# MDEV-35772 LSAN: LeakSanitizer: detected memory leaks in operator new
5+
leak:_dl_catch_exception
6+
37
# Leaks found by main.tls_version1
48
leak:gnutls_certificate_allocate_credentials
59
leak:gnutls_x509_trust_list_init

0 commit comments

Comments
 (0)