|
From: <iv...@iv...> - 2018-02-25 02:28:51
|
valgrind revision: valgrind-3.14.0.GIT-b0c12db82a-20180224
C compiler: gcc (GCC) 5.5.0
GDB: GNU gdb (GDB) 8.0
Assembler: GNU assembler (GNU Binutils) 2.29
C library: Solaris libc
uname -mrs: SunOS 5.11 i86pc
Vendor version: Oracle Solaris Trunk
Nightly build on solaris12 ( Solaris Trunk x86 )
Started at 2018-02-25 00:30:00 UTC
Ended at 2018-02-25 02:23:26 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
== 793 tests, 14 stderr failures, 1 stdout failure, 1 stderrB failure, 0 stdoutB failures, 0 post failures ==
gdbserver_tests/hginfo (stderrB)
memcheck/tests/dw4 (stderr)
memcheck/tests/leak_cpp_interior (stderr)
memcheck/tests/solaris/door_data (stderr)
memcheck/tests/solaris/lsframe2 (stderr)
memcheck/tests/solaris/name_service_door (stdout)
memcheck/tests/solaris/name_service_door (stderr)
memcheck/tests/solaris/pkcs11 (stderr)
helgrind/tests/bar_bad (stderr)
helgrind/tests/free_is_write (stderr)
helgrind/tests/pth_barrier1 (stderr)
helgrind/tests/pth_barrier2 (stderr)
helgrind/tests/tc21_pthonce (stderr)
drd/tests/omp_printf (stderr)
exp-sgcheck/tests/preen_invars (stderr)
exp-sgcheck/tests/stackerr (stderr)
Last 20 lines of verbose log follow echo
gdbserver_tests/hginfo (stderrB)
memcheck/tests/dw4 (stderr)
memcheck/tests/leak_cpp_interior (stderr)
memcheck/tests/solaris/door_data (stderr)
memcheck/tests/solaris/lsframe2 (stderr)
memcheck/tests/solaris/name_service_door (stdout)
memcheck/tests/solaris/name_service_door (stderr)
memcheck/tests/solaris/pkcs11 (stderr)
helgrind/tests/bar_bad (stderr)
helgrind/tests/free_is_write (stderr)
helgrind/tests/pth_barrier1 (stderr)
helgrind/tests/pth_barrier2 (stderr)
helgrind/tests/tc21_pthonce (stderr)
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:1344: 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
== 793 tests, 15 stderr failures, 1 stdout failure, 1 stderrB failure, 0 stdoutB failures, 0 post failures ==
gdbserver_tests/hginfo (stderrB)
memcheck/tests/dw4 (stderr)
memcheck/tests/leak_cpp_interior (stderr)
memcheck/tests/solaris/door_data (stderr)
memcheck/tests/solaris/lsframe2 (stderr)
memcheck/tests/solaris/name_service_door (stdout)
memcheck/tests/solaris/name_service_door (stderr)
memcheck/tests/solaris/pkcs11 (stderr)
helgrind/tests/bar_bad (stderr)
helgrind/tests/free_is_write (stderr)
helgrind/tests/pth_barrier1 (stderr)
helgrind/tests/pth_barrier2 (stderr)
helgrind/tests/pth_barrier3 (stderr)
helgrind/tests/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
memcheck/tests/dw4 (stderr)
memcheck/tests/leak_cpp_interior (stderr)
memcheck/tests/solaris/door_data (stderr)
memcheck/tests/solaris/lsframe2 (stderr)
memcheck/tests/solaris/name_service_door (stdout)
memcheck/tests/solaris/name_service_door (stderr)
memcheck/tests/solaris/pkcs11 (stderr)
helgrind/tests/bar_bad (stderr)
helgrind/tests/free_is_write (stderr)
helgrind/tests/pth_barrier1 (stderr)
helgrind/tests/pth_barrier2 (stderr)
helgrind/tests/pth_barrier3 (stderr)
helgrind/tests/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: *** [Makefile:1344: regtest] Error 1
=================================================
== Difference between 24 hours ago and now ==
=================================================
*** old.short Sun Feb 25 01:04:52 2018
--- new.short Sun Feb 25 01:38:53 2018
***************
*** 8,10 ****
! == 793 tests, 15 stderr failures, 1 stdout failure, 1 stderrB failure, 0 stdoutB failures, 0 post failures ==
gdbserver_tests/hginfo (stderrB)
--- 8,10 ----
! == 793 tests, 14 stderr failures, 1 stdout failure, 1 stderrB failure, 0 stdoutB failures, 0 post failures ==
gdbserver_tests/hginfo (stderrB)
***************
*** 21,23 ****
helgrind/tests/pth_barrier2 (stderr)
- helgrind/tests/pth_barrier3 (stderr)
helgrind/tests/tc21_pthonce (stderr)
--- 21,22 ----
***************
*** 29,30 ****
--- 28,30 ----
Last 20 lines of verbose log follow echo
+ gdbserver_tests/hginfo (stderrB)
memcheck/tests/dw4 (stderr)
***************
*** 40,42 ****
helgrind/tests/pth_barrier2 (stderr)
- helgrind/tests/pth_barrier3 (stderr)
helgrind/tests/tc21_pthonce (stderr)
--- 40,41 ----
--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 (17.6x, -----) me: 4.0s (39.6x, -----) ca:16.0s (160.0x, -----) he: 2.0s (20.0x, -----) ca: 4.1s (40.9x, -----) dr: 2.0s (20.1x, -----) ma: 2.0s (19.7x, -----)
bigcode1 valgrind-new:0.10s no: 1.8s (17.5x, 0.6%) me: 3.9s (38.7x, 2.3%) ca:15.5s (154.8x, 3.2%) he: 2.1s (21.0x, -5.0%) ca: 4.0s (39.8x, 2.7%) dr: 2.0s (20.4x, -1.5%) ma: 1.9s (19.3x, 2.0%)
-- bigcode2 --
bigcode2 valgrind-old:0.12s no: 3.8s (31.2x, -----) me: 9.1s (76.2x, -----) ca:34.9s (290.9x, -----) he: 4.6s (38.6x, -----) ca: 6.9s (57.2x, -----) dr: 4.5s (37.2x, -----) ma: 4.2s (35.2x, -----)
bigcode2 valgrind-new:0.12s no: 3.9s (32.4x, -3.7%) me: 9.1s (75.6x, 0.8%) ca:35.2s (293.6x, -0.9%) he: 4.5s (37.9x, 1.7%) ca: 6.8s (56.2x, 1.6%) dr: 4.5s (37.2x, 0.0%) ma: 4.2s (34.6x, 1.7%)
-- bz2 --
bz2 valgrind-old:0.66s no: 2.2s ( 3.3x, -----) me: 7.7s (11.7x, -----) ca:13.6s (20.6x, -----) he:10.8s (16.3x, -----) ca:13.0s (19.7x, -----) dr:12.1s (18.4x, -----) ma: 2.0s ( 3.0x, -----)
bz2 valgrind-new:0.66s no: 2.1s ( 3.1x, 5.1%) me: 7.5s (11.3x, 3.1%) ca:14.0s (21.2x, -2.7%) he:10.6s (16.1x, 1.3%) ca:13.2s (20.0x, -1.3%) dr:12.1s (18.3x, 0.3%) ma: 2.0s ( 3.1x, -2.0%)
-- fbench --
fbench valgrind-old:0.25s no: 1.2s ( 5.0x, -----) me: 3.9s (15.8x, -----) ca: 6.3s (25.1x, -----) he: 2.8s (11.0x, -----) ca: 3.7s (14.7x, -----) dr: 2.9s (11.4x, -----) ma: 1.2s ( 5.0x, -----)
fbench valgrind-new:0.25s no: 1.2s ( 4.8x, 3.2%) me: 3.9s (15.6x, 0.8%) ca: 6.2s (24.9x, 0.6%) he: 2.7s (10.9x, 1.1%) ca: 3.9s (15.7x, -6.8%) dr: 2.9s (11.7x, -2.5%) ma: 1.2s ( 5.0x, 0.8%)
-- ffbench --
ffbench valgrind-old:0.28s no: 1.2s ( 4.2x, -----) me: 4.0s (14.2x, -----) ca: 2.4s ( 8.6x, -----) he: 7.8s (27.7x, -----) ca: 5.9s (21.2x, -----) dr: 4.0s (14.2x, -----) ma: 1.1s ( 4.0x, -----)
ffbench valgrind-new:0.28s no: 1.2s ( 4.2x, -0.9%) me: 4.0s (14.2x, -0.3%) ca: 2.4s ( 8.5x, 1.2%) he: 8.5s (30.3x, -9.4%) ca: 5.9s (21.0x, 0.8%) dr: 4.0s (14.1x, 0.5%) ma: 1.1s ( 4.0x, 0.0%)
-- heap --
heap valgrind-old:0.23s no: 1.4s ( 6.3x, -----) me: 6.0s (26.2x, -----) ca:12.3s (53.6x, -----) he: 8.2s (35.7x, -----) ca: 8.1s (35.2x, -----) dr: 5.5s (23.9x, -----) ma: 2.8s (12.1x, -----)
heap valgrind-new:0.23s no: 1.4s ( 6.3x, 0.0%) me: 6.0s (25.9x, 1.0%) ca:12.7s (55.1x, -2.8%) he: 8.3s (36.1x, -1.3%) ca: 8.0s (34.7x, 1.5%) dr: 5.4s (23.5x, 1.6%) ma: 2.8s (12.0x, 1.1%)
-- heap_pdb4 --
heap_pdb4 valgrind-old:0.24s no: 1.5s ( 6.1x, -----) me: 9.7s (40.4x, -----) ca:13.1s (54.5x, -----) he: 9.3s (38.8x, -----) ca: 8.4s (35.1x, -----) dr: 5.9s (24.5x, -----) ma: 2.8s (11.7x, -----)
heap_pdb4 valgrind-new:0.24s no: 1.5s ( 6.2x, -2.0%) me: 9.8s (40.7x, -0.8%) ca:13.1s (54.5x, -0.1%) he: 9.5s (39.5x, -1.9%) ca: 8.5s (35.5x, -1.2%) dr: 6.1s (25.3x, -3.2%) ma: 2.8s (11.8x, -0.4%)
-- many-loss-records --
many-loss-records valgrind-old:0.02s no: 0.3s (15.5x, -----) me: 1.6s (78.5x, -----) ca: 1.6s (80.5x, -----) he: 1.2s (59.5x, -----) ca: 1.2s (58.5x, -----) dr: 1.1s (55.5x, -----) ma: 0.7s (35.5x, -----)
many-loss-records valgrind-new:0.02s no: 0.3s (15.5x, 0.0%) me: 1.5s (74.5x, 5.1%) ca: 1.5s (76.5x, 5.0%) he: 1.2s (60.0x, -0.8%) ca: 1.1s (56.0x, 4.3%) dr: 1.1s (55.0x, 0.9%) ma: 0.7s (32.5x, 8.5%)
-- many-xpts --
many-xpts valgrind-old:0.08s no: 0.4s ( 5.2x, -----) me: 1.7s (21.4x, -----) ca: 3.3s (41.2x, -----) he: 2.1s (26.8x, -----) ca: 1.6s (20.0x, -----) dr: 1.6s (19.9x, -----) ma: 1.9s (23.6x, -----)
many-xpts valgrind-new:0.08s no: 0.4s ( 5.4x, -2.4%) me: 1.8s (22.1x, -3.5%) ca: 3.5s (43.1x, -4.5%) he: 2.2s (27.1x, -1.4%) ca: 1.6s (19.8x, 1.2%) dr: 1.6s (19.6x, 1.3%) ma: 1.9s (23.2x, 1.6%)
-- memrw --
memrw valgrind-old:0.06s no: 0.5s ( 8.3x, -----) me: 1.4s (23.0x, -----) ca: 3.2s (53.7x, -----) he: 5.2s (87.3x, -----) ca: 2.4s (39.8x, -----) dr: 1.3s (21.8x, -----) ma: 0.5s ( 8.8x, -----)
memrw valgrind-new:0.06s no: 0.5s ( 8.3x, 0.0%) me: 1.4s (23.2x, -0.7%) ca: 3.2s (53.3x, 0.6%) he: 5.2s (87.5x, -0.2%) ca: 2.4s (39.8x, 0.0%) dr: 1.3s (21.3x, 2.3%) ma: 0.6s ( 9.3x, -5.7%)
-- sarp --
sarp valgrind-old:0.02s no: 0.3s (15.0x, -----) me: 2.3s (114.0x, -----) ca: 1.9s (95.0x, -----) he: 5.1s (253.0x, -----) ca: 0.9s (47.0x, -----) dr: 1.1s (54.0x, -----) ma: 0.3s (16.0x, -----)
sarp valgrind-new:0.02s no: 0.3s (15.0x, 0.0%) me: 2.5s (126.5x,-11.0%) ca: 1.9s (94.5x, 0.5%) he: 5.0s (251.5x, 0.6%) ca: 1.0s (49.5x, -5.3%) dr: 1.0s (51.0x, 5.6%) ma: 0.3s (16.5x, -3.1%)
-- tinycc --
tinycc valgrind-old:0.21s no: 1.5s ( 7.1x, -----) me:11.3s (53.7x, -----) ca:12.7s (60.4x, -----) he:12.0s (57.0x, -----) ca:12.9s (61.2x, -----) dr:12.0s (57.3x, -----) ma: 1.8s ( 8.4x, -----)
tinycc valgrind-new:0.21s no: 1.5s ( 7.0x, 0.7%) me:11.2s (53.3x, 0.8%) ca:12.5s (59.3x, 1.7%) he:11.8s (56.1x, 1.5%) ca:12.8s (61.1x, 0.2%) dr:11.8s (56.3x, 1.7%) ma: 1.8s ( 8.5x, -0.6%)
-- Finished tests in perf ----------------------------------------------
== 12 programs, 168 timings =================
real 44m33.22s
user 42m29.18s
sys 1m14.40s
=================================================
./valgrind-new/drd/tests/omp_printf.stderr.diff
=================================================
--- omp_printf.stderr.exp 2018-02-25 01:04:55.345947703 +0000
+++ omp_printf.stderr.out 2018-02-25 01:35:43.690190236 +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 2018-02-25 01:04:55.513014238 +0000
+++ preen_invars.stderr.out 2018-02-25 01:38:12.057956831 +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 2018-02-25 01:04:55.514762387 +0000
+++ stackerr.stderr.out 2018-02-25 01:38:13.259419081 +0000
@@ -1,28 +1,28 @@
-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: stack array "beforebuf" of size 8 in frame 4 back from here
+ Actual: stack array "buf" of size 8 in frame 4 back from here
+ Actual: is 1 before Expected
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 2018-02-25 01:04:55.515098727 +0000
+++ stackerr.stderr.out 2018-02-25 01:38:13.259419081 +0000
@@ -16,13 +16,13 @@
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: stack array "beforebuf" of size 8 in frame 4 back from here
+ Actual: stack array "buf" of size 8 in frame 4 back from here
+ Actual: is 1 before Expected
ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/gdbserver_tests/hginfo.stderrB.diff
=================================================
--- hginfo.stderrB.exp 2018-02-25 01:04:55.520899844 +0000
+++ hginfo.stderrB.out 2018-02-25 01:16:50.754252939 +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 2018-02-25 01:04:55.570559669 +0000
+++ bar_bad.stderr.out 2018-02-25 01:31:49.633168689 +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 2018-02-25 01:04:55.570926689 +0000
+++ bar_bad.stderr.out 2018-02-25 01:31:49.633168689 +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 2018-02-25 01:04:55.575296261 +0000
+++ free_is_write.stderr.out 2018-02-25 01:31:54.812422951 +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 2018-02-25 01:04:55.583410087 +0000
+++ pth_barrier1.stderr.out 2018-02-25 01:32:13.144404089 +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 2018-02-25 01:04:55.583995537 +0000
+++ pth_barrier2.stderr.out 2018-02-25 01:32:13.749479956 +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 2018-02-25 01:04:55.619241406 +0000
+++ tc21_pthonce.stderr.out 2018-02-25 01:32:58.914694484 +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/dw4.stderr.diff
=================================================
--- dw4.stderr.exp 2018-02-25 01:04:52.503029551 +0000
+++ dw4.stderr.out 2018-02-25 01:19:26.289021946 +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-git/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-git/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 2018-02-25 01:04:52.503759202 +0000
+++ dw4.stderr.out 2018-02-25 01:19:26.289021946 +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-git/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-git/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 2018-02-25 01:04:52.578715774 +0000
+++ leak_cpp_interior.stderr.out 2018-02-25 01:20:04.856108717 +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 2018-02-25 01:04:52.579286210 +0000
+++ leak_cpp_interior.stderr.out 2018-02-25 01:20:04.856108717 +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 2018-02-25 01:04:52.754106947 +0000
+++ door_data.stderr.out 2018-02-25 01:21:11.337629789 +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 2018-02-25 01:04:52.772424508 +0000
+++ lsframe2.stderr.out 2018-02-25 01:21:24.406274394 +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-new/memcheck/tests/solaris/name_service_door.stderr.diff-amd64
=================================================
--- name_service_door.stderr.exp-amd64 2018-02-25 01:04:52.777870585 +0000
+++ name_service_door.stderr.out 2018-02-25 01:21:26.022239461 +0000
@@ -144,3 +144,7 @@
---------------------------------------------------------
app_proto_icmp
---------------------------------------------------------
+Conditional jump or move depends on uninitialised value(s)
+ at 0x........: memchr (vg_replace_strmem.c:...)
+ ...
+
=================================================
./valgrind-new/memcheck/tests/solaris/name_service_door.stderr.diff-x86
=================================================
--- name_service_door.stderr.exp-x86 2018-02-25 01:04:52.778690170 +0000
+++ name_service_door.stderr.out 2018-02-25 01:21:26.022239461 +0000
@@ -15,31 +15,41 @@
Syscall param door_call(".../name_service_door", nss_pheader->dbd_off) points to unaddressable byte(s)
...
- Address 0x........ is 8 bytes before an unallocated block of size 4,194,128 in arena "client"
+ Address 0x........ is 32 bytes before an unallocated block of size 4,194,048 in arena "client"
Syscall param door_call(".../name_service_door", nss_pheader->dbd_len) points to unaddressable byte(s)
...
- Address 0x........ is 0 bytes inside an unallocated block of size 4,194,128 in arena "client"
+ Address 0x........ is 24 bytes before an unallocated block of size 4,194,048 in arena "client"
Syscall param door_call(".../name_service_door", nss_pheader->key_off) points to unaddressable byte(s)
...
- Address 0x........ is 8 bytes inside an unallocated block of size 4,194,128 in arena "client"
+ Address 0x........ is 16 bytes before an unallocated block of size 4,194,048 in arena "client"
Syscall param door_call(".../name_service_door", nss_pheader->key_len) points to unaddressable byte(s)
...
- Address 0x........ is 16 bytes inside an unallocated block of size 4,194,128 in arena "client"
+ Address 0x........ is 8 bytes before an unallocated block of size 4,194,048 in arena "client"
Syscall param door_call(".../name_service_door", nss_pheader->data_off) points to unaddressable byte(s)
...
- Address 0x........ is 24 bytes inside an unallocated block of size 4,194,128 in arena "client"
+ Address 0x........ is 0 bytes inside an unallocated block of size 4,194,048 in arena "client"
Syscall param door_call(".../name_service_door", nss_pheader->data_len) points to unaddressable byte(s)
...
- Address 0x........ is 32 bytes inside an unallocated block of size 4,194,128 in arena "client"
+ Address 0x........ is 8 bytes inside an unallocated block of size 4,194,048 in arena "client"
Syscall param door_call(".../name_service_door", nss_pheader->pbufsiz) points to unaddressable byte(s)
...
- Address 0x........ is 16 bytes before an unallocated block of size 4,194,128 in arena "client"
+ Address 0x........ is 24 bytes after a block of size 16 in arena "client"
+
+Syscall param door_call(".../name_service_door", pbuf) points to unaddressable byte(s)
+ ...
+ Address 0x........ is 0 bytes after a block of size 4 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ ...
+
+Syscall param door_call(".../name_service_door", nss_dbd) points to unaddressable byte(s)
+ ...
+ Address 0x........ is 4,194,033 bytes inside an unallocated block of size 4,194,048 in arena "client"
---------------------------------------------------------
app_uninitialized_request
@@ -112,15 +122,15 @@
Syscall param door_call(".../name_service_door", nss_dbd->o_name) points to unaddressable byte(s)
...
- Address 0x........ is 36 bytes inside an unallocated block of size 4,193,936 in arena "client"
+ Address 0x........ is 20 bytes inside an unallocated block of size 4,193,840 in arena "client"
Syscall param door_call(".../name_service_door", nss_dbd->o_config_name) points to unaddressable byte(s)
...
- Address 0x........ is 36 bytes inside an unallocated block of size 4,193,936 in arena "client"
+ Address 0x........ is 20 bytes inside an unallocated block of size 4,193,840 in arena "client"
Syscall param door_call(".../name_service_door", nss_dbd->o_default_config) points to unaddressable byte(s)
...
- Address 0x........ is 36 bytes inside an unallocated block of size 4,193,936 in arena "client"
+ Address 0x........ is 20 bytes inside an unallocated block of size 4,193,840 in arena "client"
Syscall param door_call(".../name_service_door", nss->key) points to unaddressable byte(s)
...
@@ -134,3 +144,7 @@
---------------------------------------------------------
app_proto_icmp
---------------------------------------------------------
+Conditional jump or move depends on uninitialised value(s)
+ at 0x........: memchr (vg_replace_strmem.c:...)
+ ...
+
=================================================
./valgrind-new/memcheck/tests/solaris/name_service_door.stdout.diff
=================================================
--- name_service_door.stdout.exp 2018-02-25 01:04:52.779403260 +0000
+++ name_service_door.stdout.out 2018-02-25 01:21:25.760701214 +0000
@@ -1,13 +1,13 @@
---------------------------------------------------------
app_proto_icmp
---------------------------------------------------------
-status=0
-errno=0
+status=1
+errno=34
herrno=0
-bufsiz=16384
+bufsiz=169
dbd_off=128 dbd_len=32
key_off=160 key_len=5
-data_off=168 data_len=12
+data_off=168 data_len=0
ext_off=0 ext_len=0
key=icmp
-data: name=icmp number=1 aliases=ICMP
+data: name= number= aliases=
=================================================
./valgrind-new/memcheck/tests/solaris/pkcs11.stderr.diff-illumos
=================================================
--- pkcs11.stderr.exp-illumos 2018-02-25 01:04:52.781160117 +0000
+++ pkcs11.stderr.out 2018-02-25 01:21:26.967520788 +0000
@@ -1,4 +1,12 @@
Conditional jump or move depends on uninitialised value(s)
+ at 0x........: bcmp (vg_replace_strmem.c:...)
+ ...
+
+Conditional jump or move depends on uninitialised value(s)
+ at 0x........: bcmp (vg_replace_strmem.c:...)
+ ...
+
+Conditional jump or move depends on uninitialised value(s)
...
Conditional jump or move depends on uninitialised value(s)
=================================================
./valgrind-new/memcheck/tests/solaris/pkcs11.stderr.diff-solaris
=================================================
--- pkcs11.stderr.exp-solaris 2018-02-25 01:04:52.781215942 +0000
+++ pkcs11.stderr.out 2018-02-25 01:21:26.967520788 +0000
@@ -0,0 +1,14 @@
+Conditional jump or move depends on uninitialised value(s)
+ at 0x........: bcmp (vg_replace_strmem.c:...)
+ ...
+
+Conditional jump or move depends on uninitialised value(s)
+ at 0x........: bcmp (vg_replace_strmem.c:...)
+ ...
+
+Conditional jump or move depends on uninitialised value(s)
+ ...
+
+Conditional jump or move depends on uninitialised value(s)
+ ...
+
=================================================
./valgrind-old/drd/tests/omp_printf.stderr.diff
=================================================
--- omp_printf.stderr.exp 2018-02-25 00:31:02.486597226 +0000
+++ omp_printf.stderr.out 2018-02-25 01:01:37.196038736 +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-old/exp-sgcheck/tests/preen_invars.stderr.diff-glibc28-amd64
=================================================
--- preen_invars.stderr.exp-glibc28-amd64 2018-02-25 00:31:02.535336061 +0000
+++ preen_invars.stderr.out 2018-02-25 01:04:07.694165328 +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 2018-02-25 00:31:02.535777950 +0000
+++ stackerr.stderr.out 2018-02-25 01:04:08.913642110 +0000
@@ -1,28 +1,28 @@
-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: stack array "beforebuf" of size 8 in frame 4 back from here
+ Actual: stack array "buf" of size 8 in frame 4 back from here
+ Actual: is 1 before Expected
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 2018-02-25 00:31:02.535870770 +0000
+++ stackerr.stderr.out 2018-02-25 01:04:08.913642110 +0000
@@ -16,13 +16,13 @@
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: i...
[truncated message content] |