forked from mongodb/mongo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlsan.suppressions
32 lines (25 loc) · 1.39 KB
/
lsan.suppressions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# 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