diff options
| -rw-r--r-- | etc/lsan.suppressions | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/etc/lsan.suppressions b/etc/lsan.suppressions index 43e72a8ee44..6eb6406e5db 100644 --- a/etc/lsan.suppressions +++ b/etc/lsan.suppressions @@ -18,3 +18,10 @@ leak:__cxa_thread_atexit_impl leak:mongo::ThreadPool::Impl::_startWorkerThread_inlock() leak:glob64 + +# Allocations from this function in libresolv are stored in thread-locals. +# Threads that are not joined by the time the leak-detector runs (like those spawned by ASIO) may +# still have pointers to these allocated objects but LSAN isn't able to identify them and add them +# to do the root-set, resulting in false-positive leak reports. +# TODO SERVER-65936: Re-evaluate if this is needed with a clean shutdown that joins all threads. +leak:__res_context_send |
