|
From: <iv...@iv...> - 2016-03-11 06:09:12
|
valgrind revision: 15827
VEX revision: 3211
C compiler: gcc (GCC) 4.8.2
GDB: GNU gdb (GDB) 7.6
Assembler: GNU assembler (GNU Binutils) 2.23.1
uname -mrs: SunOS 5.11 i86pc
Vendor version: Oracle Solaris 11.3 X86
Nightly build on solaris11.3 ( Solaris 11.3 x86 )
Started at 2016-03-11 00:30:00 UTC
Ended at 2016-03-11 06:05:43 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
== 744 tests, 13 stderr failures, 0 stdout failures, 1 stderrB failure, 0 stdoutB failures, 0 post failures ==
gdbserver_tests/hginfo (stderrB)
memcheck/tests/descr_belowsp (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)
=================================================
== 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
== 745 tests, 14 stderr failures, 0 stdout failures, 1 stderrB failure, 0 stdoutB failures, 0 post failures ==
gdbserver_tests/hginfo (stderrB)
memcheck/tests/arm64-linux/scalar (stderr)
memcheck/tests/descr_belowsp (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)
=================================================
== Difference between 24 hours ago and now ==
=================================================
--- old.short 2016-03-11 01:59:53.610738506 +0000
+++ new.short 2016-03-11 03:45:02.152812732 +0000
@@ -8,5 +8,4 @@
-== 745 tests, 14 stderr failures, 0 stdout failures, 1 stderrB failure, 0 stdoutB failures, 0 post failures ==
+== 744 tests, 13 stderr failures, 0 stdout failures, 1 stderrB failure, 0 stdoutB failures, 0 post failures ==
gdbserver_tests/hginfo (stderrB)
-memcheck/tests/arm64-linux/scalar (stderr)
memcheck/tests/descr_belowsp (stderr)
--tools=none,memcheck,callgrind,helgrind,cachegrind,drd,massif --reps=3 --tools=none,memcheck,callgrind,helgrind,cachegrind,drd,massif --reps=3 --vg=../valgrind-new --vg=../valgrind-old
-- Running tests in perf ----------------------------------------------
-- bigcode1 --
bigcode1 valgrind-new:0.39s no: 7.4s (19.0x, -----) me:13.8s (35.5x, -----) ca:56.6s (145.3x, -----) he: 8.3s (21.2x, -----) ca:16.7s (42.7x, -----) dr: 7.8s (20.0x, -----) ma: 8.2s (20.9x, -----)
bigcode1 valgrind-old:0.39s no: 6.8s (17.5x, 8.0%) me:13.4s (34.3x, 3.3%) ca:56.5s (144.9x, 0.2%) he: 9.0s (23.2x, -9.4%) ca:16.2s (41.6x, 2.5%) dr: 7.8s (19.9x, 0.6%) ma: 8.1s (20.8x, 0.4%)
-- bigcode2 --
bigcode2 valgrind-new:0.41s no:17.8s (43.5x, -----) me:33.9s (82.7x, -----) ca:117.1s (285.7x, -----) he:21.2s (51.7x, -----) ca:29.5s (72.0x, -----) dr:21.3s (51.9x, -----) ma:20.8s (50.7x, -----)
bigcode2 valgrind-old:0.41s no:18.4s (44.8x, -2.9%) me:35.5s (86.7x, -4.7%) ca:120.5s (293.9x, -2.9%) he:21.6s (52.6x, -1.7%) ca:28.6s (69.8x, 3.1%) dr:21.0s (51.3x, 1.2%) ma:21.7s (52.9x, -4.3%)
-- bz2 --
bz2 valgrind-new:1.60s no: 6.6s ( 4.1x, -----) me:22.2s (13.9x, -----) ca:51.5s (32.2x, -----) he:36.9s (23.1x, -----) ca:41.9s (26.2x, -----) dr:43.9s (27.4x, -----) ma: 5.9s ( 3.7x, -----)
bz2 valgrind-old:1.60s no: 6.2s ( 3.9x, 5.6%) me:22.9s (14.3x, -3.4%) ca:52.2s (32.6x, -1.4%) he:40.3s (25.2x, -9.2%) ca:41.7s (26.0x, 0.5%) dr:43.5s (27.2x, 1.0%) ma: 6.7s ( 4.2x,-13.9%)
-- fbench --
fbench valgrind-new:0.77s no: 3.9s ( 5.1x, -----) me:14.4s (18.7x, -----) ca:25.3s (32.9x, -----) he:11.5s (14.9x, -----) ca:13.9s (18.0x, -----) dr:11.7s (15.2x, -----) ma: 3.3s ( 4.3x, -----)
fbench valgrind-old:0.77s no: 3.9s ( 5.1x, -0.5%) me:13.2s (17.1x, 8.5%) ca: 9.1s (11.9x, 63.9%) he: 4.4s ( 5.7x, 62.0%) ca: 6.7s ( 8.6x, 52.1%) dr: 5.6s ( 7.3x, 51.7%) ma: 2.1s ( 2.7x, 37.3%)
-- ffbench --
ffbench valgrind-new:0.47s no: 2.0s ( 4.2x, -----) me: 5.7s (12.2x, -----) ca: 4.3s ( 9.2x, -----) he:19.7s (41.9x, -----) ca: 9.0s (19.1x, -----) dr: 8.2s (17.4x, -----) ma: 1.8s ( 3.9x, -----)
ffbench valgrind-old:0.47s no: 2.0s ( 4.4x, -3.0%) me: 6.1s (13.0x, -6.6%) ca: 4.1s ( 8.7x, 6.0%) he:18.3s (38.9x, 7.2%) ca: 9.1s (19.4x, -2.0%) dr: 7.9s (16.9x, 3.1%) ma: 1.8s ( 3.9x, 1.1%)
-- heap --
heap valgrind-new:0.48s no: 2.8s ( 5.9x, -----) me:11.6s (24.1x, -----) ca:25.8s (53.7x, -----) he:18.8s (39.1x, -----) ca:13.6s (28.3x, -----) dr:10.6s (22.1x, -----) ma:11.4s (23.8x, -----)
heap valgrind-old:0.48s no: 2.9s ( 6.0x, -1.4%) me:11.8s (24.5x, -1.7%) ca:25.6s (53.4x, 0.5%) he:18.5s (38.6x, 1.4%) ca:13.7s (28.5x, -0.7%) dr:11.1s (23.1x, -4.7%) ma:11.4s (23.9x, -0.4%)
-- heap_pdb4 --
heap_pdb4 valgrind-new:0.45s no: 2.8s ( 6.2x, -----) me:20.8s (46.2x, -----) ca:26.3s (58.5x, -----) he:20.4s (45.3x, -----) ca:13.6s (30.2x, -----) dr:15.1s (33.6x, -----) ma:14.5s (32.2x, -----)
heap_pdb4 valgrind-old:0.45s no: 3.5s ( 7.8x,-25.4%) me:25.3s (56.2x,-21.8%) ca:32.2s (71.5x,-22.3%) he:25.4s (56.4x,-24.5%) ca:16.9s (37.6x,-24.5%) dr:15.2s (33.8x, -0.6%) ma:13.8s (30.7x, 4.8%)
-- many-loss-records --
many-loss-records valgrind-new:0.05s no: 0.7s (14.2x, -----) me: 3.6s (72.4x, -----) ca: 2.6s (52.8x, -----) he: 3.3s (65.2x, -----) ca: 2.3s (46.2x, -----) dr: 3.3s (65.2x, -----) ma: 2.7s (53.4x, -----)
many-loss-records valgrind-old:0.05s no: 0.7s (14.4x, -1.4%) me: 3.6s (73.0x, -0.8%) ca: 3.7s (73.2x,-38.6%) he: 3.2s (64.4x, 1.2%) ca: 2.3s (46.8x, -1.3%) dr: 3.3s (66.2x, -1.5%) ma: 2.3s (45.2x, 15.4%)
-- many-xpts --
many-xpts valgrind-new:0.16s no: 1.1s ( 6.6x, -----) me: 4.7s (29.6x, -----) ca: 8.5s (53.2x, -----) he: 6.8s (42.2x, -----) ca: 3.6s (22.6x, -----) dr: 4.1s (25.4x, -----) ma: 3.9s (24.5x, -----)
many-xpts valgrind-old:0.16s no: 1.0s ( 6.5x, 1.9%) me: 4.6s (28.6x, 3.2%) ca: 8.4s (52.3x, 1.8%) he: 6.5s (40.8x, 3.6%) ca: 3.5s (21.9x, 3.0%) dr: 3.9s (24.1x, 4.9%) ma: 3.9s (24.1x, 1.8%)
-- memrw --
memrw valgrind-new:0.17s no: 1.2s ( 7.2x, -----) me: 2.8s (16.5x, -----) ca: 7.5s (44.0x, -----) he:13.1s (77.1x, -----) ca: 5.3s (31.1x, -----) dr: 3.0s (17.8x, -----) ma: 1.3s ( 7.6x, -----)
memrw valgrind-old:0.17s no: 1.2s ( 7.1x, 1.6%) me: 2.9s (17.0x, -2.8%) ca: 8.8s (52.0x,-18.2%) he:15.8s (93.1x,-20.8%) ca: 5.8s (34.4x,-10.6%) dr: 3.5s (20.4x,-14.5%) ma: 1.3s ( 7.8x, -2.3%)
-- sarp --
sarp valgrind-new:0.06s no: 0.8s (13.2x, -----) me: 5.5s (91.0x, -----) ca: 5.1s (84.7x, -----) he:15.8s (263.8x, -----) ca: 2.7s (45.3x, -----) dr: 2.8s (46.2x, -----) ma: 0.8s (13.7x, -----)
sarp valgrind-old:0.06s no: 0.7s (11.2x, 15.2%) me: 5.7s (95.7x, -5.1%) ca: 5.4s (90.2x, -6.5%) he:16.5s (275.3x, -4.4%) ca: 2.9s (48.0x, -5.9%) dr: 2.9s (48.7x, -5.4%) ma: 0.8s (13.8x, -1.2%)
-- tinycc --
tinycc valgrind-new:0.61s no: 5.7s ( 9.3x, -----) me:30.3s (49.7x, -----) ca:42.9s (70.2x, -----) he:41.2s (67.6x, -----) ca:29.6s (48.5x, -----) dr:39.2s (64.3x, -----) ma:10.8s (17.7x, -----)
tinycc valgrind-old:0.61s no: 6.1s (10.0x, -8.0%) me:35.4s (58.0x,-16.7%) ca:54.7s (89.7x,-27.7%) he:48.6s (79.7x,-17.9%) ca:34.7s (56.9x,-17.4%) dr:38.7s (63.5x, 1.3%) ma:12.1s (19.9x,-12.1%)
-- Finished tests in perf ----------------------------------------------
== 12 programs, 168 timings =================
real 2h20m41.14s
user 2h10m5.03s
sys 4m34.97s
=================================================
./valgrind-new/exp-sgcheck/tests/preen_invars.stderr.diff-glibc28-amd64
=================================================
--- preen_invars.stderr.exp-glibc28-amd64 2016-03-11 02:00:14.100235676 +0000
+++ preen_invars.stderr.out 2016-03-11 03:42:39.233050539 +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-03-11 02:00:14.097513338 +0000
+++ stackerr.stderr.out 2016-03-11 03:42:44.087050439 +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-03-11 02:00:14.108698911 +0000
+++ stackerr.stderr.out 2016-03-11 03:42:44.087050439 +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-03-11 01:59:57.554064778 +0000
+++ hginfo.stderrB.out 2016-03-11 02:39:37.226480174 +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-03-11 02:00:22.288933959 +0000
+++ bar_bad.stderr.out 2016-03-11 03:20:47.254971109 +0000
@@ -39,6 +39,73 @@
at 0x........: pthread_barrier_init (hg_intercepts.c:...)
by 0x........: main (bar_bad.c:57)
+---Thread-Announcement------------------------------------------
+
+Thread #x was created
+ ...
+ by 0x........: pthread_create@* (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:53)
+
+----------------------------------------------------------------
+
+ 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:51)
+ 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:50)
+ 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:57)
+
+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:50)
+ 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:51)
+ 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:50)
+ 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:57)
+
+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:50)
+ 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:69)
+---Thread-Announcement------------------------------------------
+
+Thread #x was created
+ ...
+ by 0x........: pthread_create@* (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:65)
+
+----------------------------------------------------------------
+
+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-03-11 02:00:22.323807982 +0000
+++ bar_trivial.stderr.out 2016-03-11 03:20:50.712960528 +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-03-11 02:00:22.265123134 +0000
+++ free_is_write.stderr.out 2016-03-11 03:21:00.852492536 +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-03-11 02:00:22.468008733 +0000
+++ pth_barrier1.stderr.out 2016-03-11 03:21:47.424772308 +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-03-11 02:00:22.208147552 +0000
+++ pth_barrier2.stderr.out 2016-03-11 03:21:49.732216160 +0000
@@ -6,6 +6,17 @@
by 0x........: barriers_and_races (pth_barrier.c:92)
by 0x........: main (pth_barrier.c:122)
+----------------------------------------------------------------
+
+Thread #x: pthread_cond_{signal,broadcast}: dubious: associated lock is not held by any thread
+ at 0x........: pthread_cond_broadcast_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_cond_broadcast@* (hg_intercepts.c:...)
+ ...
+ by 0x........: pthread_barrier_wait (hg_intercepts.c:...)
+ by 0x........: threadfunc (pth_barrier.c:54)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+
---Thread-Announcement------------------------------------------
Thread #x was created
@@ -39,590 +50,12 @@
----------------------------------------------------------------
-Possible data race during write of size 1 at 0x........ by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
-
-This conflicts with a previous write of size 1 by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
- Address 0x........ is 1 bytes inside a block of size 32 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: barriers_and_races (pth_barrier.c:76)
- by 0x........: main (pth_barrier.c:122)
- Block was alloc'd by thread #x
-
-----------------------------------------------------------------
-
-Possible data race during write of size 1 at 0x........ by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
-
-This conflicts with a previous write of size 1 by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
- Address 0x........ is 2 bytes inside a block of size 32 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: barriers_and_races (pth_barrier.c:76)
- by 0x........: main (pth_barrier.c:122)
- Block was alloc'd by thread #x
-
-----------------------------------------------------------------
-
-Possible data race during write of size 1 at 0x........ by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
-
-This conflicts with a previous write of size 1 by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
- Address 0x........ is 3 bytes inside a block of size 32 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: barriers_and_races (pth_barrier.c:76)
- by 0x........: main (pth_barrier.c:122)
- Block was alloc'd by thread #x
-
-----------------------------------------------------------------
-
-Possible data race during write of size 1 at 0x........ by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
-
-This conflicts with a previous write of size 1 by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
- Address 0x........ is 4 bytes inside a block of size 32 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: barriers_and_races (pth_barrier.c:76)
- by 0x........: main (pth_barrier.c:122)
- Block was alloc'd by thread #x
-
-----------------------------------------------------------------
-
<truncated beyond 100 lines>
=================================================
./valgrind-new/helgrind/tests/pth_barrier3.stderr.diff
=================================================
--- pth_barrier3.stderr.exp 2016-03-11 02:00:22.299543697 +0000
+++ pth_barrier3.stderr.out 2016-03-11 03:21:52.755730226 +0000
@@ -6,6 +6,17 @@
by 0x........: barriers_and_races (pth_barrier.c:92)
by 0x........: main (pth_barrier.c:122)
+----------------------------------------------------------------
+
+Thread #x: pthread_cond_{signal,broadcast}: dubious: associated lock is not held by any thread
+ at 0x........: pthread_cond_broadcast_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_cond_broadcast@* (hg_intercepts.c:...)
+ ...
+ by 0x........: pthread_barrier_wait (hg_intercepts.c:...)
+ by 0x........: threadfunc (pth_barrier.c:54)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+
---Thread-Announcement------------------------------------------
Thread #x was created
=================================================
./valgrind-new/helgrind/tests/tc21_pthonce.stderr.diff
=================================================
--- tc21_pthonce.stderr.exp 2016-03-11 02:00:22.215866208 +0000
+++ tc21_pthonce.stderr.out 2016-03-11 03:24:27.891388619 +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-03-11 02:00:22.643178100 +0000
+++ tls_threads.stderr.out 2016-03-11 03:24:44.907731962 +0000
@@ -1,2 +1,3 @@
+--17665:0: sched WARNING: pthread stack cache cannot be disabled!
starting join in main
finished join in main
=================================================
./valgrind-new/memcheck/tests/descr_belowsp.stderr.diff
=================================================
--- descr_belowsp.stderr.exp 2016-03-11 02:00:09.867253849 +0000
+++ descr_belowsp.stderr.out 2016-03-11 02:45:53.398394184 +0000
@@ -1,9 +1,7 @@
-describing 0x........ 1500 bytes below a local var
- Address 0x........ is on thread 1's stack
- .... bytes below stack pointer
-describing 0x........ 1500 bytes below a local var
- Address 0x........ is on thread 2's stack
- .... bytes below stack pointer
+describing 37fef4f8 1500 bytes below a local var
+missing or malformed address
+describing 7ffd4f888 1500 bytes below a local var
+missing or malformed address
Thread 2:
Invalid read of size 1
at 0x........: bad_things_till_guard_page (descr_belowsp.c:73)
@@ -12,15 +10,11 @@
Address 0x........ is on thread 2's stack
.... bytes below stack pointer
-describing 0x........ discovered address giving SEGV in thread stack
- Address 0x........ is on thread 2's stack
- In stack guard protected page, .... bytes below stack pointer
-describing 0x........ byte just above highest guardpage byte
- Address 0x........ is on thread 2's stack
- .... bytes below stack pointer
-describing 0x........ highest guardpage byte
- Address 0x........ is on thread 2's stack
- In stack guard protected page, .... bytes below stack pointer
-describing 0x........ lowest guardpage byte
- Address 0x........ is on thread 2's stack
- In stack guard protected page, .... bytes below stack pointer
+describing 7ffb51f07 discovered address giving SEGV in thread stack
+missing or malformed address
+describing 7ffb52000 byte just above highest guardpage byte
+missing or malformed address
+describing 7ffb51fff highest guardpage byte
+missing or malformed address
+describing 7ffb51000 lowest guardpage byte
+missing or malformed address
=================================================
./valgrind-new/memcheck/tests/solaris/door_data.stderr.diff
=================================================
--- door_data.stderr.exp 2016-03-11 02:00:05.830593381 +0000
+++ door_data.stderr.out 2016-03-11 02:51:45.345144204 +0000
@@ -0,0 +1,14 @@
+Thread 2 door_create_func:
+Invalid write of size 8
+ ...
+ by 0x........: ??? (in /export/home/tester1/nightly/valgrind-new/memcheck/tests/solaris/door_data)
+ ...
+ Address 0x........ is on thread 2's stack
+
+Invalid read of size 8
+ ...
+ by 0x........: ??? (in /export/home/tester1/nightly/valgrind-new/memcheck/tests/solaris/door_data)
+ ...
+ Address 0x........ is on thread 2's stack
+ in frame #1, created by __door_return (???:)
+
=================================================
./valgrind-new/memcheck/tests/solaris/lsframe2.stderr.diff
=================================================
--- lsframe2.stderr.exp 2016-03-11 02:00:06.051677193 +0000
+++ lsframe2.stderr.out 2016-03-11 02:52:20.493606321 +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-03-11 00:30:33.697961368 +0000
+++ preen_invars.stderr.out 2016-03-11 01:57:42.267575575 +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-03-11 00:30:33.688373790 +0000
+++ stackerr.stderr.out 2016-03-11 01:57:47.084726671 +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-03-11 00:30:33.725034133 +0000
+++ stackerr.stderr.out 2016-03-11 01:57:47.084726671 +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-03-11 00:30:17.191143932 +0000
+++ hginfo.stderrB.out 2016-03-11 00:57:11.681883983 +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-03-11 00:30:42.121014185 +0000
+++ bar_bad.stderr.out 2016-03-11 01:36:23.657082365 +0000
@@ -39,6 +39,73 @@
at 0x........: pthread_barrier_init (hg_intercepts.c:...)
by 0x........: main (bar_bad.c:57)
+---Thread-Announcement------------------------------------------
+
+Thread #x was created
+ ...
+ by 0x........: pthread_create@* (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:53)
+
+----------------------------------------------------------------
+
+ 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:51)
+ 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:50)
+ 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:57)
+
+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:50)
+ 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:51)
+ 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:50)
+ 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:57)
+
+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:50)
+ 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:69)
+---Thread-Announcement------------------------------------------
+
+Thread #x was created
+ ...
+ by 0x........: pthread_create@* (hg_intercepts.c:...)
+ by 0x........: main (bar_bad.c:65)
+
+----------------------------------------------------------------
+
+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-03-11 00:30:42.169136542 +0000
+++ bar_trivial.stderr.out 2016-03-11 01:36:27.282578660 +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-03-11 00:30:42.026737234 +0000
+++ free_is_write.stderr.out 2016-03-11 01:36:37.884228025 +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-03-11 00:30:42.356689697 +0000
+++ pth_barrier1.stderr.out 2016-03-11 01:37:22.579762949 +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-03-11 00:30:41.812223057 +0000
+++ pth_barrier2.stderr.out 2016-03-11 01:37:25.161466174 +0000
@@ -6,587 +6,39 @@
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-03-11 00:30:42.141079330 +0000
+++ pth_barrier3.stderr.out 2016-03-11 01:37:27.939521281 +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
=================================================
--- tc21_pthonce.stderr.exp 2016-03-11 00:30:41.844447452 +0000
+++ tc21_pthonce.stderr.out 2016-03-11 01:39:52.792830884 +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-old/helgrind/tests/tls_threads.stderr.diff
=================================================
--- tls_threads.stderr.exp 2016-03-11 00:30:42.438309869 +0000
+++ tls_threads.stderr.out 2016-03-11 01:40:10.329218329 +0000
@@ -1,2 +1,3 @@
+--17206:0: sched WARNING: pthread stack cache cannot be disabled!
starting join in main
finished join in main
=================================================
./valgrind-old/memcheck/tests/arm64-linux/scalar.stderr.diff
=================================================
--- scalar.stderr.exp 2016-03-11 00:30:18.744242321 +0000
+++ scalar.stderr.out 2016-03-11 01:01:08.588183944 +0000
@@ -1,2598 +1 @@
------------------------------------------------------
-128:__NR_restart_syscall n/a
------------------------------------------------------
------------------------------------------------------
- 93: __NR_exit below
------------------------------------------------------
------------------------------------------------------
- 63: __NR_read 1+3s 1m
------------------------------------------------------
-Syscall param (syscallno) contains uninitialised byte(s)
- ...
- by 0x........: main (scalar.c:51)
-
-Syscall param read(fd) contains uninitialised byte(s)
- ...
- by 0x........: main (scalar.c:51)
-
-Syscall param read(buf) contains uninitialised byte(s)
- ...
- by 0x........: main (scalar.c:51)
-
-Syscall param read(count) contains uninitialised byte(s)
- ...
- by 0x........: main (scalar.c:51)
-
-Syscall param read(buf) points to unaddressable byte(s)
- ...
- by 0x........: main (scalar.c:51)
- Address 0x........ is not stack'd, malloc'd or (recently) free'd
-
------------------------------------------------------
- 64: __NR_write 3s 1m
------------------------------------------------------
-Syscall param write(fd) contains uninitialised byte(s)
- ...
- by 0x........: main (scalar.c:55)
-
-Syscall param write(buf) contains uninitialised byte(s)
- ...
- by 0x........: main (scalar.c:55)
-
-Syscall param write(count) contains uninitialised byte(s)
- ...
- by 0x........: main (scalar.c:55)
-
-Syscall param write(buf) points to unaddressable byte(s)
- ...
- by 0x........: main (scalar.c:55)
- Address 0x........ is not stack'd, malloc'd or (recently) free'd
-
------------------------------------------------------
- 57: __NR_close 1s 0m
------------------------------------------------------
-Syscall param close(fd) contains uninitialised byte(s)
- ...
- by 0x........: main (scalar.c:69)
-
------------------------------------------------------
-221: __NR_execve 3s 1m
------------------------------------------------------
-Syscall param execve(filename) contains uninitialised byte(s)
- ...
- by 0x........: main (scalar.c:91)
-
-Syscall param execve(argv) contains uninitialised byte(s)
- ...
- by 0x........: main (scalar.c:91)
-
-Syscall param execve(envp) contains uninitialised byte(s)
- ...
- by 0x........: main (scalar.c:91)
-
-Syscall param execve(filename) points to unaddressable byte(s)
- ...
- by 0x........: main (scalar.c:91)
- Address 0x........ is not stack'd, malloc'd or (recently) free'd
-
------------------------------------------------------
- 49: __NR_chdir 1s 1m
------------------------------------------------------
-Syscall param chdir(path) contains uninitialised byte(s)
- ...
- by 0x........: main (scalar.c:95)
-
-Syscall param chdir(path) points to unaddressable byte(s)
- ...
- by 0x........: main (scalar.c:95)
- Address 0x........ is not stack'd, malloc'd or (recently) free'd
-
------------------------------------------------------
- 62: __NR_lseek 3s 0m
------------------------------------------------------
-Syscall param lseek(fd) contains uninitialised byte(s)
- ...
- by 0x........: main (scalar.c:123)
-
-Syscall param lseek(offset) contains uninitialised byte(s)
<truncated beyond 100 lines>
=================================================
./valgrind-old/memcheck/tests/descr_belowsp.stderr.diff
=================================================
--- descr_belowsp.stderr.exp 2016-03-11 00:30:30.202090319 +0000
+++ descr_belowsp.stderr.out 2016-03-11 01:03:00.987823574 +0000
@@ -1,9 +1,7 @@
-describing 0x........ 1500 bytes below a local var
- Address 0x........ is on thread 1's stack
- .... bytes below stack pointer
-describing 0x........ 1500 bytes below a local var
- Address 0x........ is on thread 2's stack
- .... bytes below stack pointer
+describing 37fef4f8 1500 bytes below a local var
+missing or malformed address
+describing 7ffd4f888 1500 bytes below a local var
+missing or malformed address
Thread 2:
Invalid read of size 1
at 0x........: bad_things_till_guard_page (descr_belowsp.c:73)
@@ -12,15 +10,11 @@
Address 0x........ is on thread 2's stack
.... bytes below stack pointer
-describing 0x........ discovered address giving SEGV in thread stack
- Address 0x........ is on thread 2's stack
- In stack guard protected page, .... bytes below stack pointer
-describing 0x........ byte just above highest guardpage byte
- Address 0x........ is on thread 2's stack
- .... bytes below stack pointer
-describing 0x........ highest guardpage byte
- Address 0x........ is on thread 2's stack
- In stack guard protected page, .... bytes below stack pointer
-describing 0x........ lowest guardpage byte
- Address 0x........ is on thread 2's stack
- In stack guard protected page, .... bytes below stack pointer
+describing 7ffb51f07 discovered address giving SEGV in thread stack
+missing or malformed address
+describing 7ffb52000 byte just above highest guardpage byte
+missing or malformed address
+describing 7ffb51fff highest guardpage byte
+missing or malformed address
+describing 7ffb51000 lowest guardpage byte
+missing or malformed address
=================================================
./valgrind-old/memcheck/tests/solaris/door_data.stderr.diff
=================================================
--- door_data.stderr.exp 2016-03-11 00:30:26.500761592 +0000
+++ door_data.stderr.out 2016-03-11 01:08:29.621687635 +0000
@@ -0,0 +1,14 @@
+Thread 2 door_create_func:
+Invalid write of size 8
+ ...
+ by 0x........: ??? (in /export/home/tester1/nightly/valgrind-old/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-old/memcheck/tests/solaris/door_data)
+ ...
+ Address 0x........ is on thread 2's stack
+ in frame #1, created by __door_return (???:)
+
=================================================
./valgrind-old/memcheck/tests/solaris/lsframe2.stderr.diff
=================================================
--- lsframe2.stderr.exp 2016-03-11 00:30:26.843809442 +0000
+++ lsframe2.stderr.out 2016-03-11 01:09:00.033307130 +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)
+
|