|
From: <iv...@iv...> - 2017-11-08 04:43:30
|
valgrind revision: valgrind-3.14.0.GIT-cc89760481-20171107
C compiler: gcc (GCC) 5.4.0
GDB: GNU gdb (GDB) 7.6
Assembler: GNU assembler (GNU Binutils) 2.23.1
C library: Solaris libc
uname -mrs: SunOS 5.11 i86pc
Vendor version: Oracle Solaris 11.3 X86
Nightly build on solaris11.3 ( Solaris 11.3 x86 )
Started at 2017-11-08 00:30:00 UTC
Ended at 2017-11-08 04:39:07 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
== 788 tests, 13 stderr failures, 0 stdout failures, 1 stderrB failure, 0 stdoutB failures, 0 post failures ==
gdbserver_tests/hginfo (stderrB)
memcheck/tests/leak_cpp_interior (stderr)
memcheck/tests/solaris/door_data (stderr)
memcheck/tests/solaris/lsframe2 (stderr)
helgrind/tests/bar_bad (stderr)
helgrind/tests/bar_trivial (stderr)
helgrind/tests/free_is_write (stderr)
helgrind/tests/pth_barrier1 (stderr)
helgrind/tests/pth_barrier2 (stderr)
helgrind/tests/pth_barrier3 (stderr)
helgrind/tests/tc21_pthonce (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
== 788 tests, 13 stderr failures, 0 stdout failures, 1 stderrB failure, 0 stdoutB failures, 0 post failures ==
gdbserver_tests/hginfo (stderrB)
memcheck/tests/leak_cpp_interior (stderr)
memcheck/tests/solaris/door_data (stderr)
memcheck/tests/solaris/lsframe2 (stderr)
helgrind/tests/bar_bad (stderr)
helgrind/tests/bar_trivial (stderr)
helgrind/tests/free_is_write (stderr)
helgrind/tests/pth_barrier1 (stderr)
helgrind/tests/pth_barrier2 (stderr)
helgrind/tests/pth_barrier3 (stderr)
helgrind/tests/tc21_pthonce (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: *** [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
== 788 tests, 14 stderr failures, 0 stdout failures, 1 stderrB failure, 0 stdoutB failures, 0 post failures ==
gdbserver_tests/hginfo (stderrB)
memcheck/tests/leak_cpp_interior (stderr)
memcheck/tests/solaris/door_data (stderr)
memcheck/tests/solaris/lsframe2 (stderr)
helgrind/tests/bar_bad (stderr)
helgrind/tests/bar_trivial (stderr)
helgrind/tests/free_is_write (stderr)
helgrind/tests/pth_barrier1 (stderr)
helgrind/tests/pth_barrier2 (stderr)
helgrind/tests/pth_barrier3 (stderr)
helgrind/tests/tc21_pthonce (stderr)
drd/tests/omp_matinv_racy (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
== 788 tests, 14 stderr failures, 0 stdout failures, 1 stderrB failure, 0 stdoutB failures, 0 post failures ==
gdbserver_tests/hginfo (stderrB)
memcheck/tests/leak_cpp_interior (stderr)
memcheck/tests/solaris/door_data (stderr)
memcheck/tests/solaris/lsframe2 (stderr)
helgrind/tests/bar_bad (stderr)
helgrind/tests/bar_trivial (stderr)
helgrind/tests/free_is_write (stderr)
helgrind/tests/pth_barrier1 (stderr)
helgrind/tests/pth_barrier2 (stderr)
helgrind/tests/pth_barrier3 (stderr)
helgrind/tests/tc21_pthonce (stderr)
drd/tests/omp_matinv_racy (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: *** [regtest] Error 1
=================================================
== Difference between 24 hours ago and now ==
=================================================
*** old.short Wed Nov 8 02:00:48 2017
--- new.short Wed Nov 8 03:12:38 2017
***************
*** 8,10 ****
! == 788 tests, 14 stderr failures, 0 stdout failures, 1 stderrB failure, 0 stdoutB failures, 0 post failures ==
gdbserver_tests/hginfo (stderrB)
--- 8,10 ----
! == 788 tests, 13 stderr failures, 0 stdout failures, 1 stderrB failure, 0 stdoutB failures, 0 post failures ==
gdbserver_tests/hginfo (stderrB)
***************
*** 20,22 ****
helgrind/tests/tc21_pthonce (stderr)
- drd/tests/omp_matinv_racy (stderr)
drd/tests/omp_printf (stderr)
--- 20,21 ----
***************
*** 27,29 ****
Last 20 lines of verbose log follow echo
! == 788 tests, 14 stderr failures, 0 stdout failures, 1 stderrB failure, 0 stdoutB failures, 0 post failures ==
gdbserver_tests/hginfo (stderrB)
--- 26,29 ----
Last 20 lines of verbose log follow echo
!
! == 788 tests, 13 stderr failures, 0 stdout failures, 1 stderrB failure, 0 stdoutB failures, 0 post failures ==
gdbserver_tests/hginfo (stderrB)
***************
*** 39,41 ****
helgrind/tests/tc21_pthonce (stderr)
- drd/tests/omp_matinv_racy (stderr)
drd/tests/omp_printf (stderr)
--- 39,40 ----
--tools=none,memcheck,callgrind,helgrind,cachegrind,drd,massif --reps=3 --tools=none,memcheck,callgrind,helgrind,cachegrind,drd,massif --reps=3 --vg=../valgrind-old --vg=../valgrind-new
-- Running tests in perf ----------------------------------------------
-- bigcode1 --
bigcode1 valgrind-old:0.10s no: 1.8s (18.1x, -----) me: 4.0s (39.9x, -----) ca:18.8s (187.8x, -----) he: 2.4s (24.4x, -----) ca: 4.9s (49.0x, -----) dr: 2.4s (24.0x, -----) ma: 2.5s (24.7x, -----)
bigcode1 valgrind-new:0.10s no: 2.1s (21.4x,-18.2%) me: 3.8s (38.3x, 4.0%) ca:18.2s (182.1x, 3.0%) he: 2.3s (22.6x, 7.4%) ca: 4.8s (48.5x, 1.0%) dr: 2.2s (22.3x, 7.1%) ma: 2.5s (25.0x, -1.2%)
-- bigcode2 --
bigcode2 valgrind-old:0.13s no: 4.3s (32.8x, -----) me: 8.4s (64.5x, -----) ca:42.9s (330.0x, -----) he: 5.4s (41.8x, -----) ca: 7.7s (58.9x, -----) dr: 4.8s (36.8x, -----) ma: 4.7s (36.5x, -----)
bigcode2 valgrind-new:0.13s no: 3.9s (29.6x, 9.6%) me: 8.2s (63.2x, 2.0%) ca:43.9s (337.5x, -2.3%) he: 5.1s (39.0x, 6.8%) ca: 7.5s (57.5x, 2.3%) dr: 4.8s (36.6x, 0.4%) ma: 4.7s (36.5x, 0.0%)
-- bz2 --
bz2 valgrind-old:0.69s no: 2.5s ( 3.6x, -----) me: 8.5s (12.4x, -----) ca:16.3s (23.6x, -----) he:13.7s (19.8x, -----) ca:14.7s (21.2x, -----) dr:12.6s (18.3x, -----) ma: 2.2s ( 3.2x, -----)
bz2 valgrind-new:0.69s no: 2.2s ( 3.2x, 9.8%) me: 9.0s (13.0x, -5.2%) ca:18.6s (27.0x,-14.2%) he:12.6s (18.2x, 7.9%) ca:17.4s (25.3x,-19.0%) dr:13.9s (20.1x,-10.0%) ma: 2.5s ( 3.6x,-11.7%)
-- fbench --
fbench valgrind-old:0.28s no: 1.3s ( 4.7x, -----) me: 4.3s (15.5x, -----) ca: 7.6s (27.2x, -----) he: 3.4s (12.1x, -----) ca: 4.4s (15.7x, -----) dr: 3.8s (13.4x, -----) ma: 1.5s ( 5.4x, -----)
fbench valgrind-new:0.28s no: 1.4s ( 4.9x, -3.8%) me: 4.6s (16.3x, -5.3%) ca: 8.2s (29.4x, -8.0%) he: 3.5s (12.4x, -2.4%) ca: 4.6s (16.3x, -3.6%) dr: 3.2s (11.6x, 13.6%) ma: 1.5s ( 5.3x, 2.0%)
-- ffbench --
ffbench valgrind-old:0.27s no: 1.2s ( 4.6x, -----) me: 4.2s (15.4x, -----) ca: 2.6s ( 9.8x, -----) he:12.0s (44.5x, -----) ca: 7.5s (27.7x, -----) dr: 4.7s (17.5x, -----) ma: 1.3s ( 4.7x, -----)
ffbench valgrind-new:0.27s no: 1.3s ( 4.8x, -4.0%) me: 4.0s (14.9x, 3.1%) ca: 2.8s (10.3x, -5.7%) he:11.5s (42.7x, 4.0%) ca: 7.1s (26.4x, 4.9%) dr: 4.7s (17.4x, 0.4%) ma: 1.2s ( 4.4x, 6.3%)
-- heap --
heap valgrind-old:0.30s no: 1.6s ( 5.3x, -----) me: 6.7s (22.4x, -----) ca:14.3s (47.7x, -----) he:10.9s (36.3x, -----) ca: 9.4s (31.5x, -----) dr: 6.2s (20.7x, -----) ma: 3.2s (10.6x, -----)
heap valgrind-new:0.30s no: 1.8s ( 6.0x,-13.9%) me: 7.0s (23.5x, -5.1%) ca:14.2s (47.3x, 0.9%) he:10.4s (34.8x, 4.0%) ca: 9.5s (31.6x, -0.2%) dr: 6.5s (21.7x, -5.0%) ma: 3.4s (11.4x, -7.9%)
-- heap_pdb4 --
heap_pdb4 valgrind-old:0.27s no: 1.7s ( 6.3x, -----) me:11.0s (40.9x, -----) ca:15.9s (58.9x, -----) he:13.3s (49.3x, -----) ca:11.1s (41.0x, -----) dr: 7.4s (27.5x, -----) ma: 3.5s (13.0x, -----)
heap_pdb4 valgrind-new:0.27s no: 1.6s ( 5.9x, 7.0%) me:11.6s (43.1x, -5.3%) ca:18.6s (68.7x,-16.7%) he:11.4s (42.3x, 14.2%) ca: 9.8s (36.4x, 11.2%) dr: 6.5s (24.1x, 12.2%) ma: 3.3s (12.1x, 7.1%)
-- many-loss-records --
many-loss-records valgrind-old:0.03s no: 0.3s (11.7x, -----) me: 1.8s (61.3x, -----) ca: 1.8s (60.3x, -----) he: 1.6s (54.0x, -----) ca: 1.4s (46.0x, -----) dr: 1.4s (47.3x, -----) ma: 0.8s (26.7x, -----)
many-loss-records valgrind-new:0.03s no: 0.4s (12.0x, -2.9%) me: 2.0s (66.3x, -8.2%) ca: 2.0s (67.7x,-12.2%) he: 1.5s (48.7x, 9.9%) ca: 1.4s (45.0x, 2.2%) dr: 1.4s (48.3x, -2.1%) ma: 0.9s (29.7x,-11.2%)
-- many-xpts --
many-xpts valgrind-old:0.10s no: 0.5s ( 5.4x, -----) me: 2.2s (21.8x, -----) ca: 4.1s (40.7x, -----) he: 3.0s (29.5x, -----) ca: 1.9s (18.9x, -----) dr: 2.1s (21.4x, -----) ma: 2.6s (25.9x, -----)
many-xpts valgrind-new:0.10s no: 0.5s ( 5.4x, 0.0%) me: 2.0s (19.8x, 9.2%) ca: 4.0s (40.4x, 0.7%) he: 2.6s (26.2x, 11.2%) ca: 1.6s (15.9x, 15.9%) dr: 1.8s (17.9x, 16.4%) ma: 2.2s (22.5x, 13.1%)
-- memrw --
memrw valgrind-old:0.09s no: 0.7s ( 7.4x, -----) me: 1.5s (16.3x, -----) ca: 3.8s (42.3x, -----) he: 6.5s (72.0x, -----) ca: 2.4s (26.4x, -----) dr: 1.5s (16.4x, -----) ma: 0.6s ( 6.9x, -----)
memrw valgrind-new:0.09s no: 0.5s ( 5.6x, 25.4%) me: 1.4s (15.2x, 6.8%) ca: 3.8s (42.6x, -0.5%) he: 6.0s (66.4x, 7.7%) ca: 2.5s (27.7x, -4.6%) dr: 1.4s (15.8x, 4.1%) ma: 0.6s ( 6.2x, 9.7%)
-- sarp --
sarp valgrind-old:0.04s no: 0.3s ( 8.5x, -----) me: 2.9s (72.5x, -----) ca: 2.6s (66.2x, -----) he: 6.1s (153.5x, -----) ca: 1.1s (28.0x, -----) dr: 1.2s (30.0x, -----) ma: 0.4s (10.2x, -----)
sarp valgrind-new:0.04s no: 0.3s ( 8.8x, -2.9%) me: 2.6s (64.0x, 11.7%) ca: 2.1s (52.5x, 20.8%) he: 6.2s (155.8x, -1.5%) ca: 1.1s (27.2x, 2.7%) dr: 1.2s (30.8x, -2.5%) ma: 0.4s ( 9.8x, 4.9%)
-- tinycc --
tinycc valgrind-old:0.22s no: 1.6s ( 7.1x, -----) me:11.6s (52.9x, -----) ca:13.4s (61.0x, -----) he:16.0s (72.5x, -----) ca:14.1s (63.9x, -----) dr:14.3s (64.9x, -----) ma: 2.4s (10.7x, -----)
tinycc valgrind-new:0.22s no: 1.8s ( 8.1x,-14.1%) me:12.1s (55.1x, -4.2%) ca:16.1s (73.0x,-19.6%) he:14.0s (63.7x, 12.2%) ca:13.8s (62.6x, 2.0%) dr:14.4s (65.5x, -0.9%) ma: 2.2s ( 9.9x, 7.7%)
-- Finished tests in perf ----------------------------------------------
== 12 programs, 168 timings =================
real 1h26m29.38s
user 51m20.17s
sys 3m43.45s
=================================================
./valgrind-new/drd/tests/omp_printf.stderr.diff
=================================================
--- omp_printf.stderr.exp 2017-11-08 02:00:48.644170470 +0000
+++ omp_printf.stderr.out 2017-11-08 03:05:50.725509317 +0000
@@ -1,4 +1,45 @@
+Thread 2:
+Conflicting load by thread 2 at 0x........ size 4
+ at 0x........: main._omp_fn.0 (omp_printf.c:?)
+ by 0x........: gomp_thread_start (team.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+Allocation context: BSS section of omp_printf
+Other segment start (thread 3)
+ at 0x........: sem_wait (drd_pthread_intercepts.c:?)
+ by 0x........: gomp_sem_wait (sem.c:?)
+ by 0x........: gomp_barrier_wait_end (bar.c:?)
+ by 0x........: gomp_thread_start (team.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+Other segment end (thread 3)
+ at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?)
+ by 0x........: main._omp_fn.0 (omp_printf.c:?)
+ by 0x........: gomp_thread_start (team.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+
+Thread 1:
+Conflicting load by thread 1 at 0x........ size 4
+ at 0x........: main._omp_fn.0 (omp_printf.c:?)
+ by 0x........: GOMP_parallel (parallel.c:?)
+ by 0x........: main (omp_printf.c:?)
+Allocation context: BSS section of omp_printf
+Other segment start (thread 3)
+ at 0x........: sem_wait (drd_pthread_intercepts.c:?)
+ by 0x........: gomp_sem_wait (sem.c:?)
+ by 0x........: gomp_barrier_wait_end (bar.c:?)
+ by 0x........: gomp_thread_start (team.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+Other segment end (thread 3)
+ at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?)
+ by 0x........: main._omp_fn.0 (omp_printf.c:?)
+ by 0x........: gomp_thread_start (team.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+
Finished.
-ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 9 errors from 2 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/exp-sgcheck/tests/preen_invars.stderr.diff-glibc28-amd64
=================================================
--- preen_invars.stderr.exp-glibc28-amd64 2017-11-08 02:00:51.584758797 +0000
+++ preen_invars.stderr.out 2017-11-08 03:10:19.138284135 +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-11-08 02:00:51.585576489 +0000
+++ stackerr.stderr.out 2017-11-08 03:10:21.200422000 +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........: ...
+ at 0x........: memcpy (h_intercepts.c:...)
+ by 0x........: _ndoprnt (in /...libc...)
by 0x........: ...
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 3 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-11-08 02:00:51.586686069 +0000
+++ stackerr.stderr.out 2017-11-08 03:10:21.200422000 +0000
@@ -16,13 +16,12 @@
Actual: is 0 after Expected
Invalid write of size 1
- at 0x........: _IO_default_xsputn (in /...libc...)
- by 0x........: ...
+ at 0x........: memcpy (h_intercepts.c:...)
+ by 0x........: _ndoprnt (in /...libc...)
by 0x........: ...
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 3 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-11-08 02:00:48.707209752 +0000
+++ hginfo.stderrB.out 2017-11-08 02:26:50.948320884 +0000
@@ -15,4 +15,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-11-08 02:00:49.192023192 +0000
+++ bar_bad.stderr.out 2017-11-08 02:58:29.278048261 +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-11-08 02:00:49.199731235 +0000
+++ bar_bad.stderr.out 2017-11-08 02:58:29.278048261 +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/bar_trivial.stderr.diff
=================================================
--- bar_trivial.stderr.exp 2017-11-08 02:00:49.193407383 +0000
+++ bar_trivial.stderr.out 2017-11-08 02:58:32.643123681 +0000
@@ -0,0 +1,18 @@
+---Thread-Announcement------------------------------------------
+
+Thread #x was created
+ ...
+ by 0x........: pthread_create@* (hg_intercepts.c:...)
+ by 0x........: main (bar_trivial.c:44)
+
+----------------------------------------------------------------
+
+Thread #x: pthread_cond_{signal,broadcast}: dubious: associated lock is not held by any thread
+ at 0x........: pthread_cond_broadcast_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_cond_broadcast@* (hg_intercepts.c:...)
+ ...
+ by 0x........: pthread_barrier_wait (hg_intercepts.c:...)
+ by 0x........: child_fn (bar_trivial.c:23)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+
=================================================
./valgrind-new/helgrind/tests/free_is_write.stderr.diff
=================================================
--- free_is_write.stderr.exp 2017-11-08 02:00:49.214524675 +0000
+++ free_is_write.stderr.out 2017-11-08 02:58:39.469510161 +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-11-08 02:00:49.191122071 +0000
+++ pth_barrier1.stderr.out 2017-11-08 02:59:09.714431140 +0000
@@ -6,6 +6,17 @@
by 0x........: barriers_and_races (pth_barrier.c:92)
by 0x........: main (pth_barrier.c:122)
+----------------------------------------------------------------
+
+Thread #x: pthread_cond_{signal,broadcast}: dubious: associated lock is not held by any thread
+ at 0x........: pthread_cond_broadcast_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_cond_broadcast@* (hg_intercepts.c:...)
+ ...
+ by 0x........: pthread_barrier_wait (hg_intercepts.c:...)
+ by 0x........: threadfunc (pth_barrier.c:54)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+
---Thread-Announcement------------------------------------------
Thread #x was created
=================================================
./valgrind-new/helgrind/tests/pth_barrier2.stderr.diff
=================================================
--- pth_barrier2.stderr.exp 2017-11-08 02:00:49.212352169 +0000
+++ pth_barrier2.stderr.out 2017-11-08 02:59:11.087382750 +0000
@@ -6,6 +6,17 @@
by 0x........: barriers_and_races (pth_barrier.c:92)
by 0x........: main (pth_barrier.c:122)
+----------------------------------------------------------------
+
+Thread #x: pthread_cond_{signal,broadcast}: dubious: associated lock is not held by any thread
+ at 0x........: pthread_cond_broadcast_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_cond_broadcast@* (hg_intercepts.c:...)
+ ...
+ by 0x........: pthread_barrier_wait (hg_intercepts.c:...)
+ by 0x........: threadfunc (pth_barrier.c:54)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+
---Thread-Announcement------------------------------------------
Thread #x was created
@@ -39,590 +50,12 @@
----------------------------------------------------------------
-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
-
-----------------------------------------------------------------
-
-Possible data race during write of size 1 at 0x........ by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
-
-This conflicts with a previous write of size 1 by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
- Address 0x........ is 4 bytes inside a block of size 32 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: barriers_and_races (pth_barrier.c:76)
- by 0x........: main (pth_barrier.c:122)
- Block was alloc'd by thread #x
-
-----------------------------------------------------------------
-
<truncated beyond 100 lines>
=================================================
./valgrind-new/helgrind/tests/pth_barrier3.stderr.diff
=================================================
--- pth_barrier3.stderr.exp 2017-11-08 02:00:49.200819814 +0000
+++ pth_barrier3.stderr.out 2017-11-08 02:59:14.184164667 +0000
@@ -6,6 +6,17 @@
by 0x........: barriers_and_races (pth_barrier.c:92)
by 0x........: main (pth_barrier.c:122)
+----------------------------------------------------------------
+
+Thread #x: pthread_cond_{signal,broadcast}: dubious: associated lock is not held by any thread
+ at 0x........: pthread_cond_broadcast_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_cond_broadcast@* (hg_intercepts.c:...)
+ ...
+ by 0x........: pthread_barrier_wait (hg_intercepts.c:...)
+ by 0x........: threadfunc (pth_barrier.c:54)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+
---Thread-Announcement------------------------------------------
Thread #x was created
=================================================
./valgrind-new/helgrind/tests/tc21_pthonce.stderr.diff
=================================================
--- tc21_pthonce.stderr.exp 2017-11-08 02:00:49.198460205 +0000
+++ tc21_pthonce.stderr.out 2017-11-08 03:00:45.248568078 +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/memcheck/tests/leak_cpp_interior.stderr.diff
=================================================
--- leak_cpp_interior.stderr.exp 2017-11-08 02:00:49.036596647 +0000
+++ leak_cpp_interior.stderr.out 2017-11-08 02:35:37.261357728 +0000
@@ -9,7 +9,7 @@
definitely lost: x bytes in 1 blocks
indirectly lost: 0 bytes in 0 blocks
possibly lost: 0 bytes in 0 blocks
- still reachable: x bytes in 8 blocks
+ still reachable: x bytes in 9 blocks
of which reachable via heuristic:
stdstring : x bytes in 2 blocks
length64 : x bytes in 1 blocks
@@ -23,7 +23,7 @@
definitely lost: x (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
possibly lost: x (+x) bytes in 4 (+4) blocks
- still reachable: x (-x) bytes in 4 (-4) blocks
+ still reachable: x (-x) bytes in 5 (-4) blocks
of which reachable via heuristic:
stdstring : 0 (-x) bytes in 0 (-2) blocks
length64 : 0 (-x) bytes in 0 (-1) blocks
@@ -35,10 +35,10 @@
LEAK SUMMARY:
definitely lost: x (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
- possibly lost: x (-x) bytes in 5 (+1) blocks
- still reachable: x (+x) bytes in 3 (-1) blocks
+ possibly lost: x (-x) bytes in 4 (+0) blocks
+ still reachable: x (+x) bytes in 5 (+0) blocks
of which reachable via heuristic:
- newarray : x (+x) bytes in 1 (+1) blocks
+ newarray : x (+x) bytes in 2 (+2) blocks
multipleinheritance: 0 (-x) bytes in 0 (-2) blocks
To see details of leaked memory, give 'full' arg to leak_check
@@ -46,11 +46,11 @@
LEAK SUMMARY:
definitely lost: x (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
- possibly lost: x (-x) bytes in 5 (+0) blocks
- still reachable: x (+x) bytes in 3 (+0) blocks
+ possibly lost: x (+x) bytes in 5 (+1) blocks
+ still reachable: x (-x) bytes in 4 (-1) blocks
of which reachable via heuristic:
length64 : x (+x) bytes in 1 (+1) blocks
- newarray : 0 (-x) bytes in 0 (-1) blocks
+ newarray : 0 (-x) bytes in 0 (-2) blocks
To see details of leaked memory, give 'full' arg to leak_check
leak_check summary heuristics stdstring
@@ -58,7 +58,7 @@
definitely lost: x (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
possibly lost: x (-x) bytes in 4 (-1) blocks
- still reachable: x (+x) bytes in 4 (+1) blocks
+ still reachable: x (+x) bytes in 5 (+1) blocks
of which reachable via heuristic:
stdstring : x (+x) bytes in 2 (+2) blocks
length64 : 0 (-x) bytes in 0 (-1) blocks
@@ -69,7 +69,7 @@
definitely lost: x (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
possibly lost: 0 (-x) bytes in 0 (-4) blocks
- still reachable: x (+x) bytes in 8 (+4) blocks
+ still reachable: x (+x) bytes in 9 (+4) blocks
of which reachable via heuristic:
stdstring : x (+0) bytes in 2 (+0) blocks
length64 : x (+x) bytes in 1 (+1) blocks
@@ -82,7 +82,7 @@
definitely lost: x (+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: x (+0) bytes in 8 (+0) blocks
+ still reachable: x (+0) bytes in 9 (+0) blocks
of which reachable via heuristic:
stdstring : x (+0) bytes in 2 (+0) blocks
length64 : x (+0) bytes in 1 (+0) blocks
@@ -95,7 +95,7 @@
definitely lost: x (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
possibly lost: x (+x) bytes in 6 (+6) blocks
- still reachable: x (-x) bytes in 2 (-6) blocks
+ still reachable: x (-x) bytes in 3 (-6) blocks
of which reachable via heuristic:
stdstring : 0 (-x) bytes in 0 (-2) blocks
length64 : 0 (-x) bytes in 0 (-1) blocks
@@ -125,9 +125,14 @@
Finished!
HEAP SUMMARY:
- in use at exit: 0 bytes in 0 blocks
+ in use at exit: x bytes in 1 blocks
-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: x bytes in 1 blocks
+Rerun with --leak-check=full to see details of leaked memory
<truncated beyond 100 lines>
=================================================
./valgrind-new/memcheck/tests/leak_cpp_interior.stderr.diff-64bit
=================================================
--- leak_cpp_interior.stderr.exp-64bit 2017-11-08 02:00:48.994335295 +0000
+++ leak_cpp_interior.stderr.out 2017-11-08 02:35:37.261357728 +0000
@@ -9,7 +9,7 @@
definitely lost: x bytes in 1 blocks
indirectly lost: 0 bytes in 0 blocks
possibly lost: 0 bytes in 0 blocks
- still reachable: x bytes in 8 blocks
+ still reachable: x bytes in 9 blocks
of which reachable via heuristic:
stdstring : x bytes in 2 blocks
length64 : x bytes in 1 blocks
@@ -23,7 +23,7 @@
definitely lost: x (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
possibly lost: x (+x) bytes in 4 (+4) blocks
- still reachable: x (-x) bytes in 4 (-4) blocks
+ still reachable: x (-x) bytes in 5 (-4) blocks
of which reachable via heuristic:
stdstring : 0 (-x) bytes in 0 (-2) blocks
length64 : 0 (-x) bytes in 0 (-1) blocks
@@ -36,7 +36,7 @@
definitely lost: x (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
possibly lost: x (-x) bytes in 4 (+0) blocks
- still reachable: x (+x) bytes in 4 (+0) blocks
+ still reachable: x (+x) bytes in 5 (+0) blocks
of which reachable via heuristic:
newarray : x (+x) bytes in 2 (+2) blocks
multipleinheritance: 0 (-x) bytes in 0 (-2) blocks
@@ -47,7 +47,7 @@
definitely lost: x (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
possibly lost: x (+x) bytes in 5 (+1) blocks
- still reachable: x (-x) bytes in 3 (-1) blocks
+ still reachable: x (-x) bytes in 4 (-1) blocks
of which reachable via heuristic:
length64 : x (+x) bytes in 1 (+1) blocks
newarray : 0 (-x) bytes in 0 (-2) blocks
@@ -58,7 +58,7 @@
definitely lost: x (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
possibly lost: x (-x) bytes in 4 (-1) blocks
- still reachable: x (+x) bytes in 4 (+1) blocks
+ still reachable: x (+x) bytes in 5 (+1) blocks
of which reachable via heuristic:
stdstring : x (+x) bytes in 2 (+2) blocks
length64 : 0 (-x) bytes in 0 (-1) blocks
@@ -69,7 +69,7 @@
definitely lost: x (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
possibly lost: 0 (-x) bytes in 0 (-4) blocks
- still reachable: x (+x) bytes in 8 (+4) blocks
+ still reachable: x (+x) bytes in 9 (+4) blocks
of which reachable via heuristic:
stdstring : x (+0) bytes in 2 (+0) blocks
length64 : x (+x) bytes in 1 (+1) blocks
@@ -82,7 +82,7 @@
definitely lost: x (+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: x (+0) bytes in 8 (+0) blocks
+ still reachable: x (+0) bytes in 9 (+0) blocks
of which reachable via heuristic:
stdstring : x (+0) bytes in 2 (+0) blocks
length64 : x (+0) bytes in 1 (+0) blocks
@@ -95,7 +95,7 @@
definitely lost: x (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
possibly lost: x (+x) bytes in 6 (+6) blocks
- still reachable: x (-x) bytes in 2 (-6) blocks
+ still reachable: x (-x) bytes in 3 (-6) blocks
of which reachable via heuristic:
stdstring : 0 (-x) bytes in 0 (-2) blocks
length64 : 0 (-x) bytes in 0 (-1) blocks
@@ -125,9 +125,14 @@
Finished!
HEAP SUMMARY:
- in use at exit: 0 bytes in 0 blocks
+ in use at exit: x bytes in 1 blocks
-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: x bytes in 1 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/solaris/door_data.stderr.diff
=================================================
--- door_data.stderr.exp 2017-11-08 02:00:49.058171063 +0000
+++ door_data.stderr.out 2017-11-08 02:38:14.291899959 +0000
@@ -0,0 +1,14 @@
+Thread 2 door_create_func:
+Invalid write of size 8
+ ...
+ by 0x........: ??? (in /export/home/tester1/nightly-git/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-git/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 2017-11-08 02:00:49.067749261 +0000
+++ lsframe2.stderr.out 2017-11-08 02:38:36.904286488 +0000
@@ -0,0 +1,49 @@
+Invalid write of size 4
+ at 0x........: rec (lsframe2.c:12)
+ by 0x........: main (lsframe2.c:28)
+ Address 0x........ is on thread 1's stack
+ in frame #0, created by rec (lsframe2.c:12)
+
+Invalid read of size 4
+ at 0x........: rec (lsframe2.c:15)
+ by 0x........: main (lsframe2.c:28)
+ Address 0x........ is on thread 1's stack
+ in frame #0, created by rec (lsframe2.c:12)
+
+Invalid read of size 4
+ at 0x........: rec (lsframe2.c:17)
+ by 0x........: main (lsframe2.c:28)
+ Address 0x........ is on thread 1's stack
+ in frame #0, created by rec (lsframe2.c:12)
+
+Invalid write of size 4
+ at 0x........: rec (lsframe2.c:17)
+ by 0x........: main (lsframe2.c:28)
+ Address 0x........ is on thread 1's stack
+ in frame #0, created by rec (lsframe2.c:12)
+
+Invalid read of size 4
+ at 0x........: rec (lsframe2.c:18)
+ by 0x........: main (lsframe2.c:28)
+ Address 0x........ is on thread 1's stack
+ in frame #0, created by rec (lsframe2.c:12)
+
+Invalid write of size 8
+ at 0x........: rec (lsframe2.c:18)
+ by 0x........: main (lsframe2.c:28)
+ Address 0x........ is on thread 1's stack
+ in frame #0, created by rec (lsframe2.c:12)
+
+Invalid read of size 8
+ at 0x........: rec (lsframe2.c:22)
+ by 0x........: rec (lsframe2.c:18)
+ by 0x........: main (lsframe2.c:28)
+ Address 0x........ is on thread 1's stack
+ in frame #0, created by rec (lsframe2.c:12)
+
+Invalid read of size 4
+ at 0x........: rec (lsframe2.c:20)
+ by 0x........: main (lsframe2.c:28)
+ Address 0x........ is on thread 1's stack
+ in frame #0, created by rec (lsframe2.c:12)
+
=================================================
./valgrind-old/drd/tests/omp_matinv_racy.stderr.diff
=================================================
--- omp_matinv_racy.stderr.exp 2017-11-08 00:31:19.014328789 +0000
+++ omp_matinv_racy.stderr.out 2017-11-08 01:53:08.287600480 +0000
@@ -1 +1 @@
-ERROR SUMMARY: 76 errors from 7 contexts
+ERROR SUMMARY: 76 errors from 14 contexts
=================================================
./valgrind-old/drd/tests/omp_printf.stderr.diff
=================================================
--- omp_printf.stderr.exp 2017-11-08 00:31:19.033835324 +0000
+++ omp_printf.stderr.out 2017-11-08 01:53:15.511175757 +0000
@@ -1,4 +1,45 @@
+Thread 3:
+Conflicting load by thread 3 at 0x........ size 4
+ at 0x........: main._omp_fn.0 (omp_printf.c:?)
+ by 0x........: gomp_thread_start (team.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+Allocation context: BSS section of omp_printf
+Other segment start (thread 2)
+ at 0x........: sem_wait (drd_pthread_intercepts.c:?)
+ by 0x........: gomp_sem_wait (sem.c:?)
+ by 0x........: gomp_barrier_wait_end (bar.c:?)
+ by 0x........: gomp_thread_start (team.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+Other segment end (thread 2)
+ at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?)
+ by 0x........: main._omp_fn.0 (omp_printf.c:?)
+ by 0x........: gomp_thread_start (team.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+
+Thread 1:
+Conflicting load by thread 1 at 0x........ size 4
+ at 0x........: main._omp_fn.0 (omp_printf.c:?)
+ by 0x........: GOMP_parallel (parallel.c:?)
+ by 0x........: main (omp_printf.c:?)
+Allocation context: BSS section of omp_printf
+Other segment start (thread 2)
+ at 0x........: sem_wait (drd_pthread_intercepts.c:?)
+ by 0x........: gomp_sem_wait (sem.c:?)
+ by 0x........: gomp_barrier_wait_end (bar.c:?)
+ by 0x........: gomp_thread_start (team.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+Other segment end (thread 2)
+ at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?)
+ by 0x........: main._omp_fn.0 (omp_printf.c:?)
+ by 0x........: gomp_thread_start (team.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+
Finished.
-ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 9 errors from 2 contexts (suppressed: 0 from 0)
=================================================
./valgrind-old/exp-sgcheck/tests/preen_invars.stderr.diff-glibc28-amd64
=================================================
--- preen_invars.stderr.exp-glibc28-amd64 2017-11-08 00:31:20.319840093 +0000
+++ preen_invars.stderr.out 2017-11-08 01:58:07.683117620 +0000
@@ -1,9 +1,3 @@
-Invalid read of size 1
- at 0x........: main (preen_invars.c:22)
- Address 0x........ expected vs actual:
- Expected: unknown
- Actual: global array "im_a_global_arr" of size 10 in object with soname "preen_invars_so"
-
-ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
=================================================
./valgrind-old/exp-sgcheck/tests/stackerr.stderr.diff-glibc27-x86
=================================================
--- stackerr.stderr.exp-glibc27-x86 2017-11-08 00:31:20.320363384 +0000
+++ stackerr.stderr.out 2017-11-08 01:58:09.938860610 +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........: ...
+ at 0x........: memcpy (h_intercepts.c:...)
+ by 0x........: _ndoprnt (in /...libc...)
by 0x........: ...
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 3 back from here
ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
=================================================
./valgrind-old/exp-sgcheck/tests/stackerr.stderr.diff-glibc28-amd64
=================================================
--- stackerr.stderr.exp-glibc28-amd64 2017-11-08 00:31:20.321296399 +0000
+++ stackerr.stderr.out 2017-11-08 01:58:09.938860610 +0000
@@ -16,13 +16,12 @@
Actual: is 0 after Expected
Invalid write of size 1
- at 0x........: _IO_default_xsputn (in /...libc...)
- by 0x........: ...
+ at 0x........: memcpy (h_intercepts.c:...)
+ by 0x........: _ndoprnt (in /...libc...)
by 0x........: ...
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 3 back from here
ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
=================================================
./valgrind-old/gdbserver_tests/hginfo.stderrB.diff
=================================================
--- hginfo.stderrB.exp 2017-11-08 00:31:19.073631015 +0000
+++ hginfo.stderrB.out 2017-11-08 00:59:07.803235812 +0000
@@ -15,4 +15,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-old/helgrind/tests/bar_bad.stderr.diff
=================================================
--- bar_bad.stderr.exp 2017-11-08 00:31:19.330032062 +0000
+++ bar_bad.stderr.out 2017-11-08 01:44:26.805081045 +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-old/helgrind/tests/bar_bad.stderr.diff-destroy-hang
=================================================
--- bar_bad.stderr.exp-destroy-hang 2017-11-08 00:31:19.336107692 +0000
+++ bar_bad.stderr.out 2017-11-08 01:44:26.805081045 +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
-------------------------------...
[truncated message content] |