From: <br...@ac...> - 2011-12-31 03:13:03
|
valgrind revision: 12324 VEX revision: 2235 C compiler: gcc (GCC) 3.4.6 20060404 (Red Hat 3.4.6-3) Assembler: GNU assembler 2.15.92.0.2 20040927 C library: GNU C Library stable release version 2.3.4 uname -mrs: Linux 2.6.9-42.EL s390x Vendor version: Red Hat Enterprise Linux AS release 4 (Nahant Update 4) Nightly build on z900 ( s390x build on z900 ) Started at 2011-12-30 19:30:16 EST Ended at 2011-12-30 22:20:33 EST Results differ from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 478 tests, 9 stderr failures, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures == memcheck/tests/manuel3 (stderr) memcheck/tests/partial_load_ok (stderr) memcheck/tests/varinfo6 (stderr) helgrind/tests/tc09_bad_unlock (stderr) helgrind/tests/tc14_laog_dinphils (stderr) helgrind/tests/tc18_semabuse (stderr) helgrind/tests/tc20_verifywrap (stderr) drd/tests/tc04_free_lock (stderr) drd/tests/tc09_bad_unlock (stderr) ================================================= == Results from 24 hours ago == ================================================= Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 477 tests, 9 stderr failures, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures == memcheck/tests/manuel3 (stderr) memcheck/tests/partial_load_ok (stderr) memcheck/tests/varinfo6 (stderr) helgrind/tests/tc09_bad_unlock (stderr) helgrind/tests/tc14_laog_dinphils (stderr) helgrind/tests/tc18_semabuse (stderr) helgrind/tests/tc20_verifywrap (stderr) drd/tests/tc04_free_lock (stderr) drd/tests/tc09_bad_unlock (stderr) ================================================= == Difference between 24 hours ago and now == ================================================= *** old.short Fri Dec 30 20:55:15 2011 --- new.short Fri Dec 30 22:20:33 2011 *************** *** 8,10 **** ! == 477 tests, 9 stderr failures, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures == memcheck/tests/manuel3 (stderr) --- 8,10 ---- ! == 478 tests, 9 stderr failures, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures == memcheck/tests/manuel3 (stderr) ================================================= ./valgrind-new/drd/tests/tc04_free_lock.stderr.diff-ppc ================================================= --- tc04_free_lock.stderr.exp-ppc 2011-12-30 20:56:07.000000000 -0500 +++ tc04_free_lock.stderr.out 2011-12-30 22:17:34.000000000 -0500 @@ -7,28 +7,22 @@ by 0x........: main (tc04_free_lock.c:20) Destroying locked mutex: mutex 0x........, recursion count 1, owner 1. - at 0x........: bar (tc04_free_lock.c:38) - by 0x........: main (tc04_free_lock.c:26) + at 0x........: bar (tc04_free_lock.c:40) + by 0x........: process_dl_debug (in /lib64/ld-2.3.4.so) + by 0x........: ??? mutex 0x........ was first observed at: at 0x........: pthread_mutex_lock (drd_pthread_intercepts.c:?) by 0x........: bar (tc04_free_lock.c:38) by 0x........: main (tc04_free_lock.c:26) Destroying locked mutex: mutex 0x........, recursion count 1, owner 1. - at 0x........: foo (tc04_free_lock.c:47) - by 0x........: main (tc04_free_lock.c:27) + at 0x........: foo (tc04_free_lock.c:49) + by 0x........: process_dl_debug (in /lib64/ld-2.3.4.so) + by 0x........: ??? mutex 0x........ was first observed at: at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?) by 0x........: foo (tc04_free_lock.c:46) by 0x........: main (tc04_free_lock.c:27) -Destroying locked mutex: mutex 0x........, recursion count 1, owner 1. - at 0x........: bar (tc04_free_lock.c:38) - by 0x........: main (tc04_free_lock.c:28) -mutex 0x........ was first observed at: - at 0x........: pthread_mutex_lock (drd_pthread_intercepts.c:?) - by 0x........: bar (tc04_free_lock.c:38) - by 0x........: main (tc04_free_lock.c:28) - -ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 0 from 0) +ERROR SUMMARY: 4 errors from 3 contexts (suppressed: 0 from 0) ================================================= ./valgrind-new/drd/tests/tc04_free_lock.stderr.diff-x86 ================================================= --- tc04_free_lock.stderr.exp-x86 2011-12-30 20:56:08.000000000 -0500 +++ tc04_free_lock.stderr.out 2011-12-30 22:17:34.000000000 -0500 @@ -8,7 +8,8 @@ Destroying locked mutex: mutex 0x........, recursion count 1, owner 1. at 0x........: bar (tc04_free_lock.c:40) - by 0x........: main (tc04_free_lock.c:26) + by 0x........: process_dl_debug (in /lib64/ld-2.3.4.so) + by 0x........: ??? mutex 0x........ was first observed at: at 0x........: pthread_mutex_lock (drd_pthread_intercepts.c:?) by 0x........: bar (tc04_free_lock.c:38) @@ -16,19 +17,12 @@ Destroying locked mutex: mutex 0x........, recursion count 1, owner 1. at 0x........: foo (tc04_free_lock.c:49) - by 0x........: main (tc04_free_lock.c:27) + by 0x........: process_dl_debug (in /lib64/ld-2.3.4.so) + by 0x........: ??? mutex 0x........ was first observed at: at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?) by 0x........: foo (tc04_free_lock.c:46) by 0x........: main (tc04_free_lock.c:27) -Destroying locked mutex: mutex 0x........, recursion count 1, owner 1. - at 0x........: bar (tc04_free_lock.c:40) - by 0x........: main (tc04_free_lock.c:28) -mutex 0x........ was first observed at: - at 0x........: pthread_mutex_lock (drd_pthread_intercepts.c:?) - by 0x........: bar (tc04_free_lock.c:38) - by 0x........: main (tc04_free_lock.c:28) - -ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 0 from 0) +ERROR SUMMARY: 4 errors from 3 contexts (suppressed: 0 from 0) ================================================= ./valgrind-new/drd/tests/tc09_bad_unlock.stderr.diff-glibc2.8 ================================================= --- tc09_bad_unlock.stderr.exp-glibc2.8 2011-12-30 20:56:07.000000000 -0500 +++ tc09_bad_unlock.stderr.out 2011-12-30 22:17:55.000000000 -0500 @@ -26,7 +26,7 @@ Destroying locked mutex: mutex 0x........, recursion count 1, owner 1. at 0x........: nearly_main (tc09_bad_unlock.c:45) - by 0x........: (below main) + by 0x........: ??? mutex 0x........ was first observed at: at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?) by 0x........: nearly_main (tc09_bad_unlock.c:31) @@ -47,13 +47,5 @@ by 0x........: nearly_main (tc09_bad_unlock.c:41) by 0x........: main (tc09_bad_unlock.c:50) -Destroying locked mutex: mutex 0x........, recursion count 1, owner 1. - at 0x........: nearly_main (tc09_bad_unlock.c:45) - by 0x........: (below main) -mutex 0x........ was first observed at: - at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?) - by 0x........: nearly_main (tc09_bad_unlock.c:31) - by 0x........: main (tc09_bad_unlock.c:50) - -ERROR SUMMARY: 8 errors from 7 contexts (suppressed: 0 from 0) +ERROR SUMMARY: 8 errors from 6 contexts (suppressed: 0 from 0) ================================================= ./valgrind-new/drd/tests/tc09_bad_unlock.stderr.diff-ppc ================================================= --- tc09_bad_unlock.stderr.exp-ppc 2011-12-30 20:56:07.000000000 -0500 +++ tc09_bad_unlock.stderr.out 2011-12-30 22:17:55.000000000 -0500 @@ -25,8 +25,8 @@ by 0x........: main (tc09_bad_unlock.c:49) Destroying locked mutex: mutex 0x........, recursion count 1, owner 1. - at 0x........: nearly_main (tc09_bad_unlock.c:41) - by 0x........: main (tc09_bad_unlock.c:49) + at 0x........: nearly_main (tc09_bad_unlock.c:45) + by 0x........: ??? mutex 0x........ was first observed at: at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?) by 0x........: nearly_main (tc09_bad_unlock.c:31) @@ -47,13 +47,5 @@ by 0x........: nearly_main (tc09_bad_unlock.c:41) by 0x........: main (tc09_bad_unlock.c:50) -Destroying locked mutex: mutex 0x........, recursion count 1, owner 1. - at 0x........: nearly_main (tc09_bad_unlock.c:41) - by 0x........: main (tc09_bad_unlock.c:50) -mutex 0x........ was first observed at: - at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?) - by 0x........: nearly_main (tc09_bad_unlock.c:31) - by 0x........: main (tc09_bad_unlock.c:50) - -ERROR SUMMARY: 8 errors from 7 contexts (suppressed: 0 from 0) +ERROR SUMMARY: 8 errors from 6 contexts (suppressed: 0 from 0) ================================================= ./valgrind-new/drd/tests/tc09_bad_unlock.stderr.diff-x86 ================================================= --- tc09_bad_unlock.stderr.exp-x86 2011-12-30 20:56:07.000000000 -0500 +++ tc09_bad_unlock.stderr.out 2011-12-30 22:17:55.000000000 -0500 @@ -26,7 +26,7 @@ Destroying locked mutex: mutex 0x........, recursion count 1, owner 1. at 0x........: nearly_main (tc09_bad_unlock.c:45) - by 0x........: main (tc09_bad_unlock.c:49) + by 0x........: ??? mutex 0x........ was first observed at: at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?) by 0x........: nearly_main (tc09_bad_unlock.c:31) @@ -47,13 +47,5 @@ by 0x........: nearly_main (tc09_bad_unlock.c:41) by 0x........: main (tc09_bad_unlock.c:50) -Destroying locked mutex: mutex 0x........, recursion count 1, owner 1. - at 0x........: nearly_main (tc09_bad_unlock.c:45) - by 0x........: main (tc09_bad_unlock.c:50) -mutex 0x........ was first observed at: - at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?) - by 0x........: nearly_main (tc09_bad_unlock.c:31) - by 0x........: main (tc09_bad_unlock.c:50) - -ERROR SUMMARY: 8 errors from 7 contexts (suppressed: 0 from 0) +ERROR SUMMARY: 8 errors from 6 contexts (suppressed: 0 from 0) ================================================= ./valgrind-new/helgrind/tests/tc09_bad_unlock.stderr.diff ================================================= --- tc09_bad_unlock.stderr.exp 2011-12-30 20:55:23.000000000 -0500 +++ tc09_bad_unlock.stderr.out 2011-12-30 21:58:09.000000000 -0500 @@ -42,14 +42,6 @@ by 0x........: nearly_main (tc09_bad_unlock.c:41) by 0x........: main (tc09_bad_unlock.c:49) ----------------------------------------------------------------- - -Thread #x's call to pthread_mutex_unlock failed - with error code 22 (EINVAL: Invalid argument) - at 0x........: pthread_mutex_unlock (hg_intercepts.c:...) - by 0x........: nearly_main (tc09_bad_unlock.c:41) - by 0x........: main (tc09_bad_unlock.c:49) - --------------------- ---------------------------------------------------------------- @@ -110,16 +102,8 @@ ---------------------------------------------------------------- -Thread #x's call to pthread_mutex_unlock failed - with error code 22 (EINVAL: Invalid argument) - at 0x........: pthread_mutex_unlock (hg_intercepts.c:...) - by 0x........: nearly_main (tc09_bad_unlock.c:41) - by 0x........: main (tc09_bad_unlock.c:50) - ----------------------------------------------------------------- - Thread #x: Exiting thread still holds 1 lock ... -ERROR SUMMARY: 11 errors from 11 contexts (suppressed: 0 from 0) +ERROR SUMMARY: 9 errors from 9 contexts (suppressed: 0 from 0) ================================================= ./valgrind-new/helgrind/tests/tc14_laog_dinphils.stderr.diff ================================================= --- tc14_laog_dinphils.stderr.exp 2011-12-30 20:55:22.000000000 -0500 +++ tc14_laog_dinphils.stderr.out 2011-12-30 21:58:36.000000000 -0500 @@ -20,5 +20,68 @@ by 0x........: mythread_wrapper (hg_intercepts.c:...) ... +---Thread-Announcement------------------------------------------ -ERROR SUMMARY: 1000 errors from 1 contexts (suppressed: 0 from 0) +Thread #x was created + ... + by 0x........: pthread_create_WRK (hg_intercepts.c:...) + by 0x........: pthread_create@* (hg_intercepts.c:...) + by 0x........: main (tc14_laog_dinphils.c:34) + +---------------------------------------------------------------- + +Thread #x: lock order "0x........ before 0x........" violated + +Observed (incorrect) order is: acquisition of lock at 0x........ + (stack unavailable) + + followed by a later acquisition of lock at 0x........ + at 0x........: pthread_mutex_lock (hg_intercepts.c:...) + by 0x........: dine (tc14_laog_dinphils.c:19) + by 0x........: mythread_wrapper (hg_intercepts.c:...) + ... + +---Thread-Announcement------------------------------------------ + +Thread #x was created + ... + by 0x........: pthread_create_WRK (hg_intercepts.c:...) + by 0x........: pthread_create@* (hg_intercepts.c:...) + by 0x........: main (tc14_laog_dinphils.c:34) + +---------------------------------------------------------------- + +Thread #x: lock order "0x........ before 0x........" violated + +Observed (incorrect) order is: acquisition of lock at 0x........ + (stack unavailable) + + followed by a later acquisition of lock at 0x........ + at 0x........: pthread_mutex_lock (hg_intercepts.c:...) + by 0x........: dine (tc14_laog_dinphils.c:19) + by 0x........: mythread_wrapper (hg_intercepts.c:...) + ... + +---Thread-Announcement------------------------------------------ + +Thread #x was created + ... + by 0x........: pthread_create_WRK (hg_intercepts.c:...) + by 0x........: pthread_create@* (hg_intercepts.c:...) + by 0x........: main (tc14_laog_dinphils.c:34) + +---------------------------------------------------------------- + +Thread #x: lock order "0x........ before 0x........" violated + +Observed (incorrect) order is: acquisition of lock at 0x........ + (stack unavailable) + + followed by a later acquisition of lock at 0x........ + at 0x........: pthread_mutex_lock (hg_intercepts.c:...) + by 0x........: dine (tc14_laog_dinphils.c:19) + by 0x........: mythread_wrapper (hg_intercepts.c:...) + ... + + +ERROR SUMMARY: 1144 errors from 4 contexts (suppressed: 0 from 0) ================================================= ./valgrind-new/helgrind/tests/tc18_semabuse.stderr.diff ================================================= --- tc18_semabuse.stderr.exp 2011-12-30 20:55:22.000000000 -0500 +++ tc18_semabuse.stderr.out 2011-12-30 21:58:59.000000000 -0500 @@ -18,13 +18,5 @@ by 0x........: sem_wait (hg_intercepts.c:...) by 0x........: main (tc18_semabuse.c:34) ----------------------------------------------------------------- -Thread #x's call to sem_post failed - with error code 22 (EINVAL: Invalid argument) - at 0x........: sem_post_WRK (hg_intercepts.c:...) - by 0x........: sem_post (hg_intercepts.c:...) - by 0x........: main (tc18_semabuse.c:37) - - -ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0) +ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0) ================================================= ./valgrind-new/helgrind/tests/tc20_verifywrap.stderr.diff ================================================= --- tc20_verifywrap.stderr.exp 2011-12-30 20:55:22.000000000 -0500 +++ tc20_verifywrap.stderr.out 2011-12-30 22:00:04.000000000 -0500 @@ -1,7 +1,7 @@ ------- This is output for >= glibc 2.4 ------ +------ This is output for < glibc 2.4 ------ ---------------- pthread_create/join ---------------- @@ -45,13 +45,6 @@ ---------------------------------------------------------------- -Thread #x's call to pthread_mutex_init failed - with error code 95 (EOPNOTSUPP: Operation not supported on transport endpoint) - at 0x........: pthread_mutex_init (hg_intercepts.c:...) - by 0x........: main (tc20_verifywrap.c:92) - ----------------------------------------------------------------- - Thread #x: pthread_mutex_destroy of a locked mutex at 0x........: pthread_mutex_destroy (hg_intercepts.c:...) by 0x........: main (tc20_verifywrap.c:102) @@ -63,26 +56,8 @@ at 0x........: pthread_mutex_destroy (hg_intercepts.c:...) by 0x........: main (tc20_verifywrap.c:102) ----------------------------------------------------------------- - -Thread #x's call to pthread_mutex_lock failed - with error code 22 (EINVAL: Invalid argument) - at 0x........: pthread_mutex_lock (hg_intercepts.c:...) - by 0x........: main (tc20_verifywrap.c:108) - ----------------------------------------------------------------- -Thread #x's call to pthread_mutex_trylock failed - with error code 22 (EINVAL: Invalid argument) - at 0x........: pthread_mutex_trylock (hg_intercepts.c:...) - by 0x........: main (tc20_verifywrap.c:116) - ----------------------------------------------------------------- - -Thread #x's call to pthread_mutex_timedlock failed - with error code 22 (EINVAL: Invalid argument) - at 0x........: pthread_mutex_timedlock (hg_intercepts.c:...) - by 0x........: main (tc20_verifywrap.c:121) +make pthread_mutex_lock fail: skipped on glibc < 2.4 ---------------------------------------------------------------- @@ -90,13 +65,6 @@ at 0x........: pthread_mutex_unlock (hg_intercepts.c:...) by 0x........: main (tc20_verifywrap.c:125) ----------------------------------------------------------------- - -Thread #x's call to pthread_mutex_unlock failed - with error code 22 (EINVAL: Invalid argument) - at 0x........: pthread_mutex_unlock (hg_intercepts.c:...) - by 0x........: main (tc20_verifywrap.c:125) - ---------------- pthread_cond_wait et al ---------------- @@ -215,14 +183,6 @@ by 0x........: sem_wait (hg_intercepts.c:...) by 0x........: main (tc20_verifywrap.c:242) ----------------------------------------------------------------- - -Thread #x's call to sem_post failed - with error code 22 (EINVAL: Invalid argument) - at 0x........: sem_post_WRK (hg_intercepts.c:...) - by 0x........: sem_post (hg_intercepts.c:...) - by 0x........: main (tc20_verifywrap.c:245) - FIXME: can't figure out how to verify wrap of sem_post @@ -235,4 +195,4 @@ ... -ERROR SUMMARY: 23 errors from 23 contexts (suppressed: 0 from 0) +ERROR SUMMARY: 17 errors from 17 contexts (suppressed: 0 from 0) ================================================= ./valgrind-new/memcheck/tests/manuel3.stderr.diff ================================================= --- manuel3.stderr.exp 2011-12-30 20:55:36.000000000 -0500 +++ manuel3.stderr.out 2011-12-30 21:28:08.000000000 -0500 @@ -1,4 +1,3 @@ Conditional jump or move depends on uninitialised value(s) - at 0x........: gcc_cant_inline_me (manuel3.c:22) - by 0x........: main (manuel3.c:14) + at 0x........: main (manuel3.c:12) ================================================= ./valgrind-new/memcheck/tests/partial_load_ok.stderr.diff ================================================= --- partial_load_ok.stderr.exp 2011-12-30 20:55:35.000000000 -0500 +++ partial_load_ok.stderr.out 2011-12-30 21:32:44.000000000 -0500 @@ -1,7 +1,13 @@ -Invalid read of size 4 +Invalid read of size 1 + at 0x........: main (partial_load.c:16) + Address 0x........ is 0 bytes after a block of size 7 alloc'd + at 0x........: calloc (vg_replace_malloc.c:...) + by 0x........: main (partial_load.c:14) + +Invalid read of size 8 at 0x........: main (partial_load.c:23) - Address 0x........ is 1 bytes inside a block of size 4 alloc'd + Address 0x........ is 1 bytes inside a block of size 8 alloc'd at 0x........: calloc (vg_replace_malloc.c:...) by 0x........: main (partial_load.c:20) @@ -11,9 +17,9 @@ at 0x........: calloc (vg_replace_malloc.c:...) by 0x........: main (partial_load.c:28) -Invalid read of size 4 +Invalid read of size 8 at 0x........: main (partial_load.c:37) - Address 0x........ is 0 bytes inside a block of size 4 free'd + Address 0x........ is 0 bytes inside a block of size 8 free'd at 0x........: free (vg_replace_malloc.c:...) by 0x........: main (partial_load.c:36) @@ -25,4 +31,4 @@ For a detailed leak analysis, rerun with: --leak-check=full For counts of detected and suppressed errors, rerun with: -v -ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0) +ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 0 from 0) ================================================= ./valgrind-new/memcheck/tests/partial_load_ok.stderr.diff64 ================================================= --- partial_load_ok.stderr.exp64 2011-12-30 20:55:35.000000000 -0500 +++ partial_load_ok.stderr.out 2011-12-30 21:32:44.000000000 -0500 @@ -1,4 +1,10 @@ +Invalid read of size 1 + at 0x........: main (partial_load.c:16) + Address 0x........ is 0 bytes after a block of size 7 alloc'd + at 0x........: calloc (vg_replace_malloc.c:...) + by 0x........: main (partial_load.c:14) + Invalid read of size 8 at 0x........: main (partial_load.c:23) Address 0x........ is 1 bytes inside a block of size 8 alloc'd @@ -25,4 +31,4 @@ For a detailed leak analysis, rerun with: --leak-check=full For counts of detected and suppressed errors, rerun with: -v -ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0) +ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 0 from 0) ================================================= ./valgrind-new/memcheck/tests/varinfo6.stderr.diff ================================================= --- varinfo6.stderr.exp 2011-12-30 20:55:35.000000000 -0500 +++ varinfo6.stderr.out 2011-12-30 21:40:13.000000000 -0500 @@ -7,8 +7,7 @@ by 0x........: BZ2_bzCompress (varinfo6.c:4860) by 0x........: BZ2_bzBuffToBuffCompress (varinfo6.c:5667) by 0x........: main (varinfo6.c:6517) - Location 0x........ is 2 bytes inside local var "budget" - declared at varinfo6.c:3115, in frame #2 of thread 1 + Address 0x........ is on thread 1's stack Uninitialised byte(s) found during client check request at 0x........: croak (varinfo6.c:34) ================================================= ./valgrind-new/memcheck/tests/varinfo6.stderr.diff-ppc64 ================================================= --- varinfo6.stderr.exp-ppc64 2011-12-30 20:55:35.000000000 -0500 +++ varinfo6.stderr.out 2011-12-30 21:40:13.000000000 -0500 @@ -1,5 +1,5 @@ Uninitialised byte(s) found during client check request - at 0x........: croak (varinfo6.c:35) + at 0x........: croak (varinfo6.c:34) by 0x........: mainSort (varinfo6.c:2999) by 0x........: BZ2_blockSort (varinfo6.c:3143) by 0x........: BZ2_compressBlock (varinfo6.c:4072) @@ -10,7 +10,7 @@ Address 0x........ is on thread 1's stack Uninitialised byte(s) found during client check request - at 0x........: croak (varinfo6.c:35) + at 0x........: croak (varinfo6.c:34) by 0x........: BZ2_decompress (varinfo6.c:1699) by 0x........: BZ2_bzDecompress (varinfo6.c:5230) by 0x........: BZ2_bzBuffToBuffDecompress (varinfo6.c:5715) ================================================= ./valgrind-old/drd/tests/tc04_free_lock.stderr.diff-ppc ================================================= --- tc04_free_lock.stderr.exp-ppc 2011-12-30 19:31:09.000000000 -0500 +++ tc04_free_lock.stderr.out 2011-12-30 20:52:17.000000000 -0500 @@ -7,28 +7,22 @@ by 0x........: main (tc04_free_lock.c:20) Destroying locked mutex: mutex 0x........, recursion count 1, owner 1. - at 0x........: bar (tc04_free_lock.c:38) - by 0x........: main (tc04_free_lock.c:26) + at 0x........: bar (tc04_free_lock.c:40) + by 0x........: process_dl_debug (in /lib64/ld-2.3.4.so) + by 0x........: ??? mutex 0x........ was first observed at: at 0x........: pthread_mutex_lock (drd_pthread_intercepts.c:?) by 0x........: bar (tc04_free_lock.c:38) by 0x........: main (tc04_free_lock.c:26) Destroying locked mutex: mutex 0x........, recursion count 1, owner 1. - at 0x........: foo (tc04_free_lock.c:47) - by 0x........: main (tc04_free_lock.c:27) + at 0x........: foo (tc04_free_lock.c:49) + by 0x........: process_dl_debug (in /lib64/ld-2.3.4.so) + by 0x........: ??? mutex 0x........ was first observed at: at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?) by 0x........: foo (tc04_free_lock.c:46) by 0x........: main (tc04_free_lock.c:27) -Destroying locked mutex: mutex 0x........, recursion count 1, owner 1. - at 0x........: bar (tc04_free_lock.c:38) - by 0x........: main (tc04_free_lock.c:28) -mutex 0x........ was first observed at: - at 0x........: pthread_mutex_lock (drd_pthread_intercepts.c:?) - by 0x........: bar (tc04_free_lock.c:38) - by 0x........: main (tc04_free_lock.c:28) - -ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 0 from 0) +ERROR SUMMARY: 4 errors from 3 contexts (suppressed: 0 from 0) ================================================= ./valgrind-old/drd/tests/tc04_free_lock.stderr.diff-x86 ================================================= --- tc04_free_lock.stderr.exp-x86 2011-12-30 19:31:10.000000000 -0500 +++ tc04_free_lock.stderr.out 2011-12-30 20:52:17.000000000 -0500 @@ -8,7 +8,8 @@ Destroying locked mutex: mutex 0x........, recursion count 1, owner 1. at 0x........: bar (tc04_free_lock.c:40) - by 0x........: main (tc04_free_lock.c:26) + by 0x........: process_dl_debug (in /lib64/ld-2.3.4.so) + by 0x........: ??? mutex 0x........ was first observed at: at 0x........: pthread_mutex_lock (drd_pthread_intercepts.c:?) by 0x........: bar (tc04_free_lock.c:38) @@ -16,19 +17,12 @@ Destroying locked mutex: mutex 0x........, recursion count 1, owner 1. at 0x........: foo (tc04_free_lock.c:49) - by 0x........: main (tc04_free_lock.c:27) + by 0x........: process_dl_debug (in /lib64/ld-2.3.4.so) + by 0x........: ??? mutex 0x........ was first observed at: at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?) by 0x........: foo (tc04_free_lock.c:46) by 0x........: main (tc04_free_lock.c:27) -Destroying locked mutex: mutex 0x........, recursion count 1, owner 1. - at 0x........: bar (tc04_free_lock.c:40) - by 0x........: main (tc04_free_lock.c:28) -mutex 0x........ was first observed at: - at 0x........: pthread_mutex_lock (drd_pthread_intercepts.c:?) - by 0x........: bar (tc04_free_lock.c:38) - by 0x........: main (tc04_free_lock.c:28) - -ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 0 from 0) +ERROR SUMMARY: 4 errors from 3 contexts (suppressed: 0 from 0) ================================================= ./valgrind-old/drd/tests/tc09_bad_unlock.stderr.diff-glibc2.8 ================================================= --- tc09_bad_unlock.stderr.exp-glibc2.8 2011-12-30 19:31:10.000000000 -0500 +++ tc09_bad_unlock.stderr.out 2011-12-30 20:52:37.000000000 -0500 @@ -26,7 +26,7 @@ Destroying locked mutex: mutex 0x........, recursion count 1, owner 1. at 0x........: nearly_main (tc09_bad_unlock.c:45) - by 0x........: (below main) + by 0x........: ??? mutex 0x........ was first observed at: at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?) by 0x........: nearly_main (tc09_bad_unlock.c:31) @@ -47,13 +47,5 @@ by 0x........: nearly_main (tc09_bad_unlock.c:41) by 0x........: main (tc09_bad_unlock.c:50) -Destroying locked mutex: mutex 0x........, recursion count 1, owner 1. - at 0x........: nearly_main (tc09_bad_unlock.c:45) - by 0x........: (below main) -mutex 0x........ was first observed at: - at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?) - by 0x........: nearly_main (tc09_bad_unlock.c:31) - by 0x........: main (tc09_bad_unlock.c:50) - -ERROR SUMMARY: 8 errors from 7 contexts (suppressed: 0 from 0) +ERROR SUMMARY: 8 errors from 6 contexts (suppressed: 0 from 0) ================================================= ./valgrind-old/drd/tests/tc09_bad_unlock.stderr.diff-ppc ================================================= --- tc09_bad_unlock.stderr.exp-ppc 2011-12-30 19:31:09.000000000 -0500 +++ tc09_bad_unlock.stderr.out 2011-12-30 20:52:37.000000000 -0500 @@ -25,8 +25,8 @@ by 0x........: main (tc09_bad_unlock.c:49) Destroying locked mutex: mutex 0x........, recursion count 1, owner 1. - at 0x........: nearly_main (tc09_bad_unlock.c:41) - by 0x........: main (tc09_bad_unlock.c:49) + at 0x........: nearly_main (tc09_bad_unlock.c:45) + by 0x........: ??? mutex 0x........ was first observed at: at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?) by 0x........: nearly_main (tc09_bad_unlock.c:31) @@ -47,13 +47,5 @@ by 0x........: nearly_main (tc09_bad_unlock.c:41) by 0x........: main (tc09_bad_unlock.c:50) -Destroying locked mutex: mutex 0x........, recursion count 1, owner 1. - at 0x........: nearly_main (tc09_bad_unlock.c:41) - by 0x........: main (tc09_bad_unlock.c:50) -mutex 0x........ was first observed at: - at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?) - by 0x........: nearly_main (tc09_bad_unlock.c:31) - by 0x........: main (tc09_bad_unlock.c:50) - -ERROR SUMMARY: 8 errors from 7 contexts (suppressed: 0 from 0) +ERROR SUMMARY: 8 errors from 6 contexts (suppressed: 0 from 0) ================================================= ./valgrind-old/drd/tests/tc09_bad_unlock.stderr.diff-x86 ================================================= --- tc09_bad_unlock.stderr.exp-x86 2011-12-30 19:31:09.000000000 -0500 +++ tc09_bad_unlock.stderr.out 2011-12-30 20:52:37.000000000 -0500 @@ -26,7 +26,7 @@ Destroying locked mutex: mutex 0x........, recursion count 1, owner 1. at 0x........: nearly_main (tc09_bad_unlock.c:45) - by 0x........: main (tc09_bad_unlock.c:49) + by 0x........: ??? mutex 0x........ was first observed at: at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?) by 0x........: nearly_main (tc09_bad_unlock.c:31) @@ -47,13 +47,5 @@ by 0x........: nearly_main (tc09_bad_unlock.c:41) by 0x........: main (tc09_bad_unlock.c:50) -Destroying locked mutex: mutex 0x........, recursion count 1, owner 1. - at 0x........: nearly_main (tc09_bad_unlock.c:45) - by 0x........: main (tc09_bad_unlock.c:50) -mutex 0x........ was first observed at: - at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?) - by 0x........: nearly_main (tc09_bad_unlock.c:31) - by 0x........: main (tc09_bad_unlock.c:50) - -ERROR SUMMARY: 8 errors from 7 contexts (suppressed: 0 from 0) +ERROR SUMMARY: 8 errors from 6 contexts (suppressed: 0 from 0) ================================================= ./valgrind-old/helgrind/tests/tc09_bad_unlock.stderr.diff ================================================= --- tc09_bad_unlock.stderr.exp 2011-12-30 19:30:26.000000000 -0500 +++ tc09_bad_unlock.stderr.out 2011-12-30 20:32:51.000000000 -0500 @@ -42,14 +42,6 @@ by 0x........: nearly_main (tc09_bad_unlock.c:41) by 0x........: main (tc09_bad_unlock.c:49) ----------------------------------------------------------------- - -Thread #x's call to pthread_mutex_unlock failed - with error code 22 (EINVAL: Invalid argument) - at 0x........: pthread_mutex_unlock (hg_intercepts.c:...) - by 0x........: nearly_main (tc09_bad_unlock.c:41) - by 0x........: main (tc09_bad_unlock.c:49) - --------------------- ---------------------------------------------------------------- @@ -110,16 +102,8 @@ ---------------------------------------------------------------- -Thread #x's call to pthread_mutex_unlock failed - with error code 22 (EINVAL: Invalid argument) - at 0x........: pthread_mutex_unlock (hg_intercepts.c:...) - by 0x........: nearly_main (tc09_bad_unlock.c:41) - by 0x........: main (tc09_bad_unlock.c:50) - ----------------------------------------------------------------- - Thread #x: Exiting thread still holds 1 lock ... -ERROR SUMMARY: 11 errors from 11 contexts (suppressed: 0 from 0) +ERROR SUMMARY: 9 errors from 9 contexts (suppressed: 0 from 0) ================================================= ./valgrind-old/helgrind/tests/tc14_laog_dinphils.stderr.diff ================================================= --- tc14_laog_dinphils.stderr.exp 2011-12-30 19:30:25.000000000 -0500 +++ tc14_laog_dinphils.stderr.out 2011-12-30 20:33:19.000000000 -0500 @@ -20,5 +20,26 @@ by 0x........: mythread_wrapper (hg_intercepts.c:...) ... +---Thread-Announcement------------------------------------------ -ERROR SUMMARY: 1000 errors from 1 contexts (suppressed: 0 from 0) +Thread #x was created + ... + by 0x........: pthread_create_WRK (hg_intercepts.c:...) + by 0x........: pthread_create@* (hg_intercepts.c:...) + by 0x........: main (tc14_laog_dinphils.c:34) + +---------------------------------------------------------------- + +Thread #x: lock order "0x........ before 0x........" violated + +Observed (incorrect) order is: acquisition of lock at 0x........ + (stack unavailable) + + followed by a later acquisition of lock at 0x........ + at 0x........: pthread_mutex_lock (hg_intercepts.c:...) + by 0x........: dine (tc14_laog_dinphils.c:19) + by 0x........: mythread_wrapper (hg_intercepts.c:...) + ... + + +ERROR SUMMARY: 1048 errors from 2 contexts (suppressed: 0 from 0) ================================================= ./valgrind-old/helgrind/tests/tc18_semabuse.stderr.diff ================================================= --- tc18_semabuse.stderr.exp 2011-12-30 19:30:25.000000000 -0500 +++ tc18_semabuse.stderr.out 2011-12-30 20:33:42.000000000 -0500 @@ -18,13 +18,5 @@ by 0x........: sem_wait (hg_intercepts.c:...) by 0x........: main (tc18_semabuse.c:34) ----------------------------------------------------------------- -Thread #x's call to sem_post failed - with error code 22 (EINVAL: Invalid argument) - at 0x........: sem_post_WRK (hg_intercepts.c:...) - by 0x........: sem_post (hg_intercepts.c:...) - by 0x........: main (tc18_semabuse.c:37) - - -ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0) +ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0) ================================================= ./valgrind-old/helgrind/tests/tc20_verifywrap.stderr.diff ================================================= --- tc20_verifywrap.stderr.exp 2011-12-30 19:30:25.000000000 -0500 +++ tc20_verifywrap.stderr.out 2011-12-30 20:34:47.000000000 -0500 @@ -1,7 +1,7 @@ ------- This is output for >= glibc 2.4 ------ +------ This is output for < glibc 2.4 ------ ---------------- pthread_create/join ---------------- @@ -45,13 +45,6 @@ ---------------------------------------------------------------- -Thread #x's call to pthread_mutex_init failed - with error code 95 (EOPNOTSUPP: Operation not supported on transport endpoint) - at 0x........: pthread_mutex_init (hg_intercepts.c:...) - by 0x........: main (tc20_verifywrap.c:92) - ----------------------------------------------------------------- - Thread #x: pthread_mutex_destroy of a locked mutex at 0x........: pthread_mutex_destroy (hg_intercepts.c:...) by 0x........: main (tc20_verifywrap.c:102) @@ -63,26 +56,8 @@ at 0x........: pthread_mutex_destroy (hg_intercepts.c:...) by 0x........: main (tc20_verifywrap.c:102) ----------------------------------------------------------------- - -Thread #x's call to pthread_mutex_lock failed - with error code 22 (EINVAL: Invalid argument) - at 0x........: pthread_mutex_lock (hg_intercepts.c:...) - by 0x........: main (tc20_verifywrap.c:108) - ----------------------------------------------------------------- -Thread #x's call to pthread_mutex_trylock failed - with error code 22 (EINVAL: Invalid argument) - at 0x........: pthread_mutex_trylock (hg_intercepts.c:...) - by 0x........: main (tc20_verifywrap.c:116) - ----------------------------------------------------------------- - -Thread #x's call to pthread_mutex_timedlock failed - with error code 22 (EINVAL: Invalid argument) - at 0x........: pthread_mutex_timedlock (hg_intercepts.c:...) - by 0x........: main (tc20_verifywrap.c:121) +make pthread_mutex_lock fail: skipped on glibc < 2.4 ---------------------------------------------------------------- @@ -90,13 +65,6 @@ at 0x........: pthread_mutex_unlock (hg_intercepts.c:...) by 0x........: main (tc20_verifywrap.c:125) ----------------------------------------------------------------- - -Thread #x's call to pthread_mutex_unlock failed - with error code 22 (EINVAL: Invalid argument) - at 0x........: pthread_mutex_unlock (hg_intercepts.c:...) - by 0x........: main (tc20_verifywrap.c:125) - ---------------- pthread_cond_wait et al ---------------- @@ -215,14 +183,6 @@ by 0x........: sem_wait (hg_intercepts.c:...) by 0x........: main (tc20_verifywrap.c:242) ----------------------------------------------------------------- - -Thread #x's call to sem_post failed - with error code 22 (EINVAL: Invalid argument) - at 0x........: sem_post_WRK (hg_intercepts.c:...) - by 0x........: sem_post (hg_intercepts.c:...) - by 0x........: main (tc20_verifywrap.c:245) - FIXME: can't figure out how to verify wrap of sem_post @@ -235,4 +195,4 @@ ... -ERROR SUMMARY: 23 errors from 23 contexts (suppressed: 0 from 0) +ERROR SUMMARY: 17 errors from 17 contexts (suppressed: 0 from 0) ================================================= ./valgrind-old/memcheck/tests/manuel3.stderr.diff ================================================= --- manuel3.stderr.exp 2011-12-30 19:30:39.000000000 -0500 +++ manuel3.stderr.out 2011-12-30 20:02:55.000000000 -0500 @@ -1,4 +1,3 @@ Conditional jump or move depends on uninitialised value(s) - at 0x........: gcc_cant_inline_me (manuel3.c:22) - by 0x........: main (manuel3.c:14) + at 0x........: main (manuel3.c:12) ================================================= ./valgrind-old/memcheck/tests/partial_load_ok.stderr.diff ================================================= --- partial_load_ok.stderr.exp 2011-12-30 19:30:39.000000000 -0500 +++ partial_load_ok.stderr.out 2011-12-30 20:07:31.000000000 -0500 @@ -1,7 +1,13 @@ -Invalid read of size 4 +Invalid read of size 1 + at 0x........: main (partial_load.c:16) + Address 0x........ is 0 bytes after a block of size 7 alloc'd + at 0x........: calloc (vg_replace_malloc.c:...) + by 0x........: main (partial_load.c:14) + +Invalid read of size 8 at 0x........: main (partial_load.c:23) - Address 0x........ is 1 bytes inside a block of size 4 alloc'd + Address 0x........ is 1 bytes inside a block of size 8 alloc'd at 0x........: calloc (vg_replace_malloc.c:...) by 0x........: main (partial_load.c:20) @@ -11,9 +17,9 @@ at 0x........: calloc (vg_replace_malloc.c:...) by 0x........: main (partial_load.c:28) -Invalid read of size 4 +Invalid read of size 8 at 0x........: main (partial_load.c:37) - Address 0x........ is 0 bytes inside a block of size 4 free'd + Address 0x........ is 0 bytes inside a block of size 8 free'd at 0x........: free (vg_replace_malloc.c:...) by 0x........: main (partial_load.c:36) @@ -25,4 +31,4 @@ For a detailed leak analysis, rerun with: --leak-check=full For counts of detected and suppressed errors, rerun with: -v -ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0) +ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 0 from 0) ================================================= ./valgrind-old/memcheck/tests/partial_load_ok.stderr.diff64 ================================================= --- partial_load_ok.stderr.exp64 2011-12-30 19:30:39.000000000 -0500 +++ partial_load_ok.stderr.out 2011-12-30 20:07:31.000000000 -0500 @@ -1,4 +1,10 @@ +Invalid read of size 1 + at 0x........: main (partial_load.c:16) + Address 0x........ is 0 bytes after a block of size 7 alloc'd + at 0x........: calloc (vg_replace_malloc.c:...) + by 0x........: main (partial_load.c:14) + Invalid read of size 8 at 0x........: main (partial_load.c:23) Address 0x........ is 1 bytes inside a block of size 8 alloc'd @@ -25,4 +31,4 @@ For a detailed leak analysis, rerun with: --leak-check=full For counts of detected and suppressed errors, rerun with: -v -ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0) +ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 0 from 0) ================================================= ./valgrind-old/memcheck/tests/varinfo6.stderr.diff ================================================= --- varinfo6.stderr.exp 2011-12-30 19:30:39.000000000 -0500 +++ varinfo6.stderr.out 2011-12-30 20:14:59.000000000 -0500 @@ -7,8 +7,7 @@ by 0x........: BZ2_bzCompress (varinfo6.c:4860) by 0x........: BZ2_bzBuffToBuffCompress (varinfo6.c:5667) by 0x........: main (varinfo6.c:6517) - Location 0x........ is 2 bytes inside local var "budget" - declared at varinfo6.c:3115, in frame #2 of thread 1 + Address 0x........ is on thread 1's stack Uninitialised byte(s) found during client check request at 0x........: croak (varinfo6.c:34) ================================================= ./valgrind-old/memcheck/tests/varinfo6.stderr.diff-ppc64 ================================================= --- varinfo6.stderr.exp-ppc64 2011-12-30 19:30:39.000000000 -0500 +++ varinfo6.stderr.out 2011-12-30 20:14:59.000000000 -0500 @@ -1,5 +1,5 @@ Uninitialised byte(s) found during client check request - at 0x........: croak (varinfo6.c:35) + at 0x........: croak (varinfo6.c:34) by 0x........: mainSort (varinfo6.c:2999) by 0x........: BZ2_blockSort (varinfo6.c:3143) by 0x........: BZ2_compressBlock (varinfo6.c:4072) @@ -10,7 +10,7 @@ Address 0x........ is on thread 1's stack Uninitialised byte(s) found during client check request - at 0x........: croak (varinfo6.c:35) + at 0x........: croak (varinfo6.c:34) by 0x........: BZ2_decompress (varinfo6.c:1699) by 0x........: BZ2_bzDecompress (varinfo6.c:5230) by 0x........: BZ2_bzBuffToBuffDecompress (varinfo6.c:5715) |