Ticket #9119: valgrind.log

File valgrind.log, 17.3 KB (added by Giovanni Azua <bravegag@…>, 9 years ago)

valgrind output

Line 
1==28717== Memcheck, a memory error detector
2==28717== Copyright (C) 2002-2011, and GNU GPL'd, by Julian Seward et al.
3==28717== Using Valgrind-3.7.0 and LibVEX; rerun with -h for copyright info
4==28717== Command: ./tutorial_file
5==28717==
6==28717== Invalid read of size 8
7==28717== at 0x6BC2E18: wcscmp (wcscmp.S:479)
8==28717== by 0x645E113: std::moneypunct<wchar_t, false>::~moneypunct() (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16)
9==28717== by 0x645E198: std::moneypunct<wchar_t, false>::~moneypunct() (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16)
10==28717== by 0x6452A79: std::locale::_Impl::~_Impl() (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16)
11==28717== by 0x6452C4C: std::locale::~locale() (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16)
12==28717== by 0x6B5CD1C: __cxa_finalize (cxa_finalize.c:56)
13==28717== by 0x6EEFFE5: ??? (in /home/azg/Downloads/boost_1_54_0/bin.v2/libs/filesystem/build/gcc-4.6/debug/threading-multi/libboost_filesystem.so.1.54.0)
14==28717== by 0x6EFC640: ??? (in /home/azg/Downloads/boost_1_54_0/bin.v2/libs/filesystem/build/gcc-4.6/debug/threading-multi/libboost_filesystem.so.1.54.0)
15==28717== by 0x6B5C900: __run_exit_handlers (exit.c:78)
16==28717== by 0x6B5C984: exit (exit.c:100)
17==28717== by 0x6B42773: (below main) (libc-start.c:258)
18==28717== Address 0x760e358 is 0 bytes after a block of size 8 alloc'd
19==28717== at 0x4C2AC27: operator new[](unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
20==28717== by 0x645DDED: std::moneypunct<wchar_t, false>::_M_initialize_moneypunct(__locale_struct*, char const*) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16)
21==28717== by 0x645511E: std::locale::_Impl::_Impl(char const*, unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16)
22==28717== by 0x645565E: std::locale::locale(char const*) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16)
23==28717== by 0x6EFA0E0: boost::filesystem::path::codecvt() (path.cpp:911)
24==28717== by 0x5D226C0: boost::enable_if<boost::filesystem::path_traits::is_pathable<boost::decay<std::string>::type>, boost::filesystem::path&>::type boost::filesystem::path::operator=<std::string>(std::string const&) (path.hpp:202)
25==28717== by 0x5D1851B: boost::log::v2_mt_posix::sinks::text_file_backend::set_file_name_pattern_internal(boost::filesystem::path const&) (text_file_backend.cpp:1188)
26==28717== by 0x5D17E0B: boost::log::v2_mt_posix::sinks::text_file_backend::construct(boost::filesystem::path const&, std::_Ios_Openmode, unsigned long, boost::log::v2_mt_posix::aux::light_function<bool ()()> const&, bool) (text_file_backend.cpp:1100)
27==28717== by 0x431543: void boost::log::v2_mt_posix::sinks::text_file_backend::construct<boost::parameter::aux::arg_list<boost::parameter::aux::tagged_argument<boost::log::v2_mt_posix::keywords::tag::format, char const [25]>, boost::parameter::aux::arg_list<boost::parameter::aux::tagged_argument<boost::log::v2_mt_posix::keywords::tag::time_based_rotation, boost::log::v2_mt_posix::sinks::file::rotation_at_time_point const>, boost::parameter::aux::arg_list<boost::parameter::aux::tagged_argument<boost::log::v2_mt_posix::keywords::tag::file_name, char const [14]>, boost::parameter::aux::arg_list<boost::parameter::aux::tagged_argument<boost::log::v2_mt_posix::keywords::tag::rotation_size, int const>, boost::parameter::aux::empty_arg_list> > > > >(boost::parameter::aux::arg_list<boost::parameter::aux::tagged_argument<boost::log::v2_mt_posix::keywords::tag::format, char const [25]>, boost::parameter::aux::arg_list<boost::parameter::aux::tagged_argument<boost::log::v2_mt_posix::keywords::tag::time_based_rotation, boost::log::v2_mt_posix::sinks::file::rotation_at_time_point const>, boost::parameter::aux::arg_list<boost::parameter::aux::tagged_argument<boost::log::v2_mt_posix::keywords::tag::file_name, char const [14]>, boost::parameter::aux::arg_list<boost::parameter::aux::tagged_argument<boost::log::v2_mt_posix::keywords::tag::rotation_size, int const>, boost::parameter::aux::empty_arg_list> > > > const&) (text_file_backend.hpp:511)
28==28717== by 0x4307BE: boost::log::v2_mt_posix::sinks::text_file_backend::text_file_backend<boost::parameter::aux::arg_list<boost::parameter::aux::tagged_argument<boost::log::v2_mt_posix::keywords::tag::format, char const [25]>, boost::parameter::aux::arg_list<boost::parameter::aux::tagged_argument<boost::log::v2_mt_posix::keywords::tag::time_based_rotation, boost::log::v2_mt_posix::sinks::file::rotation_at_time_point const>, boost::parameter::aux::arg_list<boost::parameter::aux::tagged_argument<boost::log::v2_mt_posix::keywords::tag::file_name, char const [14]>, boost::parameter::aux::arg_list<boost::parameter::aux::tagged_argument<boost::log::v2_mt_posix::keywords::tag::rotation_size, int const>, boost::parameter::aux::empty_arg_list> > > > >(boost::parameter::aux::arg_list<boost::parameter::aux::tagged_argument<boost::log::v2_mt_posix::keywords::tag::format, char const [25]>, boost::parameter::aux::arg_list<boost::parameter::aux::tagged_argument<boost::log::v2_mt_posix::keywords::tag::time_based_rotation, boost::log::v2_mt_posix::sinks::file::rotation_at_time_point const>, boost::parameter::aux::arg_list<boost::parameter::aux::tagged_argument<boost::log::v2_mt_posix::keywords::tag::file_name, char const [14]>, boost::parameter::aux::arg_list<boost::parameter::aux::tagged_argument<boost::log::v2_mt_posix::keywords::tag::rotation_size, int const>, boost::parameter::aux::empty_arg_list> > > > const&) (text_file_backend.hpp:386)
29==28717== by 0x42FA34: boost::detail::sp_if_not_array<boost::log::v2_mt_posix::sinks::text_file_backend>::type boost::make_shared<boost::log::v2_mt_posix::sinks::text_file_backend, boost::parameter::aux::arg_list<boost::parameter::aux::tagged_argument<boost::log::v2_mt_posix::keywords::tag::format, char const [25]>, boost::parameter::aux::arg_list<boost::parameter::aux::tagged_argument<boost::log::v2_mt_posix::keywords::tag::time_based_rotation, boost::log::v2_mt_posix::sinks::file::rotation_at_time_point const>, boost::parameter::aux::arg_list<boost::parameter::aux::tagged_argument<boost::log::v2_mt_posix::keywords::tag::file_name, char const [14]>, boost::parameter::aux::arg_list<boost::parameter::aux::tagged_argument<boost::log::v2_mt_posix::keywords::tag::rotation_size, int const>, boost::parameter::aux::empty_arg_list> > > > >(boost::parameter::aux::arg_list<boost::parameter::aux::tagged_argument<boost::log::v2_mt_posix::keywords::tag::format, char const [25]>, boost::parameter::aux::arg_list<boost::parameter::aux::tagged_argument<boost::log::v2_mt_posix::keywords::tag::time_based_rotation, boost::log::v2_mt_posix::sinks::file::rotation_at_time_point const>, boost::parameter::aux::arg_list<boost::parameter::aux::tagged_argument<boost::log::v2_mt_posix::keywords::tag::file_name, char const [14]>, boost::parameter::aux::arg_list<boost::parameter::aux::tagged_argument<boost::log::v2_mt_posix::keywords::tag::rotation_size, int const>, boost::parameter::aux::empty_arg_list> > > > const&) (make_shared_object.hpp:711)
30==28717== by 0x42E5AF: boost::shared_ptr<boost::log::v2_mt_posix::sinks::synchronous_sink<boost::log::v2_mt_posix::sinks::text_file_backend> > boost::log::v2_mt_posix::aux::add_file_log<boost::parameter::aux::arg_list<boost::parameter::aux::tagged_argument<boost::log::v2_mt_posix::keywords::tag::format, char const [25]>, boost::parameter::aux::arg_list<boost::parameter::aux::tagged_argument<boost::log::v2_mt_posix::keywords::tag::time_based_rotation, boost::log::v2_mt_posix::sinks::file::rotation_at_time_point const>, boost::parameter::aux::arg_list<boost::parameter::aux::tagged_argument<boost::log::v2_mt_posix::keywords::tag::file_name, char const [14]>, boost::parameter::aux::arg_list<boost::parameter::aux::tagged_argument<boost::log::v2_mt_posix::keywords::tag::rotation_size, int const>, boost::parameter::aux::empty_arg_list> > > > >(boost::parameter::aux::arg_list<boost::parameter::aux::tagged_argument<boost::log::v2_mt_posix::keywords::tag::format, char const [25]>, boost::parameter::aux::arg_list<boost::parameter::aux::tagged_argument<boost::log::v2_mt_posix::keywords::tag::time_based_rotation, boost::log::v2_mt_posix::sinks::file::rotation_at_time_point const>, boost::parameter::aux::arg_list<boost::parameter::aux::tagged_argument<boost::log::v2_mt_posix::keywords::tag::file_name, char const [14]>, boost::parameter::aux::arg_list<boost::parameter::aux::tagged_argument<boost::log::v2_mt_posix::keywords::tag::rotation_size, int const>, boost::parameter::aux::empty_arg_list> > > > const&) (file.hpp:75)
31==28717==
32==28717== Invalid read of size 8
33==28717== at 0x6BC2E18: wcscmp (wcscmp.S:479)
34==28717== by 0x645E003: std::moneypunct<wchar_t, true>::~moneypunct() (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16)
35==28717== by 0x645E088: std::moneypunct<wchar_t, true>::~moneypunct() (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16)
36==28717== by 0x6452A79: std::locale::_Impl::~_Impl() (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16)
37==28717== by 0x6452C4C: std::locale::~locale() (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16)
38==28717== by 0x6B5CD1C: __cxa_finalize (cxa_finalize.c:56)
39==28717== by 0x6EEFFE5: ??? (in /home/azg/Downloads/boost_1_54_0/bin.v2/libs/filesystem/build/gcc-4.6/debug/threading-multi/libboost_filesystem.so.1.54.0)
40==28717== by 0x6EFC640: ??? (in /home/azg/Downloads/boost_1_54_0/bin.v2/libs/filesystem/build/gcc-4.6/debug/threading-multi/libboost_filesystem.so.1.54.0)
41==28717== by 0x6B5C900: __run_exit_handlers (exit.c:78)
42==28717== by 0x6B5C984: exit (exit.c:100)
43==28717== by 0x6B42773: (below main) (libc-start.c:258)
44==28717== Address 0x760e588 is 0 bytes after a block of size 8 alloc'd
45==28717== at 0x4C2AC27: operator new[](unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
46==28717== by 0x645D7FD: std::moneypunct<wchar_t, true>::_M_initialize_moneypunct(__locale_struct*, char const*) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16)
47==28717== by 0x645516B: std::locale::_Impl::_Impl(char const*, unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16)
48==28717== by 0x645565E: std::locale::locale(char const*) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16)
49==28717== by 0x6EFA0E0: boost::filesystem::path::codecvt() (path.cpp:911)
50==28717== by 0x5D226C0: boost::enable_if<boost::filesystem::path_traits::is_pathable<boost::decay<std::string>::type>, boost::filesystem::path&>::type boost::filesystem::path::operator=<std::string>(std::string const&) (path.hpp:202)
51==28717== by 0x5D1851B: boost::log::v2_mt_posix::sinks::text_file_backend::set_file_name_pattern_internal(boost::filesystem::path const&) (text_file_backend.cpp:1188)
52==28717== by 0x5D17E0B: boost::log::v2_mt_posix::sinks::text_file_backend::construct(boost::filesystem::path const&, std::_Ios_Openmode, unsigned long, boost::log::v2_mt_posix::aux::light_function<bool ()()> const&, bool) (text_file_backend.cpp:1100)
53==28717== by 0x431543: void boost::log::v2_mt_posix::sinks::text_file_backend::construct<boost::parameter::aux::arg_list<boost::parameter::aux::tagged_argument<boost::log::v2_mt_posix::keywords::tag::format, char const [25]>, boost::parameter::aux::arg_list<boost::parameter::aux::tagged_argument<boost::log::v2_mt_posix::keywords::tag::time_based_rotation, boost::log::v2_mt_posix::sinks::file::rotation_at_time_point const>, boost::parameter::aux::arg_list<boost::parameter::aux::tagged_argument<boost::log::v2_mt_posix::keywords::tag::file_name, char const [14]>, boost::parameter::aux::arg_list<boost::parameter::aux::tagged_argument<boost::log::v2_mt_posix::keywords::tag::rotation_size, int const>, boost::parameter::aux::empty_arg_list> > > > >(boost::parameter::aux::arg_list<boost::parameter::aux::tagged_argument<boost::log::v2_mt_posix::keywords::tag::format, char const [25]>, boost::parameter::aux::arg_list<boost::parameter::aux::tagged_argument<boost::log::v2_mt_posix::keywords::tag::time_based_rotation, boost::log::v2_mt_posix::sinks::file::rotation_at_time_point const>, boost::parameter::aux::arg_list<boost::parameter::aux::tagged_argument<boost::log::v2_mt_posix::keywords::tag::file_name, char const [14]>, boost::parameter::aux::arg_list<boost::parameter::aux::tagged_argument<boost::log::v2_mt_posix::keywords::tag::rotation_size, int const>, boost::parameter::aux::empty_arg_list> > > > const&) (text_file_backend.hpp:511)
54==28717== by 0x4307BE: boost::log::v2_mt_posix::sinks::text_file_backend::text_file_backend<boost::parameter::aux::arg_list<boost::parameter::aux::tagged_argument<boost::log::v2_mt_posix::keywords::tag::format, char const [25]>, boost::parameter::aux::arg_list<boost::parameter::aux::tagged_argument<boost::log::v2_mt_posix::keywords::tag::time_based_rotation, boost::log::v2_mt_posix::sinks::file::rotation_at_time_point const>, boost::parameter::aux::arg_list<boost::parameter::aux::tagged_argument<boost::log::v2_mt_posix::keywords::tag::file_name, char const [14]>, boost::parameter::aux::arg_list<boost::parameter::aux::tagged_argument<boost::log::v2_mt_posix::keywords::tag::rotation_size, int const>, boost::parameter::aux::empty_arg_list> > > > >(boost::parameter::aux::arg_list<boost::parameter::aux::tagged_argument<boost::log::v2_mt_posix::keywords::tag::format, char const [25]>, boost::parameter::aux::arg_list<boost::parameter::aux::tagged_argument<boost::log::v2_mt_posix::keywords::tag::time_based_rotation, boost::log::v2_mt_posix::sinks::file::rotation_at_time_point const>, boost::parameter::aux::arg_list<boost::parameter::aux::tagged_argument<boost::log::v2_mt_posix::keywords::tag::file_name, char const [14]>, boost::parameter::aux::arg_list<boost::parameter::aux::tagged_argument<boost::log::v2_mt_posix::keywords::tag::rotation_size, int const>, boost::parameter::aux::empty_arg_list> > > > const&) (text_file_backend.hpp:386)
55==28717== by 0x42FA34: boost::detail::sp_if_not_array<boost::log::v2_mt_posix::sinks::text_file_backend>::type boost::make_shared<boost::log::v2_mt_posix::sinks::text_file_backend, boost::parameter::aux::arg_list<boost::parameter::aux::tagged_argument<boost::log::v2_mt_posix::keywords::tag::format, char const [25]>, boost::parameter::aux::arg_list<boost::parameter::aux::tagged_argument<boost::log::v2_mt_posix::keywords::tag::time_based_rotation, boost::log::v2_mt_posix::sinks::file::rotation_at_time_point const>, boost::parameter::aux::arg_list<boost::parameter::aux::tagged_argument<boost::log::v2_mt_posix::keywords::tag::file_name, char const [14]>, boost::parameter::aux::arg_list<boost::parameter::aux::tagged_argument<boost::log::v2_mt_posix::keywords::tag::rotation_size, int const>, boost::parameter::aux::empty_arg_list> > > > >(boost::parameter::aux::arg_list<boost::parameter::aux::tagged_argument<boost::log::v2_mt_posix::keywords::tag::format, char const [25]>, boost::parameter::aux::arg_list<boost::parameter::aux::tagged_argument<boost::log::v2_mt_posix::keywords::tag::time_based_rotation, boost::log::v2_mt_posix::sinks::file::rotation_at_time_point const>, boost::parameter::aux::arg_list<boost::parameter::aux::tagged_argument<boost::log::v2_mt_posix::keywords::tag::file_name, char const [14]>, boost::parameter::aux::arg_list<boost::parameter::aux::tagged_argument<boost::log::v2_mt_posix::keywords::tag::rotation_size, int const>, boost::parameter::aux::empty_arg_list> > > > const&) (make_shared_object.hpp:711)
56==28717== by 0x42E5AF: boost::shared_ptr<boost::log::v2_mt_posix::sinks::synchronous_sink<boost::log::v2_mt_posix::sinks::text_file_backend> > boost::log::v2_mt_posix::aux::add_file_log<boost::parameter::aux::arg_list<boost::parameter::aux::tagged_argument<boost::log::v2_mt_posix::keywords::tag::format, char const [25]>, boost::parameter::aux::arg_list<boost::parameter::aux::tagged_argument<boost::log::v2_mt_posix::keywords::tag::time_based_rotation, boost::log::v2_mt_posix::sinks::file::rotation_at_time_point const>, boost::parameter::aux::arg_list<boost::parameter::aux::tagged_argument<boost::log::v2_mt_posix::keywords::tag::file_name, char const [14]>, boost::parameter::aux::arg_list<boost::parameter::aux::tagged_argument<boost::log::v2_mt_posix::keywords::tag::rotation_size, int const>, boost::parameter::aux::empty_arg_list> > > > >(boost::parameter::aux::arg_list<boost::parameter::aux::tagged_argument<boost::log::v2_mt_posix::keywords::tag::format, char const [25]>, boost::parameter::aux::arg_list<boost::parameter::aux::tagged_argument<boost::log::v2_mt_posix::keywords::tag::time_based_rotation, boost::log::v2_mt_posix::sinks::file::rotation_at_time_point const>, boost::parameter::aux::arg_list<boost::parameter::aux::tagged_argument<boost::log::v2_mt_posix::keywords::tag::file_name, char const [14]>, boost::parameter::aux::arg_list<boost::parameter::aux::tagged_argument<boost::log::v2_mt_posix::keywords::tag::rotation_size, int const>, boost::parameter::aux::empty_arg_list> > > > const&) (file.hpp:75)
57==28717==
58==28717==
59==28717== HEAP SUMMARY:
60==28717== in use at exit: 512 bytes in 5 blocks
61==28717== total heap usage: 353 allocs, 348 frees, 55,755 bytes allocated
62==28717==
63==28717== LEAK SUMMARY:
64==28717== definitely lost: 0 bytes in 0 blocks
65==28717== indirectly lost: 0 bytes in 0 blocks
66==28717== possibly lost: 0 bytes in 0 blocks
67==28717== still reachable: 512 bytes in 5 blocks
68==28717== suppressed: 0 bytes in 0 blocks
69==28717== Rerun with --leak-check=full to see details of leaked memory
70==28717==
71==28717== For counts of detected and suppressed errors, rerun with: -v
72==28717== ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 2 from 2)