|
From: <iv...@iv...> - 2016-11-08 03:07:57
|
valgrind revision: 16119
VEX revision: 3285
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-11-08 00:30:00
Ended at 2016-11-08 03:04:28
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
== 763 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/door_data (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/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
== 763 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/door_data (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/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
== 763 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)
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
== 763 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)
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
=================================================
== Difference between 24 hours ago and now ==
=================================================
--- old.short 2016-11-08 01:17:58.098217336 +0000
+++ new.short 2016-11-08 02:05:54.302744842 +0000
@@ -8,3 +8,3 @@
-== 763 tests, 14 stderr failures, 0 stdout failures, 1 stderrB failure, 0 stdoutB failures, 0 post failures ==
+== 763 tests, 13 stderr failures, 0 stdout failures, 1 stderrB failure, 0 stdoutB failures, 0 post failures ==
gdbserver_tests/hginfo (stderrB)
@@ -18,3 +18,2 @@
helgrind/tests/pth_barrier2 (stderr)
-helgrind/tests/rwlock_test (stderr)
helgrind/tests/tc21_pthonce (stderr)
@@ -27,3 +26,4 @@
Last 20 lines of verbose log follow echo
-== 763 tests, 14 stderr failures, 0 stdout failures, 1 stderrB failure, 0 stdoutB failures, 0 post failures ==
+
+== 763 tests, 13 stderr failures, 0 stdout failures, 1 stderrB failure, 0 stdoutB failures, 0 post failures ==
gdbserver_tests/hginfo (stderrB)
@@ -37,3 +37,2 @@
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.16s no: 2.3s (14.2x, -----) me: 4.2s (26.4x, -----) ca:19.4s (121.4x, -----) he: 2.7s (17.1x, -----) ca: 5.1s (31.9x, -----) dr: 2.7s (16.8x, -----) ma: 2.7s (16.8x, -----)
bigcode1 valgrind-old:0.16s no: 2.3s (14.1x, 0.4%) me: 4.2s (26.2x, 0.5%) ca:19.4s (121.0x, 0.3%) he: 2.7s (17.1x, 0.0%) ca: 5.2s (32.2x, -1.0%) dr: 2.7s (16.8x, 0.0%) ma: 2.7s (16.8x, 0.0%)
-- bigcode2 --
bigcode2 valgrind-new:0.19s no: 5.0s (26.3x, -----) me: 9.7s (51.2x, -----) ca:35.3s (185.6x, -----) he: 6.3s (33.3x, -----) ca: 8.9s (47.0x, -----) dr: 5.9s (30.9x, -----) ma: 5.8s (30.3x, -----)
bigcode2 valgrind-old:0.19s no: 5.0s (26.3x, -0.2%) me: 9.8s (51.6x, -0.7%) ca:35.3s (186.0x, -0.2%) he: 6.2s (32.8x, 1.4%) ca: 9.0s (47.2x, -0.3%) dr: 5.9s (31.1x, -0.3%) ma: 5.8s (30.4x, -0.3%)
-- bz2 --
bz2 valgrind-new:0.73s no: 2.3s ( 3.2x, -----) me: 8.2s (11.2x, -----) ca:18.6s (25.5x, -----) he:12.7s (17.5x, -----) ca:14.1s (19.4x, -----) dr:15.5s (21.2x, -----) ma: 2.3s ( 3.1x, -----)
bz2 valgrind-old:0.73s no: 2.3s ( 3.2x, 0.9%) me: 8.1s (11.1x, 0.9%) ca:18.7s (25.6x, -0.5%) he:12.5s (17.2x, 1.6%) ca:14.2s (19.4x, -0.1%) dr:15.5s (21.2x, 0.1%) ma: 2.3s ( 3.1x, 0.4%)
-- fbench --
fbench valgrind-new:0.32s no: 1.4s ( 4.4x, -----) me: 4.7s (14.8x, -----) ca: 8.0s (25.1x, -----) he: 4.1s (12.8x, -----) ca: 4.2s (13.2x, -----) dr: 3.7s (11.7x, -----) ma: 1.4s ( 4.5x, -----)
fbench valgrind-old:0.32s no: 1.4s ( 4.4x, 0.0%) me: 4.8s (15.0x, -1.3%) ca: 8.1s (25.3x, -1.0%) he: 4.0s (12.4x, 2.9%) ca: 4.4s (13.7x, -3.5%) dr: 3.8s (11.7x, -0.3%) ma: 1.5s ( 4.6x, -1.4%)
-- ffbench --
ffbench valgrind-new:0.33s no: 1.3s ( 4.1x, -----) me: 4.1s (12.4x, -----) ca: 2.8s ( 8.5x, -----) he: 7.9s (24.0x, -----) ca: 5.6s (17.0x, -----) dr: 5.0s (15.1x, -----) ma: 1.3s ( 3.8x, -----)
ffbench valgrind-old:0.33s no: 1.4s ( 4.1x, -0.7%) me: 4.2s (12.7x, -2.4%) ca: 2.8s ( 8.5x, 0.4%) he: 8.0s (24.2x, -0.5%) ca: 5.8s (17.6x, -3.4%) dr: 5.0s (15.1x, 0.2%) ma: 1.3s ( 3.8x, 0.0%)
-- heap --
heap valgrind-new:0.42s no: 1.7s ( 4.0x, -----) me: 7.4s (17.6x, -----) ca:15.9s (37.9x, -----) he:11.7s (27.8x, -----) ca: 8.0s (19.1x, -----) dr: 7.2s (17.3x, -----) ma: 6.3s (14.9x, -----)
heap valgrind-old:0.42s no: 1.7s ( 4.0x, 0.0%) me: 7.5s (17.8x, -1.4%) ca:16.2s (38.6x, -1.9%) he:11.8s (28.1x, -1.3%) ca: 8.1s (19.2x, -0.1%) dr: 7.3s (17.3x, -0.1%) ma: 7.1s (16.9x,-13.4%)
-- heap_pdb4 --
heap_pdb4 valgrind-new:0.41s no: 1.8s ( 4.4x, -----) me:13.4s (32.8x, -----) ca:17.2s (42.0x, -----) he:13.0s (31.8x, -----) ca: 8.7s (21.1x, -----) dr: 7.8s (19.1x, -----) ma: 6.4s (15.6x, -----)
heap_pdb4 valgrind-old:0.41s no: 1.8s ( 4.3x, 2.2%) me:13.6s (33.1x, -1.0%) ca:17.0s (41.5x, 1.2%) he:12.9s (31.5x, 1.1%) ca: 8.8s (21.6x, -2.3%) dr: 7.8s (18.9x, 1.1%) ma: 7.3s (17.8x,-13.9%)
-- many-loss-records --
many-loss-records valgrind-new:0.04s no: 0.4s (10.2x, -----) me: 2.0s (51.2x, -----) ca: 2.0s (50.7x, -----) he: 1.7s (43.0x, -----) ca: 1.2s (31.0x, -----) dr: 1.5s (38.2x, -----) ma: 1.2s (30.0x, -----)
many-loss-records valgrind-old:0.04s no: 0.4s (10.5x, -2.4%) me: 2.1s (51.7x, -1.0%) ca: 2.0s (51.0x, -0.5%) he: 1.7s (42.2x, 1.7%) ca: 1.3s (31.5x, -1.6%) dr: 1.5s (36.8x, 3.9%) ma: 1.4s (34.0x,-13.3%)
-- many-xpts --
many-xpts valgrind-new:0.13s no: 0.5s ( 4.2x, -----) me: 2.3s (17.5x, -----) ca: 4.7s (36.5x, -----) he: 3.4s (26.3x, -----) ca: 1.8s (13.8x, -----) dr: 2.2s (17.3x, -----) ma: 1.9s (14.6x, -----)
many-xpts valgrind-old:0.13s no: 0.6s ( 4.2x, -1.9%) me: 2.2s (17.1x, 2.6%) ca: 4.7s (36.0x, 1.3%) he: 3.4s (26.0x, 1.2%) ca: 1.8s (14.0x, -1.1%) dr: 2.2s (16.8x, 2.7%) ma: 2.1s (15.8x, -8.4%)
-- memrw --
memrw valgrind-new:0.10s no: 0.7s ( 7.0x, -----) me: 1.6s (16.3x, -----) ca: 4.3s (42.7x, -----) he: 7.6s (75.6x, -----) ca: 2.9s (29.4x, -----) dr: 1.8s (17.6x, -----) ma: 0.7s ( 7.4x, -----)
memrw valgrind-old:0.10s no: 0.7s ( 7.0x, 0.0%) me: 1.6s (16.2x, 0.6%) ca: 4.2s (42.3x, 0.9%) he: 7.5s (74.9x, 0.9%) ca: 3.0s (29.5x, -0.3%) dr: 1.8s (17.7x, -0.6%) ma: 0.8s ( 7.5x, -1.4%)
-- sarp --
sarp valgrind-new:0.03s no: 0.4s (12.7x, -----) me: 2.9s (95.0x, -----) ca: 2.5s (84.0x, -----) he: 7.5s (248.7x, -----) ca: 1.2s (40.7x, -----) dr: 1.5s (48.7x, -----) ma: 0.4s (13.7x, -----)
sarp valgrind-old:0.03s no: 0.4s (13.0x, -2.6%) me: 2.8s (94.7x, 0.4%) ca: 2.5s (85.0x, -1.2%) he: 7.4s (247.3x, 0.5%) ca: 1.2s (40.0x, 1.6%) dr: 1.4s (48.3x, 0.7%) ma: 0.4s (13.7x, 0.0%)
-- tinycc --
tinycc valgrind-new:0.27s no: 2.2s ( 8.3x, -----) me:11.4s (42.4x, -----) ca:17.5s (64.9x, -----) he:15.4s (57.1x, -----) ca:11.0s (40.8x, -----) dr:12.5s (46.3x, -----) ma: 3.1s (11.6x, -----)
tinycc valgrind-old:0.27s no: 2.3s ( 8.4x, -1.3%) me:11.5s (42.7x, -0.9%) ca:17.4s (64.6x, 0.5%) he:15.4s (57.1x, 0.1%) ca:10.9s (40.4x, 0.9%) dr:12.6s (46.6x, -0.6%) ma: 3.3s (12.3x, -6.1%)
-- Finished tests in perf ----------------------------------------------
== 12 programs, 168 timings =================
real 58m34.52s
user 51m29.82s
sys 6m7.66s
=================================================
./valgrind-new/drd/tests/omp_printf.stderr.diff
=================================================
--- omp_printf.stderr.exp 2016-11-08 01:18:45.723719580 +0000
+++ omp_printf.stderr.out 2016-11-08 02:00:34.553368839 +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 2016-11-08 01:18:14.783306429 +0000
+++ preen_invars.stderr.out 2016-11-08 02:04:19.853179943 +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-11-08 01:18:14.775806465 +0000
+++ stackerr.stderr.out 2016-11-08 02:04:21.867276044 +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-11-08 01:18:14.805823188 +0000
+++ stackerr.stderr.out 2016-11-08 02:04:21.867276044 +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-11-08 01:18:01.484786507 +0000
+++ hginfo.stderrB.out 2016-11-08 01:30:23.062550051 +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-11-08 01:18:20.984324173 +0000
+++ bar_bad.stderr.out 2016-11-08 01:54:36.898516042 +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-11-08 01:18:20.815434063 +0000
+++ bar_bad.stderr.out 2016-11-08 01:54:36.898516042 +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-11-08 01:18:20.920232767 +0000
+++ free_is_write.stderr.out 2016-11-08 01:54:45.345907669 +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-11-08 01:18:21.145260850 +0000
+++ pth_barrier1.stderr.out 2016-11-08 01:55:11.845787639 +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-11-08 01:18:20.746076171 +0000
+++ pth_barrier2.stderr.out 2016-11-08 01:55:13.164304573 +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/tc21_pthonce.stderr.diff
=================================================
--- tc21_pthonce.stderr.exp 2016-11-08 01:18:20.768844155 +0000
+++ tc21_pthonce.stderr.out 2016-11-08 01:56:24.405079947 +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-11-08 01:18:21.281365028 +0000
+++ tls_threads.stderr.out 2016-11-08 01:56:36.998284281 +0000
@@ -1,2 +1,26 @@
+--27240:0: sched WARNING: pthread stack cache cannot be disabled!
starting join in main
+---Thread-Announcement------------------------------------------
+
+Thread #x was created
+ ...
+ by 0x........: pthread_create@* (hg_intercepts.c:...)
+ by 0x........: level1 (tls_threads.c:69)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+
+----------------------------------------------------------------
+
+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
+
finished join in main
=================================================
./valgrind-new/memcheck/tests/dw4.stderr.diff
=================================================
--- dw4.stderr.exp 2016-11-08 01:18:04.765128947 +0000
+++ dw4.stderr.out 2016-11-08 01:34:10.361218087 +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-11-08 01:18:11.804266356 +0000
+++ dw4.stderr.out 2016-11-08 01:34:10.361218087 +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-11-08 01:18:05.705164774 +0000
+++ leak_cpp_interior.stderr.out 2016-11-08 01:35:16.220192179 +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-11-08 01:18:04.558918995 +0000
+++ leak_cpp_interior.stderr.out 2016-11-08 01:35:16.220192179 +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-11-08 01:18:02.460803868 +0000
+++ leak_cpp_interior.stderr.out 2016-11-08 01:35:16.220192179 +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-11-08 01:18:10.355374597 +0000
+++ leak_cpp_interior.stderr.out 2016-11-08 01:35:16.220192179 +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/door_data.stderr.diff
=================================================
--- door_data.stderr.exp 2016-11-08 01:18:08.491886767 +0000
+++ door_data.stderr.out 2016-11-08 01:37:00.680511742 +0000
@@ -0,0 +1,14 @@
+Thread 2 door_create_func:
+Invalid write of size 8
+ ...
+ by 0x........: ??? (in /export/home/tester1/nightly/valgrind-new/memcheck/tests/solaris/door_data)
+ ...
+ Address 0x........ is on thread 2's stack
+
+Invalid read of size 8
+ ...
+ by 0x........: ??? (in /export/home/tester1/nightly/valgrind-new/memcheck/tests/solaris/door_data)
+ ...
+ Address 0x........ is on thread 2's stack
+ in frame #1, created by __door_return (???:)
+
=================================================
./valgrind-new/memcheck/tests/solaris/lsframe2.stderr.diff
=================================================
--- lsframe2.stderr.exp 2016-11-08 01:18:08.681664005 +0000
+++ lsframe2.stderr.out 2016-11-08 01:37:19.209745330 +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....
[truncated message content] |