|
From: Rich C. <rc...@wi...> - 2013-03-27 06:13:43
|
valgrind revision: VEX revision: C compiler: i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5646) (dot 1) GDB: GNU gdb 6.3.50-20050815 (Apple version gdb-1346) (Fri Sep 18 20:40:51 UTC 2009) Assembler: C library: unknown uname -mrs: Darwin 10.8.0 i386 Vendor version: unknown Nightly build on macamd64 ( Darwin 10.8.0 i386 ) Started at 2013-03-27 00:35:01 CDT Ended at 2013-03-27 01:13:23 CDT Results differ from 24 hours ago Checking out valgrind source tree ... failed Last 20 lines of verbose log follow echo Checking out valgrind source tree ... svn co svn://svn.valgrind.org/valgrind/trunk -r {2013-03-27T00:35:01} valgrind-new && svn update -r {2013-03-27T00:35:01} valgrind-new/VEX + eval 'svn co svn://svn.valgrind.org/valgrind/trunk -r {2013-03-27T00:35:01} valgrind-new && svn update -r {2013-03-27T00:35:01} valgrind-new/VEX' ++ svn co svn://svn.valgrind.org/valgrind/trunk -r '{2013-03-27T00:35:01}' valgrind-new svn: Can't connect to host 'svn.valgrind.org': Operation timed out ================================================= == 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 == 558 tests, 96 stderr failures, 17 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures == memcheck/tests/accounting (stderr) memcheck/tests/amd64/insn-pcmpistri (stderr) memcheck/tests/amd64/more_x87_fp (stdout) memcheck/tests/badpoll (stderr) memcheck/tests/big_blocks_freed_list (stderr) memcheck/tests/bug287260 (stderr) memcheck/tests/darwin/aio (stderr) memcheck/tests/darwin/pth-supp (stderr) memcheck/tests/darwin/scalar (stderr) memcheck/tests/darwin/scalar_nocancel (stderr) memcheck/tests/err_disable4 (stderr) memcheck/tests/leak-segv-jmp (stderr) memcheck/tests/lks (stderr) memcheck/tests/memcmptest (stderr) memcheck/tests/mismatches (stderr) memcheck/tests/origin5-bz2 (stderr) memcheck/tests/overlap (stdout) memcheck/tests/overlap (stderr) memcheck/tests/post-syscall (stderr) memcheck/tests/sem (stderr) memcheck/tests/sendmsg (stderr) memcheck/tests/strchr (stderr) memcheck/tests/test-plo-no (stderr) memcheck/tests/varinfo3 (stderr) memcheck/tests/varinfo5 (stderr) memcheck/tests/vbit-test/vbit-test (stderr) memcheck/tests/vcpu_fnfns (stdout) memcheck/tests/writev1 (stderr) massif/tests/pages_as_heap (stderr) none/tests/allexec32 (stdout) none/tests/allexec32 (stderr) none/tests/allexec64 (stdout) none/tests/allexec64 (stderr) none/tests/amd64/bug137714-amd64 (stdout) none/tests/amd64/bug137714-amd64 (stderr) none/tests/amd64/bug156404-amd64 (stdout) none/tests/amd64/bug156404-amd64 (stderr) none/tests/amd64/fcmovnu (stdout) none/tests/amd64/fcmovnu (stderr) none/tests/amd64/fxtract (stdout) none/tests/amd64/fxtract (stderr) none/tests/amd64/jrcxz (stdout) none/tests/amd64/jrcxz (stderr) none/tests/amd64/looper (stdout) none/tests/amd64/looper (stderr) none/tests/amd64/loopnel (stdout) none/tests/amd64/loopnel (stderr) none/tests/amd64/shrld (stdout) none/tests/amd64/shrld (stderr) none/tests/amd64/slahf-amd64 (stdout) none/tests/amd64/slahf-amd64 (stderr) none/tests/async-sigs (stderr) none/tests/execve (stderr) none/tests/faultstatus (stderr) none/tests/fdleak_cmsg (stderr) none/tests/manythreads (stdout) none/tests/manythreads (stderr) none/tests/mmap_fcntl_bug (stderr) none/tests/pth_blockedsig (stderr) none/tests/pth_exit (stderr) none/tests/require-text-symbol-2 (stderr) none/tests/rlimit64_nofile (stderr) none/tests/syscall-restart1 (stderr) none/tests/thread-exits (stdout) none/tests/thread-exits (stderr) none/tests/x86/cse_fail (stdout) none/tests/x86/cse_fail (stderr) helgrind/tests/annotate_hbefore (stderr) helgrind/tests/annotate_rwlock (stderr) helgrind/tests/annotate_smart_pointer (stderr) helgrind/tests/cond_init_destroy (stderr) helgrind/tests/cond_timedwait_invalid (stderr) helgrind/tests/free_is_write (stderr) helgrind/tests/hg01_all_ok (stderr) helgrind/tests/hg02_deadlock (stderr) helgrind/tests/hg03_inherit (stderr) helgrind/tests/hg04_race (stderr) helgrind/tests/hg05_race2 (stderr) helgrind/tests/hg06_readshared (stderr) helgrind/tests/locked_vs_unlocked1_fwd (stderr) helgrind/tests/locked_vs_unlocked1_rev (stderr) helgrind/tests/locked_vs_unlocked2 (stderr) helgrind/tests/locked_vs_unlocked3 (stderr) helgrind/tests/pth_cond_destroy_busy (stderr) helgrind/tests/pth_destroy_cond (stderr) helgrind/tests/rwlock_race (stderr) helgrind/tests/rwlock_test (stderr) helgrind/tests/t2t_laog (stderr) helgrind/tests/tc01_simple_race (stderr) helgrind/tests/tc02_simple_tls (stderr) helgrind/tests/tc03_re_excl (stderr) helgrind/tests/tc04_free_lock (stderr) helgrind/tests/tc05_simple_race (stderr) helgrind/tests/tc06_two_races (stderr) helgrind/tests/tc06_two_races_xml (stderr) helgrind/tests/tc07_hbl1 (stderr) helgrind/tests/tc08_hbl2 (stderr) helgrind/tests/tc09_bad_unlock (stderr) helgrind/tests/tc10_rec_lock (stderr) helgrind/tests/tc11_XCHG (stderr) helgrind/tests/tc12_rwl_trivial (stderr) helgrind/tests/tc13_laog1 (stderr) helgrind/tests/tc14_laog_dinphils (stderr) helgrind/tests/tc15_laog_lockdel (stderr) helgrind/tests/tc16_byterace (stderr) helgrind/tests/tc17_sembar (stderr) helgrind/tests/tc18_semabuse (stderr) helgrind/tests/tc19_shadowmem (stderr) helgrind/tests/tc21_pthonce (stderr) helgrind/tests/tc23_bogus_condwait (stderr) helgrind/tests/tc24_nonzero_sem (stderr) drd/tests/annotate_barrier_xml (stderr) drd/tests/hg03_inherit (stderr) ================================================= == Difference between 24 hours ago and now == ================================================= *** old.short Wed Mar 27 01:12:08 2013 --- new.short Wed Mar 27 01:13:23 2013 *************** *** 1,123 **** ! Checking out valgrind source tree ... done ! Configuring valgrind ... done ! Building valgrind ... done ! Running regression tests ... failed ! Regression test results follow ! ! == 558 tests, 96 stderr failures, 17 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures == ! memcheck/tests/accounting (stderr) ! memcheck/tests/amd64/insn-pcmpistri (stderr) ! memcheck/tests/amd64/more_x87_fp (stdout) ! memcheck/tests/badpoll (stderr) ! memcheck/tests/big_blocks_freed_list (stderr) ! memcheck/tests/bug287260 (stderr) ! memcheck/tests/darwin/aio (stderr) ! memcheck/tests/darwin/pth-supp (stderr) ! memcheck/tests/darwin/scalar (stderr) ! memcheck/tests/darwin/scalar_nocancel (stderr) ! memcheck/tests/err_disable4 (stderr) ! memcheck/tests/leak-segv-jmp (stderr) ! memcheck/tests/lks (stderr) ! memcheck/tests/memcmptest (stderr) ! memcheck/tests/mismatches (stderr) ! memcheck/tests/origin5-bz2 (stderr) ! memcheck/tests/overlap (stdout) ! memcheck/tests/overlap (stderr) ! memcheck/tests/post-syscall (stderr) ! memcheck/tests/sem (stderr) ! memcheck/tests/sendmsg (stderr) ! memcheck/tests/strchr (stderr) ! memcheck/tests/test-plo-no (stderr) ! memcheck/tests/varinfo3 (stderr) ! memcheck/tests/varinfo5 (stderr) ! memcheck/tests/vbit-test/vbit-test (stderr) ! memcheck/tests/vcpu_fnfns (stdout) ! memcheck/tests/writev1 (stderr) ! massif/tests/pages_as_heap (stderr) ! none/tests/allexec32 (stdout) ! none/tests/allexec32 (stderr) ! none/tests/allexec64 (stdout) ! none/tests/allexec64 (stderr) ! none/tests/amd64/bug137714-amd64 (stdout) ! none/tests/amd64/bug137714-amd64 (stderr) ! none/tests/amd64/bug156404-amd64 (stdout) ! none/tests/amd64/bug156404-amd64 (stderr) ! none/tests/amd64/fcmovnu (stdout) ! none/tests/amd64/fcmovnu (stderr) ! none/tests/amd64/fxtract (stdout) ! none/tests/amd64/fxtract (stderr) ! none/tests/amd64/jrcxz (stdout) ! none/tests/amd64/jrcxz (stderr) ! none/tests/amd64/looper (stdout) ! none/tests/amd64/looper (stderr) ! none/tests/amd64/loopnel (stdout) ! none/tests/amd64/loopnel (stderr) ! none/tests/amd64/shrld (stdout) ! none/tests/amd64/shrld (stderr) ! none/tests/amd64/slahf-amd64 (stdout) ! none/tests/amd64/slahf-amd64 (stderr) ! none/tests/async-sigs (stderr) ! none/tests/execve (stderr) ! none/tests/faultstatus (stderr) ! none/tests/fdleak_cmsg (stderr) ! none/tests/manythreads (stdout) ! none/tests/manythreads (stderr) ! none/tests/mmap_fcntl_bug (stderr) ! none/tests/pth_blockedsig (stderr) ! none/tests/pth_exit (stderr) ! none/tests/require-text-symbol-2 (stderr) ! none/tests/rlimit64_nofile (stderr) ! none/tests/syscall-restart1 (stderr) ! none/tests/thread-exits (stdout) ! none/tests/thread-exits (stderr) ! none/tests/x86/cse_fail (stdout) ! none/tests/x86/cse_fail (stderr) ! helgrind/tests/annotate_hbefore (stderr) ! helgrind/tests/annotate_rwlock (stderr) ! helgrind/tests/annotate_smart_pointer (stderr) ! helgrind/tests/cond_init_destroy (stderr) ! helgrind/tests/cond_timedwait_invalid (stderr) ! helgrind/tests/free_is_write (stderr) ! helgrind/tests/hg01_all_ok (stderr) ! helgrind/tests/hg02_deadlock (stderr) ! helgrind/tests/hg03_inherit (stderr) ! helgrind/tests/hg04_race (stderr) ! helgrind/tests/hg05_race2 (stderr) ! helgrind/tests/hg06_readshared (stderr) ! helgrind/tests/locked_vs_unlocked1_fwd (stderr) ! helgrind/tests/locked_vs_unlocked1_rev (stderr) ! helgrind/tests/locked_vs_unlocked2 (stderr) ! helgrind/tests/locked_vs_unlocked3 (stderr) ! helgrind/tests/pth_cond_destroy_busy (stderr) ! helgrind/tests/pth_destroy_cond (stderr) ! helgrind/tests/rwlock_race (stderr) ! helgrind/tests/rwlock_test (stderr) ! helgrind/tests/t2t_laog (stderr) ! helgrind/tests/tc01_simple_race (stderr) ! helgrind/tests/tc02_simple_tls (stderr) ! helgrind/tests/tc03_re_excl (stderr) ! helgrind/tests/tc04_free_lock (stderr) ! helgrind/tests/tc05_simple_race (stderr) ! helgrind/tests/tc06_two_races (stderr) ! helgrind/tests/tc06_two_races_xml (stderr) ! helgrind/tests/tc07_hbl1 (stderr) ! helgrind/tests/tc08_hbl2 (stderr) ! helgrind/tests/tc09_bad_unlock (stderr) ! helgrind/tests/tc10_rec_lock (stderr) ! helgrind/tests/tc11_XCHG (stderr) ! helgrind/tests/tc12_rwl_trivial (stderr) ! helgrind/tests/tc13_laog1 (stderr) ! helgrind/tests/tc14_laog_dinphils (stderr) ! helgrind/tests/tc15_laog_lockdel (stderr) ! helgrind/tests/tc16_byterace (stderr) ! helgrind/tests/tc17_sembar (stderr) ! helgrind/tests/tc18_semabuse (stderr) ! helgrind/tests/tc19_shadowmem (stderr) ! helgrind/tests/tc21_pthonce (stderr) ! helgrind/tests/tc23_bogus_condwait (stderr) ! helgrind/tests/tc24_nonzero_sem (stderr) ! drd/tests/annotate_barrier_xml (stderr) ! drd/tests/hg03_inherit (stderr) --- 1,9 ---- ! Checking out valgrind source tree ... failed ! Last 20 lines of verbose log follow echo + Checking out valgrind source tree ... svn co svn://svn.valgrind.org/valgrind/trunk -r {2013-03-27T00:35:01} valgrind-new && svn update -r {2013-03-27T00:35:01} valgrind-new/VEX + + eval 'svn co svn://svn.valgrind.org/valgrind/trunk -r {2013-03-27T00:35:01} valgrind-new && svn update -r {2013-03-27T00:35:01} valgrind-new/VEX' + ++ svn co svn://svn.valgrind.org/valgrind/trunk -r '{2013-03-27T00:35:01}' valgrind-new + svn: Can't connect to host 'svn.valgrind.org': Operation timed out ================================================= ./valgrind-old/drd/tests/annotate_barrier_xml.stderr.diff ================================================= --- annotate_barrier_xml.stderr.exp 2013-03-27 00:35:39.000000000 -0500 +++ annotate_barrier_xml.stderr.out 2013-03-27 01:09:21.000000000 -0500 @@ -188,7 +188,7 @@ <frame> <ip>0x........</ip> <obj>...</obj> - <fn>start_thread</fn> + <fn>_pthread_start</fn> </frame> </stack> <auxwhat>Address 0x........ is at offset 0 from 0x.........</auxwhat> ================================================= ./valgrind-old/drd/tests/hg03_inherit.stderr.diff ================================================= --- hg03_inherit.stderr.exp 2013-03-27 00:35:39.000000000 -0500 +++ hg03_inherit.stderr.out 2013-03-27 01:10:16.000000000 -0500 @@ -12,5 +12,10 @@ Location 0x........ is 0 bytes inside shared[1], a global variable declared at hg03_inherit.c:11 +Conflicting load by thread 3 at 0x........ size 4 + at 0x........: ??? + by 0x........: _pthread_free_pthread_onstack (in /...libc...) +Allocation context: Data section of /usr/lib/libSystem.B.dylib -ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0) + +ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0) ================================================= ./valgrind-old/helgrind/tests/annotate_hbefore.stderr.diff ================================================= --- annotate_hbefore.stderr.exp 2013-03-27 00:35:17.000000000 -0500 +++ annotate_hbefore.stderr.out 2013-03-27 01:07:48.000000000 -0500 @@ -0,0 +1,704 @@ +---Thread-Announcement------------------------------------------ + +Thread #x is the program's root thread + +---------------------------------------------------------------- + +Thread #x's call to pthread_mutex_lock failed + with error code 22 (EINVAL: Invalid argument) + at 0x........: pthread_mutex_lock (hg_intercepts.c:...) + ... + +---------------------------------------------------------------- + +Thread #x unlocked an invalid lock at 0x........ + at 0x........: pthread_mutex_unlock (hg_intercepts.c:...) + ... + +---------------------------------------------------------------- + +Thread #x's call to pthread_mutex_unlock failed + with error code 22 (EINVAL: Invalid argument) + at 0x........: pthread_mutex_unlock (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 (annotate_hbefore.c:333) + +---------------------------------------------------------------- + +Possible data race during read of size 4 at 0x........ by thread #x +Locks held: none + ... + +This conflicts with a previous write of size 4 by thread #x +Locks held: none + ... + by 0x........: pthread_create_WRK (hg_intercepts.c:...) + by 0x........: pthread_create (hg_intercepts.c:...) + by 0x........: main (annotate_hbefore.c:333) + +---------------------------------------------------------------- + +Possible data race during read of size 1 at 0x........ by thread #x +Locks held: none + ... + +This conflicts with a previous write of size 1 by thread #x +Locks held: none + ... + by 0x........: pthread_create_WRK (hg_intercepts.c:...) + by 0x........: pthread_create (hg_intercepts.c:...) + by 0x........: main (annotate_hbefore.c:333) + +---------------------------------------------------------------- + +Possible data race during write of size 1 at 0x........ by thread #x +Locks held: none + ... + +This conflicts with a previous write of size 1 by thread #x +Locks held: none + ... + by 0x........: pthread_create_WRK (hg_intercepts.c:...) + by 0x........: pthread_create (hg_intercepts.c:...) + by 0x........: main (annotate_hbefore.c:333) + +---------------------------------------------------------------- + +Possible data race during write of size 4 at 0x........ by thread #x +Locks held: none + ... + +This conflicts with a previous write of size 4 by thread #x +Locks held: none + ... + by 0x........: pthread_create_WRK (hg_intercepts.c:...) + by 0x........: pthread_create (hg_intercepts.c:...) + by 0x........: main (annotate_hbefore.c:333) + +---------------------------------------------------------------- + +Possible data race during write of size 4 at 0x........ by thread #x +Locks held: none + ... + by 0x........: pthread_create_WRK (hg_intercepts.c:...) + by 0x........: pthread_create (hg_intercepts.c:...) + by 0x........: main (annotate_hbefore.c:334) + +This conflicts with a previous read of size 4 by thread #x +Locks held: none + ... + <truncated beyond 100 lines> ================================================= ./valgrind-old/helgrind/tests/annotate_rwlock.stderr.diff ================================================= --- annotate_rwlock.stderr.exp 2013-03-27 00:35:17.000000000 -0500 +++ annotate_rwlock.stderr.out 2013-03-27 01:07:50.000000000 -0500 @@ -1,17 +1,132 @@ ---Thread-Announcement------------------------------------------ +Thread #x is the program's root thread + +---------------------------------------------------------------- + +Thread #x's call to pthread_mutex_lock failed + with error code 22 (EINVAL: Invalid argument) + at 0x........: pthread_mutex_lock (hg_intercepts.c:...) + ... + +---------------------------------------------------------------- + +Thread #x unlocked an invalid lock at 0x........ + at 0x........: pthread_mutex_unlock (hg_intercepts.c:...) + ... + +---------------------------------------------------------------- + +Thread #x's call to pthread_mutex_unlock failed + with error code 22 (EINVAL: Invalid argument) + at 0x........: pthread_mutex_unlock (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........: pthread_create (hg_intercepts.c:...) by 0x........: main (annotate_rwlock.c:164) +---------------------------------------------------------------- + +Possible data race during read of size 4 at 0x........ by thread #x +Locks held: none + ... + +This conflicts with a previous write of size 4 by thread #x +Locks held: none + ... + by 0x........: pthread_create_WRK (hg_intercepts.c:...) + by 0x........: pthread_create (hg_intercepts.c:...) + by 0x........: main (annotate_rwlock.c:164) + +---------------------------------------------------------------- + +Possible data race during read of size 1 at 0x........ by thread #x +Locks held: none + ... + +This conflicts with a previous write of size 1 by thread #x +Locks held: none + ... + by 0x........: pthread_create_WRK (hg_intercepts.c:...) + by 0x........: pthread_create (hg_intercepts.c:...) + by 0x........: main (annotate_rwlock.c:164) + +---------------------------------------------------------------- + +Possible data race during write of size 1 at 0x........ by thread #x +Locks held: none + ... + +This conflicts with a previous write of size 1 by thread #x +Locks held: none + ... + by 0x........: pthread_create_WRK (hg_intercepts.c:...) + by 0x........: pthread_create (hg_intercepts.c:...) + by 0x........: main (annotate_rwlock.c:164) + +---------------------------------------------------------------- + +Possible data race during write of size 4 at 0x........ by thread #x +Locks held: none + ... + +This conflicts with a previous write of size 4 by thread #x +Locks held: none + ... + by 0x........: pthread_create_WRK (hg_intercepts.c:...) + by 0x........: pthread_create (hg_intercepts.c:...) + by 0x........: main (annotate_rwlock.c:164) + +---------------------------------------------------------------- + +Possible data race during write of size 4 at 0x........ by thread #x +Locks held: none + ... + by 0x........: pthread_create_WRK (hg_intercepts.c:...) + by 0x........: pthread_create (hg_intercepts.c:...) + by 0x........: main (annotate_rwlock.c:164) + +This conflicts with a previous read of size 4 by thread #x +Locks held: none + ... <truncated beyond 100 lines> ================================================= ./valgrind-old/helgrind/tests/annotate_smart_pointer.stderr.diff ================================================= --- annotate_smart_pointer.stderr.exp 2013-03-27 00:35:17.000000000 -0500 +++ annotate_smart_pointer.stderr.out 2013-03-27 01:07:53.000000000 -0500 @@ -1,4 +1,958 @@ +---Thread-Announcement------------------------------------------ + +Thread #x is the program's root thread + +---------------------------------------------------------------- + +Thread #x's call to pthread_mutex_lock failed + with error code 22 (EINVAL: Invalid argument) + at 0x........: pthread_mutex_lock (hg_intercepts.c:...) + ... + +---------------------------------------------------------------- + +Thread #x unlocked an invalid lock at 0x........ + at 0x........: pthread_mutex_unlock (hg_intercepts.c:...) + ... + +---------------------------------------------------------------- + +Thread #x's call to pthread_mutex_unlock failed + with error code 22 (EINVAL: Invalid argument) + at 0x........: pthread_mutex_unlock (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........: Thread::Create(void* (*)(void*), void*) (annotate_smart_pointer.cpp:145) + by 0x........: main (annotate_smart_pointer.cpp:319) + +---------------------------------------------------------------- + +Possible data race during read of size 4 at 0x........ by thread #x +Locks held: none + ... + +This conflicts with a previous write of size 4 by thread #x +Locks held: none + ... + by 0x........: pthread_create_WRK (hg_intercepts.c:...) + by 0x........: pthread_create (hg_intercepts.c:...) + by 0x........: Thread::Create(void* (*)(void*), void*) (annotate_smart_pointer.cpp:145) + by 0x........: main (annotate_smart_pointer.cpp:319) + +---------------------------------------------------------------- + +Possible data race during read of size 1 at 0x........ by thread #x +Locks held: none + ... + +This conflicts with a previous write of size 1 by thread #x +Locks held: none + ... + by 0x........: pthread_create_WRK (hg_intercepts.c:...) + by 0x........: pthread_create (hg_intercepts.c:...) + by 0x........: Thread::Create(void* (*)(void*), void*) (annotate_smart_pointer.cpp:145) + by 0x........: main (annotate_smart_pointer.cpp:319) + +---------------------------------------------------------------- + +Possible data race during write of size 1 at 0x........ by thread #x +Locks held: none + ... + +This conflicts with a previous write of size 1 by thread #x +Locks held: none + ... + by 0x........: pthread_create_WRK (hg_intercepts.c:...) + by 0x........: pthread_create (hg_intercepts.c:...) + by 0x........: Thread::Create(void* (*)(void*), void*) (annotate_smart_pointer.cpp:145) + by 0x........: main (annotate_smart_pointer.cpp:319) + +---------------------------------------------------------------- + +Possible data race during write of size 4 at 0x........ by thread #x +Locks held: none + ... + +This conflicts with a previous write of size 4 by thread #x +Locks held: none + ... + by 0x........: pthread_create_WRK (hg_intercepts.c:...) + by 0x........: pthread_create (hg_intercepts.c:...) + by 0x........: Thread::Create(void* (*)(void*), void*) (annotate_smart_pointer.cpp:145) + by 0x........: main (annotate_smart_pointer.cpp:319) + +---------------------------------------------------------------- + +Possible data race during write of size 4 at 0x........ by thread #x +Locks held: none + ... + by 0x........: pthread_create_WRK (hg_intercepts.c:...) + by 0x........: pthread_create (hg_intercepts.c:...) <truncated beyond 100 lines> ================================================= ./valgrind-old/helgrind/tests/cond_init_destroy.stderr.diff ================================================= --- cond_init_destroy.stderr.exp 2013-03-27 00:35:17.000000000 -0500 +++ cond_init_destroy.stderr.out 2013-03-27 01:07:54.000000000 -0500 @@ -1,3 +1,27 @@ +---Thread-Announcement------------------------------------------ -ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) +Thread #x is the program's root thread + +---------------------------------------------------------------- + +Thread #x's call to pthread_mutex_lock failed + with error code 22 (EINVAL: Invalid argument) + at 0x........: pthread_mutex_lock (hg_intercepts.c:...) + ... + +---------------------------------------------------------------- + +Thread #x unlocked an invalid lock at 0x........ + at 0x........: pthread_mutex_unlock (hg_intercepts.c:...) + ... + +---------------------------------------------------------------- + +Thread #x's call to pthread_mutex_unlock failed + with error code 22 (EINVAL: Invalid argument) + at 0x........: pthread_mutex_unlock (hg_intercepts.c:...) + ... + + +ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0) ================================================= ./valgrind-old/helgrind/tests/cond_timedwait_invalid.stderr.diff ================================================= --- cond_timedwait_invalid.stderr.exp 2013-03-27 00:35:17.000000000 -0500 +++ cond_timedwait_invalid.stderr.out 2013-03-27 01:07:55.000000000 -0500 @@ -5,11 +5,31 @@ ---------------------------------------------------------------- +Thread #x's call to pthread_mutex_lock failed + with error code 22 (EINVAL: Invalid argument) + at 0x........: pthread_mutex_lock (hg_intercepts.c:...) + ... + +---------------------------------------------------------------- + +Thread #x unlocked an invalid lock at 0x........ + at 0x........: pthread_mutex_unlock (hg_intercepts.c:...) + ... + +---------------------------------------------------------------- + +Thread #x's call to pthread_mutex_unlock failed + with error code 22 (EINVAL: Invalid argument) + at 0x........: pthread_mutex_unlock (hg_intercepts.c:...) + ... + +---------------------------------------------------------------- + Thread #x's call to pthread_cond_timedwait failed with error code 22 (EINVAL: Invalid argument) at 0x........: pthread_cond_timedwait_WRK (hg_intercepts.c:...) - by 0x........: pthread_cond_timedwait@* (hg_intercepts.c:...) + by 0x........: pthread_cond_timedwait (hg_intercepts.c:...) by 0x........: main (cond_timedwait_invalid.c:22) -ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) +ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 0 from 0) ================================================= ./valgrind-old/helgrind/tests/free_is_write.stderr.diff ================================================= --- free_is_write.stderr.exp 2013-03-27 00:35:17.000000000 -0500 +++ free_is_write.stderr.out 2013-03-27 01:07:56.000000000 -0500 @@ -1,16 +1,192 @@ +---Thread-Announcement------------------------------------------ + +Thread #x is the program's root thread + +---------------------------------------------------------------- + +Thread #x's call to pthread_mutex_lock failed + with error code 22 (EINVAL: Invalid argument) + at 0x........: pthread_mutex_lock (hg_intercepts.c:...) + ... + +---------------------------------------------------------------- + +Thread #x unlocked an invalid lock at 0x........ + at 0x........: pthread_mutex_unlock (hg_intercepts.c:...) + ... + +---------------------------------------------------------------- + +Thread #x's call to pthread_mutex_unlock failed + with error code 22 (EINVAL: Invalid argument) + at 0x........: pthread_mutex_unlock (hg_intercepts.c:...) + ... + Start. ---Thread-Announcement------------------------------------------ Thread #x was created ... by 0x........: pthread_create_WRK (hg_intercepts.c:...) - by 0x........: pthread_create@* (hg_intercepts.c:...) + by 0x........: pthread_create (hg_intercepts.c:...) by 0x........: main (free_is_write.c:32) ----Thread-Announcement------------------------------------------ +---------------------------------------------------------------- -Thread #x is the program's root thread +Possible data race during read of size 4 at 0x........ by thread #x +Locks held: none + ... + +This conflicts with a previous write of size 4 by thread #x +Locks held: none + ... + by 0x........: pthread_create_WRK (hg_intercepts.c:...) + by 0x........: pthread_create (hg_intercepts.c:...) + by 0x........: main (free_is_write.c:32) + +---------------------------------------------------------------- + +Possible data race during read of size 1 at 0x........ by thread #x +Locks held: none + ... + +This conflicts with a previous write of size 1 by thread #x +Locks held: none + ... + by 0x........: pthread_create_WRK (hg_intercepts.c:...) + by 0x........: pthread_create (hg_intercepts.c:...) + by 0x........: main (free_is_write.c:32) + +---------------------------------------------------------------- + +Possible data race during write of size 1 at 0x........ by thread #x +Locks held: none + ... + +This conflicts with a previous write of size 1 by thread #x +Locks held: none + ... + by 0x........: pthread_create_WRK (hg_intercepts.c:...) + by 0x........: pthread_create (hg_intercepts.c:...) + by 0x........: main (free_is_write.c:32) + +---------------------------------------------------------------- + +Possible data race during write of size 4 at 0x........ by thread #x +Locks held: none + ... + +This conflicts with a previous write of size 4 by thread #x +Locks held: none + ... + by 0x........: pthread_create_WRK (hg_intercepts.c:...) + by 0x........: pthread_create (hg_intercepts.c:...) + by 0x........: main (free_is_write.c:32) + +---------------------------------------------------------------- + +Possible data race during read of size 4 at 0x........ by thread #x +Locks held: none + ... + by 0x........: pthread_join_WRK (hg_intercepts.c:...) + by 0x........: pthread_join* (hg_intercepts.c:...) + by 0x........: main (free_is_write.c:39) <truncated beyond 100 lines> ================================================= ./valgrind-old/helgrind/tests/hg01_all_ok.stderr.diff ================================================= --- hg01_all_ok.stderr.exp 2013-03-27 00:35:17.000000000 -0500 +++ hg01_all_ok.stderr.out 2013-03-27 01:07:57.000000000 -0500 @@ -1,3 +1,990 @@ +---Thread-Announcement------------------------------------------ -ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) +Thread #x is the program's root thread + +---------------------------------------------------------------- + +Thread #x's call to pthread_mutex_lock failed + with error code 22 (EINVAL: Invalid argument) + at 0x........: pthread_mutex_lock (hg_intercepts.c:...) + ... + +---------------------------------------------------------------- + +Thread #x unlocked an invalid lock at 0x........ + at 0x........: pthread_mutex_unlock (hg_intercepts.c:...) + ... + +---------------------------------------------------------------- + +Thread #x's call to pthread_mutex_unlock failed + with error code 22 (EINVAL: Invalid argument) + at 0x........: pthread_mutex_unlock (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 (hg01_all_ok.c:25) + +---------------------------------------------------------------- + +Possible data race during read of size 4 at 0x........ by thread #x +Locks held: none + ... + +This conflicts with a previous write of size 4 by thread #x +Locks held: none + ... + by 0x........: pthread_create_WRK (hg_intercepts.c:...) + by 0x........: pthread_create (hg_intercepts.c:...) + by 0x........: main (hg01_all_ok.c:25) + +---------------------------------------------------------------- + +Possible data race during read of size 1 at 0x........ by thread #x +Locks held: none + ... + +This conflicts with a previous write of size 1 by thread #x +Locks held: none + ... + by 0x........: pthread_create_WRK (hg_intercepts.c:...) + by 0x........: pthread_create (hg_intercepts.c:...) + by 0x........: main (hg01_all_ok.c:25) + +---------------------------------------------------------------- + +Possible data race during write of size 1 at 0x........ by thread #x +Locks held: none + ... + +This conflicts with a previous write of size 1 by thread #x +Locks held: none + ... + by 0x........: pthread_create_WRK (hg_intercepts.c:...) + by 0x........: pthread_create (hg_intercepts.c:...) + by 0x........: main (hg01_all_ok.c:25) + +---------------------------------------------------------------- + +Possible data race during write of size 4 at 0x........ by thread #x +Locks held: none + ... + +This conflicts with a previous write of size 4 by thread #x +Locks held: none + ... + by 0x........: pthread_create_WRK (hg_intercepts.c:...) + by 0x........: pthread_create (hg_intercepts.c:...) + by 0x........: main (hg01_all_ok.c:25) + +---------------------------------------------------------------- + +Possible data race during write of size 4 at 0x........ by thread #x +Locks held: none + ... + by 0x........: pthread_create_WRK (hg_intercepts.c:...) + by 0x........: pthread_create (hg_intercepts.c:...) + by 0x........: main (hg01_all_ok.c:26) + +This conflicts with a previous read of size 4 by thread #x +Locks held: none <truncated beyond 100 lines> ================================================= ./valgrind-old/helgrind/tests/hg02_deadlock.stderr.diff ================================================= --- hg02_deadlock.stderr.exp 2013-03-27 00:35:17.000000000 -0500 +++ hg02_deadlock.stderr.out 2013-03-27 01:07:58.000000000 -0500 @@ -1,14 +1,275 @@ ---Thread-Announcement------------------------------------------ +Thread #x is the program's root thread + +---------------------------------------------------------------- + +Thread #x's call to pthread_mutex_lock failed + with error code 22 (EINVAL: Invalid argument) + at 0x........: pthread_mutex_lock (hg_intercepts.c:...) + ... + +---------------------------------------------------------------- + +Thread #x unlocked an invalid lock at 0x........ + at 0x........: pthread_mutex_unlock (hg_intercepts.c:...) + ... + +---------------------------------------------------------------- + +Thread #x's call to pthread_mutex_unlock failed + with error code 22 (EINVAL: Invalid argument) + at 0x........: pthread_mutex_unlock (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 (hg02_deadlock.c:35) + +---------------------------------------------------------------- + +Possible data race during read of size 4 at 0x........ by thread #x +Locks held: none + ... + +This conflicts with a previous write of size 4 by thread #x +Locks held: none + ... + by 0x........: pthread_create_WRK (hg_intercepts.c:...) + by 0x........: pthread_create (hg_intercepts.c:...) + by 0x........: main (hg02_deadlock.c:35) + +---------------------------------------------------------------- + +Possible data race during read of size 1 at 0x........ by thread #x +Locks held: none + ... + +This conflicts with a previous write of size 1 by thread #x +Locks held: none + ... + by 0x........: pthread_create_WRK (hg_intercepts.c:...) + by 0x........: pthread_create (hg_intercepts.c:...) + by 0x........: main (hg02_deadlock.c:35) + +---------------------------------------------------------------- + +Possible data race during write of size 1 at 0x........ by thread #x +Locks held: none + ... + +This conflicts with a previous write of size 1 by thread #x +Locks held: none + ... + by 0x........: pthread_create_WRK (hg_intercepts.c:...) + by 0x........: pthread_create (hg_intercepts.c:...) + by 0x........: main (hg02_deadlock.c:35) + +---------------------------------------------------------------- + +Possible data race during write of size 4 at 0x........ by thread #x +Locks held: none + ... + +This conflicts with a previous write of size 4 by thread #x +Locks held: none + ... + by 0x........: pthread_create_WRK (hg_intercepts.c:...) + by 0x........: pthread_create (hg_intercepts.c:...) + by 0x........: main (hg02_deadlock.c:35) + +---------------------------------------------------------------- + +Possible data race during write of size 4 at 0x........ by thread #x +Locks held: none + ... + by 0x........: pthread_create_WRK (hg_intercepts.c:...) + by 0x........: pthread_create (hg_intercepts.c:...) + by 0x........: main (hg02_deadlock.c:36) + +This conflicts with a previous read of size 4 by thread #x +Locks held: none + ... <truncated beyond 100 lines> ================================================= ./valgrind-old/helgrind/tests/hg03_inherit.stderr.diff ================================================= --- hg03_inherit.stderr.exp 2013-03-27 00:35:17.000000000 -0500 +++ hg03_inherit.stderr.out 2013-03-27 01:08:01.000000000 -0500 @@ -1,15 +1,508 @@ ---Thread-Announcement------------------------------------------ +Thread #x is the program's root thread + +---------------------------------------------------------------- + +Thread #x's call to pthread_mutex_lock failed + with error code 22 (EINVAL: Invalid argument) + at 0x........: pthread_mutex_lock (hg_intercepts.c:...) + ... + +---------------------------------------------------------------- + +Thread #x unlocked an invalid lock at 0x........ + at 0x........: pthread_mutex_unlock (hg_intercepts.c:...) + ... + +---------------------------------------------------------------- + +Thread #x's call to pthread_mutex_unlock failed + with error code 22 (EINVAL: Invalid argument) + at 0x........: pthread_mutex_unlock (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........: pthread_create (hg_intercepts.c:...) + by 0x........: main (hg03_inherit.c:44) + +---------------------------------------------------------------- + +Possible data race during read of size 4 at 0x........ by thread #x +Locks held: none + ... + +This conflicts with a previous write of size 4 by thread #x +Locks held: none + ... + by 0x........: pthread_create_WRK (hg_intercepts.c:...) + by 0x........: pthread_create (hg_intercepts.c:...) + by 0x........: main (hg03_inherit.c:44) + +---------------------------------------------------------------- + +Possible data race during read of size 1 at 0x........ by thread #x +Locks held: none + ... + +This conflicts with a previous write of size 1 by thread #x +Locks held: none + ... + by 0x........: pthread_create_WRK (hg_intercepts.c:...) + by 0x........: pthread_create (hg_intercepts.c:...) + by 0x........: main (hg03_inherit.c:44) + +---------------------------------------------------------------- + +Possible data race during write of size 1 at 0x........ by thread #x +Locks held: none + ... + +This conflicts with a previous write of size 1 by thread #x +Locks held: none + ... + by 0x........: pthread_create_WRK (hg_intercepts.c:...) + by 0x........: pthread_create (hg_intercepts.c:...) + by 0x........: main (hg03_inherit.c:44) + +---------------------------------------------------------------- + +Possible data race during write of size 4 at 0x........ by thread #x +Locks held: none + ... + +This conflicts with a previous write of size 4 by thread #x +Locks held: none + ... + by 0x........: pthread_create_WRK (hg_intercepts.c:...) + by 0x........: pthread_create (hg_intercepts.c:...) + by 0x........: main (hg03_inherit.c:44) + +---------------------------------------------------------------- + +Possible data race during write of size 4 at 0x........ by thread #x +Locks held: none + ... + by 0x........: pthread_create_WRK (hg_intercepts.c:...) + by 0x........: pthread_create (hg_intercepts.c:...) + by 0x........: main (hg03_inherit.c:46) + +This conflicts with a previous read of size 4 by thread #x +Locks held: none <truncated beyond 100 lines> ================================================= ./valgrind-old/helgrind/tests/hg04_race.stderr.diff ================================================= --- hg04_race.stderr.exp 2013-03-27 00:35:17.000000000 -0500 +++ hg04_race.stderr.out 2013-03-27 01:08:03.000000000 -0500 @@ -1,19 +1,238 @@ ---Thread-Announcement------------------------------------------ +Thread #x is the program's root thread + +---------------------------------------------------------------- + +Thread #x's call to pthread_mutex_lock failed + with error code 22 (EINVAL: Invalid argument) + at 0x........: pthread_mutex_lock (hg_intercepts.c:...) + ... + +---------------------------------------------------------------- + +Thread #x unlocked an invalid lock at 0x........ + at 0x........: pthread_mutex_unlock (hg_intercepts.c:...) + ... + +---------------------------------------------------------------- + +Thread #x's call to pthread_mutex_unlock failed + with error code 22 (EINVAL: Invalid argument) + at 0x........: pthread_mutex_unlock (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........: pthread_create (hg_intercepts.c:...) + by 0x........: main (hg04_race.c:19) + +---------------------------------------------------------------- + +Possible data race during read of size 4 at 0x........ by thread #x +Locks held: none + ... + +This conflicts with a previous write of size 4 by thread #x +Locks held: none + ... + by 0x........: pthread_create_WRK (hg_intercepts.c:...) + by 0x........: pthread_create (hg_intercepts.c:...) + by 0x........: main (hg04_race.c:19) + +---------------------------------------------------------------- + +Possible data race during read of size 1 at 0x........ by thread #x +Locks held: none + ... + +This conflicts with a previous write of size 1 by thread #x +Locks held: none + ... + by 0x........: pthread_create_WRK (hg_intercepts.c:...) + by 0x........: pthread_create (hg_intercepts.c:...) + by 0x........: main (hg04_race.c:19) + +---------------------------------------------------------------- + +Possible data race during write of size 1 at 0x........ by thread #x +Locks held: none + ... + +This conflicts with a previous write of size 1 by thread #x +Locks held: none + ... + by 0x........: pthread_create_WRK (hg_intercepts.c:...) + by 0x........: pthread_create (hg_intercepts.c:...) + by 0x........: main (hg04_race.c:19) + +---------------------------------------------------------------- + +Possible data race during write of size 4 at 0x........ by thread #x +Locks held: none + ... + +This conflicts with a previous write of size 4 by thread #x +Locks held: none + ... + by 0x........: pthread_create_WRK (hg_intercepts.c:...) + by 0x........: pthread_create (hg_intercepts.c:...) + by 0x........: main (hg04_race.c:19) + +---------------------------------------------------------------- + +Possible data race during read of size 4 at 0x........ by thread #x +Locks held: none + ... + +This conflicts with a previous write of size 4 by thread #x +Locks held: none + ... + by 0x........: pthread_create_WRK (hg_intercepts.c:...) + by 0x........: pthread_create (hg_intercepts.c:...) <truncated beyond 100 lines> ================================================= ./valgrind-old/helgrind/tests/hg05_race2.stderr.diff ================================================= --- hg05_race2.stderr.exp 2013-03-27 00:35:17.000000000 -0500 +++ hg05_race2.stderr.out 2013-03-27 01:08:05.000000000 -0500 @@ -1,19 +1,238 @@ ---Thread-Announcement------------------------------------------ +Thread #x is the program's root thread + +---------------------------------------------------------------- + +Thread #x's call to pthread_mutex_lock failed + with error code 22 (EINVAL: Invalid argument) + at 0x........: pthread_mutex_lock (hg_intercepts.c:...) + ... + +---------------------------------------------------------------- + +Thread #x unlocked an invalid lock at 0x........ + at 0x........: pthread_mutex_unlock (hg_intercepts.c:...) + ... + +---------------------------------------------------------------- + +Thread #x's call to pthread_mutex_unlock failed + with error code 22 (EINVAL: Invalid argument) + at 0x........: pthread_mutex_unlock (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........: pthread_create (hg_intercepts.c:...) + by 0x........: main (hg05_race2.c:27) + +---------------------------------------------------------------- + +Possible data race during read of size 4 at 0x........ by thread #x +Locks held: none + ... + +This conflicts with a previous write of size 4 by thread #x +Locks held: none + ... + by 0x........: pthread_create_WRK (hg_intercepts.c:...) + by 0x........: pthread_create (hg_intercepts.c:...) + by 0x........: main (hg05_race2.c:27) + +---------------------------------------------------------------- + +Possible data race during read of size 1 at 0x........ by thread #x +Locks held: none + ... + +This conflicts with a previous write of size 1 by thread #x +Locks held: none + ... + by 0x........: pthread_create_WRK (hg_intercepts.c:...) + by 0x........: pthread_create (hg_intercepts.c:...) + by 0x........: main (hg05_race2.c:27) + +---------------------------------------------------------------- + +Possible data race during write of size 1 at 0x........ by thread #x +Locks held: none + ... + +This conflicts with a previous write of size 1 by thread #x +Locks held: none + ... + by 0x........: pthread_create_WRK (hg_intercepts.c:...) + by 0x........: pthread_create (hg_intercepts.c:...) + by 0x........: main (hg05_race2.c:27) + +---------------------------------------------------------------- + +Possible data race during write of size 4 at 0x........ by thread #x +Locks held: none + ... + +This conflicts with a previous write of size 4 by thread #x +Locks held: none + ... + by 0x........: pthread_create_WRK (hg_intercepts.c:...) + by 0x........: pthread_create (hg_intercepts.c:...) + by 0x........: main (hg05_race2.c:27) + +---------------------------------------------------------------- + +Possible data race during read of size 4 at 0x........ by thread #x +Locks held: none + ... + +This conflicts with a previous write of size 4 by thread #x +Locks held: none + ... + by 0x........: pthread_create_WRK (hg_intercepts.c:...) + by 0x........: pthread_create (hg_intercepts.c:...) <truncated beyond 100 lines> ================================================= ./valgrind-old/helgrind/tests/hg06_readshared.stderr.diff ================================================= --- hg06_readshared.stderr.exp 2013-03-27 00:35:17.000000000 -0500 +++ hg06_readshared.stderr.out 2013-03-27 01:08:06.000000000 -0500 @@ -1,3 +1,755 @@ +---Thread-Announcement------------------------------------------ -ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) +Thread #x is the program's root thread + +---------------------------------------------------------------- + +Thread #x's call to pthread_mutex_lock failed + with error code 22 (EINVAL: Invalid argument) + at 0x........: pthread_mutex_lock (hg_intercepts.c:...) + ... + +---------------------------------------------------------------- + +Thread #x unlocked an invalid lock at 0x........ + at 0x........: pthread_mutex_unlock (hg_intercepts.c:...) + ... + +---------------------------------------------------------------- + +Thread #x's call to pthread_mutex_unlock failed + with error code 22 (EINVAL: Invalid argument) + at 0x........: pthread_mutex_unlock (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 (hg06_readshared.c:24) + +---------------------------------------------------------------- + +Possible data race during read of size 4 at 0x........ by thread #x +Locks held: none + ... + +This conflicts with a previous write of size 4 by thread #x +Locks held: none + ... + by 0x........: pthread_create_WRK (hg_intercepts.c:...) + by 0x........: pthread_create (hg_intercepts.c:...) + by 0x........: main (hg06_readshared.c:24) + +---------------------------------------------------------------- + +Possible data race during read of size 1 at 0x........ by thread #x +Locks held: none + ... + +This conflicts with a previous write of size 1 by thread #x +Locks held: none + ... + by 0x........: pthread_create_WRK (hg_intercepts.c:...) + by 0x........: pthread_create (hg_intercepts.c:...) + by 0x........: main (hg06_readshared.c:24) + +---------------------------------------------------------------- + +Possible data race during write of size 1 at 0x........ by thread #x +Locks held: none + ... + +This conflicts with a previous write of size 1 by thread #x +Locks held: none + ... + by 0x........: pthread_create_WRK (hg_intercepts.c:...) + by 0x........: pthread_create (hg_intercepts.c:...) + by 0x........: main (hg06_readshared.c:24) + +---------------------------------------------------------------- + +Possible data race during write of size 4 at 0x........ by thread #x +Locks held: none + ... + +This conflicts with a previous write of size 4 by thread #x +Locks held: none + ... + by 0x........: pthread_create_WRK (hg_intercepts.c:...) + by 0x........: pthread_create (hg_intercepts.c:...) + by 0x........: main (hg06_readshared.c:24) + +---------------------------------------------------------------- + +Possible data race during write of size 4 at 0x........ by thread #x +Locks held: none + ... + by 0x........: pthread_create_WRK (hg_intercepts.c:...) + by 0x........: pthread_create (hg_intercepts.c:...) + by 0x........: main (hg06_readshared.c:25) + +This conflicts with a previous read of size 4 by thread #x +Locks held: none <truncated beyond 100 lines> ================================================= ./valgrind-old/helgrind/tests/locked_vs_unlocked1_fwd.stderr.diff ================================================= --- locked_vs_unlocked1_fwd.stderr.exp 2013-03-27 00:35:17.000000000 -0500 +++ locked_vs_unlocked1_fwd.stderr.out 2013-03-27 01:08:07.000000000 -0500 @@ -1,18 +1,241 @@ ---Thread-Announcement------------------------------------------ +Thread #x is the program's root thread + +---------------------------------------------------------------- + +Thread #x's call to pthread_mutex_lock failed + with error code 22 (EINVAL: Invalid argument) + at 0x........: pthread_mutex_lock (hg_intercepts.c:...) + ... + +---------------------------------------------------------------- + +Thread #x unlocked an invalid lock at 0x........ + at 0x........: pthread_mutex_unlock (hg_intercepts.c:...) + ... + +---------------------------------------------------------------- + +Thread #x's call to pthread_mutex_unlock failed + with error code 22 (EINVAL: Invalid argument) + at 0x........: pthread_mutex_unlock (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........: pthread_create (hg_intercepts.c:...) + by 0x........: main (locked_vs_unlocked1.c:29) + +---------------------------------------------------------------- + +Possible data race during read of size 4 at 0x........ by thread #x +Locks held: none + ... + +This conflicts with a previous write of size 4 by thread #x +Locks held: none + ... + by 0x........: pthread_create_WRK (hg_intercepts.c:...) + by 0x........: pthread_create (hg_intercepts.c:...) + by 0x........: main (locked_vs_unlocked1.c:29) + +---------------------------------------------------------------- + +Possible data race during read of size 1 at 0x........ by thread #x +Locks held: none + ... + +This conflicts with a previous write of size 1 by thread #x +Locks held: none + ... + by 0x........: pthread_create_WRK (hg_intercepts.c:...) + by 0x........: pthread_create (hg_intercepts.c:...) + by 0x........: main (locked_vs_unlocked1.c:29) + +---------------------------------------------------------------- + +Possible data race during write of size 1 at 0x........ by thread #x +Locks held: none + ... + +This conflicts with a previous write of size 1 by thread #x +Locks held: none + ... + by 0x........: pthread_create_WRK (hg_intercepts.c:...) + by 0x........: pthread_create (hg_intercepts.c:...) + by 0x........: main (locked_vs_unlocked1.c:29) + +---------------------------------------------------------------- + +Possible data race during write of size 4 at 0x........ by thread #x +Locks held: none + ... + +This conflicts with a previous write of size 4 by thread #x +Locks held: none + ... + by 0x........: pthread_create_WRK (hg_intercepts.c:...) + by 0x........: pthread_create (hg_intercepts.c:...) + by 0x........: main (locked_vs_unlocked1.c:29) + +---------------------------------------------------------------- + +Possible data race during read of size 4 at 0x........ by thread #x +Locks held: none + ... + +This conflicts with a previous write of size 4 by thread #x +Locks held: none + ... + by 0x........: pthread_create_WRK (hg_intercepts.c:...) + by 0x........: pthread_create (hg_intercepts.c:...) + by 0x........: main (locked_vs_unlocked1.c:29) <truncated beyond 100 lines> ================================================= ./valgrind-old/helgrind/tests/locked_vs_unlocked1_rev.stderr.diff ================================================= --- locked_vs_unlocked1_rev.stderr.exp 2013-03-27 00:35:17.000000000 -0500 +++ locked_vs_unlocked1_rev.stderr.out 2013-03-27 01:08:09.000000000 -0500 @@ -1,18 +1,237 @@ ---Thread-Announcement------------------------------------------ +Thread #x is the program's root thread + +---------------------------------------------------------------- + +Thread #x's call to pthread_mutex_lock failed + with error code 22 (EINVAL: Invalid argument) + at 0x........: pthread_mutex_lock (hg_intercepts.c:...) + ... + +---------------------------------------------------------------- + +Thread #x unlocked an invalid lock at 0x........ + at 0x........: pthread_mutex_unlock (hg_intercepts.c:...) + ... + +---------------------------------------------------------------- + +Thread #x's call to pthread_mutex_unlock failed + with error code 22 (EINVAL: Invalid argument) + at 0x........: pthread_mutex_unlock (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........: pthread_create (hg_intercepts.c:...) + by 0x........: main (locked_vs_unlocked1.c:29) + +---------------------------------------------------------------- + +Possible data race during read of size 4 at 0x........ by thread #x +Locks held: none + ... + +This conflicts with a previous write of size 4 by thread #x +Locks held: none + ... + by 0x........: pthread_create_WRK (hg_intercepts.c:...) + by 0x........: pthread_create (hg_intercepts.c:...) + by 0x........: main (locked_vs_unlocked1.c:29) + +---------------------------------------------------------------- + +Possible data race during read of size 1 at 0x........ by thread #x +Locks held: none + ... + +This conflicts with a previous write of size 1 by thread #x +Locks held: none + ... + by 0x........: pthread_create_WRK (hg_intercepts.c:...) + by 0x........: pthread_create (hg_intercepts.c:...) + by 0x........: main (locked_vs_unlocked1.c:29) + +---------------------------------------------------------------- + +Possible data race during write of size 1 at 0x........ by thread #x +Locks held: none + ... + +This conflicts with a previous write of size 1 by thread #x +Locks held: none + ... + by 0x........: pthread_create_WRK (hg_intercepts.c:...) + by 0x........: pthread_create (hg_intercepts.c:...) + by 0x........: main (locked_vs_unlocked1.c:29) + +---------------------------------------------------------------- + +Possible data race during write of size 4 at 0x........ by thread #x +Locks held: none + ... + +This conflicts with a previous write of size 4 by thread #x +Locks held: none + ... + by 0x........: pthread_create_WRK (hg_intercepts.c:...) + by 0x........: pthread_create (hg_intercepts.c:...) + by 0x........: main (locked_vs_unlocked1.c:29) + +---------------------------------------------------------------- + +Possible data race during read of size 4 at 0x........ by thread #x +Locks held: none + ... + +This conflicts with a previous write of size 4 by thread #x +Locks held: none + ... + by 0x........: pthread_create_WRK (hg_intercepts.c:...) + by 0x........: pthread_create (hg_intercepts.c:...) + by 0x........: main (locked_vs_unlocked1.c:29) <truncated... [truncated message content] |