Subject: Re: [Boost-bugs] [Boost C++ Libraries] #9830: memory leak in time_duration
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-04-10 14:56:48
#9830: memory leak in time_duration
-------------------------------+------------------------
Reporter: mm@⦠| Owner: az_sw_dude
Type: Bugs | Status: new
Milestone: To Be Determined | Component: date_time
Version: Boost 1.54.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+------------------------
Comment (by anonymous):
Valgrind's backtrace of the leak:
{{{
==17499== at 0x40290AC: operator new(unsigned int)
(vg_replace_malloc.c:313)
==17499== by 0x465A9E4: std::string::_Rep::_S_create(unsigned int,
unsigned int, std::allocator<char> const&) (in /usr/lib/i386-linux-
gnu/libstdc++.so.6.0.19)
==17499== by 0x43156DB: char* std::string::_S_construct<char
const*>(char const*, char const*, std::allocator<char> const&,
std::forward_iterator_tag) (in /usr/lib/libjsoncpp.so.0.6.0)
==17499== by 0x465CF8F: std::basic_string<char, std::char_traits<char>,
std::allocator<char> >::basic_string(char const*, std::allocator<char>
const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.19)
==17499== by 0x80ABF31:
boost::date_time::date_generator_formatter<boost::gregorian::date, char,
std::ostreambuf_iterator<char, std::char_traits<char> >
>::date_generator_formatter() (date_generator_formatter.hpp:73)
==17499== by 0x80A5815:
boost::date_time::time_facet<boost::posix_time::ptime, char,
std::ostreambuf_iterator<char, std::char_traits<char> >
>::time_facet(unsigned int) (time_facet.hpp:249)
==17499== by 0x80A05F8: std::basic_ostream<char, std::char_traits<char>
>& boost::posix_time::operator<< <char, std::char_traits<char>
>(std::basic_ostream<char, std::char_traits<char> >&,
boost::posix_time::time_duration const&) (posix_time_io.hpp:193)
}}}
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/9830#comment:1> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:16 UTC