0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-11-25 09:19:32 +01:00
mongodb/etc/lsan.suppressions
George Wangensteen 9b7f722246 SERVER-90100 Add a suppression for libresolv thread-local false-posit… (#21779)
GitOrigin-RevId: 8966eec6c6426577246a75d4d7bc5d64eef4c238
2024-05-02 23:28:42 +00:00

33 lines
1.4 KiB
Plaintext

# Client objects are leaked in threads that are never terminated
leak:mongo::Client::Client
# DiagnosticListeners and WaitListeners need to be available in detached threads
leak:mongo::latch_detail::getDiagnosticListenerState
leak:mongo::latch_detail::installDiagnosticListener
leak:mongo::Interruptible::installWaitListener
# The singleton must live throughout the lifetime of all SSL threads
leak::mongo::SSLThreadInfo::ThreadIDManager::idManager
# Thread names leak from threads that are never terminated.
leak:mongo::setThreadName
leak:mongo::getThreadName
leak:__cxa_thread_atexit_impl
# Threads leak from thread pools not joined at shutdown.
leak:mongo::ThreadPool::Impl::_startWorkerThread_inlock()
leak:glob64
# Cleanup on io_context may not run due to race with shutdown.
leak:mongo::transport::AsioReactor::run()
leak:mongo::transport::AsioReactor::drain()
leak:UnitTest_SuiteNameTaskExecutorCursorFixtureTestNamePinnedExecutorDestroyedOnUnderlying
# 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