|
From: <br...@ac...> - 2011-10-16 09:20:18
|
valgrind revision: 12162 VEX revision: 2216 GCC version: gcc (GCC) 3.4.6 20060404 (Red Hat 3.4.6-3) C library: GNU C Library stable release version 2.3.4, by Roland McGrath et al. 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-10-16 01:42:15 EDT Ended at 2011-10-16 05:26:54 EDT 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 == 468 tests, 10 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/tc18_semabuse (stderr) helgrind/tests/tc20_verifywrap (stderr) drd/tests/pth_cleanup_handler (stderr) drd/tests/pth_inconsistent_cond_wait (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 == 468 tests, 10 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) drd/tests/threaded-fork (stderr) ================================================= == Difference between 24 hours ago and now == ================================================= *** old.short Sun Oct 16 03:07:07 2011 --- new.short Sun Oct 16 05:26:54 2011 *************** *** 13,20 **** 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) - drd/tests/threaded-fork (stderr) --- 13,20 ---- helgrind/tests/tc09_bad_unlock (stderr) helgrind/tests/tc18_semabuse (stderr) helgrind/tests/tc20_verifywrap (stderr) + drd/tests/pth_cleanup_handler (stderr) + drd/tests/pth_inconsistent_cond_wait (stderr) drd/tests/tc04_free_lock (stderr) drd/tests/tc09_bad_unlock (stderr) ================================================= ./valgrind-new/drd/tests/pth_cleanup_handler.stderr.diff ================================================= --- pth_cleanup_handler.stderr.exp 2011-10-16 03:07:58.000000000 -0400 +++ pth_cleanup_handler.stderr.out 2011-10-16 04:58:22.000000000 -0400 @@ -1,6 +1,45 @@ -Cleanup handler has been called. -Cleanup handler has been called. -Test succeeded. +?! restarting over syscall at 0x........ 70 0a + +valgrind: m_syswrap/syswrap-main.c:1888 (vgModuleLocal_fixup_guest_state_to_restart_syscall): Assertion 'p[0] == 0x........' failed. + at 0x........: report_and_quit (m_libcassert.c:?) + by 0x........: vgPlain_assert_fail (m_libcassert.c:?) + by 0x........: vgModuleLocal_fixup_guest_state_to_restart_syscall (syswrap-main.c:1888) + by 0x........: vgPlain_fixup_guest_state_after_syscall_interrupted (syswrap-main.c:2044) + by 0x........: async_signalhandler (m_signals.c:?) + by 0x........: ??? (in /opt/nightly/valgrind-new/drd/drd-s390x-linux) + +sched status: + running_tid=2 + +Thread 1: status = VgTs_Yielding + at 0x........: clone (in /...libc...) + by 0x........: (within libpthread-?.?.so) + by 0x........: pthread_create@@GLIBC_2.2(within libpthread-?.?.so) + by 0x........: pthread_create (drd_pthread_intercepts.c:?) + by 0x........: main (pth_cleanup_handler.c:?) + +Thread 2: status = VgTs_Runnable + at 0x........: syscall (in /...libc...) + by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?) + by 0x........: (within libpthread-?.?.so) + by 0x........: ??? (in /...libc...) + +Thread 3: status = VgTs_Init + at 0x........: clone (in /...libc...) + by 0x........: (within libpthread-?.?.so) + by 0x........: ??? + + +Note: see also the FAQ in the source distribution. +It contains workarounds to several common problems. +In particular, if Valgrind aborted or crashed after +identifying problems in your program, there's a good chance +that fixing those problems will prevent Valgrind aborting or +crashing, especially if it happened in m_mallocfree.c. + +If that doesn't help, please report this bug to: www.valgrind.org + +In the bug report, send all the above text, the valgrind +version, and what OS and version you are using. Thanks. -ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) ================================================= ./valgrind-new/drd/tests/pth_inconsistent_cond_wait.stderr.diff1 ================================================= --- pth_inconsistent_cond_wait.stderr.exp1 2011-10-16 03:07:58.000000000 -0400 +++ pth_inconsistent_cond_wait.stderr.out 2011-10-16 05:15:45.000000000 -0400 @@ -25,15 +25,5 @@ at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?) by 0x........: main (pth_inconsistent_cond_wait.c:?) -Probably a race condition: condition variable 0x........ has been signaled but the associated mutex 0x........ is not locked by the signalling thread. - at 0x........: pthread_cond_signal (drd_pthread_intercepts.c:?) - by 0x........: main (pth_inconsistent_cond_wait.c:?) -cond 0x........ was first observed at: - at 0x........: pthread_cond_init (drd_pthread_intercepts.c:?) - by 0x........: main (pth_inconsistent_cond_wait.c:?) -mutex 0x........ was first observed at: - at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?) - by 0x........: main (pth_inconsistent_cond_wait.c:?) - -ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0) +ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0) ================================================= ./valgrind-new/drd/tests/pth_inconsistent_cond_wait.stderr.diff2 ================================================= --- pth_inconsistent_cond_wait.stderr.exp2 2011-10-16 03:07:58.000000000 -0400 +++ pth_inconsistent_cond_wait.stderr.out 2011-10-16 05:15:45.000000000 -0400 @@ -1,5 +1,5 @@ -Thread 2: +Thread 3: Inconsistent association of condition variable and mutex: condition variable 0x........, mutexes 0x........ and 0x........ at 0x........: pthread_cond_timedwait (drd_pthread_intercepts.c:?) by 0x........: thread_func (pth_inconsistent_cond_wait.c:?) @@ -25,15 +25,5 @@ at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?) by 0x........: main (pth_inconsistent_cond_wait.c:?) -Probably a race condition: condition variable 0x........ has been signaled but the associated mutex 0x........ is not locked by the signalling thread. - at 0x........: pthread_cond_signal (drd_pthread_intercepts.c:?) - by 0x........: main (pth_inconsistent_cond_wait.c:?) -cond 0x........ was first observed at: - at 0x........: pthread_cond_init (drd_pthread_intercepts.c:?) - by 0x........: main (pth_inconsistent_cond_wait.c:?) -mutex 0x........ was first observed at: - at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?) - by 0x........: main (pth_inconsistent_cond_wait.c:?) - -ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0) +ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0) ================================================= ./valgrind-new/drd/tests/tc04_free_lock.stderr.diff ================================================= --- tc04_free_lock.stderr.exp 2011-10-16 03:07:58.000000000 -0400 +++ tc04_free_lock.stderr.out 2011-10-16 05:23:36.000000000 -0400 @@ -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 ================================================= --- tc09_bad_unlock.stderr.exp 2011-10-16 03:07:58.000000000 -0400 +++ tc09_bad_unlock.stderr.out 2011-10-16 05:24:01.000000000 -0400 @@ -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/drd/tests/tc09_bad_unlock.stderr.diff-glibc2.8 ================================================= --- tc09_bad_unlock.stderr.exp-glibc2.8 2011-10-16 03:07:58.000000000 -0400 +++ tc09_bad_unlock.stderr.out 2011-10-16 05:24:01.000000000 -0400 @@ -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/helgrind/tests/tc09_bad_unlock.stderr.diff ================================================= --- tc09_bad_unlock.stderr.exp 2011-10-16 03:07:13.000000000 -0400 +++ tc09_bad_unlock.stderr.out 2011-10-16 04:08:53.000000000 -0400 @@ -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/tc18_semabuse.stderr.diff ================================================= --- tc18_semabuse.stderr.exp 2011-10-16 03:07:13.000000000 -0400 +++ tc18_semabuse.stderr.out 2011-10-16 04:09:44.000000000 -0400 @@ -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-10-16 03:07:13.000000000 -0400 +++ tc20_verifywrap.stderr.out 2011-10-16 04:10:49.000000000 -0400 @@ -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-10-16 03:07:27.000000000 -0400 +++ manuel3.stderr.out 2011-10-16 03:38:49.000000000 -0400 @@ -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-10-16 03:07:27.000000000 -0400 +++ partial_load_ok.stderr.out 2011-10-16 03:43:24.000000000 -0400 @@ -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-10-16 03:07:27.000000000 -0400 +++ partial_load_ok.stderr.out 2011-10-16 03:43:24.000000000 -0400 @@ -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-10-16 03:07:27.000000000 -0400 +++ varinfo6.stderr.out 2011-10-16 03:50:53.000000000 -0400 @@ -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-10-16 03:07:27.000000000 -0400 +++ varinfo6.stderr.out 2011-10-16 03:50:53.000000000 -0400 @@ -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 ================================================= --- tc04_free_lock.stderr.exp 2011-10-16 01:43:12.000000000 -0400 +++ tc04_free_lock.stderr.out 2011-10-16 03:04:04.000000000 -0400 @@ -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 ================================================= --- tc09_bad_unlock.stderr.exp 2011-10-16 01:43:12.000000000 -0400 +++ tc09_bad_unlock.stderr.out 2011-10-16 03:04:29.000000000 -0400 @@ -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/drd/tests/tc09_bad_unlock.stderr.diff-glibc2.8 ================================================= --- tc09_bad_unlock.stderr.exp-glibc2.8 2011-10-16 01:43:13.000000000 -0400 +++ tc09_bad_unlock.stderr.out 2011-10-16 03:04:29.000000000 -0400 @@ -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/threaded-fork.stderr.diff ================================================= --- threaded-fork.stderr.exp 2011-10-16 01:43:13.000000000 -0400 +++ threaded-fork.stderr.out 2011-10-16 03:06:42.000000000 -0400 @@ -1,6 +1,4 @@ - -ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) PASS ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) ================================================= ./valgrind-old/helgrind/tests/tc09_bad_unlock.stderr.diff ================================================= --- tc09_bad_unlock.stderr.exp 2011-10-16 01:42:30.000000000 -0400 +++ tc09_bad_unlock.stderr.out 2011-10-16 02:42:41.000000000 -0400 @@ -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-10-16 01:42:30.000000000 -0400 +++ tc14_laog_dinphils.stderr.out 2011-10-16 02:43:09.000000000 -0400 @@ -20,5 +20,47 @@ 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:...) + ... + + +ERROR SUMMARY: 1096 errors from 3 contexts (suppressed: 0 from 0) ================================================= ./valgrind-old/helgrind/tests/tc18_semabuse.stderr.diff ================================================= --- tc18_semabuse.stderr.exp 2011-10-16 01:42:30.000000000 -0400 +++ tc18_semabuse.stderr.out 2011-10-16 02:43:32.000000000 -0400 @@ -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-10-16 01:42:30.000000000 -0400 +++ tc20_verifywrap.stderr.out 2011-10-16 02:44:36.000000000 -0400 @@ -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-10-16 01:42:44.000000000 -0400 +++ manuel3.stderr.out 2011-10-16 02:13:57.000000000 -0400 @@ -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-10-16 01:42:43.000000000 -0400 +++ partial_load_ok.stderr.out 2011-10-16 02:18:31.000000000 -0400 @@ -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-10-16 01:42:43.000000000 -0400 +++ partial_load_ok.stderr.out 2011-10-16 02:18:31.000000000 -0400 @@ -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-10-16 01:42:43.000000000 -0400 +++ varinfo6.stderr.out 2011-10-16 02:25:59.000000000 -0400 @@ -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-10-16 01:42:43.000000000 -0400 +++ varinfo6.stderr.out 2011-10-16 02:25:59.000000000 -0400 @@ -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) |