|
From: Jeremy F. <je...@go...> - 2005-03-01 08:20:54
|
CVS commit by fitzhardinge:
Update test results.
M +9 -7 mc_main.c 1.66
M +2 -6 tests/addressable.stderr.exp 1.2
M +2 -2 tests/clientperm.stdout.exp 1.2
M +3 -7 tests/custom_alloc.stderr.exp 1.6
M +0 -1 tests/describe-block.stderr.exp 1.2
M +14 -10 tests/mempool.stderr.exp 1.4
M +2 -4 tests/scalar.stderr.exp 1.46
--- valgrind/memcheck/tests/addressable.stderr.exp #1.1:1.2
@@ -46,14 +46,10 @@
at 0x........: test5 (addressable.c:85)
by 0x........: main (addressable.c:125)
- Address 0x........ is 10 bytes inside a block of size 20480 client-defined
- at 0x........: test5 (addressable.c:82)
- by 0x........: main (addressable.c:125)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
Uninitialised byte(s) found during client check request
at 0x........: test5 (addressable.c:91)
by 0x........: main (addressable.c:125)
- Address 0x........ is 20 bytes inside a block of size 20480 client-defined
- at 0x........: test5 (addressable.c:82)
- by 0x........: main (addressable.c:125)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
--- valgrind/memcheck/tests/clientperm.stdout.exp #1.1:1.2
@@ -1,4 +1,4 @@
-m_na: returned value is 0
+m_na: returned value is -1
sum is non-positive
-m_rm: returned value is 0
+m_rm: returned value is 1
sum is non-positive
--- valgrind/memcheck/tests/custom_alloc.stderr.exp #1.5:1.6
@@ -1,7 +1,6 @@
Invalid write of size 4
at 0x........: main (custom_alloc.c:79)
- Address 0x........ is 48 bytes inside a block of size 100000 client-defined
- at 0x........: get_superblock (custom_alloc.c:25)
- by 0x........: custom_alloc (custom_alloc.c:40)
+ Address 0x........ is 0 bytes after a block of size 40 alloc'd
+ at 0x........: custom_alloc (custom_alloc.c:47)
by 0x........: main (custom_alloc.c:76)
@@ -20,6 +19,3 @@
Invalid read of size 4
at 0x........: main (custom_alloc.c:89)
- Address 0x........ is 8 bytes inside a block of size 100000 client-defined
- at 0x........: get_superblock (custom_alloc.c:25)
- by 0x........: custom_alloc (custom_alloc.c:40)
- by 0x........: main (custom_alloc.c:76)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
--- valgrind/memcheck/tests/describe-block.stderr.exp #1.1:1.2
@@ -1,4 +1,3 @@
-Thread 1:
Invalid write of size 1
at 0x........: main (describe-block.c:6)
--- valgrind/memcheck/tests/mempool.stderr.exp #1.3:1.4
@@ -2,7 +2,8 @@
at 0x........: test (mempool.c:124)
by 0x........: main (mempool.c:148)
- Address 0x........ is 1 bytes before a block of size 10 client-defined
- at 0x........: allocate (mempool.c:99)
- by 0x........: test (mempool.c:115)
+ Address 0x........ is 7 bytes inside a block of size 100000 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: make_pool (mempool.c:38)
+ by 0x........: test (mempool.c:111)
by 0x........: main (mempool.c:148)
@@ -10,7 +11,8 @@
at 0x........: test (mempool.c:125)
by 0x........: main (mempool.c:148)
- Address 0x........ is 0 bytes after a block of size 10 client-defined
- at 0x........: allocate (mempool.c:99)
- by 0x........: test (mempool.c:115)
+ Address 0x........ is 18 bytes inside a block of size 100000 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: make_pool (mempool.c:38)
+ by 0x........: test (mempool.c:111)
by 0x........: main (mempool.c:148)
@@ -18,6 +20,7 @@
at 0x........: test (mempool.c:129)
by 0x........: main (mempool.c:148)
- Address 0x........ is 70 bytes inside a mempool of size 100000 client-defined
- at 0x........: make_pool (mempool.c:43)
+ Address 0x........ is 70 bytes inside a block of size 100000 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: make_pool (mempool.c:38)
by 0x........: test (mempool.c:111)
by 0x........: main (mempool.c:148)
@@ -26,6 +29,7 @@
at 0x........: test (mempool.c:130)
by 0x........: main (mempool.c:148)
- Address 0x........ is 96 bytes inside a mempool of size 100000 client-defined
- at 0x........: make_pool (mempool.c:43)
+ Address 0x........ is 96 bytes inside a block of size 100000 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: make_pool (mempool.c:38)
by 0x........: test (mempool.c:111)
by 0x........: main (mempool.c:148)
--- valgrind/memcheck/tests/scalar.stderr.exp #1.45:1.46
@@ -2699,6 +2699,5 @@
by 0x........: __libc_start_main (in /...libc...)
by 0x........: ...
- Address 0x........ is 0 bytes inside a block of size 12 client-defined
- at 0x........: main (scalar.c:811)
+ Address 0x........ is on thread 1's stack
Syscall param sigaltstack(oss) points to unaddressable byte(s)
@@ -2706,6 +2705,5 @@
by 0x........: __libc_start_main (in /...libc...)
by 0x........: ...
- Address 0x........ is 0 bytes inside a block of size 12 client-defined
- at 0x........: main (scalar.c:811)
+ Address 0x........ is on thread 1's stack
-----------------------------------------------------
187: __NR_sendfile 4s 1m
--- valgrind/memcheck/mc_main.c #1.65:1.66
@@ -1885,6 +1885,7 @@ Bool SK_(handle_client_request) ( Thread
if (vg_cgbs == NULL
|| arg[2] >= vg_cgb_used ||
- (vg_cgbs[arg[2]].start == 0 && vg_cgbs[arg[2]].size == 0))
- return 1;
+ (vg_cgbs[arg[2]].start == 0 && vg_cgbs[arg[2]].size == 0)) {
+ *ret = 1;
+ } else {
sk_assert(arg[2] >= 0 && arg[2] < vg_cgb_used);
vg_cgbs[arg[2]].start = vg_cgbs[arg[2]].size = 0;
@@ -1892,4 +1893,5 @@ Bool SK_(handle_client_request) ( Thread
vg_cgb_discards++;
*ret = 0;
+ }
break;
|