|
From: <iv...@iv...> - 2017-04-20 02:09:00
|
valgrind revision: 16306
VEX revision: 3351
C compiler: gcc (GCC) 5.4.0
GDB: GNU gdb (GDB) 7.11
Assembler: GNU assembler (GNU Binutils) 2.27
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 2017-04-20 00:30:00 UTC
Ended at 2017-04-20 02:05:31 UTC
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
== 784 tests, 16 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/door_data (stderr)
memcheck/tests/solaris/lsframe2 (stderr)
memcheck/tests/solaris/pkcs11 (stderr)
helgrind/tests/bar_bad (stderr)
helgrind/tests/free_is_write (stderr)
helgrind/tests/pth_barrier1 (stderr)
helgrind/tests/pth_barrier2 (stderr)
helgrind/tests/pth_barrier3 (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
memcheck/tests/dw4 (stderr)
memcheck/tests/leak_cpp_interior (stderr)
memcheck/tests/solaris/door_data (stderr)
memcheck/tests/solaris/lsframe2 (stderr)
memcheck/tests/solaris/pkcs11 (stderr)
helgrind/tests/bar_bad (stderr)
helgrind/tests/free_is_write (stderr)
helgrind/tests/pth_barrier1 (stderr)
helgrind/tests/pth_barrier2 (stderr)
helgrind/tests/pth_barrier3 (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:1342: 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
== 784 tests, 14 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/door_data (stderr)
memcheck/tests/solaris/lsframe2 (stderr)
memcheck/tests/solaris/pkcs11 (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
== 784 tests, 14 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/door_data (stderr)
memcheck/tests/solaris/lsframe2 (stderr)
memcheck/tests/solaris/pkcs11 (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:1342: regtest] Error 1
=================================================
== Difference between 24 hours ago and now ==
=================================================
--- old.short 2017-04-20 00:57:51.943772206 +0000
+++ new.short 2017-04-20 01:25:48.310034732 +0000
@@ -8,3 +8,3 @@
-== 784 tests, 14 stderr failures, 0 stdout failures, 1 stderrB failure, 0 stdoutB failures, 0 post failures ==
+== 784 tests, 16 stderr failures, 0 stdout failures, 1 stderrB failure, 0 stdoutB failures, 0 post failures ==
gdbserver_tests/hginfo (stderrB)
@@ -19,2 +19,4 @@
helgrind/tests/pth_barrier2 (stderr)
+helgrind/tests/pth_barrier3 (stderr)
+helgrind/tests/rwlock_test (stderr)
helgrind/tests/tc21_pthonce (stderr)
@@ -27,4 +29,2 @@
Last 20 lines of verbose log follow echo
-== 784 tests, 14 stderr failures, 0 stdout failures, 1 stderrB failure, 0 stdoutB failures, 0 post failures ==
-gdbserver_tests/hginfo (stderrB)
memcheck/tests/dw4 (stderr)
@@ -38,2 +38,4 @@
helgrind/tests/pth_barrier2 (stderr)
+helgrind/tests/pth_barrier3 (stderr)
+helgrind/tests/rwlock_test (stderr)
helgrind/tests/tc21_pthonce (stderr)
--tools=none,memcheck,callgrind,helgrind,cachegrind,drd,massif --reps=3 --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.09s no: 1.6s (18.0x, -----) me: 3.0s (33.1x, -----) ca:13.1s (145.9x, -----) he: 1.9s (20.9x, -----) ca: 3.8s (42.4x, -----) dr: 1.9s (20.7x, -----) ma: 1.8s (20.3x, -----)
bigcode1 valgrind-old:0.09s no: 1.6s (18.1x, -0.6%) me: 3.0s (33.6x, -1.3%) ca:13.1s (146.0x, -0.1%) he: 1.9s (21.4x, -2.7%) ca: 3.9s (43.3x, -2.1%) dr: 1.9s (21.4x, -3.8%) ma: 1.9s (20.8x, -2.2%)
-- bigcode2 --
bigcode2 valgrind-new:0.11s no: 3.5s (31.5x, -----) me: 7.1s (64.8x, -----) ca:27.9s (253.4x, -----) he: 4.4s (40.0x, -----) ca: 6.5s (59.2x, -----) dr: 4.1s (37.5x, -----) ma: 4.0s (36.3x, -----)
bigcode2 valgrind-old:0.11s no: 3.5s (31.6x, -0.3%) me: 7.1s (64.6x, 0.3%) ca:28.0s (254.8x, -0.6%) he: 4.4s (39.6x, 0.9%) ca: 6.5s (59.4x, -0.3%) dr: 4.1s (37.5x, 0.0%) ma: 3.9s (35.4x, 2.5%)
-- bz2 --
bz2 valgrind-new:0.64s no: 2.0s ( 3.1x, -----) me: 6.6s (10.4x, -----) ca:12.0s (18.8x, -----) he: 9.8s (15.4x, -----) ca:12.1s (18.9x, -----) dr:11.6s (18.1x, -----) ma: 1.9s ( 3.0x, -----)
bz2 valgrind-old:0.64s no: 2.0s ( 3.1x, -1.5%) me: 6.6s (10.4x, 0.2%) ca:11.9s (18.7x, 0.4%) he: 9.7s (15.2x, 1.5%) ca:12.0s (18.7x, 0.9%) dr:11.6s (18.1x, -0.1%) ma: 1.9s ( 3.0x, -1.1%)
-- fbench --
fbench valgrind-new:0.25s no: 1.1s ( 4.6x, -----) me: 3.7s (14.9x, -----) ca: 5.6s (22.4x, -----) he: 2.9s (11.7x, -----) ca: 3.6s (14.3x, -----) dr: 2.7s (11.0x, -----) ma: 1.2s ( 4.6x, -----)
fbench valgrind-old:0.25s no: 1.1s ( 4.6x, 0.0%) me: 3.7s (14.8x, 1.1%) ca: 5.6s (22.6x, -0.7%) he: 2.9s (11.8x, -0.3%) ca: 3.6s (14.5x, -1.4%) dr: 2.8s (11.0x, -0.4%) ma: 1.2s ( 4.7x, -0.9%)
-- ffbench --
ffbench valgrind-new:0.27s no: 1.1s ( 4.2x, -----) me: 3.4s (12.7x, -----) ca: 2.0s ( 7.5x, -----) he: 4.2s (15.6x, -----) ca: 4.6s (17.1x, -----) dr: 3.5s (13.0x, -----) ma: 1.1s ( 3.9x, -----)
ffbench valgrind-old:0.27s no: 1.1s ( 4.2x, 0.9%) me: 3.4s (12.5x, 1.5%) ca: 2.0s ( 7.6x, -1.0%) he: 4.2s (15.5x, 0.2%) ca: 4.6s (17.0x, 0.4%) dr: 3.5s (13.0x, 0.0%) ma: 1.1s ( 4.0x, -0.9%)
-- heap --
heap valgrind-new:0.21s no: 1.4s ( 6.5x, -----) me: 5.5s (26.4x, -----) ca:11.1s (53.0x, -----) he: 8.1s (38.6x, -----) ca: 7.4s (35.2x, -----) dr: 5.0s (23.9x, -----) ma: 2.6s (12.3x, -----)
heap valgrind-old:0.21s no: 1.4s ( 6.5x, -0.7%) me: 5.6s (26.8x, -1.6%) ca:11.0s (52.5x, 0.9%) he: 8.2s (39.0x, -0.9%) ca: 7.3s (34.9x, 0.9%) dr: 5.2s (24.6x, -3.2%) ma: 2.6s (12.2x, 0.4%)
-- heap_pdb4 --
heap_pdb4 valgrind-new:0.21s no: 1.4s ( 6.9x, -----) me: 9.0s (42.9x, -----) ca:11.7s (55.6x, -----) he: 8.9s (42.2x, -----) ca: 7.8s (37.4x, -----) dr: 5.6s (26.6x, -----) ma: 2.6s (12.6x, -----)
heap_pdb4 valgrind-old:0.21s no: 1.4s ( 6.9x, 0.0%) me: 9.1s (43.4x, -1.3%) ca:11.8s (56.0x, -0.6%) he: 9.0s (42.8x, -1.5%) ca: 7.9s (37.6x, -0.6%) dr: 5.6s (26.5x, 0.2%) ma: 2.6s (12.5x, 0.8%)
-- many-loss-records --
many-loss-records valgrind-new:0.02s no: 0.3s (15.0x, -----) me: 1.4s (72.0x, -----) ca: 1.4s (68.0x, -----) he: 1.2s (59.0x, -----) ca: 1.1s (54.0x, -----) dr: 1.1s (53.5x, -----) ma: 0.6s (31.5x, -----)
many-loss-records valgrind-old:0.02s no: 0.3s (15.0x, 0.0%) me: 1.4s (72.0x, 0.0%) ca: 1.4s (69.5x, -2.2%) he: 1.2s (59.5x, -0.8%) ca: 1.1s (54.0x, 0.0%) dr: 1.1s (54.0x, -0.9%) ma: 0.6s (31.0x, 1.6%)
-- many-xpts --
many-xpts valgrind-new:0.08s no: 0.4s ( 5.1x, -----) me: 1.6s (20.0x, -----) ca: 3.2s (39.9x, -----) he: 2.2s (28.0x, -----) ca: 1.5s (18.2x, -----) dr: 1.6s (19.4x, -----) ma: 1.6s (19.8x, -----)
many-xpts valgrind-old:0.08s no: 0.4s ( 5.2x, -2.4%) me: 1.6s (20.0x, 0.0%) ca: 3.2s (39.6x, 0.6%) he: 2.3s (28.4x, -1.3%) ca: 1.5s (18.6x, -2.1%) dr: 1.5s (19.2x, 0.6%) ma: 1.6s (19.9x, -0.6%)
-- memrw --
memrw valgrind-new:0.06s no: 0.5s ( 7.8x, -----) me: 1.2s (19.3x, -----) ca: 2.9s (48.0x, -----) he: 4.8s (80.5x, -----) ca: 2.1s (35.7x, -----) dr: 1.2s (20.8x, -----) ma: 0.5s ( 8.7x, -----)
memrw valgrind-old:0.06s no: 0.5s ( 8.0x, -2.1%) me: 1.1s (18.8x, 2.6%) ca: 2.9s (47.5x, 1.0%) he: 4.8s (80.3x, 0.2%) ca: 2.1s (35.8x, -0.5%) dr: 1.2s (20.5x, 1.6%) ma: 0.5s ( 8.3x, 3.8%)
-- sarp --
sarp valgrind-new:0.02s no: 0.3s (14.5x, -----) me: 2.1s (105.0x, -----) ca: 1.8s (90.5x, -----) he: 5.8s (288.0x, -----) ca: 0.9s (46.0x, -----) dr: 1.0s (52.0x, -----) ma: 0.3s (15.0x, -----)
sarp valgrind-old:0.02s no: 0.3s (15.0x, -3.4%) me: 2.1s (107.0x, -1.9%) ca: 1.8s (92.0x, -1.7%) he: 5.8s (287.5x, 0.2%) ca: 0.9s (45.0x, 2.2%) dr: 1.0s (49.5x, 4.8%) ma: 0.3s (15.5x, -3.3%)
-- tinycc --
tinycc valgrind-new:0.19s no: 1.4s ( 7.2x, -----) me:10.1s (52.9x, -----) ca:11.5s (60.4x, -----) he:13.1s (68.8x, -----) ca:11.9s (62.4x, -----) dr:11.3s (59.3x, -----) ma: 1.6s ( 8.7x, -----)
tinycc valgrind-old:0.19s no: 1.4s ( 7.2x, 0.7%) me:10.0s (52.8x, 0.1%) ca:11.4s (60.2x, 0.4%) he:13.0s (68.6x, 0.3%) ca:11.9s (62.6x, -0.3%) dr:11.2s (58.9x, 0.6%) ma: 1.6s ( 8.7x, 0.0%)
-- Finished tests in perf ----------------------------------------------
== 12 programs, 168 timings =================
real 39m43.26s
user 37m57.46s
sys 0m59.68s
=================================================
./valgrind-new/drd/tests/omp_printf.stderr.diff
=================================================
--- omp_printf.stderr.exp 2017-04-20 00:58:04.973211577 +0000
+++ omp_printf.stderr.out 2017-04-20 01:22:48.689030631 +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-new/exp-sgcheck/tests/preen_invars.stderr.diff-glibc28-amd64
=================================================
--- preen_invars.stderr.exp-glibc28-amd64 2017-04-20 00:57:57.176561362 +0000
+++ preen_invars.stderr.out 2017-04-20 01:25:06.773746135 +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 2017-04-20 00:57:57.175375587 +0000
+++ stackerr.stderr.out 2017-04-20 01:25:07.779788944 +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 2017-04-20 00:57:57.180949771 +0000
+++ stackerr.stderr.out 2017-04-20 01:25:07.779788944 +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 2017-04-20 00:57:54.298411595 +0000
+++ hginfo.stderrB.out 2017-04-20 01:07:48.631068746 +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 2017-04-20 00:57:58.726935341 +0000
+++ bar_bad.stderr.out 2017-04-20 01:19:19.367737275 +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 2017-04-20 00:57:58.696331126 +0000
+++ bar_bad.stderr.out 2017-04-20 01:19:19.367737275 +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 2017-04-20 00:57:58.715696593 +0000
+++ free_is_write.stderr.out 2017-04-20 01:19:24.144752496 +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 2017-04-20 00:57:58.758010026 +0000
+++ pth_barrier1.stderr.out 2017-04-20 01:19:41.129250704 +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 2017-04-20 00:57:58.682506055 +0000
+++ pth_barrier2.stderr.out 2017-04-20 01:19:41.693373528 +0000
@@ -1,628 +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 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 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
-
-----------------------------------------------------------------
<truncated beyond 100 lines>
=================================================
./valgrind-new/helgrind/tests/pth_barrier3.stderr.diff
=================================================
--- pth_barrier3.stderr.exp 2017-04-20 00:57:58.731686961 +0000
+++ pth_barrier3.stderr.out 2017-04-20 01:19:42.396348204 +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/rwlock_test.stderr.diff
=================================================
--- rwlock_test.stderr.exp 2017-04-20 00:57:58.737559838 +0000
+++ rwlock_test.stderr.out 2017-04-20 01:19:45.974743882 +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 2017-04-20 00:57:58.687273213 +0000
+++ tc21_pthonce.stderr.out 2017-04-20 01:20:20.073731680 +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 2017-04-20 00:57:58.783630562 +0000
+++ tls_threads.stderr.out 2017-04-20 01:20:29.473572946 +0000
@@ -1,2 +1,3 @@
+--5087: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 2017-04-20 00:57:55.067467062 +0000
+++ dw4.stderr.out 2017-04-20 01:10:16.661696500 +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 2017-04-20 00:57:56.485901795 +0000
+++ dw4.stderr.out 2017-04-20 01:10:16.661696500 +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 2017-04-20 00:57:55.254786015 +0000
+++ leak_cpp_interior.stderr.out 2017-04-20 01:10:48.116494533 +0000
@@ -1,118 +1,118 @@
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:116)
by 0x........: main (leak_cpp_interior.cpp:131)
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,943 bytes in 9 blocks
of which reachable via heuristic:
- stdstring : 56 bytes in 2 blocks
+ stdstring : 80 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: 143 (+143) bytes in 4 (+4) blocks
+ still reachable: 72,800 (-143) bytes in 5 (-4) blocks
of which reachable via heuristic:
- stdstring : 0 (-56) bytes in 0 (-2) blocks
+ stdstring : 0 (-80) 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: 128 (-15) bytes in 4 (+0) blocks
+ still reachable: 72,815 (+15) bytes in 5 (+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: 160 (+32) bytes in 5 (+1) blocks
+ still reachable: 72,783 (-32) bytes in 4 (-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 (-49) bytes in 4 (-1) blocks
+ still reachable: 72,832 (+49) bytes in 5 (+1) blocks
of which reachable via heuristic:
- stdstring : 56 (+56) bytes in 2 (+2) blocks
+ 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
leak_check summary heuristics multipleinheritance,newarray,stdstring,length64
<truncated beyond 100 lines>
=================================================
./valgrind-new/memcheck/tests/leak_cpp_interior.stderr.diff-64bit
=================================================
--- leak_cpp_interior.stderr.exp-64bit 2017-04-20 00:57:55.026623167 +0000
+++ leak_cpp_interior.stderr.out 2017-04-20 01:10:48.116494533 +0000
@@ -9,7 +9,7 @@
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,943 bytes in 9 blocks
of which reachable via heuristic:
stdstring : 80 bytes in 2 blocks
length64 : 31 bytes in 1 blocks
@@ -24,7 +24,7 @@
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
+ still reachable: 72,800 (-143) bytes in 5 (-4) blocks
of which reachable via heuristic:
stdstring : 0 (-80) bytes in 0 (-2) blocks
length64 : 0 (-31) bytes in 0 (-1) blocks
@@ -38,7 +38,7 @@
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
+ still reachable: 72,815 (+15) bytes in 5 (+0) blocks
of which reachable via heuristic:
newarray : 63 (+63) bytes in 2 (+2) blocks
multipleinheritance: 0 (-48) bytes in 0 (-2) blocks
@@ -50,7 +50,7 @@
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
+ still reachable: 72,783 (-32) bytes in 4 (-1) blocks
of which reachable via heuristic:
length64 : 31 (+31) bytes in 1 (+1) blocks
newarray : 0 (-63) bytes in 0 (-2) blocks
@@ -62,7 +62,7 @@
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
+ still reachable: 72,832 (+49) bytes in 5 (+1) blocks
of which reachable via heuristic:
stdstring : 80 (+80) bytes in 2 (+2) blocks
length64 : 0 (-31) bytes in 0 (-1) blocks
@@ -74,7 +74,7 @@
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,943 (+111) bytes in 9 (+4) blocks
of which reachable via heuristic:
stdstring : 80 (+0) bytes in 2 (+0) blocks
length64 : 31 (+31) bytes in 1 (+1) blocks
@@ -88,7 +88,7 @@
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,943 (+0) bytes in 9 (+0) blocks
of which reachable via heuristic:
stdstring : 80 (+0) bytes in 2 (+0) blocks
length64 : 31 (+0) bytes in 1 (+0) blocks
@@ -102,7 +102,7 @@
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
+ still reachable: 72,752 (-191) bytes in 3 (-6) blocks
of which reachable via heuristic:
stdstring : 0 (-80) bytes in 0 (-2) blocks
length64 : 0 (-31) bytes in 0 (-1) blocks
@@ -133,10 +133,16 @@
Finished!
HEAP SUMMARY:
- in use at exit: 0 bytes in 0 blocks
- total heap usage: 9 allocs, 9 frees, 247 bytes allocated
+ in use at exit: 72,704 bytes in 1 blocks
+ total heap usage: 10 allocs, 9 frees, 72,951 bytes allocated
-All heap blocks were freed -- no leaks are possible
+LEAK SUMMARY:
+ definitely lost: 0 bytes in 0 blocks
+ indirectly lost: 0 bytes in 0 blocks
+ possibly lost: 0 bytes in 0 blocks
+ still reachable: 72,704 bytes in 1 blocks
+ suppressed: 0 bytes in 0 blocks
+Rerun with --leak-check=full to see details of leaked memory
For counts of detected and suppressed errors, rerun with: -v
ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/memcheck/tests/leak_cpp_interior.stderr.diff-64bit-solaris
=================================================
--- leak_cpp_interior.stderr.exp-64bit-solaris 2017-04-20 00:57:54.495096123 +0000
+++ leak_cpp_interior.stderr.out 2017-04-20 01:10:48.116494533 +0000
@@ -9,9 +9,9 @@
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,943 bytes in 9 blocks
of which reachable via heuristic:
- stdstring : 114 bytes in 2 blocks
+ 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 +23,10 @@
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: 143 (+143) bytes in 4 (+4) blocks
+ still reachable: 72,800 (-143) bytes in 5 (-4) blocks
of which reachable via heuristic:
- stdstring : 0 (-114) bytes in 0 (-2) blocks
+ 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 +37,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: 128 (-15) bytes in 4 (+0) blocks
+ still reachable: 72,815 (+15) bytes in 5 (+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 +49,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: 160 (+32) bytes in 5 (+1) blocks
+ still reachable: 72,783 (-32) bytes in 4 (-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 +61,10 @@
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 (-49) bytes in 4 (-1) blocks
+ still reachable: 72,832 (+49) bytes in 5 (+1) blocks
of which reachable via heuristic:
- stdstring : 114 (+114) bytes in 2 (+2) blocks
+ 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 +74,9 @@
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,943 (+111) bytes in 9 (+4) blocks
of which reachable via heuristic:
- stdstring : 114 (+0) bytes in 2 (+0) blocks
+ 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 +88,9 @@
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,943 (+0) bytes in 9 (+0) blocks
of which reachable via heuristic:
- stdstring : 114 (+0) bytes in 2 (+0) blocks
+ 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 +101,10 @@
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: 191 (+191) bytes in 6 (+6) blocks
+ still reachable: 72,752 (-191) bytes in 3 (-6) blocks
of which reachable via heuristic:
- stdstring : 0 (-114) bytes in 0 (-2) blocks
+ stdstring : 0 (-80) bytes in 0 (-2) blocks
length64 : 0 (-31) bytes in 0 (-1) blocks
<truncated beyond 100 lines>
=================================================
./valgrind-new/memcheck/tests/leak_cpp_interior.stderr.diff-solaris
=================================================
--- leak_cpp_interior.stderr.exp-solaris 2017-04-20 00:57:56.212905355 +0000
+++ leak_cpp_interior.stderr.out 2017-04-20 01:10:48.116494533 +0000
@@ -1,118 +1,118 @@
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:116)
by 0x........: main (leak_cpp_interior.cpp:131)
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,943 bytes in 9 blocks
of which reachable via heuristic:
- stdstring : 90 bytes in 2 blocks
+ stdstring : 80 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: 143 (+143) bytes in 4 (+4) blocks
+ still reachable: 72,800 (-143) bytes in 5 (-4) blocks
of which reachable via heuristic:
- stdstring : 0 (-90) bytes in 0 (-2) blocks
+ stdstring : 0 (-80) 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: 128 (-15) bytes in 4 (+0) blocks
+ still reachable: 72,815 (+15) bytes in 5 (+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: 160 (+32) bytes in 5 (+1) blocks
+ still reachable: 72,783 (-32) bytes in 4 (-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 (-49) bytes in 4 (-1) blocks
+ still reachable: 72,832 (+49) bytes in 5 (+1) blocks
of which reachable via heuristic:
- stdstring : 90 (+90) bytes in 2 (+2) blocks
+ 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
leak_check summary heuristics multipleinheritance,newarray,stdstring,length64
<truncated beyond 100 lines>
=================================================
./valgrind-new/memcheck/tests/solaris/door_data.stderr.diff
=================================================
--- door_data.stderr.exp 2017-04-20 00:57:55.817609729 +0000
+++ door_data.stderr.out 2017-04-20 01:11:42.876403048 +0000
@@ ...
[truncated message content] |