Project

General

Profile

Actions

Bug #77552

closed
KC YS

leak in ceph::immutable_obj_cache::CacheSession::send()

Bug #77552: leak in ceph::immutable_obj_cache::CacheSession::send()

Added by Kefu Chai 5 months ago. Updated 3 months ago.

Status:
Backporting
Priority:
Normal
Assignee:
Target version:
-
Due date:
% Done:

0%

Source:
Backport:
squid,tentacle,umbrella
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Tags (freeform):
Fixed In:
v21.3.0-1055-g6497e5ff17
Released In:
Upkeep Timestamp:
2026-08-27T18:41:13+00:00

Description

==31366==ERROR: LeakSanitizer: detected memory leaks

Indirect leak of 4096 byte(s) in 1 object(s) allocated from:
    #0 0xaaaab7f359c4 in posix_memalign (/ceph/build/bin/unittest_ceph_immutable_obj_cache+0x3959c4) (BuildId: 57a186bb79d269b0970c1340fde16db3b57e44d5)
    #1 0xffff90b44c48 in ceph::buffer::raw_combined::alloc_data_n_controlblock(unsigned int, unsigned int) /ceph/src/common/buffer.cc:114:15
    #2 0xffff90b2dfc8 in ceph::buffer::raw_combined::create(unsigned int, unsigned int, int) /ceph/src/common/buffer.cc:128:35
    #3 0xffff90b1f4b4 in ceph::buffer::v15_2_0::list::refill_append_space(unsigned int) /ceph/src/common/buffer.cc:1340:24
    #4 0xffff90b20c14 in ceph::buffer::v15_2_0::list::append_hole(unsigned int) /ceph/src/common/buffer.cc:1469:24
    #5 0xaaaab8156fd0 in ceph::immutable_obj_cache::ObjectCacheRequest::encode() /ceph/src/tools/immutable_object_cache/Types.cc:20:3
    #6 0xaaaab813ae00 in ceph::immutable_obj_cache::CacheSession::send(ceph::immutable_obj_cache::ObjectCacheRequest*) /ceph/src/tools/immutable_object_cache/CacheSession.cc:123:10
    #7 0xaaaab7fa70dc in TestCommunication::handle_request(ceph::immutable_obj_cache::CacheSession*, ceph::immutable_obj_cache::ObjectCacheRequest*) /ceph/src/test/immutable_object_cache/test_DomainSocket.cc:97:21
    #8 0xaaaab7fa6c30 in TestCommunication::SetUp()::'lambda'(ceph::immutable_obj_cache::CacheSession*, ceph::immutable_obj_cache::ObjectCacheRequest*)::operator()(ceph::immutable_obj_cache::CacheSession*, ceph::immutable_obj_cache::ObjectCacheRequest*) const /ceph/src/test/immutable_object_cache/test_DomainSocket.cc:47:9
    #9 0xaaaab7fa6bd0 in void std::__invoke_impl<void, TestCommunication::SetUp()::'lambda'(ceph::immutable_obj_cache::CacheSession*, ceph::immutable_obj_cache::ObjectCacheRequest*)&, ceph::immutable_obj_cache::CacheSession*, ceph::immutable_obj_cache::ObjectCacheRequest*>(std::__invoke_other, TestCommunication::SetUp()::'lambda'(ceph::immutable_obj_cache::CacheSession*, ceph::immutable_obj_cache::ObjectCacheRequest*)&, ceph::immutable_obj_cache::CacheSession*&&, ceph::immutable_obj_cache::ObjectCacheRequest*&&) /usr/lib/gcc/aarch64-linux-gnu/12/../../../../include/c++/12/bits/invoke.h:61:14
    #10 0xaaaab7fa6b04 in std::enable_if<is_invocable_r_v<void, TestCommunication::SetUp()::'lambda'(ceph::immutable_obj_cache::CacheSession*, ceph::immutable_obj_cache::ObjectCacheRequest*)&, ceph::immutable_obj_cache::CacheSession*, ceph::immutable_obj_cache::ObjectCacheRequest*>, void>::type std::__invoke_r<void, TestCommunication::SetUp()::'lambda'(ceph::immutable_obj_cache::CacheSession*, ceph::immutable_obj_cache::ObjectCacheRequest*)&, ceph::immutable_obj_cache::CacheSession*, ceph::immutable_obj_cache::ObjectCacheRequest*>(TestCommunication::SetUp()::'lambda'(ceph::immutable_obj_cache::CacheSession*, ceph::immutable_obj_cache::ObjectCacheRequest*)&, ceph::immutable_obj_cache::CacheSession*&&, ceph::immutable_obj_cache::ObjectCacheRequest*&&) /usr/lib/gcc/aarch64-linux-gnu/12/../../../../include/c++/12/bits/invoke.h:111:2
    #11 0xaaaab7fa69ac in std::_Function_handler<void (ceph::immutable_obj_cache::CacheSession*, ceph::immutable_obj_cache::ObjectCacheRequest*), TestCommunication::SetUp()::'lambda'(ceph::immutable_obj_cache::CacheSession*, ceph::immutable_obj_cache::ObjectCacheRequest*)>::_M_invoke(std::_Any_data const&, ceph::immutable_obj_cache::CacheSession*&&, ceph::immutable_obj_cache::ObjectCacheRequest*&&) /usr/lib/gcc/aarch64-linux-gnu/12/../../../../include/c++/12/bits/std_function.h:290:9
    #12 0xaaaab8140478 in std::function<void (ceph::immutable_obj_cache::CacheSession*, ceph::immutable_obj_cache::ObjectCacheRequest*)>::operator()(ceph::immutable_obj_cache::CacheSession*, ceph::immutable_obj_cache::ObjectCacheRequest*) const /usr/lib/gcc/aarch64-linux-gnu/12/../../../../include/c++/12/bits/std_function.h:591:9
    #13 0xaaaab813a900 in ceph::immutable_obj_cache::CacheSession::process(ceph::immutable_obj_cache::ObjectCacheRequest*) /ceph/src/tools/immutable_object_cache/CacheSession.cc:117:3
    #14 0xaaaab813a37c in ceph::immutable_obj_cache::CacheSession::handle_request_data(ceph::buffer::v15_2_0::ptr, unsigned long, boost::system::error_code const&, unsigned long) /ceph/src/tools/immutable_object_cache/CacheSession.cc:110:3
    #15 0xaaaab814b20c in void boost::_mfi::mf<void (ceph::immutable_obj_cache::CacheSession::*)(ceph::buffer::v15_2_0::ptr, unsigned long, boost::system::error_code const&, unsigned long), void, ceph::immutable_obj_cache::CacheSession, ceph::buffer::v15_2_0::ptr, unsigned long, boost::system::error_code const&, unsigned long>::operator()<std::shared_ptr<ceph::immutable_obj_cache::CacheSession>&, std::shared_ptr<ceph::immutable_obj_cache::CacheSession>, void, void>(std::shared_ptr<ceph::immutable_obj_cache::CacheSession>&, ceph::buffer::v15_2_0::ptr, unsigned long, boost::system::error_code const&, unsigned long) const /opt/ceph/include/boost/bind/mem_fn.hpp:74:16
    #16 0xaaaab814af28 in void boost::_bi::list<boost::_bi::value<std::shared_ptr<ceph::immutable_obj_cache::CacheSession>>, boost::_bi::value<ceph::buffer::v15_2_0::ptr>, boost::_bi::value<unsigned long>, boost::arg<1>, boost::arg<2>>::call_impl<boost::_mfi::mf<void (ceph::immutable_obj_cache::CacheSession::*)(ceph::buffer::v15_2_0::ptr, unsigned long, boost::system::error_code const&, unsigned long), void, ceph::immutable_obj_cache::CacheSession, ceph::buffer::v15_2_0::ptr, unsigned long, boost::system::error_code const&, unsigned long>, boost::_bi::rrlist<boost::system::error_code const&, unsigned long const&>, 0ul, 1ul, 2ul, 3ul, 4ul>(boost::_bi::type<void>, boost::_mfi::mf<void (ceph::immutable_obj_cache::CacheSession::*)(ceph::buffer::v15_2_0::ptr, unsigned long, boost::system::error_code const&, unsigned long), void, ceph::immutable_obj_cache::CacheSession, ceph::buffer::v15_2_0::ptr, unsigned long, boost::system::error_code const&, unsigned long>&, boost::_bi::rrlist<boost::system::error_code const&, unsigned long const&>&, boost::_bi::integer_sequence<unsigned long, 0ul, 1ul, 2ul, 3ul, 4ul>) /opt/ceph/include/boost/bind/bind.hpp:192:9
    #17 0xaaaab814acb8 in void boost::_bi::list<boost::_bi::value<std::shared_ptr<ceph::immutable_obj_cache::CacheSession>>, boost::_bi::value<ceph::buffer::v15_2_0::ptr>, boost::_bi::value<unsigned long>, boost::arg<1>, boost::arg<2>>::operator()<void, boost::_mfi::mf<void (ceph::immutable_obj_cache::CacheSession::*)(ceph::buffer::v15_2_0::ptr, unsigned long, boost::system::error_code const&, unsigned long), void, ceph::immutable_obj_cache::CacheSession, ceph::buffer::v15_2_0::ptr, unsigned long, boost::system::error_code const&, unsigned long>, boost::_bi::rrlist<boost::system::error_code const&, unsigned long const&>>(boost::_bi::type<void>, boost::_mfi::mf<void (ceph::immutable_obj_cache::CacheSession::*)(ceph::buffer::v15_2_0::ptr, unsigned long, boost::system::error_code const&, unsigned long), void, ceph::immutable_obj_cache::CacheSession, ceph::buffer::v15_2_0::ptr, unsigned long, boost::system::error_code const&, unsigned long>&, boost::_bi::rrlist<boost::system::error_code const&, unsigned long const&>&) /opt/ceph/include/boost/bind/bind.hpp:208:16
    #18 0xaaaab8147824 in void boost::_bi::bind_t<boost::_bi::unspecified, boost::_mfi::mf<void (ceph::immutable_obj_cache::CacheSession::*)(ceph::buffer::v15_2_0::ptr, unsigned long, boost::system::error_code const&, unsigned long), void, ceph::immutable_obj_cache::CacheSession, ceph::buffer::v15_2_0::ptr, unsigned long, boost::system::error_code const&, unsigned long>, boost::_bi::list<boost::_bi::value<std::shared_ptr<ceph::immutable_obj_cache::CacheSession>>, boost::_bi::value<ceph::buffer::v15_2_0::ptr>, boost::_bi::value<unsigned long>, boost::arg<1>, boost::arg<2>>>::operator()<boost::system::error_code const&, unsigned long const&>(boost::system::error_code const&, unsigned long const&) /opt/ceph/include/boost/bind/bind.hpp:321:16
    #19 0xaaaab81472a0 in boost::asio::detail::read_op<boost::asio::basic_stream_socket<boost::asio::local::stream_protocol, boost::asio::any_io_executor>, boost::asio::mutable_buffer, boost::asio::mutable_buffer const*, boost::asio::detail::transfer_exactly_t, boost::_bi::bind_t<boost::_bi::unspecified, boost::_mfi::mf<void (ceph::immutable_obj_cache::CacheSession::*)(ceph::buffer::v15_2_0::ptr, unsigned long, boost::system::error_code const&, unsigned long), void, ceph::immutable_obj_cache::CacheSession, ceph::buffer::v15_2_0::ptr, unsigned long, boost::system::error_code const&, unsigned long>, boost::_bi::list<boost::_bi::value<std::shared_ptr<ceph::immutable_obj_cache::CacheSession>>, boost::_bi::value<ceph::buffer::v15_2_0::ptr>, boost::_bi::value<unsigned long>, boost::arg<1>, boost::arg<2>>>>::operator()(boost::system::error_code, unsigned long, int) /opt/ceph/include/boost/asio/impl/read.hpp:415:9
    #20 0xaaaab81497d4 in boost::asio::detail::binder2<boost::asio::detail::read_op<boost::asio::basic_stream_socket<boost::asio::local::stream_protocol, boost::asio::any_io_executor>, boost::asio::mutable_buffer, boost::asio::mutable_buffer const*, boost::asio::detail::transfer_exactly_t, boost::_bi::bind_t<boost::_bi::unspecified, boost::_mfi::mf<void (ceph::immutable_obj_cache::CacheSession::*)(ceph::buffer::v15_2_0::ptr, unsigned long, boost::system::error_code const&, unsigned long), void, ceph::immutable_obj_cache::CacheSession, ceph::buffer::v15_2_0::ptr, unsigned long, boost::system::error_code const&, unsigned long>, boost::_bi::list<boost::_bi::value<std::shared_ptr<ceph::immutable_obj_cache::CacheSession>>, boost::_bi::value<ceph::buffer::v15_2_0::ptr>, boost::_bi::value<unsigned long>, boost::arg<1>, boost::arg<2>>>>, boost::system::error_code, unsigned long>::operator()() /opt/ceph/include/boost/asio/detail/bind_handler.hpp:181:5
    #21 0xaaaab8149598 in void boost::asio::detail::handler_work<boost::asio::detail::read_op<boost::asio::basic_stream_socket<boost::asio::local::stream_protocol, boost::asio::any_io_executor>, boost::asio::mutable_buffer, boost::asio::mutable_buffer const*, boost::asio::detail::transfer_exactly_t, boost::_bi::bind_t<boost::_bi::unspecified, boost::_mfi::mf<void (ceph::immutable_obj_cache::CacheSession::*)(ceph::buffer::v15_2_0::ptr, unsigned long, boost::system::error_code const&, unsigned long), void, ceph::immutable_obj_cache::CacheSession, ceph::buffer::v15_2_0::ptr, unsigned long, boost::system::error_code const&, unsigned long>, boost::_bi::list<boost::_bi::value<std::shared_ptr<ceph::immutable_obj_cache::CacheSession>>, boost::_bi::value<ceph::buffer::v15_2_0::ptr>, boost::_bi::value<unsigned long>, boost::arg<1>, boost::arg<2>>>>, boost::asio::any_io_executor, void>::complete<boost::asio::detail::binder2<boost::asio::detail::read_op<boost::asio::basic_stream_socket<boost::asio::local::stream_protocol, boost::asio::any_io_executor>, boost::asio::mutable_buffer, boost::asio::mutable_buffer const*, boost::asio::detail::transfer_exactly_t, boost::_bi::bind_t<boost::_bi::unspecified, boost::_mfi::mf<void (ceph::immutable_obj_cache::CacheSession::*)(ceph::buffer::v15_2_0::ptr, unsigned long, boost::system::error_code const&, unsigned long), void, ceph::immutable_obj_cache::CacheSession, ceph::buffer::v15_2_0::ptr, unsigned long, boost::system::error_code const&, unsigned long>, boost::_bi::list<boost::_bi::value<std::shared_ptr<ceph::immutable_obj_cache::CacheSession>>, boost::_bi::value<ceph::buffer::v15_2_0::ptr>, boost::_bi::value<unsigned long>, boost::arg<1>, boost::arg<2>>>>, boost::system::error_code, unsigned long>>(boost::asio::detail::binder2<boost::asio::detail::read_op<boost::asio::basic_stream_socket<boost::asio::local::stream_protocol, boost::asio::any_io_executor>, boost::asio::mutable_buffer, boost::asio::mutable_buffer const*, boost::asio::detail::transfer_exactly_t, boost::_bi::bind_t<boost::_bi::unspecified, boost::_mfi::mf<void (ceph::immutable_obj_cache::CacheSession::*)(ceph::buffer::v15_2_0::ptr, unsigned long, boost::system::error_code const&, unsigned long), void, ceph::immutable_obj_cache::CacheSession, ceph::buffer::v15_2_0::ptr, unsigned long, boost::system::error_code const&, unsigned long>, boost::_bi::list<boost::_bi::value<std::shared_ptr<ceph::immutable_obj_cache::CacheSession>>, boost::_bi::value<ceph::buffer::v15_2_0::ptr>, boost::_bi::value<unsigned long>, boost::arg<1>, boost::arg<2>>>>, boost::system::error_code, unsigned long>&, boost::asio::detail::read_op<boost::asio::basic_stream_socket<boost::asio::local::stream_protocol, boost::asio::any_io_executor>, boost::asio::mutable_buffer, boost::asio::mutable_buffer const*, boost::asio::detail::transfer_exactly_t, boost::_bi::bind_t<boost::_bi::unspecified, boost::_mfi::mf<void (ceph::immutable_obj_cache::CacheSession::*)(ceph::buffer::v15_2_0::ptr, unsigned long, boost::system::error_code const&, unsigned long), void, ceph::immutable_obj_cache::CacheSession, ceph::buffer::v15_2_0::ptr, unsigned long, boost::system::error_code const&, unsigned long>, boost::_bi::list<boost::_bi::value<std::shared_ptr<ceph::immutable_obj_cache::CacheSession>>, boost::_bi::value<ceph::buffer::v15_2_0::ptr>, boost::_bi::value<unsigned long>, boost::arg<1>, boost::arg<2>>>>&) /opt/ceph/include/boost/asio/detail/handler_work.hpp:470:7
    #22 0xaaaab8148cbc in boost::asio::detail::reactive_socket_recv_op<boost::asio::mutable_buffer, boost::asio::detail::read_op<boost::asio::basic_stream_socket<boost::asio::local::stream_protocol, boost::asio::any_io_executor>, boost::asio::mutable_buffer, boost::asio::mutable_buffer const*, boost::asio::detail::transfer_exactly_t, boost::_bi::bind_t<boost::_bi::unspecified, boost::_mfi::mf<void (ceph::immutable_obj_cache::CacheSession::*)(ceph::buffer::v15_2_0::ptr, unsigned long, boost::system::error_code const&, unsigned long), void, ceph::immutable_obj_cache::CacheSession, ceph::buffer::v15_2_0::ptr, unsigned long, boost::system::error_code const&, unsigned long>, boost::_bi::list<boost::_bi::value<std::shared_ptr<ceph::immutable_obj_cache::CacheSession>>, boost::_bi::value<ceph::buffer::v15_2_0::ptr>, boost::_bi::value<unsigned long>, boost::arg<1>, boost::arg<2>>>>, boost::asio::any_io_executor>::do_complete(void*, boost::asio::detail::scheduler_operation*, boost::system::error_code const&, unsigned long) /opt/ceph/include/boost/asio/detail/reactive_socket_recv_op.hpp:151:9
    #23 0xaaaab80d7af8 in boost::asio::detail::scheduler_operation::complete(void*, boost::system::error_code const&, unsigned long) /opt/ceph/include/boost/asio/detail/scheduler_operation.hpp:40:5
    #24 0xaaaab80de938 in boost::asio::detail::scheduler::do_run_one(boost::asio::detail::conditionally_enabled_mutex::scoped_lock&, boost::asio::detail::scheduler_thread_info&, boost::system::error_code const&) /opt/ceph/include/boost/asio/detail/impl/scheduler.ipp:492:12
    #25 0xaaaab80ddb50 in boost::asio::detail::scheduler::run(boost::system::error_code&) /opt/ceph/include/boost/asio/detail/impl/scheduler.ipp:208:10
    #26 0xaaaab80cb350 in boost::asio::io_context::run() /opt/ceph/include/boost/asio/impl/io_context.ipp:71:24
    #27 0xaaaab80c8750 in ceph::immutable_obj_cache::CacheServer::run() /ceph/src/tools/immutable_object_cache/CacheServer.cc:39:24
    #28 0xaaaab7fa7918 in TestCommunication::SetUp()::'lambda'()::operator()() const /ceph/src/test/immutable_object_cache/test_DomainSocket.cc:50:57
    #29 0xaaaab7fa7898 in void std::__invoke_impl<void, TestCommunication::SetUp()::'lambda'()>(std::__invoke_other, TestCommunication::SetUp()::'lambda'()&&) /usr/lib/gcc/aarch64-linux-gnu/12/../../../../include/c++/12/bits/invoke.h:61:14

