Ticket #3961: valgrind_log

File valgrind_log, 8.7 KB (added by anonymous, 13 years ago)
Line 
1==30502== Memcheck, a memory error detector.
2==30502== Copyright (C) 2002-2008, and GNU GPL'd, by Julian Seward et al.
3==30502== Using LibVEX rev 1884, a library for dynamic binary translation.
4==30502== Copyright (C) 2004-2008, and GNU GPL'd, by OpenWorks LLP.
5==30502== Using valgrind-3.4.1, a dynamic binary instrumentation framework.
6==30502== Copyright (C) 2000-2008, and GNU GPL'd, by Julian Seward et al.
7==30502== For more details, rerun with: -v
8==30502==
9==30502== My PID = 30502, parent PID = 29532. Prog and args are:
10==30502== ./a.out
11==30502==
12==30502==
13==30502== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 6 from 2)
14==30502== malloc/free: in use at exit: 1,595 bytes in 27 blocks.
15==30502== malloc/free: 47 allocs, 20 frees, 4,182 bytes allocated.
16==30502== For counts of detected errors, rerun with: -v
17==30502== searching for pointers to 27 not-freed blocks.
18==30502== checked 166,176 bytes.
19==30502==
20==30502== 40 bytes in 1 blocks are still reachable in loss record 1 of 7
21==30502== at 0x4C246AC: operator new(unsigned long) (vg_replace_malloc.c:230)
22==30502== by 0x40FD58: std::locale::locale<boost::date_time::time_facet<boost::posix_time::ptime, char, std::ostreambuf_iterator<char, std::char_traits<char> > > >(std::locale const&, boost::date_time::time_facet<boost::posix_time::ptime, char, std::ostreambuf_iterator<char, std::char_traits<char> > >*) (locale_classes.tcc:50)
23==30502== by 0x4115CC: 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::ptime const&) (posix_time_io.hpp:60)
24==30502== by 0x402DC7: main (memory_leak.cpp:10)
25==30502==
26==30502==
27==30502== 96 bytes in 1 blocks are still reachable in loss record 2 of 7
28==30502== at 0x4C23F6C: operator new[](unsigned long) (vg_replace_malloc.c:274)
29==30502== by 0x4E8F753: std::locale::_Impl::_Impl(std::locale::_Impl const&, unsigned long) (in /usr/lib64/gcc/x86_64-pc-linux-gnu/4.3.4/libstdc++.so.6.0.10)
30==30502== by 0x40FD71: std::locale::locale<boost::date_time::time_facet<boost::posix_time::ptime, char, std::ostreambuf_iterator<char, std::char_traits<char> > > >(std::locale const&, boost::date_time::time_facet<boost::posix_time::ptime, char, std::ostreambuf_iterator<char, std::char_traits<char> > >*) (locale_classes.tcc:50)
31==30502== by 0x4115CC: 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::ptime const&) (posix_time_io.hpp:60)
32==30502== by 0x402DC7: main (memory_leak.cpp:10)
33==30502==
34==30502==
35==30502== 96 bytes in 2 blocks are still reachable in loss record 3 of 7
36==30502== at 0x4C246AC: operator new(unsigned long) (vg_replace_malloc.c:230)
37==30502== by 0x40A5C2: __gnu_cxx::new_allocator<std::string>::allocate(unsigned long, void const*) (new_allocator.h:92)
38==30502== by 0x40A5F1: std::_Vector_base<std::string, std::allocator<std::string> >::_M_allocate(unsigned long) (stl_vector.h:144)
39==30502== by 0x40A636: std::_Vector_base<std::string, std::allocator<std::string> >::_Vector_base(unsigned long, std::allocator<std::string> const&) (stl_vector.h:117)
40==30502== by 0x40A6D0: std::vector<std::string, std::allocator<std::string> >::vector(std::vector<std::string, std::allocator<std::string> > const&) (stl_vector.h:248)
41==30502== by 0x40A760: boost::date_time::date_generator_formatter<boost::gregorian::date, char, std::ostreambuf_iterator<char, std::char_traits<char> > >::date_generator_formatter(boost::date_time::date_generator_formatter<boost::gregorian::date, char, std::ostreambuf_iterator<char, std::char_traits<char> > > const&) (date_generator_formatter.hpp:38)
42==30502== by 0x40E9E0: boost::date_time::date_facet<boost::gregorian::date, char, std::ostreambuf_iterator<char, std::char_traits<char> > >::date_facet(char const*, boost::date_time::period_formatter<char, std::ostreambuf_iterator<char, std::char_traits<char> > >, boost::date_time::special_values_formatter<char, std::ostreambuf_iterator<char, std::char_traits<char> > >, boost::date_time::date_generator_formatter<boost::gregorian::date, char, std::ostreambuf_iterator<char, std::char_traits<char> > >, unsigned long) (date_facet.hpp:111)
43==30502== by 0x40F605: boost::date_time::time_facet<boost::posix_time::ptime, char, std::ostreambuf_iterator<char, std::char_traits<char> > >::time_facet(unsigned long) (time_facet.hpp:203)
44==30502== by 0x411588: 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::ptime const&) (posix_time_io.hpp:59)
45==30502== by 0x402DC7: main (memory_leak.cpp:10)
46==30502==
47==30502==
48==30502== 232 bytes in 1 blocks are still reachable in loss record 4 of 7
49==30502== at 0x4C246AC: operator new(unsigned long) (vg_replace_malloc.c:230)
50==30502== by 0x411570: 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::ptime const&) (posix_time_io.hpp:59)
51==30502== by 0x402DC7: main (memory_leak.cpp:10)
52==30502==
53==30502==
54==30502== 256 bytes in 1 blocks are still reachable in loss record 5 of 7
55==30502== at 0x4C23F6C: operator new[](unsigned long) (vg_replace_malloc.c:274)
56==30502== by 0x4E8F2D3: std::locale::_Impl::_M_install_facet(std::locale::id const*, std::locale::facet const*) (in /usr/lib64/gcc/x86_64-pc-linux-gnu/4.3.4/libstdc++.so.6.0.10)
57==30502== by 0x40FD91: std::locale::locale<boost::date_time::time_facet<boost::posix_time::ptime, char, std::ostreambuf_iterator<char, std::char_traits<char> > > >(std::locale const&, boost::date_time::time_facet<boost::posix_time::ptime, char, std::ostreambuf_iterator<char, std::char_traits<char> > >*) (locale_classes.tcc:53)
58==30502== by 0x4115CC: 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::ptime const&) (posix_time_io.hpp:60)
59==30502== by 0x402DC7: main (memory_leak.cpp:10)
60==30502==
61==30502==
62==30502== 256 bytes in 1 blocks are still reachable in loss record 6 of 7
63==30502== at 0x4C23F6C: operator new[](unsigned long) (vg_replace_malloc.c:274)
64==30502== by 0x4E8F27C: std::locale::_Impl::_M_install_facet(std::locale::id const*, std::locale::facet const*) (in /usr/lib64/gcc/x86_64-pc-linux-gnu/4.3.4/libstdc++.so.6.0.10)
65==30502== by 0x40FD91: std::locale::locale<boost::date_time::time_facet<boost::posix_time::ptime, char, std::ostreambuf_iterator<char, std::char_traits<char> > > >(std::locale const&, boost::date_time::time_facet<boost::posix_time::ptime, char, std::ostreambuf_iterator<char, std::char_traits<char> > >*) (locale_classes.tcc:53)
66==30502== by 0x4115CC: 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::ptime const&) (posix_time_io.hpp:60)
67==30502== by 0x402DC7: main (memory_leak.cpp:10)
68==30502==
69==30502==
70==30502== 619 bytes in 20 blocks are possibly lost in loss record 7 of 7
71==30502== at 0x4C246AC: operator new(unsigned long) (vg_replace_malloc.c:230)
72==30502== by 0x4ECBD00: std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) (in /usr/lib64/gcc/x86_64-pc-linux-gnu/4.3.4/libstdc++.so.6.0.10)
73==30502== by 0x4ECC694: (within /usr/lib64/gcc/x86_64-pc-linux-gnu/4.3.4/libstdc++.so.6.0.10)
74==30502== by 0x4ECC7D2: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) (in /usr/lib64/gcc/x86_64-pc-linux-gnu/4.3.4/libstdc++.so.6.0.10)
75==30502== by 0x40AB76: 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:66)
76==30502== by 0x40F5AD: boost::date_time::time_facet<boost::posix_time::ptime, char, std::ostreambuf_iterator<char, std::char_traits<char> > >::time_facet(unsigned long) (time_facet.hpp:203)
77==30502== by 0x411588: 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::ptime const&) (posix_time_io.hpp:59)
78==30502== by 0x402DC7: main (memory_leak.cpp:10)
79==30502==
80==30502== LEAK SUMMARY:
81==30502== definitely lost: 0 bytes in 0 blocks.
82==30502== possibly lost: 619 bytes in 20 blocks.
83==30502== still reachable: 976 bytes in 7 blocks.
84==30502== suppressed: 0 bytes in 0 blocks.