1 | ==28793== Memcheck, a memory error detector
|
---|
2 | ==28793== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al.
|
---|
3 | ==28793== Using Valgrind-3.10.0 and LibVEX; rerun with -h for copyright info
|
---|
4 | ==28793== Command: ./ticket8642
|
---|
5 | ==28793== Parent PID: 4579
|
---|
6 | ==28793==
|
---|
7 | ==28793== Invalid read of size 8
|
---|
8 | ==28793== at 0x52FA4F3: std::codecvt<wchar_t, char, __mbstate_t> const& std::use_facet<std::codecvt<wchar_t, char, __mbstate_t> >(std::locale const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
|
---|
9 | ==28793== by 0x40226B: boost::filesystem::path_traits::convert(wchar_t const*, wchar_t const*, std::string&) (in /home/lastique/src/boost/ticket8642)
|
---|
10 | ==28793== by 0x402798: void boost::filesystem::path_traits::dispatch<std::string>(std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, std::string&) (in /home/lastique/src/boost/ticket8642)
|
---|
11 | ==28793== by 0x40247F: boost::filesystem::path::path<std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > >(std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, boost::enable_if<boost::filesystem::path_traits::is_pathable<boost::decay<std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > >::type>, void>::type*) (in /home/lastique/src/boost/ticket8642)
|
---|
12 | ==28793== by 0x4022B8: sink::foo() (in /home/lastique/src/boost/ticket8642)
|
---|
13 | ==28793== by 0x402329: core::~core() (in /home/lastique/src/boost/ticket8642)
|
---|
14 | ==28793== by 0x402C6E: void boost::checked_delete<core>(core*) (in /home/lastique/src/boost/ticket8642)
|
---|
15 | ==28793== by 0x402E19: boost::detail::sp_counted_impl_p<core>::dispose() (in /home/lastique/src/boost/ticket8642)
|
---|
16 | ==28793== by 0x401DF5: boost::detail::sp_counted_base::release() (in /home/lastique/src/boost/ticket8642)
|
---|
17 | ==28793== by 0x401E84: boost::detail::shared_count::~shared_count() (in /home/lastique/src/boost/ticket8642)
|
---|
18 | ==28793== by 0x402353: boost::shared_ptr<core>::~shared_ptr() (in /home/lastique/src/boost/ticket8642)
|
---|
19 | ==28793== by 0x57B3598: __run_exit_handlers (exit.c:82)
|
---|
20 | ==28793== Address 0x60623c0 is 16 bytes inside a block of size 40 free'd
|
---|
21 | ==28793== at 0x4C2C2E0: operator delete(void*) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
|
---|
22 | ==28793== by 0x57B3598: __run_exit_handlers (exit.c:82)
|
---|
23 | ==28793== by 0x57B35E4: exit (exit.c:104)
|
---|
24 | ==28793== by 0x579AECB: (below main) (libc-start.c:321)
|
---|
25 | ==28793==
|
---|
26 | ==28793== Invalid read of size 8
|
---|
27 | ==28793== at 0x52FA4F7: std::codecvt<wchar_t, char, __mbstate_t> const& std::use_facet<std::codecvt<wchar_t, char, __mbstate_t> >(std::locale const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
|
---|
28 | ==28793== by 0x40226B: boost::filesystem::path_traits::convert(wchar_t const*, wchar_t const*, std::string&) (in /home/lastique/src/boost/ticket8642)
|
---|
29 | ==28793== by 0x402798: void boost::filesystem::path_traits::dispatch<std::string>(std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, std::string&) (in /home/lastique/src/boost/ticket8642)
|
---|
30 | ==28793== by 0x40247F: boost::filesystem::path::path<std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > >(std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, boost::enable_if<boost::filesystem::path_traits::is_pathable<boost::decay<std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > >::type>, void>::type*) (in /home/lastique/src/boost/ticket8642)
|
---|
31 | ==28793== by 0x4022B8: sink::foo() (in /home/lastique/src/boost/ticket8642)
|
---|
32 | ==28793== by 0x402329: core::~core() (in /home/lastique/src/boost/ticket8642)
|
---|
33 | ==28793== by 0x402C6E: void boost::checked_delete<core>(core*) (in /home/lastique/src/boost/ticket8642)
|
---|
34 | ==28793== by 0x402E19: boost::detail::sp_counted_impl_p<core>::dispose() (in /home/lastique/src/boost/ticket8642)
|
---|
35 | ==28793== by 0x401DF5: boost::detail::sp_counted_base::release() (in /home/lastique/src/boost/ticket8642)
|
---|
36 | ==28793== by 0x401E84: boost::detail::shared_count::~shared_count() (in /home/lastique/src/boost/ticket8642)
|
---|
37 | ==28793== by 0x402353: boost::shared_ptr<core>::~shared_ptr() (in /home/lastique/src/boost/ticket8642)
|
---|
38 | ==28793== by 0x57B3598: __run_exit_handlers (exit.c:82)
|
---|
39 | ==28793== Address 0x60623b8 is 8 bytes inside a block of size 40 free'd
|
---|
40 | ==28793== at 0x4C2C2E0: operator delete(void*) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
|
---|
41 | ==28793== by 0x57B3598: __run_exit_handlers (exit.c:82)
|
---|
42 | ==28793== by 0x57B35E4: exit (exit.c:104)
|
---|
43 | ==28793== by 0x579AECB: (below main) (libc-start.c:321)
|
---|
44 | ==28793==
|
---|
45 | ==28793== Invalid read of size 8
|
---|
46 | ==28793== at 0x52FA4FD: std::codecvt<wchar_t, char, __mbstate_t> const& std::use_facet<std::codecvt<wchar_t, char, __mbstate_t> >(std::locale const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
|
---|
47 | ==28793== by 0x40226B: boost::filesystem::path_traits::convert(wchar_t const*, wchar_t const*, std::string&) (in /home/lastique/src/boost/ticket8642)
|
---|
48 | ==28793== by 0x402798: void boost::filesystem::path_traits::dispatch<std::string>(std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, std::string&) (in /home/lastique/src/boost/ticket8642)
|
---|
49 | ==28793== by 0x40247F: boost::filesystem::path::path<std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > >(std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, boost::enable_if<boost::filesystem::path_traits::is_pathable<boost::decay<std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > >::type>, void>::type*) (in /home/lastique/src/boost/ticket8642)
|
---|
50 | ==28793== by 0x4022B8: sink::foo() (in /home/lastique/src/boost/ticket8642)
|
---|
51 | ==28793== by 0x402329: core::~core() (in /home/lastique/src/boost/ticket8642)
|
---|
52 | ==28793== by 0x402C6E: void boost::checked_delete<core>(core*) (in /home/lastique/src/boost/ticket8642)
|
---|
53 | ==28793== by 0x402E19: boost::detail::sp_counted_impl_p<core>::dispose() (in /home/lastique/src/boost/ticket8642)
|
---|
54 | ==28793== by 0x401DF5: boost::detail::sp_counted_base::release() (in /home/lastique/src/boost/ticket8642)
|
---|
55 | ==28793== by 0x401E84: boost::detail::shared_count::~shared_count() (in /home/lastique/src/boost/ticket8642)
|
---|
56 | ==28793== by 0x402353: boost::shared_ptr<core>::~shared_ptr() (in /home/lastique/src/boost/ticket8642)
|
---|
57 | ==28793== by 0x57B3598: __run_exit_handlers (exit.c:82)
|
---|
58 | ==28793== Address 0x6063808 is 120 bytes inside a block of size 224 free'd
|
---|
59 | ==28793== at 0x4C2C860: operator delete[](void*) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
|
---|
60 | ==28793== by 0x52C386C: std::locale::_Impl::~_Impl() (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
|
---|
61 | ==28793== by 0x52C3988: std::locale::~locale() (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
|
---|
62 | ==28793== by 0x57B3598: __run_exit_handlers (exit.c:82)
|
---|
63 | ==28793== by 0x57B35E4: exit (exit.c:104)
|
---|
64 | ==28793== by 0x579AECB: (below main) (libc-start.c:321)
|
---|
65 | ==28793==
|
---|
66 | ==28793== Invalid read of size 8
|
---|
67 | ==28793== at 0x52B082F: __dynamic_cast (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
|
---|
68 | ==28793== by 0x52FA51A: std::codecvt<wchar_t, char, __mbstate_t> const& std::use_facet<std::codecvt<wchar_t, char, __mbstate_t> >(std::locale const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
|
---|
69 | ==28793== by 0x40226B: boost::filesystem::path_traits::convert(wchar_t const*, wchar_t const*, std::string&) (in /home/lastique/src/boost/ticket8642)
|
---|
70 | ==28793== by 0x402798: void boost::filesystem::path_traits::dispatch<std::string>(std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, std::string&) (in /home/lastique/src/boost/ticket8642)
|
---|
71 | ==28793== by 0x40247F: boost::filesystem::path::path<std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > >(std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, boost::enable_if<boost::filesystem::path_traits::is_pathable<boost::decay<std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > >::type>, void>::type*) (in /home/lastique/src/boost/ticket8642)
|
---|
72 | ==28793== by 0x4022B8: sink::foo() (in /home/lastique/src/boost/ticket8642)
|
---|
73 | ==28793== by 0x402329: core::~core() (in /home/lastique/src/boost/ticket8642)
|
---|
74 | ==28793== by 0x402C6E: void boost::checked_delete<core>(core*) (in /home/lastique/src/boost/ticket8642)
|
---|
75 | ==28793== by 0x402E19: boost::detail::sp_counted_impl_p<core>::dispose() (in /home/lastique/src/boost/ticket8642)
|
---|
76 | ==28793== by 0x401DF5: boost::detail::sp_counted_base::release() (in /home/lastique/src/boost/ticket8642)
|
---|
77 | ==28793== by 0x401E84: boost::detail::shared_count::~shared_count() (in /home/lastique/src/boost/ticket8642)
|
---|
78 | ==28793== by 0x402353: boost::shared_ptr<core>::~shared_ptr() (in /home/lastique/src/boost/ticket8642)
|
---|
79 | ==28793== Address 0x6065b20 is 0 bytes inside a block of size 24 free'd
|
---|
80 | ==28793== at 0x4C2C2E0: operator delete(void*) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
|
---|
81 | ==28793== by 0x52C3845: std::locale::_Impl::~_Impl() (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
|
---|
82 | ==28793== by 0x52C3988: std::locale::~locale() (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.20)
|
---|
83 | ==28793== by 0x57B3598: __run_exit_handlers (exit.c:82)
|
---|
84 | ==28793== by 0x57B35E4: exit (exit.c:104)
|
---|
85 | ==28793== by 0x579AECB: (below main) (libc-start.c:321)
|
---|
86 | ==28793==
|
---|
87 | ==28793==
|
---|
88 | ==28793== HEAP SUMMARY:
|
---|
89 | ==28793== in use at exit: 474 bytes in 9 blocks
|
---|
90 | ==28793== total heap usage: 100 allocs, 91 frees, 13,660 bytes allocated
|
---|
91 | ==28793==
|
---|
92 | ==28793== LEAK SUMMARY:
|
---|
93 | ==28793== definitely lost: 0 bytes in 0 blocks
|
---|
94 | ==28793== indirectly lost: 0 bytes in 0 blocks
|
---|
95 | ==28793== possibly lost: 402 bytes in 5 blocks
|
---|
96 | ==28793== still reachable: 72 bytes in 4 blocks
|
---|
97 | ==28793== suppressed: 0 bytes in 0 blocks
|
---|
98 | ==28793== Rerun with --leak-check=full to see details of leaked memory
|
---|
99 | ==28793==
|
---|
100 | ==28793== For counts of detected and suppressed errors, rerun with: -v
|
---|
101 | ==28793== ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 0 from 0)
|
---|