Indirect leak of 64 byte(s) in 1 object(s) allocated from:
    #0 0xaaaab7f72368 in operator new(unsigned long) (/ceph/build/bin/unittest_ceph_immutable_obj_cache+0x3d2368) (BuildId: 57a186bb79d269b0970c1340fde16db3b57e44d5)
    #1 0xaaaab7fa6f20 in TestCommunication::handle_request(ceph::immutable_obj_cache::CacheSession*, ceph::immutable_obj_cache::ObjectCacheRequest*) /ceph/src/test/immutable_object_cache/test_DomainSocket.cc:93:19
    #2 0xaaaab7fa6c30 in TestCommunication::SetUp()::'lambda'(ceph::immutable_obj_cache::CacheSession*, ceph::immutable_obj_cache::ObjectCacheRequest*)::operator()(ceph::immutable_obj_cache::CacheSession*, ceph::immutable_obj_cache::ObjectCacheRequest*) const /ceph/src/test/immutable_object_cache/test_DomainSocket.cc:47:9
    #3 0xaaaab7fa6bd0 in void std::__invoke_impl<void, TestCommunication::SetUp()::'lambda'(ceph::immutable_obj_cache::CacheSession*, ceph::immutable_obj_cache::ObjectCacheRequest*)&, ceph::immutable_obj_cache::CacheSession*, ceph::immutable_obj_cache::ObjectCacheRequest*>(std::__invoke_other, TestCommunication::SetUp()::'lambda'(ceph::immutable_obj_cache::CacheSession*, ceph::immutable_obj_cache::ObjectCacheRequest*)&, ceph::immutable_obj_cache::CacheSession*&&, ceph::immutable_obj_cache::ObjectCacheRequest*&&) /usr/lib/gcc/aarch64-linux-gnu/12/../../../../include/c++/12/bits/invoke.h:61:14
    #4 0xaaaab7fa6b04 in std::enable_if<is_invocable_r_v<void, TestCommunication::SetUp()::'lambda'(ceph::immutable_obj_cache::CacheSession*, ceph::immutable_obj_cache::ObjectCacheRequest*)&, ceph::immutable_obj_cache::CacheSession*, ceph::immutable_obj_cache::ObjectCacheRequest*>, void>::type std::__invoke_r<void, TestCommunication::SetUp()::'lambda'(ceph::immutable_obj_cache::CacheSession*, ceph::immutable_obj_cache::ObjectCacheRequest*)&, ceph::immutable_obj_cache::CacheSession*, ceph::immutable_obj_cache::ObjectCacheRequest*>(TestCommunication::SetUp()::'lambda'(ceph::immutable_obj_cache::CacheSession*, ceph::immutable_obj_cache::ObjectCacheRequest*)&, ceph::immutable_obj_cache::CacheSession*&&, ceph::immutable_obj_cache::ObjectCacheRequest*&&) /usr/lib/gcc/aarch64-linux-gnu/12/../../../../include/c++/12/bits/invoke.h:111:2
    #5 0xaaaab7fa69ac in std::_Function_handler<void (ceph::immutable_obj_cache::CacheSession*, ceph::immutable_obj_cache::ObjectCacheRequest*), TestCommunication::SetUp()::'lambda'(ceph::immutable_obj_cache::CacheSession*, ceph::immutable_obj_cache::ObjectCacheRequest*)>::_M_invoke(std::_Any_data const&, ceph::immutable_obj_cache::CacheSession*&&, ceph::immutable_obj_cache::ObjectCacheRequest*&&) /usr/lib/gcc/aarch64-linux-gnu/12/../../../../include/c++/12/bits/std_function.h:290:9
    #6 0xaaaab8140478 in std::function<void (ceph::immutable_obj_cache::CacheSession*, ceph::immutable_obj_cache::ObjectCacheRequest*)>::operator()(ceph::immutable_obj_cache::CacheSession*, ceph::immutable_obj_cache::ObjectCacheRequest*) const /usr/lib/gcc/aarch64-linux-gnu/12/../../../../include/c++/12/bits/std_function.h:591:9
    #7 0xaaaab813a900 in ceph::immutable_obj_cache::CacheSession::process(ceph::immutable_obj_cache::ObjectCacheRequest*) /ceph/src/tools/immutable_object_cache/CacheSession.cc:117:3
    #8 0xaaaab813a37c in ceph::immutable_obj_cache::CacheSession::handle_request_data(ceph::buffer::v15_2_0::ptr, unsigned long, boost::system::error_code const&, unsigned long) /ceph/src/tools/immutable_object_cache/CacheSession.cc:110:3
    #9 0xaaaab814b20c in void boost::_mfi::mf<void (ceph::immutable_obj_cache::CacheSession::*)(ceph::buffer::v15_2_0::ptr, unsigned long, boost::system::error_code const&, unsigned long), void, ceph::immutable_obj_cache::CacheSession, ceph::buffer::v15_2_0::ptr, unsigned long, boost::system::error_code const&, unsigned long>::operator()<std::shared_ptr<ceph::immutable_obj_cache::CacheSession>&, std::shared_ptr<ceph::immutable_obj_cache::CacheSession>, void, void>(std::shared_ptr<ceph::immutable_obj_cache::CacheSession>&, ceph::buffer::v15_2_0::ptr, unsigned long, boost::system::error_code const&, unsigned long) const /opt/ceph/include/boost/bind/mem_fn.hpp:74:16
    #10 0xaaaab814af28 in void boost::_bi::list<boost::_bi::value<std::shared_ptr<ceph::immutable_obj_cache::CacheSession>>, boost::_bi::value<ceph::buffer::v15_2_0::ptr>, boost::_bi::value<unsigned long>, boost::arg<1>, boost::arg<2>>::call_impl<boost::_mfi::mf<void (ceph::immutable_obj_cache::CacheSession::*)(ceph::buffer::v15_2_0::ptr, unsigned long, boost::system::error_code const&, unsigned long), void, ceph::immutable_obj_cache::CacheSession, ceph::buffer::v15_2_0::ptr, unsigned long, boost::system::error_code const&, unsigned long>, boost::_bi::rrlist<boost::system::error_code const&, unsigned long const&>, 0ul, 1ul, 2ul, 3ul, 4ul>(boost::_bi::type<void>, boost::_mfi::mf<void (ceph::immutable_obj_cache::CacheSession::*)(ceph::buffer::v15_2_0::ptr, unsigned long, boost::system::error_code const&, unsigned long), void, ceph::immutable_obj_cache::CacheSession, ceph::buffer::v15_2_0::ptr, unsigned long, boost::system::error_code const&, unsigned long>&, boost::_bi::rrlist<boost::system::error_code const&, unsigned long const&>&, boost::_bi::integer_sequence<unsigned long, 0ul, 1ul, 2ul, 3ul, 4ul>) /opt/ceph/include/boost/bind/bind.hpp:192:9
    #11 0xaaaab814acb8 in void boost::_bi::list<boost::_bi::value<std::shared_ptr<ceph::immutable_obj_cache::CacheSession>>, boost::_bi::value<ceph::buffer::v15_2_0::ptr>, boost::_bi::value<unsigned long>, boost::arg<1>, boost::arg<2>>::operator()<void, boost::_mfi::mf<void (ceph::immutable_obj_cache::CacheSession::*)(ceph::buffer::v15_2_0::ptr, unsigned long, boost::system::error_code const&, unsigned long), void, ceph::immutable_obj_cache::CacheSession, ceph::buffer::v15_2_0::ptr, unsigned long, boost::system::error_code const&, unsigned long>, boost::_bi::rrlist<boost::system::error_code const&, unsigned long const&>>(boost::_bi::type<void>, boost::_mfi::mf<void (ceph::immutable_obj_cache::CacheSession::*)(ceph::buffer::v15_2_0::ptr, unsigned long, boost::system::error_code const&, unsigned long), void, ceph::immutable_obj_cache::CacheSession, ceph::buffer::v15_2_0::ptr, unsigned long, boost::system::error_code const&, unsigned long>&, boost::_bi::rrlist<boost::system::error_code const&, unsigned long const&>&) /opt/ceph/include/boost/bind/bind.hpp:208:16
    #12 0xaaaab8147824 in void boost::_bi::bind_t<boost::_bi::unspecified, boost::_mfi::mf<void (ceph::immutable_obj_cache::CacheSession::*)(ceph::buffer::v15_2_0::ptr, unsigned long, boost::system::error_code const&, unsigned long), void, ceph::immutable_obj_cache::CacheSession, ceph::buffer::v15_2_0::ptr, unsigned long, boost::system::error_code const&, unsigned long>, boost::_bi::list<boost::_bi::value<std::shared_ptr<ceph::immutable_obj_cache::CacheSession>>, boost::_bi::value<ceph::buffer::v15_2_0::ptr>, boost::_bi::value<unsigned long>, boost::arg<1>, boost::arg<2>>>::operator()<boost::system::error_code const&, unsigned long const&>(boost::system::error_code const&, unsigned long const&) /opt/ceph/include/boost/bind/bind.hpp:321:16
    #13 0xaaaab81472a0 in boost::asio::detail::read_op<boost::asio::basic_stream_socket<boost::asio::local::stream_protocol, boost::asio::any_io_executor>, boost::asio::mutable_buffer, boost::asio::mutable_buffer const*, boost::asio::detail::transfer_exactly_t, boost::_bi::bind_t<boost::_bi::unspecified, boost::_mfi::mf<void (ceph::immutable_obj_cache::CacheSession::*)(ceph::buffer::v15_2_0::ptr, unsigned long, boost::system::error_code const&, unsigned long), void, ceph::immutable_obj_cache::CacheSession, ceph::buffer::v15_2_0::ptr, unsigned long, boost::system::error_code const&, unsigned long>, boost::_bi::list<boost::_bi::value<std::shared_ptr<ceph::immutable_obj_cache::CacheSession>>, boost::_bi::value<ceph::buffer::v15_2_0::ptr>, boost::_bi::value<unsigned long>, boost::arg<1>, boost::arg<2>>>>::operator()(boost::system::error_code, unsigned long, int) /opt/ceph/include/boost/asio/impl/read.hpp:415:9
    #14 0xaaaab81497d4 in boost::asio::detail::binder2<boost::asio::detail::read_op<boost::asio::basic_stream_socket<boost::asio::local::stream_protocol, boost::asio::any_io_executor>, boost::asio::mutable_buffer, boost::asio::mutable_buffer const*, boost::asio::detail::transfer_exactly_t, boost::_bi::bind_t<boost::_bi::unspecified, boost::_mfi::mf<void (ceph::immutable_obj_cache::CacheSession::*)(ceph::buffer::v15_2_0::ptr, unsigned long, boost::system::error_code const&, unsigned long), void, ceph::immutable_obj_cache::CacheSession, ceph::buffer::v15_2_0::ptr, unsigned long, boost::system::error_code const&, unsigned long>, boost::_bi::list<boost::_bi::value<std::shared_ptr<ceph::immutable_obj_cache::CacheSession>>, boost::_bi::value<ceph::buffer::v15_2_0::ptr>, boost::_bi::value<unsigned long>, boost::arg<1>, boost::arg<2>>>>, boost::system::error_code, unsigned long>::operator()() /opt/ceph/include/boost/asio/detail/bind_handler.hpp:181:5
    #15 0xaaaab8149598 in void boost::asio::detail::handler_work<boost::asio::detail::read_op<boost::asio::basic_stream_socket<boost::asio::local::stream_protocol, boost::asio::any_io_executor>, boost::asio::mutable_buffer, boost::asio::mutable_buffer const*, boost::asio::detail::transfer_exactly_t, boost::_bi::bind_t<boost::_bi::unspecified, boost::_mfi::mf<void (ceph::immutable_obj_cache::CacheSession::*)(ceph::buffer::v15_2_0::ptr, unsigned long, boost::system::error_code const&, unsigned long), void, ceph::immutable_obj_cache::CacheSession, ceph::buffer::v15_2_0::ptr, unsigned long, boost::system::error_code const&, unsigned long>, boost::_bi::list<boost::_bi::value<std::shared_ptr<ceph::immutable_obj_cache::CacheSession>>, boost::_bi::value<ceph::buffer::v15_2_0::ptr>, boost::_bi::value<unsigned long>, boost::arg<1>, boost::arg<2>>>>, boost::asio::any_io_executor, void>::complete<boost::asio::detail::binder2<boost::asio::detail::read_op<boost::asio::basic_stream_socket<boost::asio::local::stream_protocol, boost::asio::any_io_executor>, boost::asio::mutable_buffer, boost::asio::mutable_buffer const*, boost::asio::detail::transfer_exactly_t, boost::_bi::bind_t<boost::_bi::unspecified, boost::_mfi::mf<void (ceph::immutable_obj_cache::CacheSession::*)(ceph::buffer::v15_2_0::ptr, unsigned long, boost::system::error_code const&, unsigned long), void, ceph::immutable_obj_cache::CacheSession, ceph::buffer::v15_2_0::ptr, unsigned long, boost::system::error_code const&, unsigned long>, boost::_bi::list<boost::_bi::value<std::shared_ptr<ceph::immutable_obj_cache::CacheSession>>, boost::_bi::value<ceph::buffer::v15_2_0::ptr>, boost::_bi::value<unsigned long>, boost::arg<1>, boost::arg<2>>>>, boost::system::error_code, unsigned long>>(boost::asio::detail::binder2<boost::asio::detail::read_op<boost::asio::basic_stream_socket<boost::asio::local::stream_protocol, boost::asio::any_io_executor>, boost::asio::mutable_buffer, boost::asio::mutable_buffer const*, boost::asio::detail::transfer_exactly_t, boost::_bi::bind_t<boost::_bi::unspecified, boost::_mfi::mf<void (ceph::immutable_obj_cache::CacheSession::*)(ceph::buffer::v15_2_0::ptr, unsigned long, boost::system::error_code const&, unsigned long), void, ceph::immutable_obj_cache::CacheSession, ceph::buffer::v15_2_0::ptr, unsigned long, boost::system::error_code const&, unsigned long>, boost::_bi::list<boost::_bi::value<std::shared_ptr<ceph::immutable_obj_cache::CacheSession>>, boost::_bi::value<ceph::buffer::v15_2_0::ptr>, boost::_bi::value<unsigned long>, boost::arg<1>, boost::arg<2>>>>, boost::system::error_code, unsigned long>&, boost::asio::detail::read_op<boost::asio::basic_stream_socket<boost::asio::local::stream_protocol, boost::asio::any_io_executor>, boost::asio::mutable_buffer, boost::asio::mutable_buffer const*, boost::asio::detail::transfer_exactly_t, boost::_bi::bind_t<boost::_bi::unspecified, boost::_mfi::mf<void (ceph::immutable_obj_cache::CacheSession::*)(ceph::buffer::v15_2_0::ptr, unsigned long, boost::system::error_code const&, unsigned long), void, ceph::immutable_obj_cache::CacheSession, ceph::buffer::v15_2_0::ptr, unsigned long, boost::system::error_code const&, unsigned long>, boost::_bi::list<boost::_bi::value<std::shared_ptr<ceph::immutable_obj_cache::CacheSession>>, boost::_bi::value<ceph::buffer::v15_2_0::ptr>, boost::_bi::value<unsigned long>, boost::arg<1>, boost::arg<2>>>>&) /opt/ceph/include/boost/asio/detail/handler_work.hpp:470:7
    #16 0xaaaab8148cbc in boost::asio::detail::reactive_socket_recv_op<boost::asio::mutable_buffer, boost::asio::detail::read_op<boost::asio::basic_stream_socket<boost::asio::local::stream_protocol, boost::asio::any_io_executor>, boost::asio::mutable_buffer, boost::asio::mutable_buffer const*, boost::asio::detail::transfer_exactly_t, boost::_bi::bind_t<boost::_bi::unspecified, boost::_mfi::mf<void (ceph::immutable_obj_cache::CacheSession::*)(ceph::buffer::v15_2_0::ptr, unsigned long, boost::system::error_code const&, unsigned long), void, ceph::immutable_obj_cache::CacheSession, ceph::buffer::v15_2_0::ptr, unsigned long, boost::system::error_code const&, unsigned long>, boost::_bi::list<boost::_bi::value<std::shared_ptr<ceph::immutable_obj_cache::CacheSession>>, boost::_bi::value<ceph::buffer::v15_2_0::ptr>, boost::_bi::value<unsigned long>, boost::arg<1>, boost::arg<2>>>>, boost::asio::any_io_executor>::do_complete(void*, boost::asio::detail::scheduler_operation*, boost::system::error_code const&, unsigned long) /opt/ceph/include/boost/asio/detail/reactive_socket_recv_op.hpp:151:9
    #17 0xaaaab80d7af8 in boost::asio::detail::scheduler_operation::complete(void*, boost::system::error_code const&, unsigned long) /opt/ceph/include/boost/asio/detail/scheduler_operation.hpp:40:5
    #18 0xaaaab80de938 in boost::asio::detail::scheduler::do_run_one(boost::asio::detail::conditionally_enabled_mutex::scoped_lock&, boost::asio::detail::scheduler_thread_info&, boost::system::error_code const&) /opt/ceph/include/boost/asio/detail/impl/scheduler.ipp:492:12
    #19 0xaaaab80ddb50 in boost::asio::detail::scheduler::run(boost::system::error_code&) /opt/ceph/include/boost/asio/detail/impl/scheduler.ipp:208:10
    #20 0xaaaab80cb350 in boost::asio::io_context::run() /opt/ceph/include/boost/asio/impl/io_context.ipp:71:24
    #21 0xaaaab80c8750 in ceph::immutable_obj_cache::CacheServer::run() /ceph/src/tools/immutable_object_cache/CacheServer.cc:39:24
    #22 0xaaaab7fa7918 in TestCommunication::SetUp()::'lambda'()::operator()() const /ceph/src/test/immutable_object_cache/test_DomainSocket.cc:50:57
    #23 0xaaaab7fa7898 in void std::__invoke_impl<void, TestCommunication::SetUp()::'lambda'()>(std::__invoke_other, TestCommunication::SetUp()::'lambda'()&&) /usr/lib/gcc/aarch64-linux-gnu/12/../../../../include/c++/12/bits/invoke.h:61:14
    #24 0xaaaab7fa784c in std::__invoke_result<TestCommunication::SetUp()::'lambda'()>::type std::__invoke<TestCommunication::SetUp()::'lambda'()>(TestCommunication::SetUp()::'lambda'()&&) /usr/lib/gcc/aarch64-linux-gnu/12/../../../../include/c++/12/bits/invoke.h:96:14
    #25 0xaaaab7fa7824 in void std::thread::_Invoker<std::tuple<TestCommunication::SetUp()::'lambda'()>>::_M_invoke<0ul>(std::_Index_tuple<0ul>) /usr/lib/gcc/aarch64-linux-gnu/12/../../../../include/c++/12/bits/std_thread.h:279:13
    #26 0xaaaab7fa77f8 in std::thread::_Invoker<std::tuple<TestCommunication::SetUp()::'lambda'()>>::operator()() /usr/lib/gcc/aarch64-linux-gnu/12/../../../../include/c++/12/bits/std_thread.h:286:11
    #27 0xaaaab7fa7734 in std::thread::_State_impl<std::thread::_Invoker<std::tuple<TestCommunication::SetUp()::'lambda'()>>>::_M_run() /usr/lib/gcc/aarch64-linux-gnu/12/../../../../include/c++/12/bits/std_thread.h:231:13
    #28 0xffff8ba229c8  (/lib/aarch64-linux-gnu/libstdc++.so.6+0xd29c8) (BuildId: 8ef414422858366a0b97fc4c2fa9c4035603a711)
    #29 0xaaaab7f327f0 in asan_thread_start(void*) asan_interceptors.cpp.o

