|
From: <iv...@iv...> - 2016-11-03 02:31:32
|
valgrind revision: 16114
VEX revision: 3283
C compiler: gcc (GCC) 4.8.2
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.2 X86
Nightly build on solaris11.2 ( Solaris 11.2 x86 )
Started at 2016-11-03 00:30:02 UTC
Ended at 2016-11-03 02:28:02 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
== 750 tests, 13 stderr failures, 0 stdout failures, 1 stderrB failure, 0 stdoutB failures, 0 post failures ==
gdbserver_tests/hginfo (stderrB)
memcheck/tests/dw4 (stderr)
memcheck/tests/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)
helgrind/tests/tls_threads (stderr)
exp-sgcheck/tests/preen_invars (stderr)
exp-sgcheck/tests/stackerr (stderr)
Last 20 lines of verbose log follow echo
== 750 tests, 13 stderr failures, 0 stdout failures, 1 stderrB failure, 0 stdoutB failures, 0 post failures ==
gdbserver_tests/hginfo (stderrB)
memcheck/tests/dw4 (stderr)
memcheck/tests/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)
helgrind/tests/tls_threads (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
== 749 tests, 13 stderr failures, 0 stdout failures, 1 stderrB failure, 0 stdoutB failures, 0 post failures ==
gdbserver_tests/hginfo (stderrB)
memcheck/tests/dw4 (stderr)
memcheck/tests/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)
helgrind/tests/tls_threads (stderr)
exp-sgcheck/tests/preen_invars (stderr)
exp-sgcheck/tests/stackerr (stderr)
Last 20 lines of verbose log follow echo
== 749 tests, 13 stderr failures, 0 stdout failures, 1 stderrB failure, 0 stdoutB failures, 0 post failures ==
gdbserver_tests/hginfo (stderrB)
memcheck/tests/dw4 (stderr)
memcheck/tests/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)
helgrind/tests/tls_threads (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 2016-11-03 01:02:16.007735587 +0000
+++ new.short 2016-11-03 01:34:35.908626939 +0000
@@ -8,3 +8,3 @@
-== 749 tests, 13 stderr failures, 0 stdout failures, 1 stderrB failure, 0 stdoutB failures, 0 post failures ==
+== 750 tests, 13 stderr failures, 0 stdout failures, 1 stderrB failure, 0 stdoutB failures, 0 post failures ==
gdbserver_tests/hginfo (stderrB)
@@ -27,3 +27,3 @@
-== 749 tests, 13 stderr failures, 0 stdout failures, 1 stderrB failure, 0 stdoutB failures, 0 post failures ==
+== 750 tests, 13 stderr failures, 0 stdout failures, 1 stderrB failure, 0 stdoutB failures, 0 post failures ==
gdbserver_tests/hginfo (stderrB)
--tools=none,memcheck,callgrind,helgrind,cachegrind,drd,massif --reps=3 --tools=none,memcheck,callgrind,helgrind,cachegrind,drd,massif --reps=3 --vg=../valgrind-new --vg=../valgrind-old
-- Running tests in perf ----------------------------------------------
-- bigcode1 --
bigcode1 valgrind-new:0.16s no: 2.1s (13.4x, -----) me: 4.1s (25.7x, -----) ca:19.1s (119.1x, -----) he: 2.6s (16.1x, -----) ca: 5.0s (31.4x, -----) dr: 2.5s (15.8x, -----) ma: 2.6s (16.1x, -----)
bigcode1 valgrind-old:0.16s no: 2.2s (13.6x, -0.9%) me: 4.1s (25.6x, 0.2%) ca:19.0s (118.8x, 0.3%) he: 2.6s (16.1x, -0.4%) ca: 5.0s (31.4x, 0.0%) dr: 2.5s (15.9x, -0.8%) ma: 2.6s (16.2x, -0.8%)
-- bigcode2 --
bigcode2 valgrind-new:0.17s no: 4.9s (28.6x, -----) me: 9.6s (56.5x, -----) ca:35.3s (207.8x, -----) he: 6.1s (35.6x, -----) ca: 8.7s (51.4x, -----) dr: 5.7s (33.4x, -----) ma: 5.6s (33.1x, -----)
bigcode2 valgrind-old:0.17s no: 4.9s (28.9x, -0.8%) me: 9.7s (56.9x, -0.8%) ca:34.7s (204.4x, 1.6%) he: 6.1s (35.8x, -0.3%) ca: 8.7s (51.4x, 0.0%) dr: 5.7s (33.4x, 0.0%) ma: 5.6s (33.1x, 0.0%)
-- bz2 --
bz2 valgrind-new:0.71s no: 2.3s ( 3.2x, -----) me: 8.0s (11.3x, -----) ca:18.3s (25.7x, -----) he:13.4s (18.9x, -----) ca:15.2s (21.4x, -----) dr:14.8s (20.8x, -----) ma: 2.2s ( 3.1x, -----)
bz2 valgrind-old:0.71s no: 2.2s ( 3.1x, 3.1%) me: 8.0s (11.2x, 0.9%) ca:18.2s (25.6x, 0.4%) he:13.5s (19.0x, -0.4%) ca:14.8s (20.9x, 2.3%) dr:14.7s (20.7x, 0.3%) ma: 2.2s ( 3.1x, 0.0%)
-- fbench --
fbench valgrind-new:0.32s no: 1.4s ( 4.3x, -----) me: 4.6s (14.5x, -----) ca: 8.1s (25.2x, -----) he: 3.8s (11.7x, -----) ca: 4.3s (13.5x, -----) dr: 3.7s (11.5x, -----) ma: 1.4s ( 4.5x, -----)
fbench valgrind-old:0.32s no: 1.4s ( 4.4x, -1.4%) me: 4.6s (14.4x, 0.6%) ca: 8.1s (25.2x, 0.0%) he: 3.8s (11.7x, 0.0%) ca: 4.4s (13.6x, -0.7%) dr: 3.6s (11.3x, 1.4%) ma: 1.4s ( 4.5x, 0.7%)
-- ffbench --
ffbench valgrind-new:0.32s no: 1.3s ( 4.0x, -----) me: 4.0s (12.5x, -----) ca: 2.9s ( 8.9x, -----) he: 9.5s (29.6x, -----) ca: 5.9s (18.5x, -----) dr: 4.7s (14.7x, -----) ma: 1.2s ( 3.7x, -----)
ffbench valgrind-old:0.32s no: 1.3s ( 4.0x, 0.0%) me: 4.0s (12.4x, 0.5%) ca: 2.7s ( 8.5x, 5.2%) he: 9.4s (29.4x, 0.5%) ca: 5.8s (18.2x, 1.4%) dr: 4.7s (14.7x, 0.2%) ma: 1.2s ( 3.8x, -0.8%)
-- heap --
heap valgrind-new:0.33s no: 1.9s ( 5.8x, -----) me: 7.6s (23.1x, -----) ca:16.4s (49.8x, -----) he:11.3s (34.4x, -----) ca: 8.7s (26.2x, -----) dr: 6.8s (20.5x, -----) ma: 7.4s (22.5x, -----)
heap valgrind-old:0.33s no: 1.9s ( 5.6x, 2.6%) me: 7.0s (21.2x, 8.3%) ca:16.5s (50.1x, -0.5%) he:11.6s (35.2x, -2.2%) ca: 8.6s (26.0x, 0.8%) dr: 6.9s (20.9x, -1.9%) ma: 7.4s (22.3x, 0.7%)
-- heap_pdb4 --
heap_pdb4 valgrind-new:0.33s no: 1.8s ( 5.6x, -----) me:13.4s (40.6x, -----) ca:17.4s (52.7x, -----) he:12.7s (38.5x, -----) ca: 8.8s (26.8x, -----) dr: 7.5s (22.7x, -----) ma: 7.4s (22.4x, -----)
heap_pdb4 valgrind-old:0.33s no: 1.9s ( 5.8x, -4.3%) me:13.4s (40.6x, 0.0%) ca:17.1s (51.8x, 1.7%) he:12.9s (39.1x, -1.7%) ca: 8.7s (26.5x, 1.1%) dr: 7.3s (22.2x, 1.9%) ma: 7.2s (21.8x, 2.8%)
-- many-loss-records --
many-loss-records valgrind-new:0.03s no: 0.4s (12.3x, -----) me: 1.9s (62.3x, -----) ca: 2.0s (67.3x, -----) he: 1.6s (54.0x, -----) ca: 1.2s (39.3x, -----) dr: 1.4s (47.0x, -----) ma: 1.4s (46.0x, -----)
many-loss-records valgrind-old:0.03s no: 0.4s (12.3x, 0.0%) me: 1.8s (60.7x, 2.7%) ca: 2.0s (66.7x, 1.0%) he: 1.6s (53.7x, 0.6%) ca: 1.2s (39.0x, 0.8%) dr: 1.4s (47.0x, 0.0%) ma: 1.3s (44.0x, 4.3%)
-- many-xpts --
many-xpts valgrind-new:0.12s no: 0.5s ( 4.2x, -----) me: 2.3s (19.1x, -----) ca: 4.5s (37.2x, -----) he: 3.3s (27.6x, -----) ca: 1.8s (14.9x, -----) dr: 2.1s (17.2x, -----) ma: 1.9s (16.2x, -----)
many-xpts valgrind-old:0.12s no: 0.5s ( 4.2x, 0.0%) me: 2.1s (17.3x, 9.2%) ca: 4.5s (37.4x, -0.7%) he: 3.3s (27.3x, 0.9%) ca: 1.8s (15.1x, -1.1%) dr: 2.0s (17.0x, 1.4%) ma: 1.9s (16.0x, 1.5%)
-- memrw --
memrw valgrind-new:0.09s no: 0.6s ( 7.0x, -----) me: 1.7s (19.2x, -----) ca: 4.2s (46.4x, -----) he: 7.9s (87.3x, -----) ca: 2.8s (30.8x, -----) dr: 1.6s (18.2x, -----) ma: 0.7s ( 7.4x, -----)
memrw valgrind-old:0.09s no: 0.6s ( 6.9x, 1.6%) me: 1.6s (17.2x, 10.4%) ca: 4.2s (46.7x, -0.5%) he: 7.9s (87.7x, -0.4%) ca: 2.7s (30.3x, 1.4%) dr: 1.6s (18.2x, 0.0%) ma: 0.7s ( 7.4x, 0.0%)
-- sarp --
sarp valgrind-new:0.03s no: 0.3s (11.0x, -----) me: 2.8s (94.7x, -----) ca: 2.4s (80.3x, -----) he: 8.4s (281.0x, -----) ca: 1.3s (44.0x, -----) dr: 1.3s (44.7x, -----) ma: 0.3s (11.7x, -----)
sarp valgrind-old:0.03s no: 0.3s (11.0x, 0.0%) me: 2.5s (83.3x, 12.0%) ca: 2.5s (82.0x, -2.1%) he: 8.4s (280.0x, 0.4%) ca: 1.3s (44.7x, -1.5%) dr: 1.3s (44.7x, 0.0%) ma: 0.4s (12.0x, -2.9%)
-- tinycc --
tinycc valgrind-new:0.25s no: 2.1s ( 8.2x, -----) me:11.6s (46.5x, -----) ca:16.9s (67.8x, -----) he:15.6s (62.6x, -----) ca:10.9s (43.7x, -----) dr:12.2s (48.9x, -----) ma: 3.3s (13.1x, -----)
tinycc valgrind-old:0.25s no: 2.1s ( 8.4x, -1.5%) me:11.5s (46.0x, 1.1%) ca:16.9s (67.7x, 0.1%) he:15.7s (62.6x, -0.1%) ca:10.9s (43.6x, 0.4%) dr:12.2s (48.8x, 0.3%) ma: 3.2s (12.9x, 1.2%)
-- Finished tests in perf ----------------------------------------------
== 12 programs, 168 timings =================
real 53m26.29s
user 51m8.75s
sys 1m26.72s
=================================================
./valgrind-new/exp-sgcheck/tests/preen_invars.stderr.diff-glibc28-amd64
=================================================
--- preen_invars.stderr.exp-glibc28-amd64 2016-11-03 01:02:22.279354351 +0000
+++ preen_invars.stderr.out 2016-11-03 01:33:58.751926098 +0000
@@ -1,9 +1,3 @@
-Invalid read of size 1
- at 0x........: main (preen_invars.c:22)
- Address 0x........ expected vs actual:
- Expected: unknown
- Actual: global array "im_a_global_arr" of size 10 in object with soname "preen_invars_so"
-
-ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/exp-sgcheck/tests/stackerr.stderr.diff-glibc27-x86
=================================================
--- stackerr.stderr.exp-glibc27-x86 2016-11-03 01:02:22.276569837 +0000
+++ stackerr.stderr.out 2016-11-03 01:34:00.090469557 +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 2016-11-03 01:02:22.286717858 +0000
+++ stackerr.stderr.out 2016-11-03 01:34:00.090469557 +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 2016-11-03 01:02:17.849637839 +0000
+++ hginfo.stderrB.out 2016-11-03 01:13:44.222160004 +0000
@@ -16,4 +16,4 @@
kind mbRec
{ W1:thread #x tid #x }
}
- Address 0x........ is 0 bytes inside an unallocated block of size 1,008 in arena "client"
+ Address 0x........ is 0 bytes inside an unallocated block of size 4,194,208 in arena "client"
=================================================
./valgrind-new/helgrind/tests/bar_bad.stderr.diff
=================================================
--- bar_bad.stderr.exp 2016-11-03 01:02:24.754840602 +0000
+++ bar_bad.stderr.out 2016-11-03 01:26:57.913261395 +0000
@@ -39,6 +39,73 @@
at 0x........: pthread_barrier_init (hg_intercepts.c:...)
by 0x........: main (bar_bad.c:64)
+---Thread-Announcement------------------------------------------
+
+Thread #x was created
+ ...
+ by 0x........: pthread_create@* (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:60)
+
+----------------------------------------------------------------
+
+ Lock at 0x........ was first observed
+ at 0x........: pthread_mutex_init (hg_intercepts.c:...)
+ ...
+ by 0x........: pthread_barrier_init (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:55)
+ Address 0x........ is 24 bytes inside a block of size 64 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (bar_bad.c:54)
+ Block was alloc'd by thread #x
+
+Possible data race during write of size 4 at 0x........ by thread #x
+Locks held: none
+ ...
+ by 0x........: pthread_barrier_init (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:64)
+
+This conflicts with a previous write of size 4 by thread #x
+Locks held: 1, at address 0x........
+ ...
+ by 0x........: pthread_barrier_wait (hg_intercepts.c:...)
+ by 0x........: child1 (bar_bad.c:14)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+ Address 0x........ is 4 bytes inside a block of size 64 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (bar_bad.c:54)
+ Block was alloc'd by thread #x
+
+----------------------------------------------------------------
+
+ Lock at 0x........ was first observed
+ at 0x........: pthread_mutex_init (hg_intercepts.c:...)
+ ...
+ by 0x........: pthread_barrier_init (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:55)
+ Address 0x........ is 24 bytes inside a block of size 64 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (bar_bad.c:54)
+ Block was alloc'd by thread #x
+
+Possible data race during write of size 8 at 0x........ by thread #x
+Locks held: none
+ ...
+ by 0x........: pthread_barrier_init (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:64)
+
+This conflicts with a previous read of size 8 by thread #x
+Locks held: 1, at address 0x........
+ ...
+ by 0x........: pthread_barrier_wait (hg_intercepts.c:...)
+ by 0x........: child1 (bar_bad.c:14)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+ Address 0x........ is 8 bytes inside a block of size 64 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (bar_bad.c:54)
+ Block was alloc'd by thread #x
+
destroy a barrier that has waiting threads
----------------------------------------------------------------
@@ -49,11 +116,60 @@
----------------------------------------------------------------
-Thread #x's call to pthread_barrier_destroy failed
- with error code 16 (EBUSY: Device or resource busy)
- at 0x........: pthread_barrier_destroy (hg_intercepts.c:...)
+Thread #x: pthread_cond_destroy: destruction of condition variable being waited upon
+ at 0x........: pthread_cond_destroy_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_cond_destroy@* (hg_intercepts.c:...)
+ ...
+ by 0x........: pthread_barrier_destroy (hg_intercepts.c:...)
by 0x........: main (bar_bad.c:82)
+---Thread-Announcement------------------------------------------
+
+Thread #x was created
+ ...
+ by 0x........: pthread_create@* (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:78)
+
+----------------------------------------------------------------
+
+Possible data race during write of size 4 at 0x........ by thread #x
<truncated beyond 100 lines>
=================================================
./valgrind-new/helgrind/tests/bar_bad.stderr.diff-destroy-hang
=================================================
--- bar_bad.stderr.exp-destroy-hang 2016-11-03 01:02:24.702112139 +0000
+++ bar_bad.stderr.out 2016-11-03 01:26:57.913261395 +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 2016-11-03 01:02:24.770644516 +0000
+++ bar_trivial.stderr.out 2016-11-03 01:26:59.603120604 +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 2016-11-03 01:02:24.734127608 +0000
+++ free_is_write.stderr.out 2016-11-03 01:27:03.213874784 +0000
@@ -23,7 +23,7 @@
This conflicts with a previous read of size 1 by thread #x
Locks held: none
at 0x........: main (free_is_write.c:36)
- Address 0x........ is 5 bytes inside an unallocated block of size 16 in arena "client"
+ Address 0x........ is 5 bytes inside an unallocated block of size 4,194,208 in arena "client"
Done.
=================================================
./valgrind-new/helgrind/tests/pth_barrier1.stderr.diff
=================================================
--- pth_barrier1.stderr.exp 2016-11-03 01:02:24.808202771 +0000
+++ pth_barrier1.stderr.out 2016-11-03 01:27:22.665179096 +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
@@ -14,26 +25,14 @@
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:...)
+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:...)
...
-
-This conflicts with a previous write of size 1 by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
+ by 0x........: pthread_barrier_wait (hg_intercepts.c:...)
+ by 0x........: threadfunc (pth_barrier.c:61)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
...
- Address 0x........ is 0 bytes inside a block of size 1 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: barriers_and_races (pth_barrier.c:76)
- by 0x........: main (pth_barrier.c:122)
- Block was alloc'd by thread #x
=================================================
./valgrind-new/helgrind/tests/pth_barrier2.stderr.diff
=================================================
--- pth_barrier2.stderr.exp 2016-11-03 01:02:24.678344475 +0000
+++ pth_barrier2.stderr.out 2016-11-03 01:27:23.446761366 +0000
@@ -6,623 +6,33 @@
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
-
-----------------------------------------------------------------
-
-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:...)
<truncated beyond 100 lines>
=================================================
./valgrind-new/helgrind/tests/pth_barrier3.stderr.diff
=================================================
--- pth_barrier3.stderr.exp 2016-11-03 01:02:24.762691721 +0000
+++ pth_barrier3.stderr.out 2016-11-03 01:27:24.321764855 +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
@@ -14,26 +25,14 @@
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:...)
+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:...)
...
-
-This conflicts with a previous write of size 1 by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
+ by 0x........: pthread_barrier_wait (hg_intercepts.c:...)
+ by 0x........: threadfunc (pth_barrier.c:61)
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/tc21_pthonce.stderr.diff
=================================================
--- tc21_pthonce.stderr.exp 2016-11-03 01:02:24.686231929 +0000
+++ tc21_pthonce.stderr.out 2016-11-03 01:28:10.979426245 +0000
@@ -15,6 +15,34 @@
----------------------------------------------------------------
+ Lock at 0x........ was first observed
+ at 0x........: mutex_lock_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_mutex_lock (hg_intercepts.c:...)
+ ...
+ by 0x........: child (tc21_pthonce.c:72)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+ Location 0x........ is 0 bytes inside welcome_once_block.__pthread_once_pad[0],
+ a global variable declared at tc21_pthonce.c:48
+
+Possible data race during read of size 4 at 0x........ by thread #x
+Locks held: none
+ ...
+ by 0x........: child (tc21_pthonce.c:72)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+
+This conflicts with a previous write of size 4 by thread #x
+Locks held: 1, at address 0x........
+ ...
+ by 0x........: child (tc21_pthonce.c:72)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+ Location 0x........ is 4 bytes inside welcome_once_block.__pthread_once_pad[3],
+ a global variable declared at tc21_pthonce.c:48
+
+----------------------------------------------------------------
+
Possible data race during read of size 4 at 0x........ by thread #x
Locks held: none
at 0x........: child (tc21_pthonce.c:74)
@@ -46,4 +74,4 @@
declared at tc21_pthonce.c:51
-ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/helgrind/tests/tls_threads.stderr.diff
=================================================
--- tls_threads.stderr.exp 2016-11-03 01:02:24.852145683 +0000
+++ tls_threads.stderr.out 2016-11-03 01:28:20.931474508 +0000
@@ -1,2 +1,3 @@
+--3350:0: sched WARNING: pthread stack cache cannot be disabled!
starting join in main
finished join in main
=================================================
./valgrind-new/memcheck/tests/dw4.stderr.diff
=================================================
--- dw4.stderr.exp 2016-11-03 01:02:18.932199857 +0000
+++ dw4.stderr.out 2016-11-03 01:16:03.734337039 +0000
@@ -1,3 +1,6 @@
+WARNING: Serious error when reading debug info
+When reading debug info from /export/home/tester1/nightly/valgrind-new/memcheck/tests/dw4:
+lookup_signatured_type: could not find signatured type
Uninitialised byte(s) found during client check request
at 0x........: croak (dw4.c:32)
by 0x........: main (dw4.c:59)
@@ -8,14 +11,13 @@
Uninitialised byte(s) found during client check request
at 0x........: croak (dw4.c:32)
by 0x........: main (dw4.c:61)
- Location 0x........ is 0 bytes inside S2[0].i,
- a global variable declared at dw4.c:47
+ Address 0x........ is 4 bytes inside data symbol "S2"
Uninitialised byte(s) found during client check request
at 0x........: croak (dw4.c:32)
by 0x........: main (dw4.c:62)
- Location 0x........ is 0 bytes inside local.i,
- declared at dw4.c:51, in frame #1 of thread 1
+ Address 0x........ is on thread 1's stack
+ in frame #1, created by main (dw4.c:50)
Uninitialised byte(s) found during client check request
at 0x........: croak (dw4.c:32)
=================================================
./valgrind-new/memcheck/tests/dw4.stderr.diff-solaris
=================================================
--- dw4.stderr.exp-solaris 2016-11-03 01:02:21.326943967 +0000
+++ dw4.stderr.out 2016-11-03 01:16:03.734337039 +0000
@@ -1,3 +1,6 @@
+WARNING: Serious error when reading debug info
+When reading debug info from /export/home/tester1/nightly/valgrind-new/memcheck/tests/dw4:
+lookup_signatured_type: could not find signatured type
Uninitialised byte(s) found during client check request
at 0x........: croak (dw4.c:32)
by 0x........: main (dw4.c:59)
@@ -8,14 +11,13 @@
Uninitialised byte(s) found during client check request
at 0x........: croak (dw4.c:32)
by 0x........: main (dw4.c:61)
- Location 0x........ is 0 bytes inside S2[0].i,
- a global variable declared at dw4.c:47
+ Address 0x........ is 4 bytes inside data symbol "S2"
Uninitialised byte(s) found during client check request
at 0x........: croak (dw4.c:32)
by 0x........: main (dw4.c:62)
- Location 0x........ is 0 bytes inside local.i,
- declared at dw4.c:51, in frame #1 of thread 1
+ Address 0x........ is on thread 1's stack
+ in frame #1, created by main (dw4.c:50)
Uninitialised byte(s) found during client check request
at 0x........: croak (dw4.c:32)
=================================================
./valgrind-new/memcheck/tests/solaris/door_data.stderr.diff
=================================================
--- door_data.stderr.exp 2016-11-03 01:02:19.942078150 +0000
+++ door_data.stderr.out 2016-11-03 01:17:49.285740559 +0000
@@ -0,0 +1,14 @@
+Thread 2:
+Invalid write of size 8
+ ...
+ by 0x........: ??? (in /export/home/tester1/nightly/valgrind-new/memcheck/tests/solaris/door_data)
+ ...
+ Address 0x........ is on thread 2's stack
+
+Invalid read of size 8
+ ...
+ by 0x........: ??? (in /export/home/tester1/nightly/valgrind-new/memcheck/tests/solaris/door_data)
+ ...
+ Address 0x........ is on thread 2's stack
+ in frame #1, created by __door_return (???:)
+
=================================================
./valgrind-new/memcheck/tests/solaris/lsframe2.stderr.diff
=================================================
--- lsframe2.stderr.exp 2016-11-03 01:02:20.006917433 +0000
+++ lsframe2.stderr.out 2016-11-03 01:18:04.192089523 +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/exp-sgcheck/tests/preen_invars.stderr.diff-glibc28-amd64
=================================================
--- preen_invars.stderr.exp-glibc28-amd64 2016-11-03 00:30:16.867525684 +0000
+++ preen_invars.stderr.out 2016-11-03 01:01:40.026828046 +0000
@@ -1,9 +1,3 @@
-Invalid read of size 1
- at 0x........: main (preen_invars.c:22)
- Address 0x........ expected vs actual:
- Expected: unknown
- Actual: global array "im_a_global_arr" of size 10 in object with soname "preen_invars_so"
-
-ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
=================================================
./valgrind-old/exp-sgcheck/tests/stackerr.stderr.diff-glibc27-x86
=================================================
--- stackerr.stderr.exp-glibc27-x86 2016-11-03 00:30:16.865012646 +0000
+++ stackerr.stderr.out 2016-11-03 01:01:41.434928334 +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 2016-11-03 00:30:16.875144384 +0000
+++ stackerr.stderr.out 2016-11-03 01:01:41.434928334 +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 2016-11-03 00:30:12.639213912 +0000
+++ hginfo.stderrB.out 2016-11-03 00:41:38.816505369 +0000
@@ -16,4 +16,4 @@
kind mbRec
{ W1:thread #x tid #x }
}
- Address 0x........ is 0 bytes inside an unallocated block of size 1,008 in arena "client"
+ Address 0x........ is 0 bytes inside an unallocated block of size 4,194,208 in arena "client"
=================================================
./valgrind-old/helgrind/tests/bar_bad.stderr.diff
=================================================
--- bar_bad.stderr.exp 2016-11-03 00:30:19.417566828 +0000
+++ bar_bad.stderr.out 2016-11-03 00:54:42.972590239 +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 2016-11-03 00:30:19.347964648 +0000
+++ bar_bad.stderr.out 2016-11-03 00:54:42.972590239 +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-old/helgrind/tests/bar_trivial.stderr.diff
=================================================
--- bar_trivial.stderr.exp 2016-11-03 00:30:19.435705531 +0000
+++ bar_trivial.stderr.out 2016-11-03 00:54:44.704657278 +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-old/helgrind/tests/free_is_write.stderr.diff
=================================================
--- free_is_write.stderr.exp 2016-11-03 00:30:19.392047047 +0000
+++ free_is_write.stderr.out 2016-11-03 00:54:48.363241808 +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-old/helgrind/tests/pth_barrier1.stderr.diff
=================================================
--- pth_barrier1.stderr.exp 2016-11-03 00:30:19.480854219 +0000
+++ pth_barrier1.stderr.out 2016-11-03 00:55:07.718625402 +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
@@ -14,26 +25,14 @@
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:...)
+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:...)
...
-
-This conflicts with a previous write of size 1 by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
+ by 0x........: pthread_barrier_wait (hg_intercepts.c:...)
+ by 0x........: threadfunc (pth_barrier.c:61)
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-old/helgrind/tests/pth_barrier2.stderr.diff
=================================================
--- pth_barrier2.stderr.exp 2016-11-03 00:30:19.307035563 +0000
+++ pth_barrier2.stderr.out 2016-11-03 00:55:08.442492131 +0000
@@ -6,623 +6,33 @@
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
-
-----------------------------------------------------------------
-
-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:...)
<truncated beyond 100 lines>
=================================================
./valgrind-old/helgrind/tests/pth_barrier3.stderr.diff
=================================================
--- pth_barrier3.stderr.exp 2016-11-03 00:30:19.425924419 +0000
+++ pth_barrier3.stderr.out 2016-11-03 00:55:09.304214760 +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-old/helgrind/tests/tc21_pthonce.stderr.diff
============================...
[truncated message content] |