1<?xml version="1.0"?> 2 3<valgrindoutput> 4 5<protocolversion>4</protocolversion> 6<protocoltool>memcheck</protocoltool> 7 8<preamble> 9 <line>...</line> 10 <line>...</line> 11 <line>...</line> 12 <line>...</line> 13</preamble> 14 15<pid>...</pid> 16<ppid>...</ppid> 17<tool>memcheck</tool> 18 19<args> 20 <vargv>...</vargv> 21 <argv> 22 <exe>./xml1</exe> 23 </argv> 24</args> 25 26<status> 27 <state>RUNNING</state> 28 <time>...</time> 29</status> 30 31<error> 32 <unique>0x........</unique> 33 <tid>...</tid> 34 <kind>InvalidRead</kind> 35 <what>Invalid read of size 1</what> 36 <stack> 37 <frame> 38 <ip>0x........</ip> 39 <obj>...</obj> 40 <fn>frame3</fn> 41 <dir>...</dir> 42 <file>xml1.c</file> 43 <line>...</line> 44 </frame> 45 <frame> 46 <ip>0x........</ip> 47 <obj>...</obj> 48 <fn>frame2</fn> 49 <dir>...</dir> 50 <file>xml1.c</file> 51 <line>...</line> 52 </frame> 53 <frame> 54 <ip>0x........</ip> 55 <obj>...</obj> 56 <fn>frame1</fn> 57 <dir>...</dir> 58 <file>xml1.c</file> 59 <line>...</line> 60 </frame> 61 <frame> 62 <ip>0x........</ip> 63 <obj>...</obj> 64 <fn>main</fn> 65 <dir>...</dir> 66 <file>xml1.c</file> 67 <line>...</line> 68 </frame> 69 </stack> 70 <auxwhat>Address 0x........ is 0 bytes after a block of size 40 alloc'd</auxwhat> 71 <stack> 72 <frame> 73 <ip>0x........</ip> 74 <obj>...</obj> 75 <fn>malloc</fn> 76 <dir>...</dir> 77 <file>vg_replace_malloc.c</file> 78 <line>...</line> 79 </frame> 80 <frame> 81 <ip>0x........</ip> 82 <obj>...</obj> 83 <fn>frame3</fn> 84 <dir>...</dir> 85 <file>xml1.c</file> 86 <line>...</line> 87 </frame> 88 <frame> 89 <ip>0x........</ip> 90 <obj>...</obj> 91 <fn>frame2</fn> 92 <dir>...</dir> 93 <file>xml1.c</file> 94 <line>...</line> 95 </frame> 96 <frame> 97 <ip>0x........</ip> 98 <obj>...</obj> 99 <fn>frame1</fn> 100 <dir>...</dir> 101 <file>xml1.c</file> 102 <line>...</line> 103 </frame> 104 <frame> 105 <ip>0x........</ip> 106 <obj>...</obj> 107 <fn>main</fn> 108 <dir>...</dir> 109 <file>xml1.c</file> 110 <line>...</line> 111 </frame> 112 </stack> 113</error> 114 115<error> 116 <unique>0x........</unique> 117 <tid>...</tid> 118 <kind>UninitCondition</kind> 119 <what>Conditional jump or move depends on uninitialised value(s)</what> 120 <stack> 121 <frame> 122 <ip>0x........</ip> 123 <obj>...</obj> 124 <fn>frame3</fn> 125 <dir>...</dir> 126 <file>xml1.c</file> 127 <line>...</line> 128 </frame> 129 <frame> 130 <ip>0x........</ip> 131 <obj>...</obj> 132 <fn>frame2</fn> 133 <dir>...</dir> 134 <file>xml1.c</file> 135 <line>...</line> 136 </frame> 137 <frame> 138 <ip>0x........</ip> 139 <obj>...</obj> 140 <fn>frame1</fn> 141 <dir>...</dir> 142 <file>xml1.c</file> 143 <line>...</line> 144 </frame> 145 <frame> 146 <ip>0x........</ip> 147 <obj>...</obj> 148 <fn>main</fn> 149 <dir>...</dir> 150 <file>xml1.c</file> 151 <line>...</line> 152 </frame> 153 </stack> 154</error> 155 156<error> 157 <unique>0x........</unique> 158 <tid>...</tid> 159 <kind>UninitValue</kind> 160 <what>Use of uninitialised value of size N</what> 161 <stack> 162 <frame> 163 <ip>0x........</ip> 164 <obj>...</obj> 165 <fn>frame3</fn> 166 <dir>...</dir> 167 <file>xml1.c</file> 168 <line>...</line> 169 </frame> 170 <frame> 171 <ip>0x........</ip> 172 <obj>...</obj> 173 <fn>frame2</fn> 174 <dir>...</dir> 175 <file>xml1.c</file> 176 <line>...</line> 177 </frame> 178 <frame> 179 <ip>0x........</ip> 180 <obj>...</obj> 181 <fn>frame1</fn> 182 <dir>...</dir> 183 <file>xml1.c</file> 184 <line>...</line> 185 </frame> 186 <frame> 187 <ip>0x........</ip> 188 <obj>...</obj> 189 <fn>main</fn> 190 <dir>...</dir> 191 <file>xml1.c</file> 192 <line>...</line> 193 </frame> 194 </stack> 195</error> 196 197<error> 198 <unique>0x........</unique> 199 <tid>...</tid> 200 <kind>InvalidFree</kind> 201 <what>Invalid free() / delete / delete[] / realloc()</what> 202 <stack> 203 <frame> 204 <ip>0x........</ip> 205 <obj>...</obj> 206 <fn>free</fn> 207 <dir>...</dir> 208 <file>vg_replace_malloc.c</file> 209 <line>...</line> 210 </frame> 211 <frame> 212 <ip>0x........</ip> 213 <obj>...</obj> 214 <fn>frame3</fn> 215 <dir>...</dir> 216 <file>xml1.c</file> 217 <line>...</line> 218 </frame> 219 <frame> 220 <ip>0x........</ip> 221 <obj>...</obj> 222 <fn>frame2</fn> 223 <dir>...</dir> 224 <file>xml1.c</file> 225 <line>...</line> 226 </frame> 227 <frame> 228 <ip>0x........</ip> 229 <obj>...</obj> 230 <fn>frame1</fn> 231 <dir>...</dir> 232 <file>xml1.c</file> 233 <line>...</line> 234 </frame> 235 <frame> 236 <ip>0x........</ip> 237 <obj>...</obj> 238 <fn>main</fn> 239 <dir>...</dir> 240 <file>xml1.c</file> 241 <line>...</line> 242 </frame> 243 </stack> 244 <auxwhat>Address 0x........ is 0 bytes inside a block of size 40 free'd</auxwhat> 245 <stack> 246 <frame> 247 <ip>0x........</ip> 248 <obj>...</obj> 249 <fn>free</fn> 250 <dir>...</dir> 251 <file>vg_replace_malloc.c</file> 252 <line>...</line> 253 </frame> 254 <frame> 255 <ip>0x........</ip> 256 <obj>...</obj> 257 <fn>frame3</fn> 258 <dir>...</dir> 259 <file>xml1.c</file> 260 <line>...</line> 261 </frame> 262 <frame> 263 <ip>0x........</ip> 264 <obj>...</obj> 265 <fn>frame2</fn> 266 <dir>...</dir> 267 <file>xml1.c</file> 268 <line>...</line> 269 </frame> 270 <frame> 271 <ip>0x........</ip> 272 <obj>...</obj> 273 <fn>frame1</fn> 274 <dir>...</dir> 275 <file>xml1.c</file> 276 <line>...</line> 277 </frame> 278 <frame> 279 <ip>0x........</ip> 280 <obj>...</obj> 281 <fn>main</fn> 282 <dir>...</dir> 283 <file>xml1.c</file> 284 <line>...</line> 285 </frame> 286 </stack> 287</error> 288 289<error> 290 <unique>0x........</unique> 291 <tid>...</tid> 292 <kind>InvalidFree</kind> 293 <what>Invalid free() / delete / delete[] / realloc()</what> 294 <stack> 295 <frame> 296 <ip>0x........</ip> 297 <obj>...</obj> 298 <fn>free</fn> 299 <dir>...</dir> 300 <file>vg_replace_malloc.c</file> 301 <line>...</line> 302 </frame> 303 <frame> 304 <ip>0x........</ip> 305 <obj>...</obj> 306 <fn>frame3</fn> 307 <dir>...</dir> 308 <file>xml1.c</file> 309 <line>...</line> 310 </frame> 311 <frame> 312 <ip>0x........</ip> 313 <obj>...</obj> 314 <fn>frame2</fn> 315 <dir>...</dir> 316 <file>xml1.c</file> 317 <line>...</line> 318 </frame> 319 <frame> 320 <ip>0x........</ip> 321 <obj>...</obj> 322 <fn>frame1</fn> 323 <dir>...</dir> 324 <file>xml1.c</file> 325 <line>...</line> 326 </frame> 327 <frame> 328 <ip>0x........</ip> 329 <obj>...</obj> 330 <fn>main</fn> 331 <dir>...</dir> 332 <file>xml1.c</file> 333 <line>...</line> 334 </frame> 335 </stack> 336 <auxwhat>Address 0x........ is on thread 1's stack</auxwhat> 337 <auxwhat>in frame #1, created by frame3 (xml1.c:7)</auxwhat> 338</error> 339 340<error> 341 <unique>0x........</unique> 342 <tid>...</tid> 343 <kind>SyscallParam</kind> 344 <what>Syscall param exit(status) contains uninitialised byte(s)</what> 345</error> 346 347 348<status> 349 <state>FINISHED</state> 350 <time>...</time> 351</status> 352 353<error> 354 <unique>0x........</unique> 355 <tid>...</tid> 356 <kind>Leak_DefinitelyLost</kind> 357 <xwhat> 358 <text>396 bytes in 1 blocks are definitely lost in loss record ... of ...</text> 359 <leakedbytes>396</leakedbytes> 360 <leakedblocks>1</leakedblocks> 361 </xwhat> 362 <stack> 363 <frame> 364 <ip>0x........</ip> 365 <obj>...</obj> 366 <fn>malloc</fn> 367 <dir>...</dir> 368 <file>vg_replace_malloc.c</file> 369 <line>...</line> 370 </frame> 371 <frame> 372 <ip>0x........</ip> 373 <obj>...</obj> 374 <fn>frame3</fn> 375 <dir>...</dir> 376 <file>xml1.c</file> 377 <line>...</line> 378 </frame> 379 <frame> 380 <ip>0x........</ip> 381 <obj>...</obj> 382 <fn>frame2</fn> 383 <dir>...</dir> 384 <file>xml1.c</file> 385 <line>...</line> 386 </frame> 387 <frame> 388 <ip>0x........</ip> 389 <obj>...</obj> 390 <fn>frame1</fn> 391 <dir>...</dir> 392 <file>xml1.c</file> 393 <line>...</line> 394 </frame> 395 <frame> 396 <ip>0x........</ip> 397 <obj>...</obj> 398 <fn>main</fn> 399 <dir>...</dir> 400 <file>xml1.c</file> 401 <line>...</line> 402 </frame> 403 </stack> 404</error> 405 406<errorcounts> 407 <pair> 408 <count>...</count> 409 <unique>0x........</unique> 410 </pair> 411 <pair> 412 <count>...</count> 413 <unique>0x........</unique> 414 </pair> 415 <pair> 416 <count>...</count> 417 <unique>0x........</unique> 418 </pair> 419 <pair> 420 <count>...</count> 421 <unique>0x........</unique> 422 </pair> 423 <pair> 424 <count>...</count> 425 <unique>0x........</unique> 426 </pair> 427 <pair> 428 <count>...</count> 429 <unique>0x........</unique> 430 </pair> 431</errorcounts> 432 433<suppcounts>...</suppcounts> 434 435</valgrindoutput> 436 437