Indirect leak of 24 byte(s) in 1 object(s) allocated from:
    #0 0xaaaab7f72368 in operator new(unsigned long) (/ceph/build/bin/unittest_ceph_immutable_obj_cache+0x3d2368) (BuildId: 57a186bb79d269b0970c1340fde16db3b57e44d5)
    #1 0xffff90b2ac60 in ceph::buffer::v15_2_0::ptr_node::create_hypercombined(ceph::unique_leakable_ptr<ceph::buffer::v15_2_0::raw>) /ceph/src/common/buffer.cc:2287:5
    #2 0xffff90b39218 in ceph::buffer::v15_2_0::ptr_node::create(ceph::unique_leakable_ptr<ceph::buffer::v15_2_0::raw>) /ceph/src/include/buffer.h:379:14
    #3 0xffff90b1f4c0 in ceph::buffer::v15_2_0::list::refill_append_space(unsigned int) /ceph/src/common/buffer.cc:1340:7
    #4 0xffff90b20c14 in ceph::buffer::v15_2_0::list::append_hole(unsigned int) /ceph/src/common/buffer.cc:1469:24
    #5 0xaaaab8156fd0 in ceph::immutable_obj_cache::ObjectCacheRequest::encode() /ceph/src/tools/immutable_object_cache/Types.cc:20:3
    #6 0xaaaab813ae00 in ceph::immutable_obj_cache::CacheSession::send(ceph::immutable_obj_cache::ObjectCacheRequest*) /ceph/src/tools/immutable_object_cache/CacheSession.cc:123:10
    #7 0xaaaab7fa70dc in TestCommunication::handle_request(ceph::immutable_obj_cache::CacheSession*, ceph::immutable_obj_cache::ObjectCacheRequest*) /ceph/src/test/immutable_object_cache/test_DomainSocket.cc:97:21
    #8 0xaaaab7fa6c30 in TestCommunication::SetUp()::'lambda'(ceph::immutable_obj_cache::CacheSession*, ceph::immutable_obj_cache::ObjectCacheRequest*)::operator()(ceph::immutable_obj_cache::CacheSession*, ceph::immutable_obj_cache::ObjectCacheRequest*) const /ceph/src/test/immutable_object_cache/test_DomainSocket.cc:47:9
    #9 0xaaaab7fa6bd0 in void std::__invoke_impl<void, TestCommunication::SetUp()::'lambda'(ceph::immutable_obj_cache::CacheSession*, ceph::immutable_obj_cache::ObjectCacheRequest*)&, ceph::immutable_obj_cache::CacheSession*, ceph::immutable_obj_cache::ObjectCacheRequest*>(std::__invoke_other, TestCommunication::SetUp()::'lambda'(ceph::immutable_obj_cache::CacheSession*, ceph::immutable_obj_cache::ObjectCacheRequest*)&, ceph::immutable_obj_cache::CacheSession*&&, ceph::immutable_obj_cache::ObjectCacheRequest*&&) /usr/lib/gcc/aarch64-linux-gnu/12/../../../../include/c++/12/bits/invoke.h:61:14
    #10 0xaaaab7fa6b04 in std::enable_if<is_invocable_r_v<void, TestCommunication::SetUp()::'lambda'(ceph::immutable_obj_cache::CacheSession*, ceph::immutable_obj_cache::ObjectCacheRequest*)&, ceph::immutable_obj_cache::CacheSession*, ceph::immutable_obj_cache::ObjectCacheRequest*>, void>::type std::__invoke_r<void, TestCommunication::SetUp()::'lambda'(ceph::immutable_obj_cache::CacheSession*, ceph::immutable_obj_cache::ObjectCacheRequest*)&, ceph::immutable_obj_cache::CacheSession*, ceph::immutable_obj_cache::ObjectCacheRequest*>(TestCommunication::SetUp()::'lambda'(ceph::immutable_obj_cache::CacheSession*, ceph::immutable_obj_cache::ObjectCacheRequest*)&, ceph::immutable_obj_cache::CacheSession*&&, ceph::immutable_obj_cache::ObjectCacheRequest*&&) /usr/lib/gcc/aarch64-linux-gnu/12/../../../../include/c++/12/bits/invoke.h:111:2
    #11 0xaaaab7fa69ac in std::_Function_handler<void (ceph::immutable_obj_cache::CacheSession*, ceph::immutable_obj_cache::ObjectCacheRequest*), TestCommunication::SetUp()::'lambda'(ceph::immutable_obj_cache::CacheSession*, ceph::immutable_obj_cache::ObjectCacheRequest*)>::_M_invoke(std::_Any_data const&, ceph::immutable_obj_cache::CacheSession*&&, ceph::immutable_obj_cache::ObjectCacheRequest*&&) /usr/lib/gcc/aarch64-linux-gnu/12/../../../../include/c++/12/bits/std_function.h:290:9
    #12 0xaaaab8140478 in std::function<void (ceph::immutable_obj_cache::CacheSession*, ceph::immutable_obj_cache::ObjectCacheRequest*)>::operator()(ceph::immutable_obj_cache::CacheSession*, ceph::immutable_obj_cache::ObjectCacheRequest*) const /usr/lib/gcc/aarch64-linux-gnu/12/../../../../include/c++/12/bits/std_function.h:591:9
    #13 0xaaaab813a900 in ceph::immutable_obj_cache::CacheSession::process(ceph::immutable_obj_cache::ObjectCacheRequest*) /ceph/src/tools/immutable_object_cache/CacheSession.cc:117:3
    #14 0xaaaab813a37c in ceph::immutable_obj_cache::CacheSession::handle_request_data(ceph::buffer::v15_2_0::ptr, unsigned long, boost::system::error_code const&, unsigned long) /ceph/src/tools/immutable_object_cache/CacheSession.cc:110:3
    #15 0xaaaab814b20c in void boost::_mfi::mf<void (ceph::immutable_obj_cache::CacheSession::*)(ceph::buffer::v15_2_0::ptr, unsigned long, boost::system::error_code const&, unsigned long), void, ceph::immutable_obj_cache::CacheSession, ceph::buffer::v15_2_0::ptr, unsigned long, boost::system::error_code const&, unsigned long>::operator()<std::shared_ptr<ceph::immutable_obj_cache::CacheSession>&, std::shared_ptr<ceph::immutable_obj_cache::CacheSession>, void, void>(std::shared_ptr<ceph::immutable_obj_cache::CacheSession>&, ceph::buffer::v15_2_0::ptr, unsigned long, boost::system::error_code const&, unsigned long) const /opt/ceph/include/boost/bind/mem_fn.hpp:74:16
    #16 0xaaaab814af28 in void boost::_bi::list<boost::_bi::value<std::shared_ptr<ceph::immutable_obj_cache::CacheSession>>, boost::_bi::value<ceph::buffer::v15_2_0::ptr>, boost::_bi::value<unsigned long>, boost::arg<1>, boost::arg<2>>::call_impl<boost::_mfi::mf<void (ceph::immutable_obj_cache::CacheSession::*)(ceph::buffer::v15_2_0::ptr, unsigned long, boost::system::error_code const&, unsigned long), void, ceph::immutable_obj_cache::CacheSession, ceph::buffer::v15_2_0::ptr, unsigned long, boost::system::error_code const&, unsigned long>, boost::_bi::rrlist<boost::system::error_code const&, unsigned long const&>, 0ul, 1ul, 2ul, 3ul, 4ul>(boost::_bi::type<void>, boost::_mfi::mf<void (ceph::immutable_obj_cache::CacheSession::*)(ceph::buffer::v15_2_0::ptr, unsigned long, boost::system::error_code const&, unsigned long), void, ceph::immutable_obj_cache::CacheSession, ceph::buffer::v15_2_0::ptr, unsigned long, boost::system::error_code const&, unsigned long>&, boost::_bi::rrlist<boost::system::error_code const&, unsigned long const&>&, boost::_bi::integer_sequence<unsigned long, 0ul, 1ul, 2ul, 3ul, 4ul>) /opt/ceph/include/boost/bind/bind.hpp:192:9
    #17 0xaaaab814acb8 in void boost::_bi::list<boost::_bi::value<std::shared_ptr<ceph::immutable_obj_cache::CacheSession>>, boost::_bi::value<ceph::buffer::v15_2_0::ptr>, boost::_bi::value<unsigned long>, boost::arg<1>, boost::arg<2>>::operator()<void, boost::_mfi::mf<void (ceph::immutable_obj_cache::CacheSession::*)(ceph::buffer::v15_2_0::ptr, unsigned long, boost::system::error_code const&, unsigned long), void, ceph::immutable_obj_cache::CacheSession, ceph::buffer::v15_2_0::ptr, unsigned long, boost::system::error_code const&, unsigned long>, boost::_bi::rrlist<boost::system::error_code const&, unsigned long const&>>(boost::_bi::type<void>, boost::_mfi::mf<void (ceph::immutable_obj_cache::CacheSession::*)(ceph::buffer::v15_2_0::ptr, unsigned long, boost::system::error_code const&, unsigned long), void, ceph::immutable_obj_cache::CacheSession, ceph::buffer::v15_2_0::ptr, unsigned long, boost::system::error_code const&, unsigned long>&, boost::_bi::rrlist<boost::system::error_code const&, unsigned long const&>&) /opt/ceph/include/boost/bind/bind.hpp:208:16
    #18 0xaaaab8147824 in void boost::_bi::bind_t<boost::_bi::unspecified, boost::_mfi::mf<void (ceph::immutable_obj_cache::CacheSession::*)(ceph::buffer::v15_2_0::ptr, unsigned long, boost::system::error_code const&, unsigned long), void, ceph::immutable_obj_cache::CacheSession, ceph::buffer::v15_2_0::ptr, unsigned long, boost::system::error_code const&, unsigned long>, boost::_bi::list<boost::_bi::value<std::shared_ptr<ceph::immutable_obj_cache::CacheSession>>, boost::_bi::value<ceph::buffer::v15_2_0::ptr>, boost::_bi::value<unsigned long>, boost::arg<1>, boost::arg<2>>>::operator()<boost::system::error_code const&, unsigned long const&>(boost::system::error_code const&, unsigned long const&) /opt/ceph/include/boost/bind/bind.hpp:321:16
    #19 0xaaaab81472a0 in boost::asio::detail::read_op<boost::asio::basic_stream_socket<boost::asio::local::stream_protocol, boost::asio::any_io_executor>, boost::asio::mutable_buffer, boost::asio::mutable_buffer const*, boost::asio::detail::transfer_exactly_t, boost::_bi::bind_t<boost::_bi::unspecified, boost::_mfi::mf<void (ceph::immutable_obj_cache::CacheSession::*)(ceph::buffer::v15_2_0::ptr, unsigned long, boost::system::error_code const&, unsigned long), void, ceph::immutable_obj_cache::CacheSession, ceph::buffer::v15_2_0::ptr, unsigned long, boost::system::error_code const&, unsigned long>, boost::_bi::list<boost::_bi::value<std::shared_ptr<ceph::immutable_obj_cache::CacheSession>>, boost::_bi::value<ceph::buffer::v15_2_0::ptr>, boost::_bi::value<unsigned long>, boost::arg<1>, boost::arg<2>>>>::operator()(boost::system::error_code, unsigned long, int) /opt/ceph/include/boost/asio/impl/read.hpp:415:9
    #20 0xaaaab81497d4 in boost::asio::detail::binder2<boost::asio::detail::read_op<boost::asio::basic_stream_socket<boost::asio::local::stream_protocol, boost::asio::any_io_executor>, boost::asio::mutable_buffer, boost::asio::mutable_buffer const*, boost::asio::detail::transfer_exactly_t, boost::_bi::bind_t<boost::_bi::unspecified, boost::_mfi::mf<void (ceph::immutable_obj_cache::CacheSession::*)(ceph::buffer::v15_2_0::ptr, unsigned long, boost::system::error_code const&, unsigned long), void, ceph::immutable_obj_cache::CacheSession, ceph::buffer::v15_2_0::ptr, unsigned long, boost::system::error_code const&, unsigned long>, boost::_bi::list<boost::_bi::value<std::shared_ptr<ceph::immutable_obj_cache::CacheSession>>, boost::_bi::value<ceph::buffer::v15_2_0::ptr>, boost::_bi::value<unsigned long>, boost::arg<1>, boost::arg<2>>>>, boost::system::error_code, unsigned long>::operator()() /opt/ceph/include/boost/asio/detail/bind_handler.hpp:181:5
    #21 0xaaaab8149598 in void boost::asio::detail::handler_work<boost::asio::detail::read_op<boost::asio::basic_stream_socket<boost::asio::local::stream_protocol, boost::asio::any_io_executor>, boost::asio::mutable_buffer, boost::asio::mutable_buffer const*, boost::asio::detail::transfer_exactly_t, boost::_bi::bind_t<boost::_bi::unspecified, boost::_mfi::mf<void (ceph::immutable_obj_cache::CacheSession::*)(ceph::buffer::v15_2_0::ptr, unsigned long, boost::system::error_code const&, unsigned long), void, ceph::immutable_obj_cache::CacheSession, ceph::buffer::v15_2_0::ptr, unsigned long, boost::system::error_code const&, unsigned long>, boost::_bi::list<boost::_bi::value<std::shared_ptr<ceph::immutable_obj_cache::CacheSession>>, boost::_bi::value<ceph::buffer::v15_2_0::ptr>, boost::_bi::value<unsigned long>, boost::arg<1>, boost::arg<2>>>>, boost::asio::any_io_executor, void>::complete<boost::asio::detail::binder2<boost::asio::detail::read_op<boost::asio::basic_stream_socket<boost::asio::local::stream_protocol, boost::asio::any_io_executor>, boost::asio::mutable_buffer, boost::asio::mutable_buffer const*, boost::asio::detail::transfer_exactly_t, boost::_bi::bind_t<boost::_bi::unspecified, boost::_mfi::mf<void (ceph::immutable_obj_cache::CacheSession::*)(ceph::buffer::v15_2_0::ptr, unsigned long, boost::system::error_code const&, unsigned long), void, ceph::immutable_obj_cache::CacheSession, ceph::buffer::v15_2_0::ptr, unsigned long, boost::system::error_code const&, unsigned long>, boost::_bi::list<boost::_bi::value<std::shared_ptr<ceph::immutable_obj_cache::CacheSession>>, boost::_bi::value<ceph::buffer::v15_2_0::ptr>, boost::_bi::value<unsigned long>, boost::arg<1>, boost::arg<2>>>>, boost::system::error_code, unsigned long>>(boost::asio::detail::binder2<boost::asio::detail::read_op<boost::asio::basic_stream_socket<boost::asio::local::stream_protocol, boost::asio::any_io_executor>, boost::asio::mutable_buffer, boost::asio::mutable_buffer const*, boost::asio::detail::transfer_exactly_t, boost::_bi::bind_t<boost::_bi::unspecified, boost::_mfi::mf<void (ceph::immutable_obj_cache::CacheSession::*)(ceph::buffer::v15_2_0::ptr, unsigned long, boost::system::error_code const&, unsigned long), void, ceph::immutable_obj_cache::CacheSession, ceph::buffer::v15_2_0::ptr, unsigned long, boost::system::error_code const&, unsigned long>, boost::_bi::list<boost::_bi::value<std::shared_ptr<ceph::immutable_obj_cache::CacheSession>>, boost::_bi::value<ceph::buffer::v15_2_0::ptr>, boost::_bi::value<unsigned long>, boost::arg<1>, boost::arg<2>>>>, boost::system::error_code, unsigned long>&, boost::asio::detail::read_op<boost::asio::basic_stream_socket<boost::asio::local::stream_protocol, boost::asio::any_io_executor>, boost::asio::mutable_buffer, boost::asio::mutable_buffer const*, boost::asio::detail::transfer_exactly_t, boost::_bi::bind_t<boost::_bi::unspecified, boost::_mfi::mf<void (ceph::immutable_obj_cache::CacheSession::*)(ceph::buffer::v15_2_0::ptr, unsigned long, boost::system::error_code const&, unsigned long), void, ceph::immutable_obj_cache::CacheSession, ceph::buffer::v15_2_0::ptr, unsigned long, boost::system::error_code const&, unsigned long>, boost::_bi::list<boost::_bi::value<std::shared_ptr<ceph::immutable_obj_cache::CacheSession>>, boost::_bi::value<ceph::buffer::v15_2_0::ptr>, boost::_bi::value<unsigned long>, boost::arg<1>, boost::arg<2>>>>&) /opt/ceph/include/boost/asio/detail/handler_work.hpp:470:7
    #22 0xaaaab8148cbc in boost::asio::detail::reactive_socket_recv_op<boost::asio::mutable_buffer, boost::asio::detail::read_op<boost::asio::basic_stream_socket<boost::asio::local::stream_protocol, boost::asio::any_io_executor>, boost::asio::mutable_buffer, boost::asio::mutable_buffer const*, boost::asio::detail::transfer_exactly_t, boost::_bi::bind_t<boost::_bi::unspecified, boost::_mfi::mf<void (ceph::immutable_obj_cache::CacheSession::*)(ceph::buffer::v15_2_0::ptr, unsigned long, boost::system::error_code const&, unsigned long), void, ceph::immutable_obj_cache::CacheSession, ceph::buffer::v15_2_0::ptr, unsigned long, boost::system::error_code const&, unsigned long>, boost::_bi::list<boost::_bi::value<std::shared_ptr<ceph::immutable_obj_cache::CacheSession>>, boost::_bi::value<ceph::buffer::v15_2_0::ptr>, boost::_bi::value<unsigned long>, boost::arg<1>, boost::arg<2>>>>, boost::asio::any_io_executor>::do_complete(void*, boost::asio::detail::scheduler_operation*, boost::system::error_code const&, unsigned long) /opt/ceph/include/boost/asio/detail/reactive_socket_recv_op.hpp:151:9
    #23 0xaaaab80d7af8 in boost::asio::detail::scheduler_operation::complete(void*, boost::system::error_code const&, unsigned long) /opt/ceph/include/boost/asio/detail/scheduler_operation.hpp:40:5
    #24 0xaaaab80de938 in boost::asio::detail::scheduler::do_run_one(boost::asio::detail::conditionally_enabled_mutex::scoped_lock&, boost::asio::detail::scheduler_thread_info&, boost::system::error_code const&) /opt/ceph/include/boost/asio/detail/impl/scheduler.ipp:492:12
    #25 0xaaaab80ddb50 in boost::asio::detail::scheduler::run(boost::system::error_code&) /opt/ceph/include/boost/asio/detail/impl/scheduler.ipp:208:10
    #26 0xaaaab80cb350 in boost::asio::io_context::run() /opt/ceph/include/boost/asio/impl/io_context.ipp:71:24
    #27 0xaaaab80c8750 in ceph::immutable_obj_cache::CacheServer::run() /ceph/src/tools/immutable_object_cache/CacheServer.cc:39:24
    #28 0xaaaab7fa7918 in TestCommunication::SetUp()::'lambda'()::operator()() const /ceph/src/test/immutable_object_cache/test_DomainSocket.cc:50:57
    #29 0xaaaab7fa7898 in void std::__invoke_impl<void, TestCommunication::SetUp()::'lambda'()>(std::__invoke_other, TestCommunication::SetUp()::'lambda'()&&) /usr/lib/gcc/aarch64-linux-gnu/12/../../../../include/c++/12/bits/invoke.h:61:14

