Date: | Wed, 27 Sep 2017 16:03:23 +0200 |
---|---|
From: | Thomas Dullien <thomasdullien@xxxxxxxxxx> |
Subject: | Re: [DynInst_API:] Question on potential memory leaks |
Hey all, in the following two example leaks (there are lots in my output, but they are all of one of these two types): Indirect leak of 8 byte(s) in 1 object(s) allocated from: Â Â #0 0x7fb7aa213bf0 in operator new(unsigned long) (/usr/lib/x86_64-linux-gnu/libasan.so.3+0xc2bf0) Â Â #1 0x7fb7a9cc1329 in Dyninst::DataflowAPI::ExpressionConversionVisitor::visit(Dyninst::InstructionAPI::Dereference*) /home/thomasdullien/dyninst-9.3.2/dataflowAPI/src/ExpressionConversionVisitor.C:217 Â Â #2 0x7fb7a9cd6a6a in Dyninst::DataflowAPI::RoseInsnFactory::convertOperand(boost::shared_ptr<Dyninst::InstructionAPI::_expression_>, long, unsigned long) /home/thomasdullien/dyninst-9.3.2/dataflowAPI/src/RoseInsnFactory.C:105 Â Â #3 0x608000104e1f Â(<unknown module>) Indirect leak of 9 byte(s) in 1 object(s) allocated from: Â Â #0 0x7fb7aa213bf0 in operator new(unsigned long) (/usr/lib/x86_64-linux-gnu/libasan.so.3+0xc2bf0) Â Â #1 0x7fb7a9cd3307 in __gnu_cxx::new_allocator<unsigned char>::allocate(unsigned long, void const*) /usr/include/c++/6/ext/new_allocator.h:104 Â Â #2 0x7fb7a9cd3307 in std::allocator_traits<std::allocator<unsigned char> >::allocate(std::allocator<unsigned char>&, unsigned long) /usr/include/c++/6/bits/alloc_traits.h:436 Â Â #3 0x7fb7a9cd3307 in std::_Vector_base<unsigned char, std::allocator<unsigned char> >::_M_allocate(unsigned long) /usr/include/c++/6/bits/stl_vector.h:170 Â Â #4 0x7fb7a9cd3307 in unsigned char* std::vector<unsigned char, std::allocator<unsigned char> >::_M_allocate_and_copy<__gnu_cxx::__normal_iterator<unsigned char const*, std::vector<unsigned char, std::allocator<unsigned char> > > >(unsigned l ong, __gnu_cxx::__normal_iterator<unsigned char const*, std::vector<unsigned char, std::allocator<unsigned char> > >, __gnu_cxx::__normal_iterator<unsigned char const*, std::vector<unsigned char, std::allocator<unsigned char> > >) /usr/include/c ++/6/bits/stl_vector.h:1222 Â Â #5 0x7fb7a9cd3307 in std::vector<unsigned char, std::allocator<unsigned char> >::operator=(std::vector<unsigned char, std::allocator<unsigned char> > const&) /usr/include/c++/6/bits/vector.tcc:195 Â Â #6 0x7fb7a9cd3307 in SgAsmInstruction::set_raw_bytes(std::vector<unsigned char, std::allocator<unsigned char> >) /home/thomasdullien/dyninst-9.3.2/dataflowAPI/src/RoseImpl.C:1363 Â Â #7 0x6020000d4478 Â(<unknown module>) Do these seem like real leaks? (This is not from trunk, but the 9.3 release). Cheers, Thomas On Wed, Sep 27, 2017 at 3:59 PM, Thomas Dullien <thomasdullien@xxxxxxxxxx> wrote:
|
[← Prev in Thread] | Current Thread | [Next in Thread→] |
---|---|---|
|
Previous by Date: | [DynInst_API:] Question on potential memory leaks, Thomas Dullien |
---|---|
Next by Date: | Re: [DynInst_API:] Question on potential memory leaks, Xiaozhu Meng |
Previous by Thread: | [DynInst_API:] Question on potential memory leaks, Thomas Dullien |
Next by Thread: | Re: [DynInst_API:] Question on potential memory leaks, Xiaozhu Meng |
Indexes: | [Date] [Thread] |