Home | History | Annotate | Download | only in tests
      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>./threadname</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>InvalidWrite</kind>
     35   <what>Invalid write of size 1</what>
     36   <stack>
     37     <frame>
     38       <ip>0x........</ip>
     39       <obj>...</obj>
     40       <fn>bad_things</fn>
     41       <dir>...</dir>
     42       <file>threadname.c</file>
     43       <line>...</line>
     44     </frame>
     45     <frame>
     46       <ip>0x........</ip>
     47       <obj>...</obj>
     48       <fn>main</fn>
     49       <dir>...</dir>
     50       <file>threadname.c</file>
     51       <line>...</line>
     52     </frame>
     53   </stack>
     54   <auxwhat>Address 0x........ is 0 bytes after a block of size 1 alloc'd</auxwhat>
     55   <stack>
     56     <frame>
     57       <ip>0x........</ip>
     58       <obj>...</obj>
     59       <fn>malloc</fn>
     60       <dir>...</dir>
     61       <file>vg_replace_malloc.c</file>
     62       <line>...</line>
     63     </frame>
     64     <frame>
     65       <ip>0x........</ip>
     66       <obj>...</obj>
     67       <fn>bad_things</fn>
     68       <dir>...</dir>
     69       <file>threadname.c</file>
     70       <line>...</line>
     71     </frame>
     72     <frame>
     73       <ip>0x........</ip>
     74       <obj>...</obj>
     75       <fn>main</fn>
     76       <dir>...</dir>
     77       <file>threadname.c</file>
     78       <line>...</line>
     79     </frame>
     80   </stack>
     81 </error>
     82 
     83 <error>
     84   <unique>0x........</unique>
     85   <tid>...</tid>
     86   <kind>InvalidWrite</kind>
     87   <what>Invalid write of size 1</what>
     88   <stack>
     89     <frame>
     90       <ip>0x........</ip>
     91       <obj>...</obj>
     92       <fn>bad_things</fn>
     93       <dir>...</dir>
     94       <file>threadname.c</file>
     95       <line>...</line>
     96     </frame>
     97     <frame>
     98       <ip>0x........</ip>
     99       <obj>...</obj>
    100       <fn>child_fn_0</fn>
    101       <dir>...</dir>
    102       <file>threadname.c</file>
    103       <line>...</line>
    104     </frame>
    105   </stack>
    106   <auxwhat>Address 0x........ is 0 bytes after a block of size 2 alloc'd</auxwhat>
    107   <stack>
    108     <frame>
    109       <ip>0x........</ip>
    110       <obj>...</obj>
    111       <fn>malloc</fn>
    112       <dir>...</dir>
    113       <file>vg_replace_malloc.c</file>
    114       <line>...</line>
    115     </frame>
    116     <frame>
    117       <ip>0x........</ip>
    118       <obj>...</obj>
    119       <fn>bad_things</fn>
    120       <dir>...</dir>
    121       <file>threadname.c</file>
    122       <line>...</line>
    123     </frame>
    124     <frame>
    125       <ip>0x........</ip>
    126       <obj>...</obj>
    127       <fn>child_fn_0</fn>
    128       <dir>...</dir>
    129       <file>threadname.c</file>
    130       <line>...</line>
    131     </frame>
    132   </stack>
    133 </error>
    134 
    135 <error>
    136   <unique>0x........</unique>
    137   <tid>...</tid>
    138   <threadname>try1</threadname>
    139   <kind>InvalidWrite</kind>
    140   <what>Invalid write of size 1</what>
    141   <stack>
    142     <frame>
    143       <ip>0x........</ip>
    144       <obj>...</obj>
    145       <fn>bad_things</fn>
    146       <dir>...</dir>
    147       <file>threadname.c</file>
    148       <line>...</line>
    149     </frame>
    150     <frame>
    151       <ip>0x........</ip>
    152       <obj>...</obj>
    153       <fn>child_fn_1</fn>
    154       <dir>...</dir>
    155       <file>threadname.c</file>
    156       <line>...</line>
    157     </frame>
    158   </stack>
    159   <auxwhat>Address 0x........ is 0 bytes after a block of size 3 alloc'd</auxwhat>
    160   <stack>
    161     <frame>
    162       <ip>0x........</ip>
    163       <obj>...</obj>
    164       <fn>malloc</fn>
    165       <dir>...</dir>
    166       <file>vg_replace_malloc.c</file>
    167       <line>...</line>
    168     </frame>
    169     <frame>
    170       <ip>0x........</ip>
    171       <obj>...</obj>
    172       <fn>bad_things</fn>
    173       <dir>...</dir>
    174       <file>threadname.c</file>
    175       <line>...</line>
    176     </frame>
    177     <frame>
    178       <ip>0x........</ip>
    179       <obj>...</obj>
    180       <fn>child_fn_1</fn>
    181       <dir>...</dir>
    182       <file>threadname.c</file>
    183       <line>...</line>
    184     </frame>
    185   </stack>
    186 </error>
    187 
    188 <error>
    189   <unique>0x........</unique>
    190   <tid>...</tid>
    191   <threadname>012345678901234</threadname>
    192   <kind>InvalidWrite</kind>
    193   <what>Invalid write of size 1</what>
    194   <stack>
    195     <frame>
    196       <ip>0x........</ip>
    197       <obj>...</obj>
    198       <fn>bad_things</fn>
    199       <dir>...</dir>
    200       <file>threadname.c</file>
    201       <line>...</line>
    202     </frame>
    203     <frame>
    204       <ip>0x........</ip>
    205       <obj>...</obj>
    206       <fn>child_fn_2</fn>
    207       <dir>...</dir>
    208       <file>threadname.c</file>
    209       <line>...</line>
    210     </frame>
    211   </stack>
    212   <auxwhat>Address 0x........ is 0 bytes after a block of size 4 alloc'd</auxwhat>
    213   <stack>
    214     <frame>
    215       <ip>0x........</ip>
    216       <obj>...</obj>
    217       <fn>malloc</fn>
    218       <dir>...</dir>
    219       <file>vg_replace_malloc.c</file>
    220       <line>...</line>
    221     </frame>
    222     <frame>
    223       <ip>0x........</ip>
    224       <obj>...</obj>
    225       <fn>bad_things</fn>
    226       <dir>...</dir>
    227       <file>threadname.c</file>
    228       <line>...</line>
    229     </frame>
    230     <frame>
    231       <ip>0x........</ip>
    232       <obj>...</obj>
    233       <fn>child_fn_2</fn>
    234       <dir>...</dir>
    235       <file>threadname.c</file>
    236       <line>...</line>
    237     </frame>
    238   </stack>
    239 </error>
    240 
    241 <error>
    242   <unique>0x........</unique>
    243   <tid>...</tid>
    244   <kind>InvalidWrite</kind>
    245   <what>Invalid write of size 1</what>
    246   <stack>
    247     <frame>
    248       <ip>0x........</ip>
    249       <obj>...</obj>
    250       <fn>bad_things</fn>
    251       <dir>...</dir>
    252       <file>threadname.c</file>
    253       <line>...</line>
    254     </frame>
    255     <frame>
    256       <ip>0x........</ip>
    257       <obj>...</obj>
    258       <fn>main</fn>
    259       <dir>...</dir>
    260       <file>threadname.c</file>
    261       <line>...</line>
    262     </frame>
    263   </stack>
    264   <auxwhat>Address 0x........ is 0 bytes after a block of size 5 alloc'd</auxwhat>
    265   <stack>
    266     <frame>
    267       <ip>0x........</ip>
    268       <obj>...</obj>
    269       <fn>malloc</fn>
    270       <dir>...</dir>
    271       <file>vg_replace_malloc.c</file>
    272       <line>...</line>
    273     </frame>
    274     <frame>
    275       <ip>0x........</ip>
    276       <obj>...</obj>
    277       <fn>bad_things</fn>
    278       <dir>...</dir>
    279       <file>threadname.c</file>
    280       <line>...</line>
    281     </frame>
    282     <frame>
    283       <ip>0x........</ip>
    284       <obj>...</obj>
    285       <fn>main</fn>
    286       <dir>...</dir>
    287       <file>threadname.c</file>
    288       <line>...</line>
    289     </frame>
    290   </stack>
    291 </error>
    292 
    293 
    294 <status>
    295   <state>FINISHED</state>
    296   <time>...</time>
    297 </status>
    298 
    299 <errorcounts>
    300   <pair>
    301     <count>...</count>
    302     <unique>0x........</unique>
    303   </pair>
    304   <pair>
    305     <count>...</count>
    306     <unique>0x........</unique>
    307   </pair>
    308   <pair>
    309     <count>...</count>
    310     <unique>0x........</unique>
    311   </pair>
    312   <pair>
    313     <count>...</count>
    314     <unique>0x........</unique>
    315   </pair>
    316   <pair>
    317     <count>...</count>
    318     <unique>0x........</unique>
    319   </pair>
    320 </errorcounts>
    321 
    322 <suppcounts>...</suppcounts>
    323 
    324 </valgrindoutput>
    325 
    326