SUMMARY: AddressSanitizer: 4184 byte(s) leaked in 3 allocation(s).

identified in CI

Related issues 3 (1 open — 2 closed)

Copied to rbd - Backport #78267: umbrella: leak in ceph::immutable_obj_cache::CacheSession::send()ResolvedIlya Dryomov

Actions
Copied to rbd - Backport #78268: tentacle: leak in ceph::immutable_obj_cache::CacheSession::send()NewYuechi Sun

Actions
Copied to rbd - Backport #78269: squid: leak in ceph::immutable_obj_cache::CacheSession::send()ResolvedIlya Dryomov

Actions

UB Updated by Upkeep Bot 5 months ago Actions #1

  • Status changed from Fix Under Review to Resolved
  • Merge Commit set to c900556800a8ae7965e93d3f2091973de12c9225
  • Fixed In set to v21.3.0-321-gc900556800
  • Upkeep Timestamp set to 2026-06-22T15:27:18+00:00

ID Updated by Ilya Dryomov 5 months ago Actions #2

  • Status changed from Resolved to Fix Under Review
  • Pull request ID changed from 69621 to 69623

UB Updated by Upkeep Bot 5 months ago Actions #3

  • Merge Commit deleted (c900556800a8ae7965e93d3f2091973de12c9225)
  • Fixed In deleted (v21.3.0-321-gc900556800)
  • Upkeep Timestamp changed from 2026-06-22T15:27:18+00:00 to 2026-07-03T13:18:36+00:00

