MDEV-36345: Add Leak Sanitizer suppression for _dl_catch_exception - #4266
MDEV-36345: Add Leak Sanitizer suppression for _dl_catch_exception#4266grooverdan wants to merge 1 commit into
Conversation
vuvova
left a comment
There was a problem hiding this comment.
This looks way too broad to me. Is there any way to make it more specific?
Doesn't appear to be. Unlike valgrind suppressions leak sanitizer is a single pattern against a symbol. https://github.com/google/sanitizers/wiki/AddressSanitizerLeakSanitizer#suppressions I can't explain the existing libtasn1 or libgnutls patterns in this file. The |
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.
efa3580 to
d2ae8cf
Compare
|
This is the last correction get the 10.11 amd64-ubasan-clang-20 builder green. Is the above acceptable @vuvova Apparently if the debug-syms of the library isn't there it resolved the supression: |
|
Do you know when |
Yes. this is looking more like a legitimate leak in of the plugins. Closing and relooking. |
Description
Targeting same branches that the new ASAN builder builds for - MariaDB/buildbot#815
This showed up when executing under ASAN(includes LSAN) the tests in the following order:
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.
Release Notes
nothing
How can this PR be tested?
mtr sequence per commit message
Basing the PR against the correct MariaDB version
mainbranch.PR quality check