songsongliao created QPID-8713:
----------------------------------
Summary: linearstore initialization memory leak
Key: QPID-8713
URL: https://issues.apache.org/jira/browse/QPID-8713
Project: Qpid
Issue Type: Bug
Components: C++ Broker
Affects Versions: qpid-cpp-1.39.0
Reporter: songsongliao
Fix For: Future
Attachments: amqp-memory-leak.png
When starting qpidd with linearstore enabled, LeakSanitizer reports memory leaks
during broker initialization. The leak occurs in
EmptyFilePoolManager::insertPartition
and MessageStoreImpl::init, and remains unreleased when the broker process
exits.
LeakSanitizer summary:
Direct leak of 160 byte(s) in 1 object(s) allocated from:
#0 operator new(unsigned long)
#1 qpid::linearstore::journal::EmptyFilePoolManager::insertPartition
#2 qpid::linearstore::journal::EmptyFilePoolManager::findEfpPartitions
#3 qpid::linearstore::MessageStoreImpl::init(bool)
#4 qpid::linearstore::MessageStoreImpl::init(...)
#5 qpid::broker::StorePlugin::earlyInitialize
#6 qpid::Plugin::earlyInitAll
#7 qpid::broker::Broker::Broker(qpid::broker::BrokerOptions const&)
Indirect leak of 24 byte(s) in 1 object(s):
std::__cxx11::basic_string::_M_construct
Total leaked: 184 bytes
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]