memory leaks mds
ASAN:DEADLYSIGNAL ASAN:DEADLYSIGNAL
ASAN:DEADLYSIGNAL ==29972==AddressSanitizer: while reporting a bug found another one. Ignoring. ==29972==AddressSanitizer: while reporting a bug found another one. Ignoring. ASAN:DEADLYSIGNAL ASAN:DEADLYSIGNAL ASAN:DEADLYSIGNAL ASAN:DEADLYSIGNAL ASAN:DEADLYSIGNAL ASAN:DEADLYSIGNAL ==29972==AddressSanitizer: while reporting a bug found another one. Ignoring. ASAN:DEADLYSIGNAL ==29972==AddressSanitizer: while reporting a bug found another one. Ignoring. ==29972==AddressSanitizer: while reporting a bug found another one. Ignoring. ==29972==AddressSanitizer: while reporting a bug found another one. Ignoring. ==29972==AddressSanitizer: while reporting a bug found another one. Ignoring. ==29972==AddressSanitizer: while reporting a bug found another one. Ignoring. ==29972==AddressSanitizer: while reporting a bug found another one. Ignoring. ==29972==ERROR: AddressSanitizer: SEGV on unknown address 0x60d01900014e (pc 0x7f341c70a5a3 bp 0x7f340d8d79f0 sp 0x7f340d8d79a8 T20) ==29972==The signal is caused by a READ memory access. #0 0x7f341c70a5a2 in boost::log::v2s_mt_posix::core::get_logging_enabled() const (/usr/local/chaos/chaos-distrib/lib/libchaos_common.so.1+0xd6b5a2) #1 (closed) 0x55e40e73cca3 in boost::log::v2s_mt_posix::record boost::log::v2s_mt_posix::sources::basic_composite_logger<char, boost::log::v2s_mt_posix::sources::severity_logger_mtchaos::common::log::level::LogSeverityLevel, boost::log::v2s_mt_posix::sources::multi_thread_modelboost::log::v2s_mt_posix::aux::light_rw_mutex, boost::log::v2s_mt_posix::sources::features<boost::log::v2s_mt_posix::sources::severitychaos::common::log::level::LogSeverityLevel > >::open_record<boost::parameter::aux::tagged_argument<boost::log::v2s_mt_posix::keywords::tag::severity, chaos::common::log::level::LogSeverityLevel const> >(boost::parameter::aux::tagged_argument<boost::log::v2s_mt_posix::keywords::tag::severity, chaos::common::log::level::LogSeverityLevel const> const&) /usr/local/chaos/chaos-distrib/include/boost/log/sources/basic_logger.hpp:456 #2 (closed) 0x7f341c4b836e in chaos::common::direct_io::DirectIODispatcher::priorityDataReceived(std::shared_ptrchaos::common::direct_io::DirectIODataPack, std::shared_ptrchaos::common::direct_io::DirectIODataPack&) /home/michelo/progetti/chaos_bundle/chaosframework/chaos/common/direct_io/DirectIODispatcher.cpp:158 #3 0x7f341c4c69be in chaos::common::direct_io::impl::ZMQDirectIOServer::worker(unsigned int, int (chaos::common::direct_io::DirectIOHandler::)(std::shared_ptrchaos::common::direct_io::DirectIODataPack, std::shared_ptrchaos::common::direct_io::DirectIODataPack&)) /home/michelo/progetti/chaos_bundle/chaosframework/chaos/common/direct_io/impl/ZMQDirectIOServer.cpp:317 #4 (closed) 0x7f341c4c9fb2 in boost::_mfi::mf2<void, chaos::common::direct_io::impl::ZMQDirectIOServer, unsigned int, int (chaos::common::direct_io::DirectIOHandler::)(std::shared_ptrchaos::common::direct_io::DirectIODataPack, std::shared_ptrchaos::common::direct_io::DirectIODataPack&)>::operator()(chaos::common::direct_io::impl::ZMQDirectIOServer*, unsigned int, int (chaos::common::direct_io::DirectIOHandler::*)(std::shared_ptrchaos::common::direct_io::DirectIODataPack, std::shared_ptrchaos::common::direct_io::DirectIODataPack&)) const /usr/local/chaos/chaos-distrib/include/boost/bind/mem_fn_template.hpp:280
================================================================= ==29972==ERROR: LeakSanitizer: detected memory leaks #5 (closed) 0x7f341c4c9d92 in void boost::_bi::list3<boost::_bi::valuechaos::common::direct_io::impl::ZMQDirectIOServer*, boost::_bi::valuechaos::common::direct_io::impl::WorkerType, boost::_bi::value<int (chaos::common::direct_io::DirectIOHandler::)(std::shared_ptrchaos::common::direct_io::DirectIODataPack, std::shared_ptrchaos::common::direct_io::DirectIODataPack&)> >::operator()<boost::_mfi::mf2<void, chaos::common::direct_io::impl::ZMQDirectIOServer, unsigned int, int (chaos::common::direct_io::DirectIOHandler::)(std::shared_ptrchaos::common::direct_io::DirectIODataPack, std::shared_ptrchaos::common::direct_io::DirectIODataPack&)>, boost::_bi::list0>(boost::_bi::type, boost::_mfi::mf2<void, chaos::common::direct_io::impl::ZMQDirectIOServer, unsigned int, int (chaos::common::direct_io::DirectIOHandler::*)(std::shared_ptrchaos::common::direct_io::DirectIODataPack, std::shared_ptrchaos::common::direct_io::DirectIODataPack&)>&, boost::_bi::list0&, int) /usr/local/chaos/chaos-distrib/include/boost/bind/bind.hpp:398
#6 0x7f341c4c9c77 in boost::_bi::bind_t<void, boost::_mfi::mf2<void, chaos::common::direct_io::impl::ZMQDirectIOServer, unsigned int, int (chaos::common::direct_io::DirectIOHandler::*)(std::shared_ptr<chaos::common::direct_io::DirectIODataPack>, std::shared_ptr<chaos::common::direct_io::DirectIODataPack>&)>, boost::_bi::list3<boost::_bi::value<chaos::common::direct_io::impl::ZMQDirectIOServer*>, boost::_bi::value<chaos::common::direct_io::impl::WorkerType>, boost::_bi::value<int (chaos::common::direct_io::DirectIOHandler::*)(std::shared_ptr<chaos::common::direct_io::DirectIODataPack>, std::shared_ptr<chaos::common::direct_io::DirectIODataPack>&)> > >::operator()() /usr/local/chaos/chaos-distrib/include/boost/bind/bind.hpp:1294
Direct leak of 16448 byte(s) in 257 object(s) allocated from: #0 0x7f341cea1458 in operator new(unsigned long) (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xe0458) #7 (closed) 0x7f341c4c9b5d in boost::detail::thread_data<boost::_bi::bind_t<void, boost::_mfi::mf2<void, chaos::common::direct_io::impl::ZMQDirectIOServer, unsigned int, int (chaos::common::direct_io::DirectIOHandler::)(std::shared_ptrchaos::common::direct_io::DirectIODataPack, std::shared_ptrchaos::common::direct_io::DirectIODataPack&)>, boost::_bi::list3<boost::_bi::valuechaos::common::direct_io::impl::ZMQDirectIOServer*, boost::_bi::valuechaos::common::direct_io::impl::WorkerType, boost::_bi::value<int (chaos::common::direct_io::DirectIOHandler::)(std::shared_ptrchaos::common::direct_io::DirectIODataPack, std::shared_ptrchaos::common::direct_io::DirectIODataPack&)> > > >::run() /usr/local/chaos/chaos-distrib/include/boost/thread/detail/thread.hpp:116 #1 (closed) 0x7f341c4b9e7d in __gnu_cxx::new_allocator<boost::lockfree::queue::node>::allocate(unsigned long, void const*) /usr/include/c++/7/ext/new_allocator.h:111 #8 (closed) 0x7f341c74a92c in thread_proxy (/usr/local/chaos/chaos-distrib/lib/libchaos_common.so.1+0xdab92c) #2 (closed) 0x7f341c4b9647 in boost::lockfree::detail::freelist_stack<boost::lockfree::queue::node, std::allocator<boost::lockfree::queue::node> >::freelist_stack<std::allocator<boost::lockfree::queue::node> >(std::allocator<boost::lockfree::queue::node> const&, unsigned long) /usr/local/chaos/chaos-distrib/include/boost/lockfree/detail/freelist.hpp:61 #9 (closed) 0x7f341b7876da in start_thread (/lib/x86_64-linux-gnu/libpthread.so.0+0x76da) #3 0x7f341c4b934e in boost::lockfree::queue::queue(unsigned long) /usr/local/chaos/chaos-distrib/include/boost/lockfree/queue.hpp:208 #10 (closed) 0x7f341a76088e in __clone (/lib/x86_64-linux-gnu/libc.so.6+0x12188e) #4 (closed) 0x7f341c4b690d in chaos::common::direct_io::DirectIODispatcher::DirectIODispatcher() /home/michelo/progetti/chaos_bundle/chaosframework/chaos/common/direct_io/DirectIODispatcher.cpp:46
#5 0x7f341c51eb47 in chaos::common::network::NetworkBroker::init(void*) /home/michelo/progetti/chaos_bundle/chaosframework/chaos/common/network/NetworkBroker.cpp:106
AddressSanitizer can not provide additional info. #6 (closed) 0x7f341c565072 in chaos::common::utility::StartableService::initImplementation(chaos::common::utility::StartableService*, void*, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&) /home/michelo/progetti/chaos_bundle/chaosframework/chaos/common/utility/StartableService.cpp:74 SUMMARY: AddressSanitizer: SEGV (/usr/local/chaos/chaos-distrib/lib/libchaos_common.so.1+0xd6b5a2) in boost::log::v2s_mt_posix::core::get_logging_enabled() const #7 (closed) 0x55e40e753597 in chaos::ChaosCommonchaos::metadata_service::ChaosMetadataService::init(void*) /home/michelo/progetti/chaos_bundle/chaosframework/config/../chaos/common/ChaosCommon.h:356 Thread T20 created by T0 here: #8 (closed) 0x55e40e759f09 in chaos::metadata_service::ChaosMetadataService::init(void*) /home/michelo/progetti/chaos_bundle/chaosframework/ChaosMetadataService/ChaosMetadataService.cpp:70 #0 0x7f341cdf8d2f in __interceptor_pthread_create (/usr/lib/x86_64-linux-gnu/libasan.so.4+0x37d2f) #9 (closed) 0x55e40e762635 in chaos::ChaosCommonchaos::metadata_service::ChaosMetadataService::init(int, char const**) /home/michelo/progetti/chaos_bundle/chaosframework/config/../chaos/common/ChaosCommon.h:277 #1 (closed) 0x7f341c749de9 in boost::thread::start_thread_noexcept() (/usr/local/chaos/chaos-distrib/lib/libchaos_common.so.1+0xdaade9) #10 (closed) 0x55e40e759e69 in chaos::metadata_service::ChaosMetadataService::init(int, char const**) /home/michelo/progetti/chaos_bundle/chaosframework/ChaosMetadataService/ChaosMetadataService.cpp:55
#11 0x55e40e733e74 in main /home/michelo/progetti/chaos_bundle/chaosframework/ChaosMetadataService/main.cpp:110 #12 0x7f341a660b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)
==29972==ABORTING mds.29921.log.gz