Alan Conway created PROTON-1217:
-----------------------------------

             Summary: Sporadic memory leak in C++ container_test
                 Key: PROTON-1217
                 URL: https://issues.apache.org/jira/browse/PROTON-1217
             Project: Qpid Proton
          Issue Type: Bug
          Components: cpp-binding
    Affects Versions: 0.12.2
            Reporter: Alan Conway
            Assignee: Alan Conway
            Priority: Blocker
             Fix For: 0.13.0


There is a sporadic leak (I see it about every 3-4 test runs) in the C++ unite 
tests, valgrind details below:

{code}
 8/10 Test #13: cpp_container_test ...............***Failed    2.45 sec
==30795== 1,200 (48 direct, 1,152 indirect) bytes in 3 blocks are definitely 
lost in loss record 2 of 3
==30795==    at 0x4C29216: operator new(unsigned long) (vg_replace_malloc.c:334)
==30795==    by 0x4E6EF32: 
proton::container::listen(std::__cxx11::basic_string<char, 
std::char_traits<char>, std::allocator<char> > const&, 
proton::connection_options const&) (container.cpp:83)
==30795==    by 0x4E6EFC3: 
proton::container::listen(std::__cxx11::basic_string<char, 
std::char_traits<char>, std::allocator<char> > const&) (container.cpp:87)
==30795==    by 0x404313: (anonymous 
namespace)::test_handler::on_container_start(proton::container&) 
(container_test.cpp:67)
==30795==    by 0x4E804AF: 
proton::messaging_adapter::on_reactor_init(proton::proton_event&) 
(messaging_adapter.cpp:63)
==30795==    by 0x4E82D62: 
proton::proton_event::dispatch(proton::proton_handler&) (proton_event.cpp:36)
==30795==    by 0x4E71483: proton::handler_context::dispatch(pn_handler_t*, 
pn_event_t*, pn_event_type_t) (container_impl.cpp:71)
==30795==    by 0x50ED57D: pn_handler_dispatch (handler.c:102)
==30795==    by 0x50ECE8C: pn_reactor_process (reactor.c:402)
==30795==    by 0x50ED2A8: pn_reactor_run (reactor.c:480)
==30795==    by 0x4E83F2D: proton::reactor::run() (reactor.cpp:38)
==30795==    by 0x4E7091F: proton::container_impl::run() 
(container_impl.cpp:258)
==30795== 
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to