ID Updated by Ilya Dryomov 5 months ago Actions #4

  • Backport set to squid,tentacle,umbrella

UB Updated by Upkeep Bot 5 months ago Actions #5

  • Status changed from Fix Under Review to Pending Backport
  • Merge Commit set to 6497e5ff1776802ec1a8b853bbd7a5ef0a58fc8f
  • Fixed In set to v21.3.0-1055-g6497e5ff17
  • Upkeep Timestamp changed from 2026-07-03T13:18:36+00:00 to 2026-07-15T19:36:58+00:00

UB Updated by Upkeep Bot 5 months ago Actions #6

  • Copied to Backport #78267: umbrella: leak in ceph::immutable_obj_cache::CacheSession::send() added

UB Updated by Upkeep Bot 5 months ago Actions #7

  • Copied to Backport #78268: tentacle: leak in ceph::immutable_obj_cache::CacheSession::send() added

UB Updated by Upkeep Bot 5 months ago Actions #8

  • Copied to Backport #78269: squid: leak in ceph::immutable_obj_cache::CacheSession::send() added

UB Updated by Upkeep Bot 5 months ago Actions #9

  • Tags (freeform) set to backport_processed

UB Updated by Upkeep Bot 3 months ago Actions #10

  • Status changed from Pending Backport to Backporting
  • Tags (freeform) deleted (backport_processed)
  • Upkeep Timestamp changed from 2026-07-15T19:36:58+00:00 to 2026-08-27T18:41:13+00:00
Actions

Also available in: PDF Atom