|
Boost Users : |
Subject: Re: [Boost-users] boost wave memory leak
From: Rob Conde (rob.conde_at_[hidden])
Date: 2012-10-26 08:23:54
Hey Hartmut,
I apologize if this is not standard procedure (not quite sure what
that is) but I was wondering if you've been able to reproduce the issue
using the information from my last email.
Rob Conde
-----Original Message-----
From: boost-users-bounces_at_[hidden]
[mailto:boost-users-bounces_at_[hidden]] On Behalf Of Hartmut Kaiser
Sent: Monday, October 22, 2012 8:00 PM
To: boost-users_at_[hidden]
Subject: Re: [Boost-users] boost wave memory leak
> I'm getting a report of a memory leak when using boost wave. I see a
> similar problem at:
>
> https://svn.boost.org/trac/boost/ticket/4346
>
> but supposedly that is fixed for a while.
>
> The call stack is:
How did you get that call stack? What do I need to do to reproduce this
problem?
Regards Hartmut
---------------
http://boost-spirit.com
http://stellar.cct.lsu.edu
>
> MyDll.dll!operator new(unsigned int count, const std::nothrow_t &
> __formal)
> Line 18 + 0x9 bytes C++
>
> MyDll.dll!operator new[](unsigned int count, const std::nothrow_t & x)
> Line
> 15 + 0xd bytes C++
>
> MyDll.dll!boost::default_user_allocator_new_delete::malloc(const unsigned
> int bytes) Line 97 + 0xe bytes C++
>
> MyDll.dll!boost::pool<boost::default_user_allocator_new_delete>::mallo
> c_ne
> ed
> _resize() Line 693 + 0x9 bytes C++
>
> MyDll.dll!boost::pool<boost::default_user_allocator_new_delete>::malloc()
> Line 432 C++
>
> MyDll.dll!boost::singleton_pool<boost::fast_pool_allocator_tag,12,boos
> t::d
> ef
> ault_user_allocator_new_delete,boost::mutex,32,0>::malloc() Line 137
> + 0xb
> bytes C++
>
> MyDll.dll!boost::fast_pool_allocator<std::_List_nod<boost::wave::cpplexer:
> :l
> ex_token<boost::wave::util::file_position<boost::wave::util::flex_stri
> ng<c
> ha
> r,std::char_traits<char>,std::allocator<char>,boost::wave::util::CowSt
> ring
> <b
> oost::wave::util::AllocatorStringStorage<char,std::allocator<char>
> >,char *>
> > >
> >,boost::fast_pool_allocator<boost::wave::cpplexer::lex_token<boost::w
> >av
> >e::u
> til::file_position<boost::wave::util::flex_string<char,std::char_trait
> s<ch
> ar
> >,std::allocator<char>,boost::wave::util::CowString<boost::wave::util:
> >:A
> >lloc
> atorStringStorage<char,std::allocator<char> >,char *> > >
> >,boost::default_user_allocator_new_delete,boost::mutex,32,0>
> >::_Node,boost::default_user_allocator_new_delete,boost::mutex,32,0>::
> >al
> >loca
> te(const unsigned int n) Line 419 + 0xb bytes C++
>
> MyDll.dll!std::list<boost::wave::cpplexer::lex_token<boost::wave::util
> ::fi
> le
> _position<boost::wave::util::flex_string<char,std::char_traits<char>,std::
> al
> locator<char>,boost::wave::util::CowString<boost::wave::util::Allocato
> rStr
> in
> gStorage<char,std::allocator<char> >,char *> > >
> >,boost::fast_pool_allocator<boost::wave::cpplexer::lex_token<boost::w
> >av
> >e::u
> til::file_position<boost::wave::util::flex_string<char,std::char_trait
> s<ch
> ar
> >,std::allocator<char>,boost::wave::util::CowString<boost::wave::util:
> >:A
> >lloc
> atorStringStorage<char,std::allocator<char> >,char *> > >
> >,boost::default_user_allocator_new_delete,boost::mutex,32,0>
> >>::_Buynode()
> Line 1172 + 0x7 bytes C++
>
> MyDll.dll!std::list<boost::wave::cpplexer::lex_token<boost::wave::util
> ::fi
> le
> _position<boost::wave::util::flex_string<char,std::char_traits<char>,std::
> al
> locator<char>,boost::wave::util::CowString<boost::wave::util::Allocato
> rStr
> in
> gStorage<char,std::allocator<char> >,char *> > >
> >,boost::fast_pool_allocator<boost::wave::cpplexer::lex_token<boost::w
> >av
> >e::u
> til::file_position<boost::wave::util::flex_string<char,std::char_trait
> s<ch
> ar
> >,std::allocator<char>,boost::wave::util::CowString<boost::wave::util:
> >:A
> >lloc
> atorStringStorage<char,std::allocator<char> >,char *> > >
> >,boost::default_user_allocator_new_delete,boost::mutex,32,0>
> >::list<boost::wave::cpplexer::lex_token<boost::wave::util::file_posit
> >io
> >n<bo
> ost::wave::util::flex_string<char,std::char_traits<char>,std::allocato
> r<ch
> ar
> >,boost::wave::util::CowString<boost::wave::util::AllocatorStringStora
> >ge
> ><cha
> r,std::allocator<char> >,char *> > >
> >,boost::fast_pool_allocator<boost::wave::cpplexer::lex_token<boost::w
> >av
> >e::u
> til::file_position<boost::wave::util::flex_string<char,std::char_trait
> s<ch
> ar
> >,std::allocator<char>,boost::wave::util::CowString<boost::wave::util:
> >:A
> >lloc
> atorStringStorage<char,std::allocator<char> >,char *> > >
> >,boost::default_user_allocator_new_delete,boost::mutex,32,0> >()
> >Line
> >436
> + 0x68 bytes C++
>
> MyDll.dll!`dynamic initializer for
> 'boost::wave::util::impl::gen_unput_queue_iterator<boost::wave::cpplexer::
> le
> x_iterator<boost::wave::cpplexer::lex_token<boost::wave::util::file_po
> siti
> on
> <boost::wave::util::flex_string<char,std::char_traits<char>,std::alloc
> ator
> <c
> har>,boost::wave::util::CowString<boost::wave::util::AllocatorStringSt
> har>or
> har>age<
> char,std::allocator<char> >,char *> > > >
> >,boost::wave::cpplexer::lex_token<boost::wave::util::file_position<bo
> >os
> >t::w
> ave::util::flex_string<char,std::char_traits<char>,std::allocator<char
> >,bo
> os
> t::wave::util::CowString<boost::wave::util::AllocatorStringStorage<cha
> r,st
> d:
> :allocator<char> >,char *> > >
> >,std::list<boost::wave::cpplexer::lex_token<boost::wave::util::file_p
> >os
> >itio
> n<boost::wave::util::flex_string<char,std::char_traits<char>,std::allo
> cato
> r<
> char>,boost::wave::util::CowString<boost::wave::util::AllocatorStringS
> char>to
> char>rage
> <char,std::allocator<char> >,char *> > >
> >,boost::fast_pool_allocator<boost::wave::cpplexer::lex_token<boost::w
> >av
> >e::u
> til::file_position<boost::wave::util::flex_string<char,std::char_trait
> s<ch
> ar
> >,std::allocator<char>,boost::wave::util::CowString<boost::wave::util:
> >:A
> >lloc
> atorStringStorage<char,std::allocator<char> >,char *> > >
> >,boost::default_user_allocator_new_delete,boost::mutex,32,0> >
> >>::last''()
> Line 155 + 0x28 bytes C++
>
> msvcr90d.dll!__initterm() + 0x1c bytes
>
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
_______________________________________________
Boost-users mailing list
Boost-users_at_[hidden]
http://lists.boost.org/mailman/listinfo.cgi/boost-users
______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com
______________________________________________________________________
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net