forked from percona/percona-server
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PS-8103: Do not unload dynamic libraries in an ASAN build
Issue: address sanitizer and valgrind can't resolve stack traces inside plugins and components. The reason behind this is that MySQL unloads dynamic libraries loaded dynamically during shutdown, making the code inaccessible to the sanitizers. This also means that suppressions do not work inside components and plugins, if the suppression involves a step in the stacktrace which is inside the plugin/component. Fix: add a conditional around dlunload to remove it from asan/valgrind builds.
- Loading branch information
Showing
2 changed files
with
11 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters