~bkerensa/ubuntu/raring/valgrind/merge-from-deb

« back to all changes in this revision

Viewing changes to memcheck/tests/malloc_free_fill.stderr.exp-glibc25-x86

  • Committer: Bazaar Package Importer
  • Author(s): Andrés Roldán
  • Date: 2008-06-13 02:31:40 UTC
  • mto: (1.4.1 upstream) (2.2.1 squeeze)
  • mto: This revision was merged to the branch mainline in revision 24.
  • Revision ID: james.westby@ubuntu.com-20080613023140-iwk33rz9rhvfkr96
Import upstream version 3.3.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
test simple malloc/free:
 
3
Use of uninitialised value of size 4
 
4
   at 0x........: _itoa_word (in /...libc...)
 
5
   by 0x........: ...
 
6
   by 0x........: ...
 
7
   by 0x........: ...
 
8
   by 0x........: ...
 
9
   by 0x........: main (malloc_free_fill.c:17)
 
10
 
 
11
Conditional jump or move depends on uninitialised value(s)
 
12
   at 0x........: _itoa_word (in /...libc...)
 
13
   by 0x........: ...
 
14
   by 0x........: ...
 
15
   by 0x........: ...
 
16
   by 0x........: ...
 
17
   by 0x........: main (malloc_free_fill.c:17)
 
18
 
 
19
Conditional jump or move depends on uninitialised value(s)
 
20
   at 0x........: vfprintf (in /...libc...)
 
21
   by 0x........: ...
 
22
   by 0x........: ...
 
23
   by 0x........: ...
 
24
   by 0x........: main (malloc_free_fill.c:17)
 
25
(should be malloc-filled)     a[4] = 55555555
 
26
 
 
27
Invalid read of size 4
 
28
   at 0x........: main (malloc_free_fill.c:20)
 
29
 Address 0x........ is 20 bytes inside a block of size 40 free'd
 
30
   at 0x........: free (vg_replace_malloc.c:...)
 
31
   by 0x........: main (malloc_free_fill.c:19)
 
32
(should be free-filled)       a[5] = 77777777
 
33
test realloc-larger:
 
34
(should be malloc-filled)    r[25] = 55555555
 
35
 
 
36
Invalid read of size 4
 
37
   at 0x........: main (malloc_free_fill.c:33)
 
38
 Address 0x........ is 104 bytes inside a block of size 120 free'd
 
39
   at 0x........: realloc (vg_replace_malloc.c:...)
 
40
   by 0x........: main (malloc_free_fill.c:31)
 
41
(should be free-filled)   oldr[26] = 77777777
 
42
(should be malloc-filled)    r[35] = 55555555
 
43
test realloc-smaller:
 
44
(should be malloc-filled)    r[25] = 55555555
 
45
 
 
46
Invalid read of size 4
 
47
   at 0x........: main (malloc_free_fill.c:49)
 
48
 Address 0x........ is not stack'd, malloc'd or (recently) free'd
 
49
(should be free-filled)   oldr[26] = 77777777
 
50
test calloc:
 
51
(should be zero)             a[42] = 0
 
52
 
 
53
ERROR SUMMARY: 67 errors from 6 contexts (suppressed: 0 from 0)
 
54
malloc/free: in use at exit: 0 bytes in 0 blocks.
 
55
malloc/free: 6 allocs, 6 frees, 920 bytes allocated.
 
56
For a detailed leak analysis,  rerun with: --leak-check=yes
 
57
For counts of detected errors, rerun with: -v