forked from laserswald/todoc
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvalgrind.out
More file actions
225 lines (225 loc) · 12.2 KB
/
Copy pathvalgrind.out
File metadata and controls
225 lines (225 loc) · 12.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
==15707== Memcheck, a memory error detector
==15707== Copyright (C) 2002-2012, and GNU GPL'd, by Julian Seward et al.
==15707== Using Valgrind-3.8.1 and LibVEX; rerun with -h for copyright info
==15707== Command: todoc_test
==15707==
DEBUG (test/todo_test.c:10): Running test suite: argparse_fixture
DEBUG (test/todo_test.c:11): Running test suite: linkedlist_fixture
DEBUG (test/list_test.c:33): thingy = two
DEBUG (test/todo_test.c:12): Running test suite: task_fixture
==15707== Conditional jump or move depends on uninitialised value(s)
==15707== at 0x4C2A76A: strcat (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==15707== by 0x402B8B: task_dump (task.c:112)
==15707== by 0x4012ED: dump_test (task_test.c:27)
==15707== by 0x401957: task_fixture (task_test.c:124)
==15707== by 0x400E68: main (todo_test.c:12)
==15707==
==15707== Invalid write of size 1
==15707== at 0x4C2A7A3: strcat (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==15707== by 0x402B8B: task_dump (task.c:112)
==15707== by 0x4012ED: dump_test (task_test.c:27)
==15707== by 0x401957: task_fixture (task_test.c:124)
==15707== by 0x400E68: main (todo_test.c:12)
==15707== Address 0x54e03ed is 0 bytes after a block of size 13 alloc'd
==15707== at 0x4C2994E: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==15707== by 0x402B4D: task_dump (task.c:106)
==15707== by 0x4012ED: dump_test (task_test.c:27)
==15707== by 0x401957: task_fixture (task_test.c:124)
==15707== by 0x400E68: main (todo_test.c:12)
==15707==
==15707== Invalid read of size 1
==15707== at 0x4C2B77B: strcmp (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==15707== by 0x401302: dump_test (task_test.c:28)
==15707== by 0x401957: task_fixture (task_test.c:124)
==15707== by 0x400E68: main (todo_test.c:12)
==15707== Address 0x54e03ed is 0 bytes after a block of size 13 alloc'd
==15707== at 0x4C2994E: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==15707== by 0x402B4D: task_dump (task.c:106)
==15707== by 0x4012ED: dump_test (task_test.c:27)
==15707== by 0x401957: task_fixture (task_test.c:124)
==15707== by 0x400E68: main (todo_test.c:12)
==15707==
==15707== Conditional jump or move depends on uninitialised value(s)
==15707== at 0x402B04: task_dump (task.c:101)
==15707== by 0x401415: complete_test (task_test.c:45)
==15707== by 0x40199D: task_fixture (task_test.c:126)
==15707== by 0x400E68: main (todo_test.c:12)
==15707==
==15707== Invalid write of size 1
==15707== at 0x4C2A7A3: strcat (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==15707== by 0x402B8B: task_dump (task.c:112)
==15707== by 0x401415: complete_test (task_test.c:45)
==15707== by 0x40199D: task_fixture (task_test.c:126)
==15707== by 0x400E68: main (todo_test.c:12)
==15707== Address 0x54e06d4 is 0 bytes after a block of size 20 alloc'd
==15707== at 0x4C2994E: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==15707== by 0x402B4D: task_dump (task.c:106)
==15707== by 0x401415: complete_test (task_test.c:45)
==15707== by 0x40199D: task_fixture (task_test.c:126)
==15707== by 0x400E68: main (todo_test.c:12)
==15707==
==15707== Invalid read of size 1
==15707== at 0x517D202: vfprintf (in /usr/lib/libc-2.18.so)
==15707== by 0x5180590: buffered_vfprintf (in /usr/lib/libc-2.18.so)
==15707== by 0x517B7CD: vfprintf (in /usr/lib/libc-2.18.so)
==15707== by 0x5185716: fprintf (in /usr/lib/libc-2.18.so)
==15707== by 0x40143E: complete_test (task_test.c:45)
==15707== by 0x40199D: task_fixture (task_test.c:126)
==15707== by 0x400E68: main (todo_test.c:12)
==15707== Address 0x54e06d4 is 0 bytes after a block of size 20 alloc'd
==15707== at 0x4C2994E: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==15707== by 0x402B4D: task_dump (task.c:106)
==15707== by 0x401415: complete_test (task_test.c:45)
==15707== by 0x40199D: task_fixture (task_test.c:126)
==15707== by 0x400E68: main (todo_test.c:12)
==15707==
DEBUG (test/task_test.c:45): Task = 'x Testing completion'
==15707== Conditional jump or move depends on uninitialised value(s)
==15707== at 0x402B04: task_dump (task.c:101)
==15707== by 0x40144A: complete_test (task_test.c:46)
==15707== by 0x40199D: task_fixture (task_test.c:126)
==15707== by 0x400E68: main (todo_test.c:12)
==15707==
==15707== Invalid write of size 1
==15707== at 0x4C2A7A3: strcat (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==15707== by 0x402B8B: task_dump (task.c:112)
==15707== by 0x40144A: complete_test (task_test.c:46)
==15707== by 0x40199D: task_fixture (task_test.c:126)
==15707== by 0x400E68: main (todo_test.c:12)
==15707== Address 0x54e07d4 is 0 bytes after a block of size 20 alloc'd
==15707== at 0x4C2994E: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==15707== by 0x402B4D: task_dump (task.c:106)
==15707== by 0x40144A: complete_test (task_test.c:46)
==15707== by 0x40199D: task_fixture (task_test.c:126)
==15707== by 0x400E68: main (todo_test.c:12)
==15707==
==15707== Invalid read of size 1
==15707== at 0x4C2B778: strcmp (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==15707== by 0x401457: complete_test (task_test.c:46)
==15707== by 0x40199D: task_fixture (task_test.c:126)
==15707== by 0x400E68: main (todo_test.c:12)
==15707== Address 0x54e07d4 is 0 bytes after a block of size 20 alloc'd
==15707== at 0x4C2994E: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==15707== by 0x402B4D: task_dump (task.c:106)
==15707== by 0x40144A: complete_test (task_test.c:46)
==15707== by 0x40199D: task_fixture (task_test.c:126)
==15707== by 0x400E68: main (todo_test.c:12)
==15707==
==15707== Conditional jump or move depends on uninitialised value(s)
==15707== at 0x402B04: task_dump (task.c:101)
==15707== by 0x401717: parse_test (task_test.c:96)
==15707== by 0x4019C0: task_fixture (task_test.c:127)
==15707== by 0x400E68: main (todo_test.c:12)
==15707==
==15707== Invalid write of size 1
==15707== at 0x4C2A7A3: strcat (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==15707== by 0x402B8B: task_dump (task.c:112)
==15707== by 0x401717: parse_test (task_test.c:96)
==15707== by 0x4019C0: task_fixture (task_test.c:127)
==15707== by 0x400E68: main (todo_test.c:12)
==15707== Address 0x55662c3 is 0 bytes after a block of size 19 alloc'd
==15707== at 0x4C2994E: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==15707== by 0x402B4D: task_dump (task.c:106)
==15707== by 0x401717: parse_test (task_test.c:96)
==15707== by 0x4019C0: task_fixture (task_test.c:127)
==15707== by 0x400E68: main (todo_test.c:12)
==15707==
fail (test/task_test.c:100): task_parse fails with simple task
==15707== Conditional jump or move depends on uninitialised value(s)
==15707== at 0x4C2A76A: strcat (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==15707== by 0x402B8B: task_dump (task.c:112)
==15707== by 0x401717: parse_test (task_test.c:96)
==15707== by 0x4019C0: task_fixture (task_test.c:127)
==15707== by 0x400E68: main (todo_test.c:12)
==15707==
fail (test/task_test.c:103): task_parse fails with task containing priority only
fail (test/task_test.c:106): task_parse fails with task containing date only
fail (test/task_test.c:109): task_parse fails with task containing prio and date
fail (test/task_test.c:112): task_parse fails with complete task with prio and date
DEBUG (test/todo_test.c:13): Running test suite: tasklist_fixture
==15707== Conditional jump or move depends on uninitialised value(s)
==15707== at 0x4C2A76A: strcat (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==15707== by 0x402B8B: task_dump (task.c:112)
==15707== by 0x401CA8: tlist_get_test (tasklist_test.c:52)
==15707== by 0x4020E1: tasklist_fixture (tasklist_test.c:97)
==15707== by 0x400EDC: main (todo_test.c:13)
==15707==
==15707== Invalid write of size 1
==15707== at 0x4C2A7A3: strcat (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==15707== by 0x402B8B: task_dump (task.c:112)
==15707== by 0x401CA8: tlist_get_test (tasklist_test.c:52)
==15707== by 0x4020E1: tasklist_fixture (tasklist_test.c:97)
==15707== by 0x400EDC: main (todo_test.c:13)
==15707== Address 0x5566f92 is 0 bytes after a block of size 34 alloc'd
==15707== at 0x4C2994E: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==15707== by 0x402B4D: task_dump (task.c:106)
==15707== by 0x401CA8: tlist_get_test (tasklist_test.c:52)
==15707== by 0x4020E1: tasklist_fixture (tasklist_test.c:97)
==15707== by 0x400EDC: main (todo_test.c:13)
==15707==
==15707== Invalid read of size 1
==15707== at 0x4C2B778: strcmp (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==15707== by 0x401CB5: tlist_get_test (tasklist_test.c:52)
==15707== by 0x4020E1: tasklist_fixture (tasklist_test.c:97)
==15707== by 0x400EDC: main (todo_test.c:13)
==15707== Address 0x5566f92 is 0 bytes after a block of size 34 alloc'd
==15707== at 0x4C2994E: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==15707== by 0x402B4D: task_dump (task.c:106)
==15707== by 0x401CA8: tlist_get_test (tasklist_test.c:52)
==15707== by 0x4020E1: tasklist_fixture (tasklist_test.c:97)
==15707== by 0x400EDC: main (todo_test.c:13)
==15707==
==15707== Conditional jump or move depends on uninitialised value(s)
==15707== at 0x4C2A76A: strcat (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==15707== by 0x402B8B: task_dump (task.c:112)
==15707== by 0x401EDB: tlist_remove_test (tasklist_test.c:77)
==15707== by 0x402104: tasklist_fixture (tasklist_test.c:98)
==15707== by 0x400EDC: main (todo_test.c:13)
==15707==
==15707== Invalid write of size 1
==15707== at 0x4C2A7A3: strcat (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==15707== by 0x402B8B: task_dump (task.c:112)
==15707== by 0x401EDB: tlist_remove_test (tasklist_test.c:77)
==15707== by 0x402104: tasklist_fixture (tasklist_test.c:98)
==15707== by 0x400EDC: main (todo_test.c:13)
==15707== Address 0x5567541 is 0 bytes after a block of size 33 alloc'd
==15707== at 0x4C2994E: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==15707== by 0x402B4D: task_dump (task.c:106)
==15707== by 0x401EDB: tlist_remove_test (tasklist_test.c:77)
==15707== by 0x402104: tasklist_fixture (tasklist_test.c:98)
==15707== by 0x400EDC: main (todo_test.c:13)
==15707==
==15707== Invalid read of size 1
==15707== at 0x4C2B77B: strcmp (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==15707== by 0x401EE8: tlist_remove_test (tasklist_test.c:77)
==15707== by 0x402104: tasklist_fixture (tasklist_test.c:98)
==15707== by 0x400EDC: main (todo_test.c:13)
==15707== Address 0x5567541 is 0 bytes after a block of size 33 alloc'd
==15707== at 0x4C2994E: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==15707== by 0x402B4D: task_dump (task.c:106)
==15707== by 0x401EDB: tlist_remove_test (tasklist_test.c:77)
==15707== by 0x402104: tasklist_fixture (tasklist_test.c:98)
==15707== by 0x400EDC: main (todo_test.c:13)
==15707==
DEBUG (test/tasklist_test.c:81): Task info: 'This is the first task. #first'
==15707== Conditional jump or move depends on uninitialised value(s)
==15707== at 0x401E34: tlist_search_test (tasklist_test.c:62)
==15707== by 0x402127: tasklist_fixture (tasklist_test.c:99)
==15707== by 0x400EDC: main (todo_test.c:13)
==15707==
==15707==
==15707== HEAP SUMMARY:
==15707== in use at exit: 245,659 bytes in 2,659 blocks
==15707== total heap usage: 3,684 allocs, 1,025 frees, 297,366 bytes allocated
==15707==
==15707== LEAK SUMMARY:
==15707== definitely lost: 3,279 bytes in 32 blocks
==15707== indirectly lost: 241,788 bytes in 2,625 blocks
==15707== possibly lost: 0 bytes in 0 blocks
==15707== still reachable: 592 bytes in 2 blocks
==15707== suppressed: 0 bytes in 0 blocks
==15707== Rerun with --leak-check=full to see details of leaked memory
==15707==
==15707== For counts of detected and suppressed errors, rerun with: -v
==15707== Use --track-origins=yes to see where uninitialised values come from
==15707== ERROR SUMMARY: 30 errors from 19 contexts (suppressed: 2 from 2)