|
From: <iv...@iv...> - 2016-10-24 13:35:42
|
valgrind revision: 16103
VEX revision: 3283
C compiler: gcc (GCC) 5.4.0
GDB: GNU gdb (GDB) 7.11
Assembler: GNU assembler (GNU Binutils) 2.25.1
C library: Solaris libc
uname -mrs: SunOS 5.12 i86pc
Vendor version: Oracle Solaris 12.0 X86
Nightly build on solaris12 ( Solaris 12 x86 )
Started at 2016-10-24 11:33:43
Ended at 2016-10-24 13:32:12
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
== 762 tests, 13 stderr failures, 0 stdout failures, 1 stderrB failure, 0 stdoutB failures, 0 post failures ==
gdbserver_tests/hginfo (stderrB)
memcheck/tests/dw4 (stderr)
memcheck/tests/leak_cpp_interior (stderr)
memcheck/tests/solaris/lsframe2 (stderr)
helgrind/tests/bar_bad (stderr)
helgrind/tests/free_is_write (stderr)
helgrind/tests/pth_barrier1 (stderr)
helgrind/tests/pth_barrier2 (stderr)
helgrind/tests/rwlock_test (stderr)
helgrind/tests/tc21_pthonce (stderr)
helgrind/tests/tls_threads (stderr)
drd/tests/omp_printf (stderr)
exp-sgcheck/tests/preen_invars (stderr)
exp-sgcheck/tests/stackerr (stderr)
Last 20 lines of verbose log follow echo
== 762 tests, 13 stderr failures, 0 stdout failures, 1 stderrB failure, 0 stdoutB failures, 0 post failures ==
gdbserver_tests/hginfo (stderrB)
memcheck/tests/dw4 (stderr)
memcheck/tests/leak_cpp_interior (stderr)
memcheck/tests/solaris/lsframe2 (stderr)
helgrind/tests/bar_bad (stderr)
helgrind/tests/free_is_write (stderr)
helgrind/tests/pth_barrier1 (stderr)
helgrind/tests/pth_barrier2 (stderr)
helgrind/tests/rwlock_test (stderr)
helgrind/tests/tc21_pthonce (stderr)
helgrind/tests/tls_threads (stderr)
drd/tests/omp_printf (stderr)
exp-sgcheck/tests/preen_invars (stderr)
exp-sgcheck/tests/stackerr (stderr)
...checking makefile consistency
...checking header files and include directives
make: *** [Makefile:1255: regtest] Error 1
=================================================
== 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
== 762 tests, 13 stderr failures, 0 stdout failures, 1 stderrB failure, 0 stdoutB failures, 0 post failures ==
gdbserver_tests/hginfo (stderrB)
memcheck/tests/dw4 (stderr)
memcheck/tests/leak_cpp_interior (stderr)
memcheck/tests/solaris/lsframe2 (stderr)
helgrind/tests/annotate_rwlock (stderr)
helgrind/tests/bar_bad (stderr)
helgrind/tests/free_is_write (stderr)
helgrind/tests/pth_barrier1 (stderr)
helgrind/tests/pth_barrier2 (stderr)
helgrind/tests/tc21_pthonce (stderr)
helgrind/tests/tls_threads (stderr)
drd/tests/omp_printf (stderr)
exp-sgcheck/tests/preen_invars (stderr)
exp-sgcheck/tests/stackerr (stderr)
Last 20 lines of verbose log follow echo
== 762 tests, 13 stderr failures, 0 stdout failures, 1 stderrB failure, 0 stdoutB failures, 0 post failures ==
gdbserver_tests/hginfo (stderrB)
memcheck/tests/dw4 (stderr)
memcheck/tests/leak_cpp_interior (stderr)
memcheck/tests/solaris/lsframe2 (stderr)
helgrind/tests/annotate_rwlock (stderr)
helgrind/tests/bar_bad (stderr)
helgrind/tests/free_is_write (stderr)
helgrind/tests/pth_barrier1 (stderr)
helgrind/tests/pth_barrier2 (stderr)
helgrind/tests/tc21_pthonce (stderr)
helgrind/tests/tls_threads (stderr)
drd/tests/omp_printf (stderr)
exp-sgcheck/tests/preen_invars (stderr)
exp-sgcheck/tests/stackerr (stderr)
...checking makefile consistency
...checking header files and include directives
make: *** [Makefile:1255: regtest] Error 1
=================================================
== Difference between 24 hours ago and now ==
=================================================
--- old.short 2016-10-24 13:34:13.000419617 +0000
+++ new.short 2016-10-24 14:31:21.619506777 +0000
@@ -13,3 +13,2 @@
memcheck/tests/solaris/lsframe2 (stderr)
-helgrind/tests/annotate_rwlock (stderr)
helgrind/tests/bar_bad (stderr)
@@ -18,2 +17,3 @@
helgrind/tests/pth_barrier2 (stderr)
+helgrind/tests/rwlock_test (stderr)
helgrind/tests/tc21_pthonce (stderr)
@@ -32,3 +32,2 @@
memcheck/tests/solaris/lsframe2 (stderr)
-helgrind/tests/annotate_rwlock (stderr)
helgrind/tests/bar_bad (stderr)
@@ -37,2 +36,3 @@
helgrind/tests/pth_barrier2 (stderr)
+helgrind/tests/rwlock_test (stderr)
helgrind/tests/tc21_pthonce (stderr)
--tools=none,memcheck,callgrind,helgrind,cachegrind,drd,massif --reps=3 --vg=../valgrind-new --vg=../valgrind-old
-- Running tests in perf ----------------------------------------------
-- bigcode1 --
bigcode1 valgrind-new:0.17s no: 2.3s (13.3x, -----) me: 4.2s (24.6x, -----) ca:
*** Command returned non-zero (256)
*** See perf.{cmd,stdout,stderr} to determine what went wrong.
real 0m50.82s
user 0m44.39s
sys 0m4.64s
=================================================
./valgrind-new/drd/tests/omp_printf.stderr.diff
=================================================
--- omp_printf.stderr.exp 2016-10-24 13:35:06.659675749 +0000
+++ omp_printf.stderr.out 2016-10-24 14:24:29.248912216 +0000
@@ -1,4 +1,45 @@
+Thread 4:
+Conflicting load by thread 4 at 0x........ size 4
+ at 0x........: main._omp_fn.0 (omp_printf.c:?)
+ by 0x........: gomp_thread_start (team.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+Allocation context: BSS section of omp_printf
+Other segment start (thread 3)
+ at 0x........: sem_wait (drd_pthread_intercepts.c:?)
+ by 0x........: gomp_sem_wait (sem.c:?)
+ by 0x........: gomp_barrier_wait_end (bar.c:?)
+ by 0x........: gomp_thread_start (team.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+Other segment end (thread 3)
+ at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?)
+ by 0x........: main._omp_fn.0 (omp_printf.c:?)
+ by 0x........: gomp_thread_start (team.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+
+Thread 1:
+Conflicting load by thread 1 at 0x........ size 4
+ at 0x........: main._omp_fn.0 (omp_printf.c:?)
+ by 0x........: GOMP_parallel (parallel.c:?)
+ by 0x........: main (omp_printf.c:?)
+Allocation context: BSS section of omp_printf
+Other segment start (thread 3)
+ at 0x........: sem_wait (drd_pthread_intercepts.c:?)
+ by 0x........: gomp_sem_wait (sem.c:?)
+ by 0x........: gomp_barrier_wait_end (bar.c:?)
+ by 0x........: gomp_thread_start (team.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+Other segment end (thread 3)
+ at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?)
+ by 0x........: main._omp_fn.0 (omp_printf.c:?)
+ by 0x........: gomp_thread_start (team.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+
Finished.
-ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 9 errors from 2 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/exp-sgcheck/tests/preen_invars.stderr.diff-glibc28-amd64
=================================================
--- preen_invars.stderr.exp-glibc28-amd64 2016-10-24 13:34:30.989468348 +0000
+++ preen_invars.stderr.out 2016-10-24 14:28:40.554112081 +0000
@@ -1,9 +1,3 @@
-Invalid read of size 1
- at 0x........: main (preen_invars.c:22)
- Address 0x........ expected vs actual:
- Expected: unknown
- Actual: global array "im_a_global_arr" of size 10 in object with soname "preen_invars_so"
-
-ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/exp-sgcheck/tests/stackerr.stderr.diff-glibc27-x86
=================================================
--- stackerr.stderr.exp-glibc27-x86 2016-10-24 13:34:30.981131499 +0000
+++ stackerr.stderr.out 2016-10-24 14:28:42.873480042 +0000
@@ -1,28 +1,27 @@
-Invalid write of size 4
+Invalid write of size 8
at 0x........: foo (stackerr.c:27)
by 0x........: bar (stackerr.c:32)
by 0x........: main (stackerr.c:41)
Address 0x........ expected vs actual:
- Expected: stack array "a" of size 28 in frame 2 back from here
- Actual: stack array "beforea" of size 12 in frame 2 back from here
+ Expected: stack array "a" of size 56 in frame 2 back from here
+ Actual: unknown
Actual: is 0 after Expected
-Invalid write of size 4
+Invalid write of size 8
at 0x........: main (stackerr.c:44)
Address 0x........ expected vs actual:
- Expected: stack array "a" of size 28 in this frame
- Actual: stack array "beforea" of size 12 in this frame
+ Expected: stack array "a" of size 56 in this frame
+ Actual: unknown
Actual: is 0 after Expected
Invalid write of size 1
- at 0x........: _IO_default_xsputn (in /...libc...)
- by 0x........: ...
- by 0x........: ...
+ at 0x........: memcpy (h_intercepts.c:...)
+ by 0x........: _ndoprnt_s (in /...libc...)
+ by 0x........: _ndoprnt (in /...libc...)
Address 0x........ expected vs actual:
- Expected: stack array "buf" of size 8 in frame 4 back from here
- Actual: stack array "beforebuf" of size 8 in frame 4 back from here
- Actual: is 0 after Expected
+ Expected: unknown
+ Actual: stack array "buf" of size 8 in frame 4 back from here
ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/exp-sgcheck/tests/stackerr.stderr.diff-glibc28-amd64
=================================================
--- stackerr.stderr.exp-glibc28-amd64 2016-10-24 13:34:31.015105930 +0000
+++ stackerr.stderr.out 2016-10-24 14:28:42.873480042 +0000
@@ -16,13 +16,12 @@
Actual: is 0 after Expected
Invalid write of size 1
- at 0x........: _IO_default_xsputn (in /...libc...)
- by 0x........: ...
- by 0x........: ...
+ at 0x........: memcpy (h_intercepts.c:...)
+ by 0x........: _ndoprnt_s (in /...libc...)
+ by 0x........: _ndoprnt (in /...libc...)
Address 0x........ expected vs actual:
- Expected: stack array "buf" of size 8 in frame 4 back from here
- Actual: unknown
- Actual: is 0 after Expected
+ Expected: unknown
+ Actual: stack array "buf" of size 8 in frame 4 back from here
ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/gdbserver_tests/hginfo.stderrB.diff
=================================================
--- hginfo.stderrB.exp 2016-10-24 13:34:16.594301041 +0000
+++ hginfo.stderrB.out 2016-10-24 13:49:58.348051862 +0000
@@ -16,4 +16,4 @@
kind mbRec
{ W1:thread #x tid #x }
}
- Address 0x........ is 0 bytes inside an unallocated block of size 1,008 in arena "client"
+ Address 0x........ is 0 bytes inside an unallocated block of size 4,194,208 in arena "client"
=================================================
./valgrind-new/helgrind/tests/bar_bad.stderr.diff
=================================================
--- bar_bad.stderr.exp 2016-10-24 13:34:38.549567832 +0000
+++ bar_bad.stderr.out 2016-10-24 14:17:53.723911530 +0000
@@ -39,6 +39,73 @@
at 0x........: pthread_barrier_init (hg_intercepts.c:...)
by 0x........: main (bar_bad.c:64)
+---Thread-Announcement------------------------------------------
+
+Thread #x was created
+ ...
+ by 0x........: pthread_create@* (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:60)
+
+----------------------------------------------------------------
+
+ Lock at 0x........ was first observed
+ at 0x........: pthread_mutex_init (hg_intercepts.c:...)
+ ...
+ by 0x........: pthread_barrier_init (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:55)
+ Address 0x........ is 24 bytes inside a block of size 64 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (bar_bad.c:54)
+ Block was alloc'd by thread #x
+
+Possible data race during write of size 4 at 0x........ by thread #x
+Locks held: none
+ ...
+ by 0x........: pthread_barrier_init (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:64)
+
+This conflicts with a previous write of size 4 by thread #x
+Locks held: 1, at address 0x........
+ ...
+ by 0x........: pthread_barrier_wait (hg_intercepts.c:...)
+ by 0x........: child1 (bar_bad.c:14)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+ Address 0x........ is 4 bytes inside a block of size 64 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (bar_bad.c:54)
+ Block was alloc'd by thread #x
+
+----------------------------------------------------------------
+
+ Lock at 0x........ was first observed
+ at 0x........: pthread_mutex_init (hg_intercepts.c:...)
+ ...
+ by 0x........: pthread_barrier_init (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:55)
+ Address 0x........ is 24 bytes inside a block of size 64 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (bar_bad.c:54)
+ Block was alloc'd by thread #x
+
+Possible data race during write of size 8 at 0x........ by thread #x
+Locks held: none
+ ...
+ by 0x........: pthread_barrier_init (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:64)
+
+This conflicts with a previous read of size 8 by thread #x
+Locks held: 1, at address 0x........
+ ...
+ by 0x........: pthread_barrier_wait (hg_intercepts.c:...)
+ by 0x........: child1 (bar_bad.c:14)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+ Address 0x........ is 8 bytes inside a block of size 64 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (bar_bad.c:54)
+ Block was alloc'd by thread #x
+
destroy a barrier that has waiting threads
----------------------------------------------------------------
@@ -49,11 +116,60 @@
----------------------------------------------------------------
-Thread #x's call to pthread_barrier_destroy failed
- with error code 16 (EBUSY: Device or resource busy)
- at 0x........: pthread_barrier_destroy (hg_intercepts.c:...)
+Thread #x: pthread_cond_destroy: destruction of condition variable being waited upon
+ at 0x........: pthread_cond_destroy_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_cond_destroy@* (hg_intercepts.c:...)
+ ...
+ by 0x........: pthread_barrier_destroy (hg_intercepts.c:...)
by 0x........: main (bar_bad.c:82)
+---Thread-Announcement------------------------------------------
+
+Thread #x was created
+ ...
+ by 0x........: pthread_create@* (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:78)
+
+----------------------------------------------------------------
+
+Possible data race during write of size 4 at 0x........ by thread #x
<truncated beyond 100 lines>
=================================================
./valgrind-new/helgrind/tests/bar_bad.stderr.diff-destroy-hang
=================================================
--- bar_bad.stderr.exp-destroy-hang 2016-10-24 13:34:38.369759396 +0000
+++ bar_bad.stderr.out 2016-10-24 14:17:53.723911530 +0000
@@ -39,6 +39,73 @@
at 0x........: pthread_barrier_init (hg_intercepts.c:...)
by 0x........: main (bar_bad.c:64)
+---Thread-Announcement------------------------------------------
+
+Thread #x was created
+ ...
+ by 0x........: pthread_create@* (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:60)
+
+----------------------------------------------------------------
+
+ Lock at 0x........ was first observed
+ at 0x........: pthread_mutex_init (hg_intercepts.c:...)
+ ...
+ by 0x........: pthread_barrier_init (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:55)
+ Address 0x........ is 24 bytes inside a block of size 64 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (bar_bad.c:54)
+ Block was alloc'd by thread #x
+
+Possible data race during write of size 4 at 0x........ by thread #x
+Locks held: none
+ ...
+ by 0x........: pthread_barrier_init (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:64)
+
+This conflicts with a previous write of size 4 by thread #x
+Locks held: 1, at address 0x........
+ ...
+ by 0x........: pthread_barrier_wait (hg_intercepts.c:...)
+ by 0x........: child1 (bar_bad.c:14)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+ Address 0x........ is 4 bytes inside a block of size 64 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (bar_bad.c:54)
+ Block was alloc'd by thread #x
+
+----------------------------------------------------------------
+
+ Lock at 0x........ was first observed
+ at 0x........: pthread_mutex_init (hg_intercepts.c:...)
+ ...
+ by 0x........: pthread_barrier_init (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:55)
+ Address 0x........ is 24 bytes inside a block of size 64 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (bar_bad.c:54)
+ Block was alloc'd by thread #x
+
+Possible data race during write of size 8 at 0x........ by thread #x
+Locks held: none
+ ...
+ by 0x........: pthread_barrier_init (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:64)
+
+This conflicts with a previous read of size 8 by thread #x
+Locks held: 1, at address 0x........
+ ...
+ by 0x........: pthread_barrier_wait (hg_intercepts.c:...)
+ by 0x........: child1 (bar_bad.c:14)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+ Address 0x........ is 8 bytes inside a block of size 64 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (bar_bad.c:54)
+ Block was alloc'd by thread #x
+
destroy a barrier that has waiting threads
----------------------------------------------------------------
@@ -47,20 +114,61 @@
at 0x........: pthread_barrier_destroy (hg_intercepts.c:...)
by 0x........: main (bar_bad.c:82)
+----------------------------------------------------------------
+
+Thread #x: pthread_cond_destroy: destruction of condition variable being waited upon
+ at 0x........: pthread_cond_destroy_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_cond_destroy@* (hg_intercepts.c:...)
+ ...
+ by 0x........: pthread_barrier_destroy (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:82)
+
---Thread-Announcement------------------------------------------
Thread #x was created
...
by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: main (bar_bad.c:76)
+ by 0x........: main (bar_bad.c:78)
+
+----------------------------------------------------------------
+
+Possible data race during write of size 4 at 0x........ by thread #x
<truncated beyond 100 lines>
=================================================
./valgrind-new/helgrind/tests/free_is_write.stderr.diff
=================================================
--- free_is_write.stderr.exp 2016-10-24 13:34:38.483694282 +0000
+++ free_is_write.stderr.out 2016-10-24 14:18:03.435618915 +0000
@@ -23,7 +23,7 @@
This conflicts with a previous read of size 1 by thread #x
Locks held: none
at 0x........: main (free_is_write.c:36)
- Address 0x........ is 5 bytes inside an unallocated block of size 16 in arena "client"
+ Address 0x........ is 5 bytes inside an unallocated block of size 4,194,208 in arena "client"
Done.
=================================================
./valgrind-new/helgrind/tests/pth_barrier1.stderr.diff
=================================================
--- pth_barrier1.stderr.exp 2016-10-24 13:34:38.707738686 +0000
+++ pth_barrier1.stderr.out 2016-10-24 14:18:32.838547877 +0000
@@ -1,39 +0,0 @@
----Thread-Announcement------------------------------------------
-
-Thread #x was created
- ...
- by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: barriers_and_races (pth_barrier.c:92)
- by 0x........: main (pth_barrier.c:122)
-
----Thread-Announcement------------------------------------------
-
-Thread #x was created
- ...
- by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: barriers_and_races (pth_barrier.c:92)
- by 0x........: main (pth_barrier.c:122)
-
----Thread-Announcement------------------------------------------
-
-Thread #x is the program's root thread
-
-----------------------------------------------------------------
-
-Possible data race during write of size 1 at 0x........ by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
-
-This conflicts with a previous write of size 1 by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
- Address 0x........ is 0 bytes inside a block of size 1 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: barriers_and_races (pth_barrier.c:76)
- by 0x........: main (pth_barrier.c:122)
- Block was alloc'd by thread #x
-
=================================================
./valgrind-new/helgrind/tests/pth_barrier2.stderr.diff
=================================================
--- pth_barrier2.stderr.exp 2016-10-24 13:34:38.291861369 +0000
+++ pth_barrier2.stderr.out 2016-10-24 14:18:34.800047891 +0000
@@ -50,579 +50,9 @@
at 0x........: threadfunc (pth_barrier.c:60)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
...
- Address 0x........ is 1 bytes inside a block of size 32 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: barriers_and_races (pth_barrier.c:76)
- by 0x........: main (pth_barrier.c:122)
- Block was alloc'd by thread #x
-
-----------------------------------------------------------------
-
-Possible data race during write of size 1 at 0x........ by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
-
-This conflicts with a previous write of size 1 by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
- Address 0x........ is 2 bytes inside a block of size 32 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: barriers_and_races (pth_barrier.c:76)
- by 0x........: main (pth_barrier.c:122)
- Block was alloc'd by thread #x
-
-----------------------------------------------------------------
-
-Possible data race during write of size 1 at 0x........ by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
-
-This conflicts with a previous write of size 1 by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
- Address 0x........ is 3 bytes inside a block of size 32 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: barriers_and_races (pth_barrier.c:76)
- by 0x........: main (pth_barrier.c:122)
- Block was alloc'd by thread #x
-
-----------------------------------------------------------------
-
-Possible data race during write of size 1 at 0x........ by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
-
-This conflicts with a previous write of size 1 by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
- Address 0x........ is 4 bytes inside a block of size 32 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: barriers_and_races (pth_barrier.c:76)
- by 0x........: main (pth_barrier.c:122)
- Block was alloc'd by thread #x
-
-----------------------------------------------------------------
-
-Possible data race during write of size 1 at 0x........ by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
-
-This conflicts with a previous write of size 1 by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
- Address 0x........ is 5 bytes inside a block of size 32 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: barriers_and_races (pth_barrier.c:76)
- by 0x........: main (pth_barrier.c:122)
- Block was alloc'd by thread #x
-
-----------------------------------------------------------------
-
-Possible data race during write of size 1 at 0x........ by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
-
-This conflicts with a previous write of size 1 by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
<truncated beyond 100 lines>
=================================================
./valgrind-new/helgrind/tests/rwlock_test.stderr.diff
=================================================
--- rwlock_test.stderr.exp 2016-10-24 13:34:38.602869411 +0000
+++ rwlock_test.stderr.out 2016-10-24 14:18:45.180549725 +0000
@@ -1,6 +1,27 @@
+---Thread-Announcement------------------------------------------
+
+Thread #x was created
+ ...
+ by 0x........: pthread_create@* (hg_intercepts.c:...)
+ by 0x........: main (rwlock_test.c:90)
+
+----------------------------------------------------------------
+
+Possible data race during read of size 8 at 0x........ by thread #x
+Locks held: none
+ ...
+ Address 0x........ is on thread #x's stack
+
+----------------------------------------------------------------
+
+Possible data race during write of size 8 at 0x........ by thread #x
+Locks held: none
+ ...
+ Address 0x........ is on thread #x's stack
+
s_counter - expected_counter = 0
s_grand_sum - expected_grand_sum = 0
Finished.
-ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/helgrind/tests/tc21_pthonce.stderr.diff
=================================================
--- tc21_pthonce.stderr.exp 2016-10-24 13:34:38.317318122 +0000
+++ tc21_pthonce.stderr.out 2016-10-24 14:19:54.590246652 +0000
@@ -15,6 +15,34 @@
----------------------------------------------------------------
+ Lock at 0x........ was first observed
+ at 0x........: mutex_lock_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_mutex_lock (hg_intercepts.c:...)
+ ...
+ by 0x........: child (tc21_pthonce.c:72)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+ Location 0x........ is 0 bytes inside welcome_once_block.__pthread_once_pad[0],
+ a global variable declared at tc21_pthonce.c:48
+
+Possible data race during read of size 4 at 0x........ by thread #x
+Locks held: none
+ ...
+ by 0x........: child (tc21_pthonce.c:72)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+
+This conflicts with a previous write of size 4 by thread #x
+Locks held: 1, at address 0x........
+ ...
+ by 0x........: child (tc21_pthonce.c:72)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+ Location 0x........ is 4 bytes inside welcome_once_block.__pthread_once_pad[3],
+ a global variable declared at tc21_pthonce.c:48
+
+----------------------------------------------------------------
+
Possible data race during read of size 4 at 0x........ by thread #x
Locks held: none
at 0x........: child (tc21_pthonce.c:74)
@@ -46,4 +74,4 @@
declared at tc21_pthonce.c:51
-ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/helgrind/tests/tls_threads.stderr.diff
=================================================
--- tls_threads.stderr.exp 2016-10-24 13:34:38.846250601 +0000
+++ tls_threads.stderr.out 2016-10-24 14:20:08.770830999 +0000
@@ -1,2 +1,3 @@
+--1970:0: sched WARNING: pthread stack cache cannot be disabled!
starting join in main
finished join in main
=================================================
./valgrind-new/memcheck/tests/dw4.stderr.diff
=================================================
--- dw4.stderr.exp 2016-10-24 13:34:19.930949070 +0000
+++ dw4.stderr.out 2016-10-24 13:54:48.579255847 +0000
@@ -35,12 +35,12 @@
Uninitialised byte(s) found during client check request
at 0x........: croak (dw4.c:32)
by 0x........: main (dw4.c:89)
- Address 0x........ is in the brk data segment 0x........-0x........
+ Address 0x........ is in a rw- mapped file /export/home/tester1/nightly/valgrind-new/memcheck/tests/dw4 segment
Uninitialised byte(s) found during client check request
at 0x........: croak (dw4.c:32)
by 0x........: main (dw4.c:91)
- Address 0x........ is in the brk data segment 0x........-0x........
+ Address 0x........ is in a rw- mapped file /export/home/tester1/nightly/valgrind-new/memcheck/tests/dw4 segment
Unaddressable byte(s) found during client check request
at 0x........: croak (dw4.c:25)
=================================================
./valgrind-new/memcheck/tests/dw4.stderr.diff-solaris
=================================================
--- dw4.stderr.exp-solaris 2016-10-24 13:34:27.556419162 +0000
+++ dw4.stderr.out 2016-10-24 13:54:48.579255847 +0000
@@ -35,12 +35,12 @@
Uninitialised byte(s) found during client check request
at 0x........: croak (dw4.c:32)
by 0x........: main (dw4.c:89)
- Address 0x........ is in the brk data segment 0x........-0x........
+ Address 0x........ is in a rw- mapped file /export/home/tester1/nightly/valgrind-new/memcheck/tests/dw4 segment
Uninitialised byte(s) found during client check request
at 0x........: croak (dw4.c:32)
by 0x........: main (dw4.c:91)
- Address 0x........ is in the brk data segment 0x........-0x........
+ Address 0x........ is in a rw- mapped file /export/home/tester1/nightly/valgrind-new/memcheck/tests/dw4 segment
Unaddressable byte(s) found during client check request
at 0x........: croak (dw4.c:25)
=================================================
./valgrind-new/memcheck/tests/leak_cpp_interior.stderr.diff
=================================================
--- leak_cpp_interior.stderr.exp 2016-10-24 13:34:20.861362995 +0000
+++ leak_cpp_interior.stderr.out 2016-10-24 13:56:15.459820413 +0000
@@ -1,118 +1,112 @@
valgrind output will go to log
VALGRIND_DO_LEAK_CHECK
-4 bytes in 1 blocks are definitely lost in loss record ... of ...
+8 bytes in 1 blocks are definitely lost in loss record ... of ...
by 0x........: doit() (leak_cpp_interior.cpp:115)
by 0x........: main (leak_cpp_interior.cpp:130)
LEAK SUMMARY:
- definitely lost: 4 bytes in 1 blocks
+ definitely lost: 8 bytes in 1 blocks
indirectly lost: 0 bytes in 0 blocks
possibly lost: 0 bytes in 0 blocks
- still reachable: 163 bytes in 8 blocks
+ still reachable: 72,894 bytes in 8 blocks
of which reachable via heuristic:
- stdstring : 56 bytes in 2 blocks
length64 : 31 bytes in 1 blocks
- newarray : 28 bytes in 1 blocks
- multipleinheritance: 24 bytes in 2 blocks
+ newarray : 32 bytes in 1 blocks
+ multipleinheritance: 48 bytes in 2 blocks
suppressed: 0 bytes in 0 blocks
Reachable blocks (those to which a pointer was found) are not shown.
To see them, rerun with: --leak-check=full --show-leak-kinds=all
leak_check summary heuristics multipleinheritance
LEAK SUMMARY:
- definitely lost: 4 (+0) bytes in 1 (+0) blocks
+ definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
- possibly lost: 115 (+115) bytes in 4 (+4) blocks
- still reachable: 48 (-115) bytes in 4 (-4) blocks
+ possibly lost: 63 (+63) bytes in 2 (+2) blocks
+ still reachable: 72,831 (-63) bytes in 6 (-2) blocks
of which reachable via heuristic:
- stdstring : 0 (-56) bytes in 0 (-2) blocks
length64 : 0 (-31) bytes in 0 (-1) blocks
- newarray : 0 (-28) bytes in 0 (-1) blocks
- multipleinheritance: 24 (+0) bytes in 2 (+0) blocks
+ newarray : 0 (-32) bytes in 0 (-1) blocks
+ multipleinheritance: 48 (+0) bytes in 2 (+0) blocks
suppressed: 0 (+0) bytes in 0 (+0) blocks
To see details of leaked memory, give 'full' arg to leak_check
leak_check summary any heuristics newarray
LEAK SUMMARY:
- definitely lost: 4 (+0) bytes in 1 (+0) blocks
+ definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
- possibly lost: 111 (-4) bytes in 5 (+1) blocks
- still reachable: 52 (+4) bytes in 3 (-1) blocks
+ possibly lost: 48 (-15) bytes in 2 (+0) blocks
+ still reachable: 72,846 (+15) bytes in 6 (+0) blocks
of which reachable via heuristic:
- newarray : 28 (+28) bytes in 1 (+1) blocks
- multipleinheritance: 0 (-24) bytes in 0 (-2) blocks
+ newarray : 63 (+63) bytes in 2 (+2) blocks
+ multipleinheritance: 0 (-48) bytes in 0 (-2) blocks
suppressed: 0 (+0) bytes in 0 (+0) blocks
To see details of leaked memory, give 'full' arg to leak_check
leak_check summary heuristics length64
LEAK SUMMARY:
- definitely lost: 4 (+0) bytes in 1 (+0) blocks
+ definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
- possibly lost: 108 (-3) bytes in 5 (+0) blocks
- still reachable: 55 (+3) bytes in 3 (+0) blocks
+ possibly lost: 80 (+32) bytes in 3 (+1) blocks
+ still reachable: 72,814 (-32) bytes in 5 (-1) blocks
of which reachable via heuristic:
length64 : 31 (+31) bytes in 1 (+1) blocks
- newarray : 0 (-28) bytes in 0 (-1) blocks
+ newarray : 0 (-63) bytes in 0 (-2) blocks
suppressed: 0 (+0) bytes in 0 (+0) blocks
To see details of leaked memory, give 'full' arg to leak_check
leak_check summary heuristics stdstring
LEAK SUMMARY:
- definitely lost: 4 (+0) bytes in 1 (+0) blocks
+ definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
- possibly lost: 83 (-25) bytes in 4 (-1) blocks
- still reachable: 80 (+25) bytes in 4 (+1) blocks
+ possibly lost: 111 (+31) bytes in 4 (+1) blocks
+ still reachable: 72,783 (-31) bytes in 4 (-1) blocks
of which reachable via heuristic:
- stdstring : 56 (+56) bytes in 2 (+2) blocks
length64 : 0 (-31) bytes in 0 (-1) blocks
suppressed: 0 (+0) bytes in 0 (+0) blocks
To see details of leaked memory, give 'full' arg to leak_check
leak_check summary heuristics multipleinheritance,newarray,stdstring,length64
LEAK SUMMARY:
- definitely lost: 4 (+0) bytes in 1 (+0) blocks
+ definitely lost: 8 (+0) bytes in 1 (+0) blocks
<truncated beyond 100 lines>
=================================================
./valgrind-new/memcheck/tests/leak_cpp_interior.stderr.diff-64bit
=================================================
--- leak_cpp_interior.stderr.exp-64bit 2016-10-24 13:34:19.729459701 +0000
+++ leak_cpp_interior.stderr.out 2016-10-24 13:56:15.459820413 +0000
@@ -9,9 +9,8 @@
definitely lost: 8 bytes in 1 blocks
indirectly lost: 0 bytes in 0 blocks
possibly lost: 0 bytes in 0 blocks
- still reachable: 239 bytes in 8 blocks
+ still reachable: 72,894 bytes in 8 blocks
of which reachable via heuristic:
- stdstring : 80 bytes in 2 blocks
length64 : 31 bytes in 1 blocks
newarray : 32 bytes in 1 blocks
multipleinheritance: 48 bytes in 2 blocks
@@ -23,10 +22,9 @@
LEAK SUMMARY:
definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
- possibly lost: 143 (+143) bytes in 4 (+4) blocks
- still reachable: 96 (-143) bytes in 4 (-4) blocks
+ possibly lost: 63 (+63) bytes in 2 (+2) blocks
+ still reachable: 72,831 (-63) bytes in 6 (-2) blocks
of which reachable via heuristic:
- stdstring : 0 (-80) bytes in 0 (-2) blocks
length64 : 0 (-31) bytes in 0 (-1) blocks
newarray : 0 (-32) bytes in 0 (-1) blocks
multipleinheritance: 48 (+0) bytes in 2 (+0) blocks
@@ -37,8 +35,8 @@
LEAK SUMMARY:
definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
- possibly lost: 128 (-15) bytes in 4 (+0) blocks
- still reachable: 111 (+15) bytes in 4 (+0) blocks
+ possibly lost: 48 (-15) bytes in 2 (+0) blocks
+ still reachable: 72,846 (+15) bytes in 6 (+0) blocks
of which reachable via heuristic:
newarray : 63 (+63) bytes in 2 (+2) blocks
multipleinheritance: 0 (-48) bytes in 0 (-2) blocks
@@ -49,8 +47,8 @@
LEAK SUMMARY:
definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
- possibly lost: 160 (+32) bytes in 5 (+1) blocks
- still reachable: 79 (-32) bytes in 3 (-1) blocks
+ possibly lost: 80 (+32) bytes in 3 (+1) blocks
+ still reachable: 72,814 (-32) bytes in 5 (-1) blocks
of which reachable via heuristic:
length64 : 31 (+31) bytes in 1 (+1) blocks
newarray : 0 (-63) bytes in 0 (-2) blocks
@@ -61,10 +59,9 @@
LEAK SUMMARY:
definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
- possibly lost: 111 (-49) bytes in 4 (-1) blocks
- still reachable: 128 (+49) bytes in 4 (+1) blocks
+ possibly lost: 111 (+31) bytes in 4 (+1) blocks
+ still reachable: 72,783 (-31) bytes in 4 (-1) blocks
of which reachable via heuristic:
- stdstring : 80 (+80) bytes in 2 (+2) blocks
length64 : 0 (-31) bytes in 0 (-1) blocks
suppressed: 0 (+0) bytes in 0 (+0) blocks
To see details of leaked memory, give 'full' arg to leak_check
@@ -74,9 +71,8 @@
definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
possibly lost: 0 (-111) bytes in 0 (-4) blocks
- still reachable: 239 (+111) bytes in 8 (+4) blocks
+ still reachable: 72,894 (+111) bytes in 8 (+4) blocks
of which reachable via heuristic:
- stdstring : 80 (+0) bytes in 2 (+0) blocks
length64 : 31 (+31) bytes in 1 (+1) blocks
newarray : 32 (+32) bytes in 1 (+1) blocks
multipleinheritance: 48 (+48) bytes in 2 (+2) blocks
@@ -88,9 +84,8 @@
definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
possibly lost: 0 (+0) bytes in 0 (+0) blocks
- still reachable: 239 (+0) bytes in 8 (+0) blocks
+ still reachable: 72,894 (+0) bytes in 8 (+0) blocks
of which reachable via heuristic:
- stdstring : 80 (+0) bytes in 2 (+0) blocks
length64 : 31 (+0) bytes in 1 (+0) blocks
newarray : 32 (+0) bytes in 1 (+0) blocks
multipleinheritance: 48 (+0) bytes in 2 (+0) blocks
@@ -101,10 +96,9 @@
LEAK SUMMARY:
definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
- possibly lost: 191 (+191) bytes in 6 (+6) blocks
- still reachable: 48 (-191) bytes in 2 (-6) blocks
+ possibly lost: 111 (+111) bytes in 4 (+4) blocks
+ still reachable: 72,783 (-111) bytes in 4 (-4) blocks
of which reachable via heuristic:
- stdstring : 0 (-80) bytes in 0 (-2) blocks
length64 : 0 (-31) bytes in 0 (-1) blocks
newarray : 0 (-32) bytes in 0 (-1) blocks
multipleinheritance: 0 (-48) bytes in 0 (-2) blocks
@@ -133,10 +127,16 @@
Finished!
HEAP SUMMARY:
<truncated beyond 100 lines>
=================================================
./valgrind-new/memcheck/tests/leak_cpp_interior.stderr.diff-64bit-solaris
=================================================
--- leak_cpp_interior.stderr.exp-64bit-solaris 2016-10-24 13:34:17.594211273 +0000
+++ leak_cpp_interior.stderr.out 2016-10-24 13:56:15.459820413 +0000
@@ -9,9 +9,8 @@
definitely lost: 8 bytes in 1 blocks
indirectly lost: 0 bytes in 0 blocks
possibly lost: 0 bytes in 0 blocks
- still reachable: 273 bytes in 8 blocks
+ still reachable: 72,894 bytes in 8 blocks
of which reachable via heuristic:
- stdstring : 114 bytes in 2 blocks
length64 : 31 bytes in 1 blocks
newarray : 32 bytes in 1 blocks
multipleinheritance: 48 bytes in 2 blocks
@@ -23,10 +22,9 @@
LEAK SUMMARY:
definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
- possibly lost: 177 (+177) bytes in 4 (+4) blocks
- still reachable: 96 (-177) bytes in 4 (-4) blocks
+ possibly lost: 63 (+63) bytes in 2 (+2) blocks
+ still reachable: 72,831 (-63) bytes in 6 (-2) blocks
of which reachable via heuristic:
- stdstring : 0 (-114) bytes in 0 (-2) blocks
length64 : 0 (-31) bytes in 0 (-1) blocks
newarray : 0 (-32) bytes in 0 (-1) blocks
multipleinheritance: 48 (+0) bytes in 2 (+0) blocks
@@ -37,8 +35,8 @@
LEAK SUMMARY:
definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
- possibly lost: 162 (-15) bytes in 4 (+0) blocks
- still reachable: 111 (+15) bytes in 4 (+0) blocks
+ possibly lost: 48 (-15) bytes in 2 (+0) blocks
+ still reachable: 72,846 (+15) bytes in 6 (+0) blocks
of which reachable via heuristic:
newarray : 63 (+63) bytes in 2 (+2) blocks
multipleinheritance: 0 (-48) bytes in 0 (-2) blocks
@@ -49,8 +47,8 @@
LEAK SUMMARY:
definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
- possibly lost: 194 (+32) bytes in 5 (+1) blocks
- still reachable: 79 (-32) bytes in 3 (-1) blocks
+ possibly lost: 80 (+32) bytes in 3 (+1) blocks
+ still reachable: 72,814 (-32) bytes in 5 (-1) blocks
of which reachable via heuristic:
length64 : 31 (+31) bytes in 1 (+1) blocks
newarray : 0 (-63) bytes in 0 (-2) blocks
@@ -61,10 +59,9 @@
LEAK SUMMARY:
definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
- possibly lost: 111 (-83) bytes in 4 (-1) blocks
- still reachable: 162 (+83) bytes in 4 (+1) blocks
+ possibly lost: 111 (+31) bytes in 4 (+1) blocks
+ still reachable: 72,783 (-31) bytes in 4 (-1) blocks
of which reachable via heuristic:
- stdstring : 114 (+114) bytes in 2 (+2) blocks
length64 : 0 (-31) bytes in 0 (-1) blocks
suppressed: 0 (+0) bytes in 0 (+0) blocks
To see details of leaked memory, give 'full' arg to leak_check
@@ -74,9 +71,8 @@
definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
possibly lost: 0 (-111) bytes in 0 (-4) blocks
- still reachable: 273 (+111) bytes in 8 (+4) blocks
+ still reachable: 72,894 (+111) bytes in 8 (+4) blocks
of which reachable via heuristic:
- stdstring : 114 (+0) bytes in 2 (+0) blocks
length64 : 31 (+31) bytes in 1 (+1) blocks
newarray : 32 (+32) bytes in 1 (+1) blocks
multipleinheritance: 48 (+48) bytes in 2 (+2) blocks
@@ -88,9 +84,8 @@
definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
possibly lost: 0 (+0) bytes in 0 (+0) blocks
- still reachable: 273 (+0) bytes in 8 (+0) blocks
+ still reachable: 72,894 (+0) bytes in 8 (+0) blocks
of which reachable via heuristic:
- stdstring : 114 (+0) bytes in 2 (+0) blocks
length64 : 31 (+0) bytes in 1 (+0) blocks
newarray : 32 (+0) bytes in 1 (+0) blocks
multipleinheritance: 48 (+0) bytes in 2 (+0) blocks
@@ -101,10 +96,9 @@
LEAK SUMMARY:
definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
- possibly lost: 225 (+225) bytes in 6 (+6) blocks
- still reachable: 48 (-225) bytes in 2 (-6) blocks
+ possibly lost: 111 (+111) bytes in 4 (+4) blocks
+ still reachable: 72,783 (-111) bytes in 4 (-4) blocks
of which reachable via heuristic:
- stdstring : 0 (-114) bytes in 0 (-2) blocks
length64 : 0 (-31) bytes in 0 (-1) blocks
newarray : 0 (-32) bytes in 0 (-1) blocks
multipleinheritance: 0 (-48) bytes in 0 (-2) blocks
@@ -133,10 +127,16 @@
Finished!
HEAP SUMMARY:
<truncated beyond 100 lines>
=================================================
./valgrind-new/memcheck/tests/leak_cpp_interior.stderr.diff-solaris
=================================================
--- leak_cpp_interior.stderr.exp-solaris 2016-10-24 13:34:25.879792656 +0000
+++ leak_cpp_interior.stderr.out 2016-10-24 13:56:15.459820413 +0000
@@ -1,118 +1,112 @@
valgrind output will go to log
VALGRIND_DO_LEAK_CHECK
-4 bytes in 1 blocks are definitely lost in loss record ... of ...
+8 bytes in 1 blocks are definitely lost in loss record ... of ...
by 0x........: doit() (leak_cpp_interior.cpp:115)
by 0x........: main (leak_cpp_interior.cpp:130)
LEAK SUMMARY:
- definitely lost: 4 bytes in 1 blocks
+ definitely lost: 8 bytes in 1 blocks
indirectly lost: 0 bytes in 0 blocks
possibly lost: 0 bytes in 0 blocks
- still reachable: 197 bytes in 8 blocks
+ still reachable: 72,894 bytes in 8 blocks
of which reachable via heuristic:
- stdstring : 90 bytes in 2 blocks
length64 : 31 bytes in 1 blocks
- newarray : 28 bytes in 1 blocks
- multipleinheritance: 24 bytes in 2 blocks
+ newarray : 32 bytes in 1 blocks
+ multipleinheritance: 48 bytes in 2 blocks
suppressed: 0 bytes in 0 blocks
Reachable blocks (those to which a pointer was found) are not shown.
To see them, rerun with: --leak-check=full --show-leak-kinds=all
leak_check summary heuristics multipleinheritance
LEAK SUMMARY:
- definitely lost: 4 (+0) bytes in 1 (+0) blocks
+ definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
- possibly lost: 149 (+149) bytes in 4 (+4) blocks
- still reachable: 48 (-149) bytes in 4 (-4) blocks
+ possibly lost: 63 (+63) bytes in 2 (+2) blocks
+ still reachable: 72,831 (-63) bytes in 6 (-2) blocks
of which reachable via heuristic:
- stdstring : 0 (-90) bytes in 0 (-2) blocks
length64 : 0 (-31) bytes in 0 (-1) blocks
- newarray : 0 (-28) bytes in 0 (-1) blocks
- multipleinheritance: 24 (+0) bytes in 2 (+0) blocks
+ newarray : 0 (-32) bytes in 0 (-1) blocks
+ multipleinheritance: 48 (+0) bytes in 2 (+0) blocks
suppressed: 0 (+0) bytes in 0 (+0) blocks
To see details of leaked memory, give 'full' arg to leak_check
leak_check summary any heuristics newarray
LEAK SUMMARY:
- definitely lost: 4 (+0) bytes in 1 (+0) blocks
+ definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
- possibly lost: 145 (-4) bytes in 5 (+1) blocks
- still reachable: 52 (+4) bytes in 3 (-1) blocks
+ possibly lost: 48 (-15) bytes in 2 (+0) blocks
+ still reachable: 72,846 (+15) bytes in 6 (+0) blocks
of which reachable via heuristic:
- newarray : 28 (+28) bytes in 1 (+1) blocks
- multipleinheritance: 0 (-24) bytes in 0 (-2) blocks
+ newarray : 63 (+63) bytes in 2 (+2) blocks
+ multipleinheritance: 0 (-48) bytes in 0 (-2) blocks
suppressed: 0 (+0) bytes in 0 (+0) blocks
To see details of leaked memory, give 'full' arg to leak_check
leak_check summary heuristics length64
LEAK SUMMARY:
- definitely lost: 4 (+0) bytes in 1 (+0) blocks
+ definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
- possibly lost: 142 (-3) bytes in 5 (+0) blocks
- still reachable: 55 (+3) bytes in 3 (+0) blocks
+ possibly lost: 80 (+32) bytes in 3 (+1) blocks
+ still reachable: 72,814 (-32) bytes in 5 (-1) blocks
of which reachable via heuristic:
length64 : 31 (+31) bytes in 1 (+1) blocks
- newarray : 0 (-28) bytes in 0 (-1) blocks
+ newarray : 0 (-63) bytes in 0 (-2) blocks
suppressed: 0 (+0) bytes in 0 (+0) blocks
To see details of leaked memory, give 'full' arg to leak_check
leak_check summary heuristics stdstring
LEAK SUMMARY:
- definitely lost: 4 (+0) bytes in 1 (+0) blocks
+ definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
- possibly lost: 83 (-59) bytes in 4 (-1) blocks
- still reachable: 114 (+59) bytes in 4 (+1) blocks
+ possibly lost: 111 (+31) bytes in 4 (+1) blocks
+ still reachable: 72,783 (-31) bytes in 4 (-1) blocks
of which reachable via heuristic:
- stdstring : 90 (+90) bytes in 2 (+2) blocks
length64 : 0 (-31) bytes in 0 (-1) blocks
suppressed: 0 (+0) bytes in 0 (+0) blocks
To see details of leaked memory, give 'full' arg to leak_check
leak_check summary heuristics multipleinheritance,newarray,stdstring,length64
LEAK SUMMARY:
- definitely lost: 4 (+0) bytes in 1 (+0) blocks
+ definitely lost: 8 (+0) bytes in 1 (+0) blocks
<truncated beyond 100 lines>
=================================================
./valgrind-new/memcheck/tests/solaris/lsframe2.stderr.diff
=================================================
--- lsframe2.stderr.exp 2016-10-24 13:34:24.063737146 +0000
+++ lsframe2.stderr.out 2016-10-24 13:58:45.191424367 +0000
@@ -0,0 +1,49 @@
+Invalid write of size 4
+ at 0x........: rec (lsframe2.c:12)
+ by 0x........: main (lsframe2.c:28)
+ Address 0x........ is on thread 1's stack
+ in frame #0, created by rec (lsframe2.c:12)
+
+Invalid read of size 4
+ at 0x........: rec (lsframe2.c:15)
+ by 0x........: main (lsframe2.c:28)
+ Address 0x........ is on thread 1's stack
+ in frame #0, created by rec (lsframe2.c:12)
+
+Invalid read of size 4
+ at 0x........: rec (lsframe2.c:17)
+ by 0x........: main (lsframe2.c:28)
+ Address 0x........ is on thread 1's stack
+ in frame #0, created by rec (lsframe2.c:12)
+
+Invalid write of size 4
+ at 0x........: rec (lsframe2.c:17)
+ by 0x........: main (lsframe2.c:28)
+ Address 0x........ is on thread 1's stack
+ in frame #0, created by rec (lsframe2.c:12)
+
+Invalid read of size 4
+ at 0x........: rec (lsframe2.c:18)
+ by 0x........: main (lsframe2.c:28)
+ Address 0x........ is on thread 1's stack
+ in frame #0, created by rec (lsframe2.c:12)
+
+Invalid write of size 8
+ at 0x........: rec (lsframe2.c:18)
+ by 0x........: main (lsframe2.c:28)
+ Address 0x........ is on thread 1's stack
+ in frame #0, created by rec (lsframe2.c:12)
+
+Invalid read of size 8
+ at 0x........: rec (lsframe2.c:22)
+ by 0x........: rec (lsframe2.c:18)
+ by 0x........: main (lsframe2.c:28)
+ Address 0x........ is on thread 1's stack
+ in frame #0, created by rec (lsframe2.c:12)
+
+Invalid read of size 4
+ at 0x........: rec (lsframe2.c:20)
+ by 0x........: main (lsframe2.c:28)
+ Address 0x........ is on thread 1's stack
+ in frame #0, created by rec (lsframe2.c:12)
+
=================================================
./valgrind-old/drd/tests/omp_printf.stderr.diff
=================================================
--- omp_printf.stderr.exp 2016-10-24 12:34:41.933298008 +0000
+++ omp_printf.stderr.out 2016-10-24 13:27:30.209483747 +0000
@@ -1,4 +1,45 @@
+Thread 3:
+Conflicting load by thread 3 at 0x........ size 4
+ at 0x........: main._omp_fn.0 (omp_printf.c:?)
+ by 0x........: gomp_thread_start (team.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+Allocation context: BSS section of omp_printf
+Other segment start (thread 2)
+ at 0x........: sem_wait (drd_pthread_intercepts.c:?)
+ by 0x........: gomp_sem_wait (sem.c:?)
+ by 0x........: gomp_barrier_wait_end (bar.c:?)
+ by 0x........: gomp_thread_start (team.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+Other segment end (thread 2)
+ at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?)
+ by 0x........: main._omp_fn.0 (omp_printf.c:?)
+ by 0x........: gomp_thread_start (team.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+
+Thread 1:
+Conflicting load by thread 1 at 0x........ size 4
+ at 0x........: main._omp_fn.0 (omp_printf.c:?)
+ by 0x........: GOMP_parallel (parallel.c:?)
+ by 0x........: main (omp_printf.c:?)
+Allocation context: BSS section of omp_printf
+Other segment start (thread 2)
+ at 0x........: sem_wait (drd_pthread_intercepts.c:?)
+ by 0x........: gomp_sem_wait (sem.c:?)
+ by 0x........: gomp_barrier_wait_end (bar.c:?)
+ by 0x........: gomp_thread_start (team.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+Other segment end (thread 2)
+ at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?)
+ by 0x........: main._omp_fn.0 (omp_printf.c:?)
+ by 0x........: gomp_thread_start (team.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+
Finished.
-ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 9 errors from 2 contexts (suppressed: 0 from 0)
=================================================
./valgrind-old/exp-sgcheck/tests/preen_invars.stderr.diff-glibc28-amd64
=================================================
--- preen_invars.stderr.exp-glibc28-amd64 2016-10-24 12:34:07.907632810 +0000
+++ preen_invars.stderr.out 2016-10-24 13:31:39.387869089 +0000
@@ -1,9 +1,3 @@
-Invalid read of size 1
- at 0x........: main (preen_invars.c:22)
- Address 0x........ expected vs actual:
- Expected: unknown
- Actual: global array "im_a_global_arr" of size 10 in object with soname "preen_invars_so"
-
-ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
=================================================
./valgrind-old/exp-sgcheck/tests/stackerr.stderr.diff-glibc27-x86
=================================================
--- stackerr.stderr.exp-glibc27-x86 2016-10-24 12:34:07.900177738 +0000
+++ stackerr.stderr.out 2016-10-24 13:31:41.694442724 +0000
@@ -1,28 +1,27 @@
-Invalid write of size 4
+Invalid write of size 8
at 0x........: foo (stackerr.c:27)
by 0x........: bar (stackerr.c:32)
by 0x........: main (stackerr.c:41)
Address 0x........ expected vs actual:
- Expected: stack array "a" of size 28 in frame 2 back from here
- Actual: stack array "beforea" of size 12 in frame 2 back from here
+ Expected: stack array "a" of size 56 in frame 2 back from here
+ Actual: unknown
Actual: is 0 after Expected
-Invalid write of size 4
+Invalid write of size 8
at 0x........: main (stackerr.c:44)
Address 0x........ expected vs actual:
- Expected: stack array "a" of size 28 in this frame
- Actual: stack array "beforea" of size 12 in this frame
+ Expected: stack array "a" of size 56 in this frame
+ Actual: unknown
Actual: is 0 after Expected
Invalid write of size 1
- at 0x........: _IO_default_xsputn (in /...libc...)
- by 0x........: ...
- by 0x........: ...
+ at 0x........: memcpy (h_intercepts.c:...)
+ by 0x........: _ndoprnt_s (in /...libc...)
+ by 0x........: _ndoprnt (in /...libc...)
Address 0x........ expected vs actual:
- Expected: stack array "buf" of size 8 in frame 4 back from here
- Actual: stack array "beforebuf" of size 8 in frame 4 back from here
- Actual: is 0 after Expected
+ Expected: unknown
+ Actual: stack array "buf" of size 8 in frame 4 back from here
ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
=================================================
./valgrind-old/exp-sgcheck/tests/stackerr.stderr.diff-glibc28-amd64
=================================================
--- stackerr.stderr.exp-glibc28-amd64 2016-10-24 12:34:07.930224797 +0000
+++ stackerr.stderr.out 2016-10-24 13:31:41.694442724 +0000
@@ -16,13 +16,12 @@
Actual: is 0 after Expected
Invalid write of size 1
- at 0x........: _IO_default_xsputn (in /...libc...)
- by 0x........: ...
- by 0x........: ...
+ at 0x........: memcpy (h_intercepts.c:...)
+ by 0x........: _ndoprnt_s (in /...libc...)
+ by 0x........: _ndoprnt (in /...libc...)
Address 0x........ expected vs actual:
- Expected: stack array "bu...
[truncated message content] |