SERVER-122461: Suppress LSAN on __res_context_query (#50279)
GitOrigin-RevId: 6c152c09450efb9388794ffcd5c06d70bc00d9dc
This commit is contained in:
parent
27cf3e042e
commit
b322c043eb
@ -24,9 +24,11 @@ leak:mongo::transport::AsioReactor::run()
|
||||
leak:mongo::transport::AsioReactor::drain()
|
||||
leak:UnitTest_SuiteNameTaskExecutorCursorFixtureTestNamePinnedExecutorDestroyedOnUnderlying
|
||||
|
||||
# Allocations from this function in libresolv are stored in thread-locals.
|
||||
# Allocations from these functions 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.
|
||||
# to do the root-set, resulting in false-positive leak reports. LSAN may report different functions
|
||||
# leaking depending on the version of libresolv.
|
||||
# TODO SERVER-65936: Re-evaluate if this is needed with a clean shutdown that joins all threads.
|
||||
leak:__res_context_send
|
||||
leak:__res_context_query
|
||||
|
||||
Loading…
Reference in New Issue
Block a user