Skip to content

Commit 734f992

Browse files
authored
Fix Rocky Linux 8 ASAN plugin test failures (#12675)
Add leak suppression for ld-linux-x86-64.so to fix false positive memory leak reports on Rocky Linux 8 when running plugin tests with ASAN enabled. The tests properly call dlclose() for each dlopen(), but ASAN's instrumentation of the dynamic linker reports false positive leaks during plugin initialization. Fixes: test_PluginDso, test_PluginFactory, test_RemapPluginInfo on Rocky Linux 8
1 parent 24c7fd8 commit 734f992

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/proxy/http/remap/unit-tests/remap_test_dlopen_leak_suppression.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,7 @@
2323
# something nasty or ASAN is detecting a false-positive.
2424
# PluginDso::load
2525
leak:PluginDso::load
26-
leak:call_init
26+
leak:call_init
27+
# On Rocky Linux 8, ASAN reports leaks from the dynamic linker during dlopen
28+
# These are false positives as we properly call dlclose for each dlopen
29+
leak:ld-linux-x86-64.so

0 commit comments

Comments
 (0)