Ticket #86: valgrind.2.txt

File valgrind.2.txt, 31.7 KB (added by Mike Trinkala, 18 years ago)

Second valgrind run (recompiled multimatch)

Line 
1[trink@node00 html]$ valgrind ./find.cgi
2==13071== Memcheck, a memory error detector.
3==13071== Copyright (C) 2002-2005, and GNU GPL'd, by Julian Seward et al.
4==13071== Using LibVEX rev 1471, a library for dynamic binary translation.
5==13071== Copyright (C) 2004-2005, and GNU GPL'd, by OpenWorks LLP.
6==13071== Using valgrind-3.1.0, a dynamic binary instrumentation framework.
7==13071== Copyright (C) 2000-2005, and GNU GPL'd, by Julian Seward et al.
8==13071== For more details, rerun with: -v
9==13071==
10omega - omega 0.9.6 (compiled Jul 28 2006 20:28:36)
11Enter NAME=VALUE lines, end with blank line
12P=day:20060801 audio versioning -site:listme -site:bugme mime:text/html
13SORT=0
14
15==13071== Invalid read of size 4
16==13071== at 0xC35A19: __gnu_cxx::__exchange_and_add(int volatile*, int) (in /usr/lib/libstdc++.so.6.0.8)
17==13071== by 0xC187B2: std::string::assign(std::string const&) (in /usr/lib/libstdc++.so.6.0.8)
18==13071== by 0xC18823: std::string::operator=(std::string const&) (in /usr/lib/libstdc++.so.6.0.8)
19==13071== by 0x40E2F71: Xapian::Internal::MSetItem::operator=(Xapian::Internal::MSetItem const&) (omenquireinternal.h:70)
20==13071== by 0x40E2F9F: std::pair<Xapian::Internal::MSetItem, double>::operator=(std::pair<Xapian::Internal::MSetItem, double> const&) (stl_pair.h:69)
21==13071== by 0x40DFB87: MultiMatch::get_mset(unsigned, unsigned, unsigned, Xapian::MSet&, Xapian::MatchDecider const*) (multimatch.cc:540)
22==13071== by 0x4103C7B: Xapian::Enquire::Internal::get_mset(unsigned, unsigned, unsigned, Xapian::RSet const*, Xapian::MatchDecider const*) const (omenquire.cc:714)
23==13071== by 0x4103F90: Xapian::Enquire::get_mset(unsigned, unsigned, unsigned, Xapian::RSet const*, Xapian::MatchDecider const*) const (omenquire.cc:1023)
24==13071== by 0x8059B61: eval(std::string const&, std::vector<std::string, std::allocator<std::string> > const&) (in /var/www/html/find.cgi)
25==13071== by 0x80582F2: eval(std::string const&, std::vector<std::string, std::allocator<std::string> > const&) (in /var/www/html/find.cgi)
26==13071== by 0x80582F2: eval(std::string const&, std::vector<std::string, std::allocator<std::string> > const&) (in /var/www/html/find.cgi)
27==13071== by 0x8064293: eval_file(std::string const&) (in /var/www/html/find.cgi)
28==13071== Address 0x4522438 is 8 bytes inside a block of size 23 free'd
29==13071== at 0x4004B85: operator delete(void*) (vg_replace_malloc.c:246)
30==13071== by 0xC1638C: std::string::_Rep::_M_destroy(std::allocator<char> const&) (in /usr/lib/libstdc++.so.6.0.8)
31==13071== by 0xC187C5: std::string::assign(std::string const&) (in /usr/lib/libstdc++.so.6.0.8)
32==13071== by 0xC18823: std::string::operator=(std::string const&) (in /usr/lib/libstdc++.so.6.0.8)
33==13071== by 0x40E2F71: Xapian::Internal::MSetItem::operator=(Xapian::Internal::MSetItem const&) (omenquireinternal.h:70)
34==13071== by 0x40DFB05: MultiMatch::get_mset(unsigned, unsigned, unsigned, Xapian::MSet&, Xapian::MatchDecider const*) (multimatch.cc:529)
35==13071== by 0x4103C7B: Xapian::Enquire::Internal::get_mset(unsigned, unsigned, unsigned, Xapian::RSet const*, Xapian::MatchDecider const*) const (omenquire.cc:714)
36==13071== by 0x4103F90: Xapian::Enquire::get_mset(unsigned, unsigned, unsigned, Xapian::RSet const*, Xapian::MatchDecider const*) const (omenquire.cc:1023)
37==13071== by 0x8059B61: eval(std::string const&, std::vector<std::string, std::allocator<std::string> > const&) (in /var/www/html/find.cgi)
38==13071== by 0x80582F2: eval(std::string const&, std::vector<std::string, std::allocator<std::string> > const&) (in /var/www/html/find.cgi)
39==13071== by 0x80582F2: eval(std::string const&, std::vector<std::string, std::allocator<std::string> > const&) (in /var/www/html/find.cgi)
40==13071== by 0x8064293: eval_file(std::string const&) (in /var/www/html/find.cgi)
41==13071==
42==13071== Invalid free() / delete / delete[]
43==13071== at 0x4004B85: operator delete(void*) (vg_replace_malloc.c:246)
44==13071== by 0xC1638C: std::string::_Rep::_M_destroy(std::allocator<char> const&) (in /usr/lib/libstdc++.so.6.0.8)
45==13071== by 0xC187C5: std::string::assign(std::string const&) (in /usr/lib/libstdc++.so.6.0.8)
46==13071== by 0xC18823: std::string::operator=(std::string const&) (in /usr/lib/libstdc++.so.6.0.8)
47==13071== by 0x40E2F71: Xapian::Internal::MSetItem::operator=(Xapian::Internal::MSetItem const&) (omenquireinternal.h:70)
48==13071== by 0x40E2F9F: std::pair<Xapian::Internal::MSetItem, double>::operator=(std::pair<Xapian::Internal::MSetItem, double> const&) (stl_pair.h:69)
49==13071== by 0x40DFB87: MultiMatch::get_mset(unsigned, unsigned, unsigned, Xapian::MSet&, Xapian::MatchDecider const*) (multimatch.cc:540)
50==13071== by 0x4103C7B: Xapian::Enquire::Internal::get_mset(unsigned, unsigned, unsigned, Xapian::RSet const*, Xapian::MatchDecider const*) const (omenquire.cc:714)
51==13071== by 0x4103F90: Xapian::Enquire::get_mset(unsigned, unsigned, unsigned, Xapian::RSet const*, Xapian::MatchDecider const*) const (omenquire.cc:1023)
52==13071== by 0x8059B61: eval(std::string const&, std::vector<std::string, std::allocator<std::string> > const&) (in /var/www/html/find.cgi)
53==13071== by 0x80582F2: eval(std::string const&, std::vector<std::string, std::allocator<std::string> > const&) (in /var/www/html/find.cgi)
54==13071== by 0x80582F2: eval(std::string const&, std::vector<std::string, std::allocator<std::string> > const&) (in /var/www/html/find.cgi)
55==13071== Address 0x4522430 is 0 bytes inside a block of size 23 free'd
56==13071== at 0x4004B85: operator delete(void*) (vg_replace_malloc.c:246)
57==13071== by 0xC1638C: std::string::_Rep::_M_destroy(std::allocator<char> const&) (in /usr/lib/libstdc++.so.6.0.8)
58==13071== by 0xC187C5: std::string::assign(std::string const&) (in /usr/lib/libstdc++.so.6.0.8)
59==13071== by 0xC18823: std::string::operator=(std::string const&) (in /usr/lib/libstdc++.so.6.0.8)
60==13071== by 0x40E2F71: Xapian::Internal::MSetItem::operator=(Xapian::Internal::MSetItem const&) (omenquireinternal.h:70)
61==13071== by 0x40DFB05: MultiMatch::get_mset(unsigned, unsigned, unsigned, Xapian::MSet&, Xapian::MatchDecider const*) (multimatch.cc:529)
62==13071== by 0x4103C7B: Xapian::Enquire::Internal::get_mset(unsigned, unsigned, unsigned, Xapian::RSet const*, Xapian::MatchDecider const*) const (omenquire.cc:714)
63==13071== by 0x4103F90: Xapian::Enquire::get_mset(unsigned, unsigned, unsigned, Xapian::RSet const*, Xapian::MatchDecider const*) const (omenquire.cc:1023)
64==13071== by 0x8059B61: eval(std::string const&, std::vector<std::string, std::allocator<std::string> > const&) (in /var/www/html/find.cgi)
65==13071== by 0x80582F2: eval(std::string const&, std::vector<std::string, std::allocator<std::string> > const&) (in /var/www/html/find.cgi)
66==13071== by 0x80582F2: eval(std::string const&, std::vector<std::string, std::allocator<std::string> > const&) (in /var/www/html/find.cgi)
67==13071== by 0x8064293: eval_file(std::string const&) (in /var/www/html/find.cgi)
68==13071==
69==13071== Invalid read of size 4
70==13071== at 0xC16650: std::string::compare(std::string const&) const (in /usr/lib/libstdc++.so.6.0.8)
71==13071== by 0x40E3543: bool std::operator< <char, std::char_traits<char>, std::allocator<char> >(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) (basic_string.h:2213)
72==13071== by 0x40E3571: std::less<std::string>::operator()(std::string const&, std::string const&) const (stl_function.h:227)
73==13071== by 0x40E57EC: std::_Rb_tree<std::string, std::pair<std::string const, std::pair<Xapian::Internal::MSetItem, double> >, std::_Select1st<std::pair<std::string const, std::pair<Xapian::Internal::MSetItem, double> > >, std::less<std::string>, std::allocator<std::pair<std::string const, std::pair<Xapian::Internal::MSetItem, double> > > >::find(std::string const&) (stl_tree.h:1317)
74==13071== by 0x40E58E6: std::map<std::string, std::pair<Xapian::Internal::MSetItem, double>, std::less<std::string>, std::allocator<std::pair<std::string const, std::pair<Xapian::Internal::MSetItem, double> > > >::find(std::string const&) (stl_map.h:534)
75==13071== by 0x40DF761: MultiMatch::get_mset(unsigned, unsigned, unsigned, Xapian::MSet&, Xapian::MatchDecider const*) (multimatch.cc:488)
76==13071== by 0x4103C7B: Xapian::Enquire::Internal::get_mset(unsigned, unsigned, unsigned, Xapian::RSet const*, Xapian::MatchDecider const*) const (omenquire.cc:714)
77==13071== by 0x4103F90: Xapian::Enquire::get_mset(unsigned, unsigned, unsigned, Xapian::RSet const*, Xapian::MatchDecider const*) const (omenquire.cc:1023)
78==13071== by 0x8059B61: eval(std::string const&, std::vector<std::string, std::allocator<std::string> > const&) (in /var/www/html/find.cgi)
79==13071== by 0x80582F2: eval(std::string const&, std::vector<std::string, std::allocator<std::string> > const&) (in /var/www/html/find.cgi)
80==13071== by 0x80582F2: eval(std::string const&, std::vector<std::string, std::allocator<std::string> > const&) (in /var/www/html/find.cgi)
81==13071== by 0x8064293: eval_file(std::string const&) (in /var/www/html/find.cgi)
82==13071== Address 0x4522678 is 0 bytes inside a block of size 29 free'd
83==13071== at 0x4004B85: operator delete(void*) (vg_replace_malloc.c:246)
84==13071== by 0xC1638C: std::string::_Rep::_M_destroy(std::allocator<char> const&) (in /usr/lib/libstdc++.so.6.0.8)
85==13071== by 0xC187C5: std::string::assign(std::string const&) (in /usr/lib/libstdc++.so.6.0.8)
86==13071== by 0xC18823: std::string::operator=(std::string const&) (in /usr/lib/libstdc++.so.6.0.8)
87==13071== by 0x40E2F4D: Xapian::Internal::MSetItem::operator=(Xapian::Internal::MSetItem const&) (omenquireinternal.h:70)
88==13071== by 0x40E2F9F: std::pair<Xapian::Internal::MSetItem, double>::operator=(std::pair<Xapian::Internal::MSetItem, double> const&) (stl_pair.h:69)
89==13071== by 0x40DFB87: MultiMatch::get_mset(unsigned, unsigned, unsigned, Xapian::MSet&, Xapian::MatchDecider const*) (multimatch.cc:540)
90==13071== by 0x4103C7B: Xapian::Enquire::Internal::get_mset(unsigned, unsigned, unsigned, Xapian::RSet const*, Xapian::MatchDecider const*) const (omenquire.cc:714)
91==13071== by 0x4103F90: Xapian::Enquire::get_mset(unsigned, unsigned, unsigned, Xapian::RSet const*, Xapian::MatchDecider const*) const (omenquire.cc:1023)
92==13071== by 0x8059B61: eval(std::string const&, std::vector<std::string, std::allocator<std::string> > const&) (in /var/www/html/find.cgi)
93==13071== by 0x80582F2: eval(std::string const&, std::vector<std::string, std::allocator<std::string> > const&) (in /var/www/html/find.cgi)
94==13071== by 0x80582F2: eval(std::string const&, std::vector<std::string, std::allocator<std::string> > const&) (in /var/www/html/find.cgi)
95==13071==
96==13071== Invalid read of size 1
97==13071== at 0xC16679: std::string::compare(std::string const&) const (in /usr/lib/libstdc++.so.6.0.8)
98==13071== by 0x40E3543: bool std::operator< <char, std::char_traits<char>, std::allocator<char> >(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) (basic_string.h:2213)
99==13071== by 0x40E3571: std::less<std::string>::operator()(std::string const&, std::string const&) const (stl_function.h:227)
100==13071== by 0x40E57EC: std::_Rb_tree<std::string, std::pair<std::string const, std::pair<Xapian::Internal::MSetItem, double> >, std::_Select1st<std::pair<std::string const, std::pair<Xapian::Internal::MSetItem, double> > >, std::less<std::string>, std::allocator<std::pair<std::string const, std::pair<Xapian::Internal::MSetItem, double> > > >::find(std::string const&) (stl_tree.h:1317)
101==13071== by 0x40E58E6: std::map<std::string, std::pair<Xapian::Internal::MSetItem, double>, std::less<std::string>, std::allocator<std::pair<std::string const, std::pair<Xapian::Internal::MSetItem, double> > > >::find(std::string const&) (stl_map.h:534)
102==13071== by 0x40DF761: MultiMatch::get_mset(unsigned, unsigned, unsigned, Xapian::MSet&, Xapian::MatchDecider const*) (multimatch.cc:488)
103==13071== by 0x4103C7B: Xapian::Enquire::Internal::get_mset(unsigned, unsigned, unsigned, Xapian::RSet const*, Xapian::MatchDecider const*) const (omenquire.cc:714)
104==13071== by 0x4103F90: Xapian::Enquire::get_mset(unsigned, unsigned, unsigned, Xapian::RSet const*, Xapian::MatchDecider const*) const (omenquire.cc:1023)
105==13071== by 0x8059B61: eval(std::string const&, std::vector<std::string, std::allocator<std::string> > const&) (in /var/www/html/find.cgi)
106==13071== by 0x80582F2: eval(std::string const&, std::vector<std::string, std::allocator<std::string> > const&) (in /var/www/html/find.cgi)
107==13071== by 0x80582F2: eval(std::string const&, std::vector<std::string, std::allocator<std::string> > const&) (in /var/www/html/find.cgi)
108==13071== by 0x8064293: eval_file(std::string const&) (in /var/www/html/find.cgi)
109==13071== Address 0x4522684 is 12 bytes inside a block of size 29 free'd
110==13071== at 0x4004B85: operator delete(void*) (vg_replace_malloc.c:246)
111==13071== by 0xC1638C: std::string::_Rep::_M_destroy(std::allocator<char> const&) (in /usr/lib/libstdc++.so.6.0.8)
112==13071== by 0xC187C5: std::string::assign(std::string const&) (in /usr/lib/libstdc++.so.6.0.8)
113==13071== by 0xC18823: std::string::operator=(std::string const&) (in /usr/lib/libstdc++.so.6.0.8)
114==13071== by 0x40E2F4D: Xapian::Internal::MSetItem::operator=(Xapian::Internal::MSetItem const&) (omenquireinternal.h:70)
115==13071== by 0x40E2F9F: std::pair<Xapian::Internal::MSetItem, double>::operator=(std::pair<Xapian::Internal::MSetItem, double> const&) (stl_pair.h:69)
116==13071== by 0x40DFB87: MultiMatch::get_mset(unsigned, unsigned, unsigned, Xapian::MSet&, Xapian::MatchDecider const*) (multimatch.cc:540)
117==13071== by 0x4103C7B: Xapian::Enquire::Internal::get_mset(unsigned, unsigned, unsigned, Xapian::RSet const*, Xapian::MatchDecider const*) const (omenquire.cc:714)
118==13071== by 0x4103F90: Xapian::Enquire::get_mset(unsigned, unsigned, unsigned, Xapian::RSet const*, Xapian::MatchDecider const*) const (omenquire.cc:1023)
119==13071== by 0x8059B61: eval(std::string const&, std::vector<std::string, std::allocator<std::string> > const&) (in /var/www/html/find.cgi)
120==13071== by 0x80582F2: eval(std::string const&, std::vector<std::string, std::allocator<std::string> > const&) (in /var/www/html/find.cgi)
121==13071== by 0x80582F2: eval(std::string const&, std::vector<std::string, std::allocator<std::string> > const&) (in /var/www/html/find.cgi)
122==13071==
123==13071== Invalid read of size 4
124==13071== at 0xC1665E: std::string::compare(std::string const&) const (in /usr/lib/libstdc++.so.6.0.8)
125==13071== by 0x40E3543: bool std::operator< <char, std::char_traits<char>, std::allocator<char> >(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) (basic_string.h:2213)
126==13071== by 0x40E3571: std::less<std::string>::operator()(std::string const&, std::string const&) const (stl_function.h:227)
127==13071== by 0x40EC368: std::_Rb_tree<std::string, std::pair<std::string const, std::pair<Xapian::Internal::MSetItem, double> >, std::_Select1st<std::pair<std::string const, std::pair<Xapian::Internal::MSetItem, double> > >, std::less<std::string>, std::allocator<std::pair<std::string const, std::pair<Xapian::Internal::MSetItem, double> > > >::insert_unique(std::pair<std::string const, std::pair<Xapian::Internal::MSetItem, double> > const&) (stl_tree.h:921)
128==13071== by 0x40EC522: std::map<std::string, std::pair<Xapian::Internal::MSetItem, double>, std::less<std::string>, std::allocator<std::pair<std::string const, std::pair<Xapian::Internal::MSetItem, double> > > >::insert(std::pair<std::string const, std::pair<Xapian::Internal::MSetItem, double> > const&) (stl_map.h:396)
129==13071== by 0x40DF86A: MultiMatch::get_mset(unsigned, unsigned, unsigned, Xapian::MSet&, Xapian::MatchDecider const*) (multimatch.cc:494)
130==13071== by 0x4103C7B: Xapian::Enquire::Internal::get_mset(unsigned, unsigned, unsigned, Xapian::RSet const*, Xapian::MatchDecider const*) const (omenquire.cc:714)
131==13071== by 0x4103F90: Xapian::Enquire::get_mset(unsigned, unsigned, unsigned, Xapian::RSet const*, Xapian::MatchDecider const*) const (omenquire.cc:1023)
132==13071== by 0x8059B61: eval(std::string const&, std::vector<std::string, std::allocator<std::string> > const&) (in /var/www/html/find.cgi)
133==13071== by 0x80582F2: eval(std::string const&, std::vector<std::string, std::allocator<std::string> > const&) (in /var/www/html/find.cgi)
134==13071== by 0x80582F2: eval(std::string const&, std::vector<std::string, std::allocator<std::string> > const&) (in /var/www/html/find.cgi)
135==13071== by 0x8064293: eval_file(std::string const&) (in /var/www/html/find.cgi)
136==13071== Address 0x4522678 is 0 bytes inside a block of size 29 free'd
137==13071== at 0x4004B85: operator delete(void*) (vg_replace_malloc.c:246)
138==13071== by 0xC1638C: std::string::_Rep::_M_destroy(std::allocator<char> const&) (in /usr/lib/libstdc++.so.6.0.8)
139==13071== by 0xC187C5: std::string::assign(std::string const&) (in /usr/lib/libstdc++.so.6.0.8)
140==13071== by 0xC18823: std::string::operator=(std::string const&) (in /usr/lib/libstdc++.so.6.0.8)
141==13071== by 0x40E2F4D: Xapian::Internal::MSetItem::operator=(Xapian::Internal::MSetItem const&) (omenquireinternal.h:70)
142==13071== by 0x40E2F9F: std::pair<Xapian::Internal::MSetItem, double>::operator=(std::pair<Xapian::Internal::MSetItem, double> const&) (stl_pair.h:69)
143==13071== by 0x40DFB87: MultiMatch::get_mset(unsigned, unsigned, unsigned, Xapian::MSet&, Xapian::MatchDecider const*) (multimatch.cc:540)
144==13071== by 0x4103C7B: Xapian::Enquire::Internal::get_mset(unsigned, unsigned, unsigned, Xapian::RSet const*, Xapian::MatchDecider const*) const (omenquire.cc:714)
145==13071== by 0x4103F90: Xapian::Enquire::get_mset(unsigned, unsigned, unsigned, Xapian::RSet const*, Xapian::MatchDecider const*) const (omenquire.cc:1023)
146==13071== by 0x8059B61: eval(std::string const&, std::vector<std::string, std::allocator<std::string> > const&) (in /var/www/html/find.cgi)
147==13071== by 0x80582F2: eval(std::string const&, std::vector<std::string, std::allocator<std::string> > const&) (in /var/www/html/find.cgi)
148==13071== by 0x80582F2: eval(std::string const&, std::vector<std::string, std::allocator<std::string> > const&) (in /var/www/html/find.cgi)
149==13071==
150==13071== Invalid read of size 1
151==13071== at 0xC16679: std::string::compare(std::string const&) const (in /usr/lib/libstdc++.so.6.0.8)
152==13071== by 0x40E3543: bool std::operator< <char, std::char_traits<char>, std::allocator<char> >(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) (basic_string.h:2213)
153==13071== by 0x40E3571: std::less<std::string>::operator()(std::string const&, std::string const&) const (stl_function.h:227)
154==13071== by 0x40EC368: std::_Rb_tree<std::string, std::pair<std::string const, std::pair<Xapian::Internal::MSetItem, double> >, std::_Select1st<std::pair<std::string const, std::pair<Xapian::Internal::MSetItem, double> > >, std::less<std::string>, std::allocator<std::pair<std::string const, std::pair<Xapian::Internal::MSetItem, double> > > >::insert_unique(std::pair<std::string const, std::pair<Xapian::Internal::MSetItem, double> > const&) (stl_tree.h:921)
155==13071== by 0x40EC522: std::map<std::string, std::pair<Xapian::Internal::MSetItem, double>, std::less<std::string>, std::allocator<std::pair<std::string const, std::pair<Xapian::Internal::MSetItem, double> > > >::insert(std::pair<std::string const, std::pair<Xapian::Internal::MSetItem, double> > const&) (stl_map.h:396)
156==13071== by 0x40DF86A: MultiMatch::get_mset(unsigned, unsigned, unsigned, Xapian::MSet&, Xapian::MatchDecider const*) (multimatch.cc:494)
157==13071== by 0x4103C7B: Xapian::Enquire::Internal::get_mset(unsigned, unsigned, unsigned, Xapian::RSet const*, Xapian::MatchDecider const*) const (omenquire.cc:714)
158==13071== by 0x4103F90: Xapian::Enquire::get_mset(unsigned, unsigned, unsigned, Xapian::RSet const*, Xapian::MatchDecider const*) const (omenquire.cc:1023)
159==13071== by 0x8059B61: eval(std::string const&, std::vector<std::string, std::allocator<std::string> > const&) (in /var/www/html/find.cgi)
160==13071== by 0x80582F2: eval(std::string const&, std::vector<std::string, std::allocator<std::string> > const&) (in /var/www/html/find.cgi)
161==13071== by 0x80582F2: eval(std::string const&, std::vector<std::string, std::allocator<std::string> > const&) (in /var/www/html/find.cgi)
162==13071== by 0x8064293: eval_file(std::string const&) (in /var/www/html/find.cgi)
163==13071== Address 0x4522684 is 12 bytes inside a block of size 29 free'd
164==13071== at 0x4004B85: operator delete(void*) (vg_replace_malloc.c:246)
165==13071== by 0xC1638C: std::string::_Rep::_M_destroy(std::allocator<char> const&) (in /usr/lib/libstdc++.so.6.0.8)
166==13071== by 0xC187C5: std::string::assign(std::string const&) (in /usr/lib/libstdc++.so.6.0.8)
167==13071== by 0xC18823: std::string::operator=(std::string const&) (in /usr/lib/libstdc++.so.6.0.8)
168==13071== by 0x40E2F4D: Xapian::Internal::MSetItem::operator=(Xapian::Internal::MSetItem const&) (omenquireinternal.h:70)
169==13071== by 0x40E2F9F: std::pair<Xapian::Internal::MSetItem, double>::operator=(std::pair<Xapian::Internal::MSetItem, double> const&) (stl_pair.h:69)
170==13071== by 0x40DFB87: MultiMatch::get_mset(unsigned, unsigned, unsigned, Xapian::MSet&, Xapian::MatchDecider const*) (multimatch.cc:540)
171==13071== by 0x4103C7B: Xapian::Enquire::Internal::get_mset(unsigned, unsigned, unsigned, Xapian::RSet const*, Xapian::MatchDecider const*) const (omenquire.cc:714)
172==13071== by 0x4103F90: Xapian::Enquire::get_mset(unsigned, unsigned, unsigned, Xapian::RSet const*, Xapian::MatchDecider const*) const (omenquire.cc:1023)
173==13071== by 0x8059B61: eval(std::string const&, std::vector<std::string, std::allocator<std::string> > const&) (in /var/www/html/find.cgi)
174==13071== by 0x80582F2: eval(std::string const&, std::vector<std::string, std::allocator<std::string> > const&) (in /var/www/html/find.cgi)
175==13071== by 0x80582F2: eval(std::string const&, std::vector<std::string, std::allocator<std::string> > const&) (in /var/www/html/find.cgi)
176==13071==
177==13071== Invalid read of size 4
178==13071== at 0xC35A19: __gnu_cxx::__exchange_and_add(int volatile*, int) (in /usr/lib/libstdc++.so.6.0.8)
179==13071== by 0xC18F03: std::string::~string() (in /usr/lib/libstdc++.so.6.0.8)
180==13071== by 0x40E6DCD: std::pair<std::string const, std::pair<Xapian::Internal::MSetItem, double> >::~pair() (stl_pair.h:69)
181==13071== by 0x40E6E18: __gnu_cxx::new_allocator<std::pair<std::string const, std::pair<Xapian::Internal::MSetItem, double> > >::destroy(std::pair<std::string const, std::pair<Xapian::Internal::MSetItem, double> >*) (new_allocator.h:107)
182==13071== by 0x40E7AF4: std::_Rb_tree<std::string, std::pair<std::string const, std::pair<Xapian::Internal::MSetItem, double> >, std::_Select1st<std::pair<std::string const, std::pair<Xapian::Internal::MSetItem, double> > >, std::less<std::string>, std::allocator<std::pair<std::string const, std::pair<Xapian::Internal::MSetItem, double> > > >::destroy_node(std::_Rb_tree_node<std::pair<std::string const, std::pair<Xapian::Internal::MSetItem, double> > >*) (stl_tree.h:391)
183==13071== by 0x40E7B87: std::_Rb_tree<std::string, std::pair<std::string const, std::pair<Xapian::Internal::MSetItem, double> >, std::_Select1st<std::pair<std::string const, std::pair<Xapian::Internal::MSetItem, double> > >, std::less<std::string>, std::allocator<std::pair<std::string const, std::pair<Xapian::Internal::MSetItem, double> > > >::_M_erase(std::_Rb_tree_node<std::pair<std::string const, std::pair<Xapian::Internal::MSetItem, double> > >*) (stl_tree.h:1266)
184==13071== by 0x40E7BC6: std::_Rb_tree<std::string, std::pair<std::string const, std::pair<Xapian::Internal::MSetItem, double> >, std::_Select1st<std::pair<std::string const, std::pair<Xapian::Internal::MSetItem, double> > >, std::less<std::string>, std::allocator<std::pair<std::string const, std::pair<Xapian::Internal::MSetItem, double> > > >::~_Rb_tree() (stl_tree.h:578)
185==13071== by 0x40E7C22: std::map<std::string, std::pair<Xapian::Internal::MSetItem, double>, std::less<std::string>, std::allocator<std::pair<std::string const, std::pair<Xapian::Internal::MSetItem, double> > > >::~map() (stl_map.h:93)
186==13071== by 0x40E1164: MultiMatch::get_mset(unsigned, unsigned, unsigned, Xapian::MSet&, Xapian::MatchDecider const*) (multimatch.cc:835)
187==13071== by 0x4103C7B: Xapian::Enquire::Internal::get_mset(unsigned, unsigned, unsigned, Xapian::RSet const*, Xapian::MatchDecider const*) const (omenquire.cc:714)
188==13071== by 0x4103F90: Xapian::Enquire::get_mset(unsigned, unsigned, unsigned, Xapian::RSet const*, Xapian::MatchDecider const*) const (omenquire.cc:1023)
189==13071== by 0x8059B61: eval(std::string const&, std::vector<std::string, std::allocator<std::string> > const&) (in /var/www/html/find.cgi)
190==13071== Address 0x4522680 is 8 bytes inside a block of size 29 free'd
191==13071== at 0x4004B85: operator delete(void*) (vg_replace_malloc.c:246)
192==13071== by 0xC1638C: std::string::_Rep::_M_destroy(std::allocator<char> const&) (in /usr/lib/libstdc++.so.6.0.8)
193==13071== by 0xC187C5: std::string::assign(std::string const&) (in /usr/lib/libstdc++.so.6.0.8)
194==13071== by 0xC18823: std::string::operator=(std::string const&) (in /usr/lib/libstdc++.so.6.0.8)
195==13071== by 0x40E2F4D: Xapian::Internal::MSetItem::operator=(Xapian::Internal::MSetItem const&) (omenquireinternal.h:70)
196==13071== by 0x40E2F9F: std::pair<Xapian::Internal::MSetItem, double>::operator=(std::pair<Xapian::Internal::MSetItem, double> const&) (stl_pair.h:69)
197==13071== by 0x40DFB87: MultiMatch::get_mset(unsigned, unsigned, unsigned, Xapian::MSet&, Xapian::MatchDecider const*) (multimatch.cc:540)
198==13071== by 0x4103C7B: Xapian::Enquire::Internal::get_mset(unsigned, unsigned, unsigned, Xapian::RSet const*, Xapian::MatchDecider const*) const (omenquire.cc:714)
199==13071== by 0x4103F90: Xapian::Enquire::get_mset(unsigned, unsigned, unsigned, Xapian::RSet const*, Xapian::MatchDecider const*) const (omenquire.cc:1023)
200==13071== by 0x8059B61: eval(std::string const&, std::vector<std::string, std::allocator<std::string> > const&) (in /var/www/html/find.cgi)
201==13071== by 0x80582F2: eval(std::string const&, std::vector<std::string, std::allocator<std::string> > const&) (in /var/www/html/find.cgi)
202==13071== by 0x80582F2: eval(std::string const&, std::vector<std::string, std::allocator<std::string> > const&) (in /var/www/html/find.cgi)
203==13071==
204==13071== Invalid free() / delete / delete[]
205==13071== at 0x4004B85: operator delete(void*) (vg_replace_malloc.c:246)
206==13071== by 0xC1638C: std::string::_Rep::_M_destroy(std::allocator<char> const&) (in /usr/lib/libstdc++.so.6.0.8)
207==13071== by 0xC18F16: std::string::~string() (in /usr/lib/libstdc++.so.6.0.8)
208==13071== by 0x40E6DCD: std::pair<std::string const, std::pair<Xapian::Internal::MSetItem, double> >::~pair() (stl_pair.h:69)
209==13071== by 0x40E6E18: __gnu_cxx::new_allocator<std::pair<std::string const, std::pair<Xapian::Internal::MSetItem, double> > >::destroy(std::pair<std::string const, std::pair<Xapian::Internal::MSetItem, double> >*) (new_allocator.h:107)
210==13071== by 0x40E7AF4: std::_Rb_tree<std::string, std::pair<std::string const, std::pair<Xapian::Internal::MSetItem, double> >, std::_Select1st<std::pair<std::string const, std::pair<Xapian::Internal::MSetItem, double> > >, std::less<std::string>, std::allocator<std::pair<std::string const, std::pair<Xapian::Internal::MSetItem, double> > > >::destroy_node(std::_Rb_tree_node<std::pair<std::string const, std::pair<Xapian::Internal::MSetItem, double> > >*) (stl_tree.h:391)
211==13071== by 0x40E7B87: std::_Rb_tree<std::string, std::pair<std::string const, std::pair<Xapian::Internal::MSetItem, double> >, std::_Select1st<std::pair<std::string const, std::pair<Xapian::Internal::MSetItem, double> > >, std::less<std::string>, std::allocator<std::pair<std::string const, std::pair<Xapian::Internal::MSetItem, double> > > >::_M_erase(std::_Rb_tree_node<std::pair<std::string const, std::pair<Xapian::Internal::MSetItem, double> > >*) (stl_tree.h:1266)
212==13071== by 0x40E7BC6: std::_Rb_tree<std::string, std::pair<std::string const, std::pair<Xapian::Internal::MSetItem, double> >, std::_Select1st<std::pair<std::string const, std::pair<Xapian::Internal::MSetItem, double> > >, std::less<std::string>, std::allocator<std::pair<std::string const, std::pair<Xapian::Internal::MSetItem, double> > > >::~_Rb_tree() (stl_tree.h:578)
213==13071== by 0x40E7C22: std::map<std::string, std::pair<Xapian::Internal::MSetItem, double>, std::less<std::string>, std::allocator<std::pair<std::string const, std::pair<Xapian::Internal::MSetItem, double> > > >::~map() (stl_map.h:93)
214==13071== by 0x40E1164: MultiMatch::get_mset(unsigned, unsigned, unsigned, Xapian::MSet&, Xapian::MatchDecider const*) (multimatch.cc:835)
215==13071== by 0x4103C7B: Xapian::Enquire::Internal::get_mset(unsigned, unsigned, unsigned, Xapian::RSet const*, Xapian::MatchDecider const*) const (omenquire.cc:714)
216==13071== by 0x4103F90: Xapian::Enquire::get_mset(unsigned, unsigned, unsigned, Xapian::RSet const*, Xapian::MatchDecider const*) const (omenquire.cc:1023)
217==13071== Address 0x4522678 is 0 bytes inside a block of size 29 free'd
218==13071== at 0x4004B85: operator delete(void*) (vg_replace_malloc.c:246)
219==13071== by 0xC1638C: std::string::_Rep::_M_destroy(std::allocator<char> const&) (in /usr/lib/libstdc++.so.6.0.8)
220==13071== by 0xC187C5: std::string::assign(std::string const&) (in /usr/lib/libstdc++.so.6.0.8)
221==13071== by 0xC18823: std::string::operator=(std::string const&) (in /usr/lib/libstdc++.so.6.0.8)
222==13071== by 0x40E2F4D: Xapian::Internal::MSetItem::operator=(Xapian::Internal::MSetItem const&) (omenquireinternal.h:70)
223==13071== by 0x40E2F9F: std::pair<Xapian::Internal::MSetItem, double>::operator=(std::pair<Xapian::Internal::MSetItem, double> const&) (stl_pair.h:69)
224==13071== by 0x40DFB87: MultiMatch::get_mset(unsigned, unsigned, unsigned, Xapian::MSet&, Xapian::MatchDecider const*) (multimatch.cc:540)
225==13071== by 0x4103C7B: Xapian::Enquire::Internal::get_mset(unsigned, unsigned, unsigned, Xapian::RSet const*, Xapian::MatchDecider const*) const (omenquire.cc:714)
226==13071== by 0x4103F90: Xapian::Enquire::get_mset(unsigned, unsigned, unsigned, Xapian::RSet const*, Xapian::MatchDecider const*) const (omenquire.cc:1023)
227==13071== by 0x8059B61: eval(std::string const&, std::vector<std::string, std::allocator<std::string> > const&) (in /var/www/html/find.cgi)
228==13071== by 0x80582F2: eval(std::string const&, std::vector<std::string, std::allocator<std::string> > const&) (in /var/www/html/find.cgi)
229==13071== by 0x80582F2: eval(std::string const&, std::vector<std::string, std::allocator<std::string> > const&) (in /var/www/html/find.cgi)
230
231<< removed search results >>
232
233==13071==
234==13071== ERROR SUMMARY: 26 errors from 8 contexts (suppressed: 17 from 1)
235==13071== malloc/free: in use at exit: 1,139,238 bytes in 84 blocks.
236==13071== malloc/free: 52,932 allocs, 52,850 frees, 5,610,394 bytes allocated.
237==13071== For counts of detected errors, rerun with: -v
238==13071== searching for pointers to 84 not-freed blocks.
239==13071== checked 1,271,204 bytes.
240==13071==
241==13071== LEAK SUMMARY:
242==13071== definitely lost: 196 bytes in 10 blocks.
243==13071== possibly lost: 619 bytes in 15 blocks.
244==13071== still reachable: 1,138,423 bytes in 59 blocks.
245==13071== suppressed: 0 bytes in 0 blocks.
246==13071== Use --leak-check=full to see details of leaked memory.
247