-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
MDEV-36345: Add Leak Sanitizer suppression for _dl_catch_exception #4266
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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
main
branch.PR quality check