1 | ==26967== Memcheck, a memory error detector
|
---|
2 | ==26967== Copyright (C) 2002-2011, and GNU GPL'd, by Julian Seward et al.
|
---|
3 | ==26967== Using Valgrind-3.7.0 and LibVEX; rerun with -h for copyright info
|
---|
4 | ==26967== Command: ./main
|
---|
5 | ==26967==
|
---|
6 | ==26967== Invalid read of size 4
|
---|
7 | ==26967== at 0x40DFCB6: std::string::assign(char const*, unsigned int) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
|
---|
8 | ==26967== by 0x416B4D2: (below main) (libc-start.c:226)
|
---|
9 | ==26967== Address 0x432a0f4 is 12 bytes inside a block of size 20 free'd
|
---|
10 | ==26967== at 0x402ACFC: operator delete(void*) (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
|
---|
11 | ==26967== by 0x8049127: boost::labeled_graph<boost::adjacency_list<boost::vecS, boost::listS, boost::directedS, vertex_data, boost::no_property, boost::no_property, boost::listS>, std::string, boost::defaultS>::remove_vertex(std::string const&) (in /home/A.Romanek/tmp/boost/devel/17_labeled_graph/main)
|
---|
12 | ==26967== by 0x8048ADF: main (in /home/A.Romanek/tmp/boost/devel/17_labeled_graph/main)
|
---|
13 | ==26967==
|
---|
14 | ==26967== Invalid read of size 4
|
---|
15 | ==26967== at 0x40DFA6F: std::string::_M_mutate(unsigned int, unsigned int, unsigned int) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
|
---|
16 | ==26967== by 0x40DFC41: std::string::_M_replace_safe(unsigned int, unsigned int, char const*, unsigned int) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
|
---|
17 | ==26967== by 0x40DFCF8: std::string::assign(char const*, unsigned int) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
|
---|
18 | ==26967== by 0x416B4D2: (below main) (libc-start.c:226)
|
---|
19 | ==26967== Address 0x432a0f4 is 12 bytes inside a block of size 20 free'd
|
---|
20 | ==26967== at 0x402ACFC: operator delete(void*) (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
|
---|
21 | ==26967== by 0x8049127: boost::labeled_graph<boost::adjacency_list<boost::vecS, boost::listS, boost::directedS, vertex_data, boost::no_property, boost::no_property, boost::listS>, std::string, boost::defaultS>::remove_vertex(std::string const&) (in /home/A.Romanek/tmp/boost/devel/17_labeled_graph/main)
|
---|
22 | ==26967== by 0x8048ADF: main (in /home/A.Romanek/tmp/boost/devel/17_labeled_graph/main)
|
---|
23 | ==26967==
|
---|
24 | ==26967== Invalid read of size 4
|
---|
25 | ==26967== at 0x40DFAD1: std::string::_M_mutate(unsigned int, unsigned int, unsigned int) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
|
---|
26 | ==26967== by 0x40DFC41: std::string::_M_replace_safe(unsigned int, unsigned int, char const*, unsigned int) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
|
---|
27 | ==26967== by 0x40DFCF8: std::string::assign(char const*, unsigned int) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
|
---|
28 | ==26967== by 0x416B4D2: (below main) (libc-start.c:226)
|
---|
29 | ==26967== Address 0x432a0f4 is 12 bytes inside a block of size 20 free'd
|
---|
30 | ==26967== at 0x402ACFC: operator delete(void*) (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
|
---|
31 | ==26967== by 0x8049127: boost::labeled_graph<boost::adjacency_list<boost::vecS, boost::listS, boost::directedS, vertex_data, boost::no_property, boost::no_property, boost::listS>, std::string, boost::defaultS>::remove_vertex(std::string const&) (in /home/A.Romanek/tmp/boost/devel/17_labeled_graph/main)
|
---|
32 | ==26967== by 0x8048ADF: main (in /home/A.Romanek/tmp/boost/devel/17_labeled_graph/main)
|
---|
33 | ==26967==
|
---|
34 | ==26967== Invalid write of size 4
|
---|
35 | ==26967== at 0x40DFAE8: std::string::_M_mutate(unsigned int, unsigned int, unsigned int) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
|
---|
36 | ==26967== by 0x40DFC41: std::string::_M_replace_safe(unsigned int, unsigned int, char const*, unsigned int) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
|
---|
37 | ==26967== by 0x40DFCF8: std::string::assign(char const*, unsigned int) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
|
---|
38 | ==26967== by 0x416B4D2: (below main) (libc-start.c:226)
|
---|
39 | ==26967== Address 0x432a0f4 is 12 bytes inside a block of size 20 free'd
|
---|
40 | ==26967== at 0x402ACFC: operator delete(void*) (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
|
---|
41 | ==26967== by 0x8049127: boost::labeled_graph<boost::adjacency_list<boost::vecS, boost::listS, boost::directedS, vertex_data, boost::no_property, boost::no_property, boost::listS>, std::string, boost::defaultS>::remove_vertex(std::string const&) (in /home/A.Romanek/tmp/boost/devel/17_labeled_graph/main)
|
---|
42 | ==26967== by 0x8048ADF: main (in /home/A.Romanek/tmp/boost/devel/17_labeled_graph/main)
|
---|
43 | ==26967==
|
---|
44 | ==26967== Invalid read of size 4
|
---|
45 | ==26967== at 0x40DFC60: std::string::_M_replace_safe(unsigned int, unsigned int, char const*, unsigned int) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
|
---|
46 | ==26967== by 0x40DFCF8: std::string::assign(char const*, unsigned int) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16)
|
---|
47 | ==26967== by 0x416B4D2: (below main) (libc-start.c:226)
|
---|
48 | ==26967== Address 0x432a0f4 is 12 bytes inside a block of size 20 free'd
|
---|
49 | ==26967== at 0x402ACFC: operator delete(void*) (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
|
---|
50 | ==26967== by 0x8049127: boost::labeled_graph<boost::adjacency_list<boost::vecS, boost::listS, boost::directedS, vertex_data, boost::no_property, boost::no_property, boost::listS>, std::string, boost::defaultS>::remove_vertex(std::string const&) (in /home/A.Romanek/tmp/boost/devel/17_labeled_graph/main)
|
---|
51 | ==26967== by 0x8048ADF: main (in /home/A.Romanek/tmp/boost/devel/17_labeled_graph/main)
|
---|
52 | ==26967==
|
---|
53 | ==26967==
|
---|
54 | ==26967== HEAP SUMMARY:
|
---|
55 | ==26967== in use at exit: 16 bytes in 1 blocks
|
---|
56 | ==26967== total heap usage: 8 allocs, 7 frees, 121 bytes allocated
|
---|
57 | ==26967==
|
---|
58 | ==26967== LEAK SUMMARY:
|
---|
59 | ==26967== definitely lost: 16 bytes in 1 blocks
|
---|
60 | ==26967== indirectly lost: 0 bytes in 0 blocks
|
---|
61 | ==26967== possibly lost: 0 bytes in 0 blocks
|
---|
62 | ==26967== still reachable: 0 bytes in 0 blocks
|
---|
63 | ==26967== suppressed: 0 bytes in 0 blocks
|
---|
64 | ==26967== Rerun with --leak-check=full to see details of leaked memory
|
---|
65 | ==26967==
|
---|
66 | ==26967== For counts of detected and suppressed errors, rerun with: -v
|
---|
67 | ==26967== ERROR SUMMARY: 5 errors from 5 contexts (suppressed: 0 from 0)
|
---|