Ticket #675: valgrind-glass.log

File valgrind-glass.log, 22.4 KB (added by German M. Bravo, 10 years ago)

Logs with valgrind using glass database

Line 
1$ export XAPIAN_PREFER_GLASS=1
2$ rm -rf db_the_error
3$ valgrind ./the_error
4==44981== Memcheck, a memory error detector
5==44981== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al.
6==44981== Using Valgrind-3.11.0.SVN and LibVEX; rerun with -h for copyright info
7==44981== Command: ./the_error
8==44981==
9--44981-- ./the_error:
10--44981-- dSYM directory is missing; consider using --dsymutil=yes
11==44982== Warning: invalid file descriptor 2560 in syscall close()
12==44982== Warning: invalid file descriptor 2561 in syscall close()
13==44982== Use --log-fd=<number> to select an alternative log fd.
14==44982== Warning: invalid file descriptor 2562 in syscall close()
15==44982== Warning: invalid file descriptor 2563 in syscall close()
16==44982== Warning: invalid file descriptor 2564 in syscall close()
17==44981== Invalid read of size 32
18==44981== at 0x100785C1D: _platform_memchr$VARIANT$Haswell (in /usr/lib/system/libsystem_platform.dylib)
19==44981== by 0x100314EFD: std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::find(char, unsigned long) const (in /usr/lib/libc++.1.dylib)
20==44981== by 0x1000BFBDF: Glass::PostlistChunkWriter::flush(GlassTable*) (in /usr/local/Cellar/xapian/HEAD/lib/libxapian-1.3.3.dylib)
21==44981== by 0x1000C6623: GlassPostListTable::merge_changes(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, Inverter::PostingChanges const&) (in /usr/local/Cellar/xapian/HEAD/lib/libxapian-1.3.3.dylib)
22==44981== by 0x1000BCF7F: Inverter::flush(GlassPostListTable&) (in /usr/local/Cellar/xapian/HEAD/lib/libxapian-1.3.3.dylib)
23==44981== by 0x1000AB5E2: GlassWritableDatabase::commit() (in /usr/local/Cellar/xapian/HEAD/lib/libxapian-1.3.3.dylib)
24==44981== by 0x10001FE43: Xapian::WritableDatabase::commit() (in /usr/local/Cellar/xapian/HEAD/lib/libxapian-1.3.3.dylib)
25==44981== by 0x100001171: run() (in ./the_error)
26==44981== by 0x100001247: main (in ./the_error)
27==44981== Address 0x100b7efc0 is 32 bytes before a block of size 96 in arena "client"
28==44981==
29==44983== Warning: invalid file descriptor 2560 in syscall close()
30==44983== Warning: invalid file descriptor 2561 in syscall close()
31==44983== Use --log-fd=<number> to select an alternative log fd.
32==44983== Warning: invalid file descriptor 2562 in syscall close()
33==44983== Warning: invalid file descriptor 2563 in syscall close()
34==44983== Warning: invalid file descriptor 2564 in syscall close()
35==44984== Warning: invalid file descriptor 2560 in syscall close()
36==44984== Warning: invalid file descriptor 2561 in syscall close()
37==44984== Use --log-fd=<number> to select an alternative log fd.
38==44984== Warning: invalid file descriptor 2562 in syscall close()
39==44984== Warning: invalid file descriptor 2563 in syscall close()
40==44984== Warning: invalid file descriptor 2564 in syscall close()
41==44985== Warning: invalid file descriptor 2560 in syscall close()
42==44985== Warning: invalid file descriptor 2561 in syscall close()
43==44985== Use --log-fd=<number> to select an alternative log fd.
44==44985== Warning: invalid file descriptor 2562 in syscall close()
45==44985== Warning: invalid file descriptor 2563 in syscall close()
46==44985== Warning: invalid file descriptor 2564 in syscall close()
47==44986== Warning: invalid file descriptor 2560 in syscall close()
48==44986== Warning: invalid file descriptor 2561 in syscall close()
49==44986== Use --log-fd=<number> to select an alternative log fd.
50==44986== Warning: invalid file descriptor 2562 in syscall close()
51==44986== Warning: invalid file descriptor 2563 in syscall close()
52==44986== Warning: invalid file descriptor 2564 in syscall close()
53==44987== Warning: invalid file descriptor 2560 in syscall close()
54==44987== Warning: invalid file descriptor 2561 in syscall close()
55==44987== Use --log-fd=<number> to select an alternative log fd.
56==44987== Warning: invalid file descriptor 2562 in syscall close()
57==44987== Warning: invalid file descriptor 2563 in syscall close()
58==44987== Warning: invalid file descriptor 2564 in syscall close()
59==44988== Warning: invalid file descriptor 2560 in syscall close()
60==44988== Warning: invalid file descriptor 2561 in syscall close()
61==44988== Use --log-fd=<number> to select an alternative log fd.
62==44988== Warning: invalid file descriptor 2562 in syscall close()
63==44988== Warning: invalid file descriptor 2563 in syscall close()
64==44988== Warning: invalid file descriptor 2564 in syscall close()
65==44989== Warning: invalid file descriptor 2560 in syscall close()
66==44989== Warning: invalid file descriptor 2561 in syscall close()
67==44989== Use --log-fd=<number> to select an alternative log fd.
68==44989== Warning: invalid file descriptor 2562 in syscall close()
69==44989== Warning: invalid file descriptor 2563 in syscall close()
70==44989== Warning: invalid file descriptor 2564 in syscall close()
71==44990== Warning: invalid file descriptor 2560 in syscall close()
72==44990== Warning: invalid file descriptor 2561 in syscall close()
73==44990== Use --log-fd=<number> to select an alternative log fd.
74==44990== Warning: invalid file descriptor 2562 in syscall close()
75==44990== Warning: invalid file descriptor 2563 in syscall close()
76==44990== Warning: invalid file descriptor 2564 in syscall close()
77==44991== Warning: invalid file descriptor 2560 in syscall close()
78==44991== Warning: invalid file descriptor 2561 in syscall close()
79==44991== Use --log-fd=<number> to select an alternative log fd.
80==44991== Warning: invalid file descriptor 2562 in syscall close()
81==44991== Warning: invalid file descriptor 2563 in syscall close()
82==44991== Warning: invalid file descriptor 2564 in syscall close()
83==44992== Warning: invalid file descriptor 2560 in syscall close()
84==44992== Warning: invalid file descriptor 2561 in syscall close()
85==44992== Use --log-fd=<number> to select an alternative log fd.
86==44992== Warning: invalid file descriptor 2562 in syscall close()
87==44992== Warning: invalid file descriptor 2563 in syscall close()
88==44992== Warning: invalid file descriptor 2564 in syscall close()
89==44993== Warning: invalid file descriptor 2560 in syscall close()
90==44993== Warning: invalid file descriptor 2561 in syscall close()
91==44993== Use --log-fd=<number> to select an alternative log fd.
92==44993== Warning: invalid file descriptor 2562 in syscall close()
93==44993== Warning: invalid file descriptor 2563 in syscall close()
94==44993== Warning: invalid file descriptor 2564 in syscall close()
95==44994== Warning: invalid file descriptor 2560 in syscall close()
96==44994== Warning: invalid file descriptor 2561 in syscall close()
97==44994== Use --log-fd=<number> to select an alternative log fd.
98==44994== Warning: invalid file descriptor 2562 in syscall close()
99==44994== Warning: invalid file descriptor 2563 in syscall close()
100==44994== Warning: invalid file descriptor 2564 in syscall close()
101==44995== Warning: invalid file descriptor 2560 in syscall close()
102==44995== Warning: invalid file descriptor 2561 in syscall close()
103==44995== Use --log-fd=<number> to select an alternative log fd.
104==44995== Warning: invalid file descriptor 2562 in syscall close()
105==44995== Warning: invalid file descriptor 2563 in syscall close()
106==44995== Warning: invalid file descriptor 2564 in syscall close()
107==44996== Warning: invalid file descriptor 2560 in syscall close()
108==44996== Warning: invalid file descriptor 2561 in syscall close()
109==44996== Use --log-fd=<number> to select an alternative log fd.
110==44996== Warning: invalid file descriptor 2562 in syscall close()
111==44996== Warning: invalid file descriptor 2563 in syscall close()
112==44996== Warning: invalid file descriptor 2564 in syscall close()
113==44997== Warning: invalid file descriptor 2560 in syscall close()
114==44997== Warning: invalid file descriptor 2561 in syscall close()
115==44997== Use --log-fd=<number> to select an alternative log fd.
116==44997== Warning: invalid file descriptor 2562 in syscall close()
117==44997== Warning: invalid file descriptor 2563 in syscall close()
118==44997== Warning: invalid file descriptor 2564 in syscall close()
119==44998== Warning: invalid file descriptor 2560 in syscall close()
120==44998== Warning: invalid file descriptor 2561 in syscall close()
121==44998== Use --log-fd=<number> to select an alternative log fd.
122==44998== Warning: invalid file descriptor 2562 in syscall close()
123==44998== Warning: invalid file descriptor 2563 in syscall close()
124==44998== Warning: invalid file descriptor 2564 in syscall close()
125==44999== Warning: invalid file descriptor 2560 in syscall close()
126==44999== Warning: invalid file descriptor 2561 in syscall close()
127==44999== Use --log-fd=<number> to select an alternative log fd.
128==44999== Warning: invalid file descriptor 2562 in syscall close()
129==44999== Warning: invalid file descriptor 2563 in syscall close()
130==44999== Warning: invalid file descriptor 2564 in syscall close()
131==45000== Warning: invalid file descriptor 2560 in syscall close()
132==45000== Warning: invalid file descriptor 2561 in syscall close()
133==45000== Use --log-fd=<number> to select an alternative log fd.
134==45000== Warning: invalid file descriptor 2562 in syscall close()
135==45000== Warning: invalid file descriptor 2563 in syscall close()
136==45000== Warning: invalid file descriptor 2564 in syscall close()
137==45001== Warning: invalid file descriptor 2560 in syscall close()
138==45001== Warning: invalid file descriptor 2561 in syscall close()
139==45001== Use --log-fd=<number> to select an alternative log fd.
140==45001== Warning: invalid file descriptor 2562 in syscall close()
141==45001== Warning: invalid file descriptor 2563 in syscall close()
142==45001== Warning: invalid file descriptor 2564 in syscall close()
143==45002== Warning: invalid file descriptor 2560 in syscall close()
144==45002== Warning: invalid file descriptor 2561 in syscall close()
145==45002== Use --log-fd=<number> to select an alternative log fd.
146==45002== Warning: invalid file descriptor 2562 in syscall close()
147==45002== Warning: invalid file descriptor 2563 in syscall close()
148==45002== Warning: invalid file descriptor 2564 in syscall close()
149==45003== Warning: invalid file descriptor 2560 in syscall close()
150==45003== Warning: invalid file descriptor 2561 in syscall close()
151==45003== Use --log-fd=<number> to select an alternative log fd.
152==45003== Warning: invalid file descriptor 2562 in syscall close()
153==45003== Warning: invalid file descriptor 2563 in syscall close()
154==45003== Warning: invalid file descriptor 2564 in syscall close()
155==45004== Warning: invalid file descriptor 2560 in syscall close()
156==45004== Warning: invalid file descriptor 2561 in syscall close()
157==45004== Use --log-fd=<number> to select an alternative log fd.
158==45004== Warning: invalid file descriptor 2562 in syscall close()
159==45004== Warning: invalid file descriptor 2563 in syscall close()
160==45004== Warning: invalid file descriptor 2564 in syscall close()
161==45005== Warning: invalid file descriptor 2560 in syscall close()
162==45005== Warning: invalid file descriptor 2561 in syscall close()
163==45005== Use --log-fd=<number> to select an alternative log fd.
164==45005== Warning: invalid file descriptor 2562 in syscall close()
165==45005== Warning: invalid file descriptor 2563 in syscall close()
166==45005== Warning: invalid file descriptor 2564 in syscall close()
167==45006== Warning: invalid file descriptor 2560 in syscall close()
168==45006== Warning: invalid file descriptor 2561 in syscall close()
169==45006== Use --log-fd=<number> to select an alternative log fd.
170==45006== Warning: invalid file descriptor 2562 in syscall close()
171==45006== Warning: invalid file descriptor 2563 in syscall close()
172==45006== Warning: invalid file descriptor 2564 in syscall close()
173==45007== Warning: invalid file descriptor 2560 in syscall close()
174==45007== Warning: invalid file descriptor 2561 in syscall close()
175==45007== Use --log-fd=<number> to select an alternative log fd.
176==45007== Warning: invalid file descriptor 2562 in syscall close()
177==45007== Warning: invalid file descriptor 2563 in syscall close()
178==45007== Warning: invalid file descriptor 2564 in syscall close()
179==45008== Warning: invalid file descriptor 2560 in syscall close()
180==45008== Warning: invalid file descriptor 2561 in syscall close()
181==45008== Use --log-fd=<number> to select an alternative log fd.
182==45008== Warning: invalid file descriptor 2562 in syscall close()
183==45008== Warning: invalid file descriptor 2563 in syscall close()
184==45008== Warning: invalid file descriptor 2564 in syscall close()
185==45009== Warning: invalid file descriptor 2560 in syscall close()
186==45009== Warning: invalid file descriptor 2561 in syscall close()
187==45009== Use --log-fd=<number> to select an alternative log fd.
188==45009== Warning: invalid file descriptor 2562 in syscall close()
189==45009== Warning: invalid file descriptor 2563 in syscall close()
190==45009== Warning: invalid file descriptor 2564 in syscall close()
191==45010== Warning: invalid file descriptor 2560 in syscall close()
192==45010== Warning: invalid file descriptor 2561 in syscall close()
193==45010== Use --log-fd=<number> to select an alternative log fd.
194==45010== Warning: invalid file descriptor 2562 in syscall close()
195==45010== Warning: invalid file descriptor 2563 in syscall close()
196==45010== Warning: invalid file descriptor 2564 in syscall close()
197==44981== Invalid read of size 8
198==44981== at 0x1000CC2E0: GlassTable::find(Glass::Cursor*) const (in /usr/local/Cellar/xapian/HEAD/lib/libxapian-1.3.3.dylib)
199==44981== by 0x1000A5C53: GlassCursor::find_entry(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) (in /usr/local/Cellar/xapian/HEAD/lib/libxapian-1.3.3.dylib)
200==44981== by 0x1000D3F8C: GlassValueManager::get_chunk_containing_did(unsigned int, unsigned int, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) const (in /usr/local/Cellar/xapian/HEAD/lib/libxapian-1.3.3.dylib)
201==44981== by 0x1000D61CD: GlassValueManager::get_value(unsigned int, unsigned int) const (in /usr/local/Cellar/xapian/HEAD/lib/libxapian-1.3.3.dylib)
202==44981== by 0x1000BAF8B: GlassDocument::do_get_value(unsigned int) const (in /usr/local/Cellar/xapian/HEAD/lib/libxapian-1.3.3.dylib)
203==44981== by 0x1000211C7: Xapian::Document::get_value(unsigned int) const (in /usr/local/Cellar/xapian/HEAD/lib/libxapian-1.3.3.dylib)
204==44981== by 0x100000BB3: process_all(Xapian::Database const&, int, int, bool, bool) (in ./the_error)
205==44981== by 0x1000011AD: run() (in ./the_error)
206==44981== by 0x100001247: main (in ./the_error)
207==44981== Address 0x100d2c2d8 is 0 bytes after a block of size 24 alloc'd
208==44981== at 0x10000A59B: malloc (in /usr/local/Cellar/valgrind/HEAD/lib/valgrind/vgpreload_memcheck-amd64-darwin.so)
209==44981== by 0x10031043D: operator new(unsigned long) (in /usr/lib/libc++.1.dylib)
210==44981== by 0x1000A55E0: GlassCursor::GlassCursor(GlassTable const*, Glass::Cursor const*) (in /usr/local/Cellar/xapian/HEAD/lib/libxapian-1.3.3.dylib)
211==44981== by 0x1000CE73A: GlassTable::cursor_get() const (in /usr/local/Cellar/xapian/HEAD/lib/libxapian-1.3.3.dylib)
212==44981== by 0x1000D3E9A: GlassValueManager::get_chunk_containing_did(unsigned int, unsigned int, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) const (in /usr/local/Cellar/xapian/HEAD/lib/libxapian-1.3.3.dylib)
213==44981== by 0x1000D61CD: GlassValueManager::get_value(unsigned int, unsigned int) const (in /usr/local/Cellar/xapian/HEAD/lib/libxapian-1.3.3.dylib)
214==44981== by 0x1000BAF8B: GlassDocument::do_get_value(unsigned int) const (in /usr/local/Cellar/xapian/HEAD/lib/libxapian-1.3.3.dylib)
215==44981== by 0x1000211C7: Xapian::Document::get_value(unsigned int) const (in /usr/local/Cellar/xapian/HEAD/lib/libxapian-1.3.3.dylib)
216==44981== by 0x100000BB3: process_all(Xapian::Database const&, int, int, bool, bool) (in ./the_error)
217==44981== by 0x100001084: run() (in ./the_error)
218==44981== by 0x100001247: main (in ./the_error)
219==44981==
220==44981== Invalid read of size 4
221==44981== at 0x1000CC2EF: GlassTable::find(Glass::Cursor*) const (in /usr/local/Cellar/xapian/HEAD/lib/libxapian-1.3.3.dylib)
222==44981== by 0x1000A5C53: GlassCursor::find_entry(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) (in /usr/local/Cellar/xapian/HEAD/lib/libxapian-1.3.3.dylib)
223==44981== by 0x1000D3F8C: GlassValueManager::get_chunk_containing_did(unsigned int, unsigned int, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) const (in /usr/local/Cellar/xapian/HEAD/lib/libxapian-1.3.3.dylib)
224==44981== by 0x1000D61CD: GlassValueManager::get_value(unsigned int, unsigned int) const (in /usr/local/Cellar/xapian/HEAD/lib/libxapian-1.3.3.dylib)
225==44981== by 0x1000BAF8B: GlassDocument::do_get_value(unsigned int) const (in /usr/local/Cellar/xapian/HEAD/lib/libxapian-1.3.3.dylib)
226==44981== by 0x1000211C7: Xapian::Document::get_value(unsigned int) const (in /usr/local/Cellar/xapian/HEAD/lib/libxapian-1.3.3.dylib)
227==44981== by 0x100000BB3: process_all(Xapian::Database const&, int, int, bool, bool) (in ./the_error)
228==44981== by 0x1000011AD: run() (in ./the_error)
229==44981== by 0x100001247: main (in ./the_error)
230==44981== Address 0x100d2c2e0 is 8 bytes after a block of size 24 alloc'd
231==44981== at 0x10000A59B: malloc (in /usr/local/Cellar/valgrind/HEAD/lib/valgrind/vgpreload_memcheck-amd64-darwin.so)
232==44981== by 0x10031043D: operator new(unsigned long) (in /usr/lib/libc++.1.dylib)
233==44981== by 0x1000A55E0: GlassCursor::GlassCursor(GlassTable const*, Glass::Cursor const*) (in /usr/local/Cellar/xapian/HEAD/lib/libxapian-1.3.3.dylib)
234==44981== by 0x1000CE73A: GlassTable::cursor_get() const (in /usr/local/Cellar/xapian/HEAD/lib/libxapian-1.3.3.dylib)
235==44981== by 0x1000D3E9A: GlassValueManager::get_chunk_containing_did(unsigned int, unsigned int, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) const (in /usr/local/Cellar/xapian/HEAD/lib/libxapian-1.3.3.dylib)
236==44981== by 0x1000D61CD: GlassValueManager::get_value(unsigned int, unsigned int) const (in /usr/local/Cellar/xapian/HEAD/lib/libxapian-1.3.3.dylib)
237==44981== by 0x1000BAF8B: GlassDocument::do_get_value(unsigned int) const (in /usr/local/Cellar/xapian/HEAD/lib/libxapian-1.3.3.dylib)
238==44981== by 0x1000211C7: Xapian::Document::get_value(unsigned int) const (in /usr/local/Cellar/xapian/HEAD/lib/libxapian-1.3.3.dylib)
239==44981== by 0x100000BB3: process_all(Xapian::Database const&, int, int, bool, bool) (in ./the_error)
240==44981== by 0x100001084: run() (in ./the_error)
241==44981== by 0x100001247: main (in ./the_error)
242==44981==
243==44981== Invalid read of size 1
244==44981== at 0x1000CBFE7: GlassTable::find_in_block(unsigned char const*, Glass::Key, bool, int) (in /usr/local/Cellar/xapian/HEAD/lib/libxapian-1.3.3.dylib)
245==44981== by 0x1000CC2FE: GlassTable::find(Glass::Cursor*) const (in /usr/local/Cellar/xapian/HEAD/lib/libxapian-1.3.3.dylib)
246==44981== by 0x1000A5C53: GlassCursor::find_entry(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) (in /usr/local/Cellar/xapian/HEAD/lib/libxapian-1.3.3.dylib)
247==44981== by 0x1000D3F8C: GlassValueManager::get_chunk_containing_did(unsigned int, unsigned int, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) const (in /usr/local/Cellar/xapian/HEAD/lib/libxapian-1.3.3.dylib)
248==44981== by 0x1000D61CD: GlassValueManager::get_value(unsigned int, unsigned int) const (in /usr/local/Cellar/xapian/HEAD/lib/libxapian-1.3.3.dylib)
249==44981== by 0x1000BAF8B: GlassDocument::do_get_value(unsigned int) const (in /usr/local/Cellar/xapian/HEAD/lib/libxapian-1.3.3.dylib)
250==44981== by 0x1000211C7: Xapian::Document::get_value(unsigned int) const (in /usr/local/Cellar/xapian/HEAD/lib/libxapian-1.3.3.dylib)
251==44981== by 0x100000BB3: process_all(Xapian::Database const&, int, int, bool, bool) (in ./the_error)
252==44981== by 0x1000011AD: run() (in ./the_error)
253==44981== by 0x100001247: main (in ./the_error)
254==44981== Address 0x9 is not stack'd, malloc'd or (recently) free'd
255==44981==
256==44981==
257==44981== Process terminating with default action of signal 11 (SIGSEGV): dumping core
258==44981== Access not within mapped region at address 0x9
259==44981== at 0x1000CBFE7: GlassTable::find_in_block(unsigned char const*, Glass::Key, bool, int) (in /usr/local/Cellar/xapian/HEAD/lib/libxapian-1.3.3.dylib)
260==44981== by 0x1000CC2FE: GlassTable::find(Glass::Cursor*) const (in /usr/local/Cellar/xapian/HEAD/lib/libxapian-1.3.3.dylib)
261==44981== by 0x1000A5C53: GlassCursor::find_entry(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) (in /usr/local/Cellar/xapian/HEAD/lib/libxapian-1.3.3.dylib)
262==44981== by 0x1000D3F8C: GlassValueManager::get_chunk_containing_did(unsigned int, unsigned int, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) const (in /usr/local/Cellar/xapian/HEAD/lib/libxapian-1.3.3.dylib)
263==44981== by 0x1000D61CD: GlassValueManager::get_value(unsigned int, unsigned int) const (in /usr/local/Cellar/xapian/HEAD/lib/libxapian-1.3.3.dylib)
264==44981== by 0x1000BAF8B: GlassDocument::do_get_value(unsigned int) const (in /usr/local/Cellar/xapian/HEAD/lib/libxapian-1.3.3.dylib)
265==44981== by 0x1000211C7: Xapian::Document::get_value(unsigned int) const (in /usr/local/Cellar/xapian/HEAD/lib/libxapian-1.3.3.dylib)
266==44981== by 0x100000BB3: process_all(Xapian::Database const&, int, int, bool, bool) (in ./the_error)
267==44981== by 0x1000011AD: run() (in ./the_error)
268==44981== by 0x100001247: main (in ./the_error)
269==44981== If you believe this happened as a result of a stack
270==44981== overflow in your program's main thread (unlikely but
271==44981== possible), you can try to increase the size of the
272==44981== main thread stack using the --main-stacksize= flag.
273==44981== The main thread stack size used in this run was 8388608.
274==44981==
275==44981== HEAP SUMMARY:
276==44981== in use at exit: 788,403 bytes in 477 blocks
277==44981== total heap usage: 15,584 allocs, 15,107 frees, 24,233,430 bytes allocated
278==44981==
279==44981== LEAK SUMMARY:
280==44981== definitely lost: 16 bytes in 1 blocks
281==44981== indirectly lost: 0 bytes in 0 blocks
282==44981== possibly lost: 21,266 bytes in 112 blocks
283==44981== still reachable: 767,121 bytes in 364 blocks
284==44981== suppressed: 0 bytes in 0 blocks
285==44981== Rerun with --leak-check=full to see details of leaked memory
286==44981==
287==44981== For counts of detected and suppressed errors, rerun with: -v
288==44981== ERROR SUMMARY: 72 errors from 4 contexts (suppressed: 0 from 0)
289[1] 44981 segmentation fault valgrind ./the_error