|
From: <iv...@iv...> - 2016-01-27 02:43:59
|
valgrind revision: 15775
VEX revision: 3206
C compiler: gcc (GCC) 4.8.2
GDB: GNU gdb (GDB) 7.6
Assembler: GNU assembler (GNU Binutils) 2.25.1
uname -mrs: SunOS 5.12 i86pc
Vendor version: Oracle Solaris 12.0 X86
Nightly build on solaris12 ( Solaris 12 x86 )
Started at 2016-01-27 00:30:00 UTC
Ended at 2016-01-27 02:40:34 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
== 745 tests, 11 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/free_is_write (stderr)
helgrind/tests/pth_barrier1 (stderr)
helgrind/tests/pth_barrier2 (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, 12 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/leak_cpp_interior (stderr)
memcheck/tests/solaris/door_data (stderr)
memcheck/tests/solaris/lsframe2 (stderr)
helgrind/tests/bar_bad (stderr)
helgrind/tests/free_is_write (stderr)
helgrind/tests/pth_barrier1 (stderr)
helgrind/tests/pth_barrier2 (stderr)
helgrind/tests/tc21_pthonce (stderr)
helgrind/tests/tls_threads (stderr)
exp-sgcheck/tests/preen_invars (stderr)
exp-sgcheck/tests/stackerr (stderr)
=================================================
== Difference between 24 hours ago and now ==
=================================================
--- old.short 2016-01-27 01:08:18.679704553 +0000
+++ new.short 2016-01-27 01:46:21.854996130 +0000
@@ -8,6 +8,5 @@
-== 745 tests, 12 stderr failures, 0 stdout failures, 1 stderrB failure, 0 stdoutB failures, 0 post failures ==
+== 745 tests, 11 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/leak_cpp_interior (stderr)
memcheck/tests/solaris/door_data (stderr)
--tools=none,memcheck,callgrind,helgrind,cachegrind,drd,massif --reps=3 --vg=../valgrind-new --vg=../valgrind-old
-- Running tests in perf ----------------------------------------------
-- bigcode1 --
bigcode1 valgrind-new:0.11s no: 1.8s (16.5x, -----) me: 3.7s (33.5x, -----) ca:13.8s (125.6x, -----) he: 2.5s (22.9x, -----) ca: 4.6s (41.5x, -----) dr: 2.3s (21.2x, -----) ma: 2.1s (19.5x, -----)
bigcode1 valgrind-old:0.11s no: 2.0s (18.0x, -9.4%) me: 3.5s (31.8x, 5.1%) ca:14.0s (127.3x, -1.3%) he: 2.5s (23.0x, -0.4%) ca: 4.7s (42.5x, -2.2%) dr: 2.3s (21.1x, 0.4%) ma: 2.4s (22.1x,-13.6%)
-- bigcode2 --
bigcode2 valgrind-new:0.17s no: 4.7s (27.4x, -----) me: 8.7s (51.2x, -----) ca:28.5s (167.4x, -----) he: 6.2s (36.6x, -----) ca: 8.0s (47.3x, -----) dr: 5.4s (31.8x, -----) ma: 5.3s (31.4x, -----)
bigcode2 valgrind-old:0.17s no: 4.4s (25.9x, 5.4%) me: 9.1s (53.7x, -4.9%) ca:28.9s (170.2x, -1.7%) he: 6.1s (35.6x, 2.7%) ca: 8.1s (47.8x, -1.0%) dr: 5.2s (30.5x, 4.1%) ma: 5.3s (31.0x, 1.1%)
-- bz2 --
bz2 valgrind-new:0.62s no: 2.0s ( 3.3x, -----) me: 7.6s (12.2x, -----) ca:13.2s (21.3x, -----) he:11.5s (18.6x, -----) ca:16.5s (26.6x, -----) dr:15.1s (24.4x, -----) ma: 2.0s ( 3.3x, -----)
bz2 valgrind-old:0.62s no: 2.1s ( 3.3x, -1.5%) me: 7.4s (11.9x, 2.5%) ca:12.7s (20.5x, 3.9%) he:11.7s (18.9x, -1.6%) ca:16.9s (27.3x, -2.7%) dr:15.2s (24.5x, -0.2%) ma: 2.0s ( 3.3x, -1.0%)
-- fbench --
fbench valgrind-new:0.25s no: 1.1s ( 4.4x, -----) me: 4.7s (18.7x, -----) ca: 6.2s (24.7x, -----) he: 3.5s (14.1x, -----) ca: 5.5s (22.1x, -----) dr: 3.9s (15.6x, -----) ma: 1.3s ( 5.2x, -----)
fbench valgrind-old:0.25s no: 1.2s ( 4.7x, -8.3%) me: 4.5s (17.9x, 4.3%) ca: 6.1s (24.3x, 1.6%) he: 3.3s (13.2x, 6.2%) ca: 5.5s (22.2x, -0.4%) dr: 4.2s (16.9x, -8.7%) ma: 1.2s ( 4.9x, 6.1%)
-- ffbench --
ffbench valgrind-new:0.22s no: 1.3s ( 5.9x, -----) me: 3.3s (14.8x, -----) ca: 2.0s ( 9.3x, -----) he: 4.8s (22.0x, -----) ca: 5.5s (25.2x, -----) dr: 4.4s (19.8x, -----) ma: 1.1s ( 5.0x, -----)
ffbench valgrind-old:0.22s no: 1.1s ( 4.9x, 16.3%) me: 3.4s (15.5x, -4.6%) ca: 2.2s (10.0x, -7.8%) he: 5.0s (22.9x, -4.1%) ca: 6.5s (29.4x,-16.6%) dr: 4.9s (22.3x,-12.6%) ma: 1.2s ( 5.4x, -8.2%)
-- heap --
heap valgrind-new:0.25s no: 1.4s ( 5.5x, -----) me: 6.7s (27.0x, -----) ca:11.4s (45.6x, -----) he: 9.4s (37.5x, -----) ca:11.4s (45.6x, -----) dr: 5.8s (23.3x, -----) ma: 5.7s (22.7x, -----)
heap valgrind-old:0.25s no: 1.4s ( 5.4x, 2.2%) me: 6.3s (25.3x, 6.1%) ca:12.3s (49.1x, -7.8%) he: 9.0s (36.1x, 3.6%) ca:11.9s (47.7x, -4.7%) dr: 5.9s (23.5x, -0.7%) ma: 5.3s (21.1x, 6.9%)
-- heap_pdb4 --
heap_pdb4 valgrind-new:0.27s no: 1.5s ( 5.5x, -----) me:10.7s (39.6x, -----) ca:11.9s (44.2x, -----) he:10.9s (40.2x, -----) ca:12.4s (46.0x, -----) dr: 6.6s (24.4x, -----) ma: 5.7s (21.1x, -----)
heap_pdb4 valgrind-old:0.27s no: 1.6s ( 5.9x, -7.4%) me:10.6s (39.2x, 1.1%) ca:12.8s (47.3x, -7.0%) he:10.3s (38.1x, 5.2%) ca:12.3s (45.6x, 1.0%) dr: 7.1s (26.3x, -7.7%) ma: 5.6s (20.8x, 1.2%)
-- many-loss-records --
many-loss-records valgrind-new:0.03s no: 0.4s (12.3x, -----) me: 1.9s (64.3x, -----) ca: 1.4s (48.0x, -----) he: 1.5s (49.3x, -----) ca: 1.5s (49.0x, -----) dr: 1.4s (46.0x, -----) ma: 1.1s (38.3x, -----)
many-loss-records valgrind-old:0.03s no: 0.3s (11.3x, 8.1%) me: 1.8s (58.7x, 8.8%) ca: 1.6s (53.7x,-11.8%) he: 1.5s (50.0x, -1.4%) ca: 1.6s (54.0x,-10.2%) dr: 1.2s (41.3x, 10.1%) ma: 1.1s (37.3x, 2.6%)
-- many-xpts --
many-xpts valgrind-new:0.14s no: 0.6s ( 3.9x, -----) me: 2.5s (17.8x, -----) ca: 3.5s (24.9x, -----) he: 3.1s (21.9x, -----) ca: 2.5s (18.1x, -----) dr: 2.2s (16.0x, -----) ma: 1.8s (12.9x, -----)
many-xpts valgrind-old:0.14s no: 0.5s ( 3.6x, 7.3%) me: 2.5s (18.1x, -2.0%) ca: 3.6s (25.6x, -3.2%) he: 3.0s (21.4x, 2.0%) ca: 2.7s (19.4x, -7.1%) dr: 2.4s (16.8x, -4.9%) ma: 1.8s (12.9x, 0.0%)
-- memrw --
memrw valgrind-new:0.12s no: 0.7s ( 6.2x, -----) me: 1.3s (11.0x, -----) ca: 3.0s (25.2x, -----) he: 5.7s (47.1x, -----) ca: 2.4s (20.3x, -----) dr: 1.6s (12.9x, -----) ma: 0.7s ( 5.9x, -----)
memrw valgrind-old:0.12s no: 0.6s ( 4.7x, 24.3%) me: 1.3s (10.9x, 0.8%) ca: 3.0s (24.8x, 2.0%) he: 5.7s (47.1x, 0.0%) ca: 2.6s (21.6x, -6.6%) dr: 1.5s (12.2x, 5.2%) ma: 0.7s ( 5.4x, 8.5%)
-- sarp --
sarp valgrind-new:0.02s no: 0.4s (18.0x, -----) me: 2.4s (121.5x, -----) ca: 1.9s (93.5x, -----) he: 6.8s (341.5x, -----) ca: 1.4s (71.0x, -----) dr: 1.2s (60.5x, -----) ma: 0.3s (17.0x, -----)
sarp valgrind-old:0.02s no: 0.3s (17.0x, 5.6%) me: 2.5s (123.0x, -1.2%) ca: 1.9s (94.0x, -0.5%) he: 6.6s (330.0x, 3.4%) ca: 1.3s (67.0x, 5.6%) dr: 1.2s (59.5x, 1.7%) ma: 0.3s (15.5x, 8.8%)
-- tinycc --
tinycc valgrind-new:0.20s no: 2.1s (10.7x, -----) me:12.4s (62.0x, -----) ca:11.9s (59.5x, -----) he:13.5s (67.7x, -----) ca:11.3s (56.4x, -----) dr:11.6s (57.9x, -----) ma: 3.0s (15.1x, -----)
tinycc valgrind-old:0.20s no: 2.3s (11.5x, -7.9%) me:11.7s (58.5x, 5.7%) ca:12.1s (60.6x, -2.0%) he:14.1s (70.4x, -4.1%) ca:12.1s (60.5x, -7.3%) dr:11.6s (58.0x, -0.3%) ma: 3.0s (14.8x, 2.3%)
-- Finished tests in perf ----------------------------------------------
== 12 programs, 168 timings =================
real 54m12.62s
user 46m46.59s
sys 6m18.47s
=================================================
./valgrind-new/exp-sgcheck/tests/preen_invars.stderr.diff-glibc28-amd64
=================================================
--- preen_invars.stderr.exp-glibc28-amd64 2016-01-27 01:08:36.798319669 +0000
+++ preen_invars.stderr.out 2016-01-27 01:44:40.342565679 +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-01-27 01:08:36.790915643 +0000
+++ stackerr.stderr.out 2016-01-27 01:44:42.031882792 +0000
@@ -1,28 +1,27 @@
-Invalid write of size 4
+Invalid write of size 8
at 0x........: foo (stackerr.c:27)
by 0x........: bar (stackerr.c:32)
by 0x........: main (stackerr.c:41)
Address 0x........ expected vs actual:
- Expected: stack array "a" of size 28 in frame 2 back from here
- Actual: stack array "beforea" of size 12 in frame 2 back from here
+ Expected: stack array "a" of size 56 in frame 2 back from here
+ Actual: unknown
Actual: is 0 after Expected
-Invalid write of size 4
+Invalid write of size 8
at 0x........: main (stackerr.c:44)
Address 0x........ expected vs actual:
- Expected: stack array "a" of size 28 in this frame
- Actual: stack array "beforea" of size 12 in this frame
+ Expected: stack array "a" of size 56 in this frame
+ Actual: unknown
Actual: is 0 after Expected
Invalid write of size 1
- at 0x........: _IO_default_xsputn (in /...libc...)
- by 0x........: ...
- by 0x........: ...
+ at 0x........: memcpy (h_intercepts.c:...)
+ by 0x........: _ndoprnt_s (in /...libc...)
+ by 0x........: _ndoprnt (in /...libc...)
Address 0x........ expected vs actual:
- Expected: stack array "buf" of size 8 in frame 4 back from here
- Actual: stack array "beforebuf" of size 8 in frame 4 back from here
- Actual: is 0 after Expected
+ Expected: unknown
+ Actual: stack array "buf" of size 8 in frame 4 back from here
ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/exp-sgcheck/tests/stackerr.stderr.diff-glibc28-amd64
=================================================
--- stackerr.stderr.exp-glibc28-amd64 2016-01-27 01:08:36.846228801 +0000
+++ stackerr.stderr.out 2016-01-27 01:44:42.031882792 +0000
@@ -16,13 +16,12 @@
Actual: is 0 after Expected
Invalid write of size 1
- at 0x........: _IO_default_xsputn (in /...libc...)
- by 0x........: ...
- by 0x........: ...
+ at 0x........: memcpy (h_intercepts.c:...)
+ by 0x........: _ndoprnt_s (in /...libc...)
+ by 0x........: _ndoprnt (in /...libc...)
Address 0x........ expected vs actual:
- Expected: stack array "buf" of size 8 in frame 4 back from here
- Actual: unknown
- Actual: is 0 after Expected
+ Expected: unknown
+ Actual: stack array "buf" of size 8 in frame 4 back from here
ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/gdbserver_tests/hginfo.stderrB.diff
=================================================
--- hginfo.stderrB.exp 2016-01-27 01:08:25.155930512 +0000
+++ hginfo.stderrB.out 2016-01-27 01:17:34.473748753 +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-01-27 01:08:42.768517978 +0000
+++ bar_bad.stderr.out 2016-01-27 01:35:53.918293363 +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/free_is_write.stderr.diff
=================================================
--- free_is_write.stderr.exp 2016-01-27 01:08:42.706058533 +0000
+++ free_is_write.stderr.out 2016-01-27 01:36:01.204225610 +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-01-27 01:08:42.957884185 +0000
+++ pth_barrier1.stderr.out 2016-01-27 01:36:25.191369352 +0000
@@ -1,39 +0,0 @@
----Thread-Announcement------------------------------------------
-
-Thread #x was created
- ...
- by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: barriers_and_races (pth_barrier.c:92)
- by 0x........: main (pth_barrier.c:122)
-
----Thread-Announcement------------------------------------------
-
-Thread #x was created
- ...
- by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: barriers_and_races (pth_barrier.c:92)
- by 0x........: main (pth_barrier.c:122)
-
----Thread-Announcement------------------------------------------
-
-Thread #x is the program's root thread
-
-----------------------------------------------------------------
-
-Possible data race during write of size 1 at 0x........ by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
-
-This conflicts with a previous write of size 1 by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
- Address 0x........ is 0 bytes inside a block of size 1 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: barriers_and_races (pth_barrier.c:76)
- by 0x........: main (pth_barrier.c:122)
- Block was alloc'd by thread #x
-
=================================================
./valgrind-new/helgrind/tests/pth_barrier2.stderr.diff
=================================================
--- pth_barrier2.stderr.exp 2016-01-27 01:08:42.550287818 +0000
+++ pth_barrier2.stderr.out 2016-01-27 01:36:26.703544712 +0000
@@ -50,579 +50,9 @@
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
-
-----------------------------------------------------------------
-
-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 5 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:...)
<truncated beyond 100 lines>
=================================================
./valgrind-new/helgrind/tests/tc21_pthonce.stderr.diff
=================================================
--- tc21_pthonce.stderr.exp 2016-01-27 01:08:42.571280155 +0000
+++ tc21_pthonce.stderr.out 2016-01-27 01:37:30.871699688 +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-01-27 01:08:43.067425038 +0000
+++ tls_threads.stderr.out 2016-01-27 01:37:42.460168259 +0000
@@ -1,2 +1,26 @@
+--17782:0: sched WARNING: pthread stack cache cannot be disabled!
starting join in main
+---Thread-Announcement------------------------------------------
+
+Thread #x was created
+ ...
+ by 0x........: pthread_create@* (hg_intercepts.c:...)
+ by 0x........: level1 (tls_threads.c:69)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+
+----------------------------------------------------------------
+
+Possible data race during read of size 8 at 0x........ by thread #x
+Locks held: none
+ ...
+ Address 0x........ is on thread #x's stack
+
+----------------------------------------------------------------
+
+Possible data race during write of size 8 at 0x........ by thread #x
+Locks held: none
+ ...
+ Address 0x........ is on thread #x's stack
+
finished join in main
=================================================
./valgrind-new/memcheck/tests/descr_belowsp.stderr.diff
=================================================
--- descr_belowsp.stderr.exp 2016-01-27 01:08:33.148458321 +0000
+++ descr_belowsp.stderr.out 2016-01-27 01:20:56.274341110 +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 37fef528 1500 bytes below a local var
+missing or malformed address
+describing 7ff6ff868 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 7ff501ee7 discovered address giving SEGV in thread stack
+missing or malformed address
+describing 7ff502000 byte just above highest guardpage byte
+missing or malformed address
+describing 7ff501fff highest guardpage byte
+missing or malformed address
+describing 7ff501000 lowest guardpage byte
+missing or malformed address
=================================================
./valgrind-new/memcheck/tests/solaris/door_data.stderr.diff
=================================================
--- door_data.stderr.exp 2016-01-27 01:08:30.481648569 +0000
+++ door_data.stderr.out 2016-01-27 01:23:30.785104163 +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-01-27 01:08:30.650326675 +0000
+++ lsframe2.stderr.out 2016-01-27 01:23:47.610037288 +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-01-27 00:30:45.525237620 +0000
+++ preen_invars.stderr.out 2016-01-27 01:06:37.628002124 +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-01-27 00:30:45.506294369 +0000
+++ stackerr.stderr.out 2016-01-27 01:06:39.545193468 +0000
@@ -1,28 +1,27 @@
-Invalid write of size 4
+Invalid write of size 8
at 0x........: foo (stackerr.c:27)
by 0x........: bar (stackerr.c:32)
by 0x........: main (stackerr.c:41)
Address 0x........ expected vs actual:
- Expected: stack array "a" of size 28 in frame 2 back from here
- Actual: stack array "beforea" of size 12 in frame 2 back from here
+ Expected: stack array "a" of size 56 in frame 2 back from here
+ Actual: unknown
Actual: is 0 after Expected
-Invalid write of size 4
+Invalid write of size 8
at 0x........: main (stackerr.c:44)
Address 0x........ expected vs actual:
- Expected: stack array "a" of size 28 in this frame
- Actual: stack array "beforea" of size 12 in this frame
+ Expected: stack array "a" of size 56 in this frame
+ Actual: unknown
Actual: is 0 after Expected
Invalid write of size 1
- at 0x........: _IO_default_xsputn (in /...libc...)
- by 0x........: ...
- by 0x........: ...
+ at 0x........: memcpy (h_intercepts.c:...)
+ by 0x........: _ndoprnt_s (in /...libc...)
+ by 0x........: _ndoprnt (in /...libc...)
Address 0x........ expected vs actual:
- Expected: stack array "buf" of size 8 in frame 4 back from here
- Actual: stack array "beforebuf" of size 8 in frame 4 back from here
- Actual: is 0 after Expected
+ Expected: unknown
+ Actual: stack array "buf" of size 8 in frame 4 back from here
ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
=================================================
./valgrind-old/exp-sgcheck/tests/stackerr.stderr.diff-glibc28-amd64
=================================================
--- stackerr.stderr.exp-glibc28-amd64 2016-01-27 00:30:45.559336942 +0000
+++ stackerr.stderr.out 2016-01-27 01:06:39.545193468 +0000
@@ -16,13 +16,12 @@
Actual: is 0 after Expected
Invalid write of size 1
- at 0x........: _IO_default_xsputn (in /...libc...)
- by 0x........: ...
- by 0x........: ...
+ at 0x........: memcpy (h_intercepts.c:...)
+ by 0x........: _ndoprnt_s (in /...libc...)
+ by 0x........: _ndoprnt (in /...libc...)
Address 0x........ expected vs actual:
- Expected: stack array "buf" of size 8 in frame 4 back from here
- Actual: unknown
- Actual: is 0 after Expected
+ Expected: unknown
+ Actual: stack array "buf" of size 8 in frame 4 back from here
ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
=================================================
./valgrind-old/gdbserver_tests/hginfo.stderrB.diff
=================================================
--- hginfo.stderrB.exp 2016-01-27 00:30:33.592630964 +0000
+++ hginfo.stderrB.out 2016-01-27 00:40:12.056995246 +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-01-27 00:30:52.369606053 +0000
+++ bar_bad.stderr.out 2016-01-27 00:58:06.724870499 +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/free_is_write.stderr.diff
=================================================
--- free_is_write.stderr.exp 2016-01-27 00:30:52.303453396 +0000
+++ free_is_write.stderr.out 2016-01-27 00:58:13.517533501 +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-01-27 00:30:52.518586708 +0000
+++ pth_barrier1.stderr.out 2016-01-27 00:58:35.347822535 +0000
@@ -1,39 +0,0 @@
----Thread-Announcement------------------------------------------
-
-Thread #x was created
- ...
- by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: barriers_and_races (pth_barrier.c:92)
- by 0x........: main (pth_barrier.c:122)
-
----Thread-Announcement------------------------------------------
-
-Thread #x was created
- ...
- by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: barriers_and_races (pth_barrier.c:92)
- by 0x........: main (pth_barrier.c:122)
-
----Thread-Announcement------------------------------------------
-
-Thread #x is the program's root thread
-
-----------------------------------------------------------------
-
-Possible data race during write of size 1 at 0x........ by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
-
-This conflicts with a previous write of size 1 by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
- Address 0x........ is 0 bytes inside a block of size 1 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: barriers_and_races (pth_barrier.c:76)
- by 0x........: main (pth_barrier.c:122)
- Block was alloc'd by thread #x
-
=================================================
./valgrind-old/helgrind/tests/pth_barrier2.stderr.diff
=================================================
--- pth_barrier2.stderr.exp 2016-01-27 00:30:52.151981832 +0000
+++ pth_barrier2.stderr.out 2016-01-27 00:58:36.330469731 +0000
@@ -1,628 +0,0 @@
----Thread-Announcement------------------------------------------
-
-Thread #x was created
- ...
- by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: barriers_and_races (pth_barrier.c:92)
- by 0x........: main (pth_barrier.c:122)
-
----Thread-Announcement------------------------------------------
-
-Thread #x was created
- ...
- by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: barriers_and_races (pth_barrier.c:92)
- by 0x........: main (pth_barrier.c:122)
-
----Thread-Announcement------------------------------------------
-
-Thread #x is the program's root thread
-
-----------------------------------------------------------------
-
-Possible data race during write of size 1 at 0x........ by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
-
-This conflicts with a previous write of size 1 by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
- Address 0x........ is 0 bytes inside a block of size 32 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: barriers_and_races (pth_barrier.c:76)
- by 0x........: main (pth_barrier.c:122)
- Block was alloc'd by thread #x
-
-----------------------------------------------------------------
-
-Possible data race during write of size 1 at 0x........ by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
-
-This conflicts with a previous write of size 1 by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
- Address 0x........ is 1 bytes inside a block of size 32 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: barriers_and_races (pth_barrier.c:76)
- by 0x........: main (pth_barrier.c:122)
- Block was alloc'd by thread #x
-
-----------------------------------------------------------------
-
-Possible data race during write of size 1 at 0x........ by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
-
-This conflicts with a previous write of size 1 by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
- Address 0x........ is 2 bytes inside a block of size 32 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: barriers_and_races (pth_barrier.c:76)
- by 0x........: main (pth_barrier.c:122)
- Block was alloc'd by thread #x
-
-----------------------------------------------------------------
-
-Possible data race during write of size 1 at 0x........ by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
-
-This conflicts with a previous write of size 1 by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
- Address 0x........ is 3 bytes inside a block of size 32 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: barriers_and_races (pth_barrier.c:76)
- by 0x........: main (pth_barrier.c:122)
- Block was alloc'd by thread #x
-
-----------------------------------------------------------------
<truncated beyond 100 lines>
=================================================
./valgrind-old/helgrind/tests/tc21_pthonce.stderr.diff
=================================================
--- tc21_pthonce.stderr.exp 2016-01-27 00:30:52.172390878 +0000
+++ tc21_pthonce.stderr.out 2016-01-27 00:59:32.311973679 +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-01-27 00:30:52.899261924 +0000
+++ tls_threads.stderr.out 2016-01-27 00:59:43.983072439 +0000
@@ -1,2 +1,26 @@
+--16606:0: sched WARNING: pthread stack cache cannot be disabled!
starting join in main
+---Thread-Announcement------------------------------------------
+
+Thread #x was created
+ ...
+ by 0x........: pthread_create@* (hg_intercepts.c:...)
+ by 0x........: level1 (tls_threads.c:69)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+
+----------------------------------------------------------------
+
+Possible data race during read of size 8 at 0x........ by thread #x
+Locks held: none
+ ...
+ Address 0x........ is on thread #x's stack
+
+----------------------------------------------------------------
+
+Possible data race during write of size 8 at 0x........ by thread #x
+Locks held: none
+ ...
+ Address 0x........ is on thread #x's stack
+
finished join in main
=================================================
./valgrind-old/memcheck/tests/descr_belowsp.stderr.diff
=================================================
--- descr_belowsp.stderr.exp 2016-01-27 00:30:42.371920924 +0000
+++ descr_belowsp.stderr.out 2016-01-27 00:43:35.372723673 +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 37fef528 1500 bytes below a local var
+missing or malformed address
+describing 7ff6ff868 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 7ff501ee7 discovered address giving SEGV in thread stack
+missing or malformed address
+describing 7ff502000 byte just above highest guardpage byte
+missing or malformed address
+describing 7ff501fff highest guardpage byte
+missing or malformed address
+describing 7ff501000 lowest guardpage byte
+missing or malformed address
=================================================
./valgrind-old/memcheck/tests/leak_cpp_interior.stderr.diff
=================================================
--- leak_cpp_interior.stderr.exp 2016-01-27 00:30:36.938914746 +0000
+++ leak_cpp_interior.stderr.out 2016-01-27 00:44:29.085185457 +0000
@@ -1,118 +1,118 @@
valgrind output will go to log
VALGRIND_DO_LEAK_CHECK
-4 bytes in 1 blocks are definitely lost in loss record ... of ...
+8 bytes in 1 blocks are definitely lost in loss record ... of ...
by 0x........: doit() (leak_cpp_interior.cpp:115)
by 0x........: main (leak_cpp_interior.cpp:130)
LEAK SUMMARY:
- definitely lost: 4 bytes in 1 blocks
+ definitely lost: 8 bytes in 1 blocks
indirectly lost: 0 bytes in 0 blocks
possibly lost: 0 bytes in 0 blocks
- still reachable: 163 bytes in 8 blocks
+ still reachable: 273 bytes in 8 blocks
of which reachable via heuristic:
- stdstring : 56 bytes in 2 blocks
+ stdstring : 114 bytes in 2 blocks
length64 : 31 bytes in 1 blocks
- newarray : 28 bytes in 1 blocks
- multipleinheritance: 24 bytes in 2 blocks
+ newarray : 32 bytes in 1 blocks
+ multipleinheritance: 48 bytes in 2 blocks
suppressed: 0 bytes in 0 blocks
Reachable blocks (those to which a pointer was found) are not shown.
To see them, rerun with: --leak-check=full --show-leak-kinds=all
leak_check summary heuristics multipleinheritance
LEAK SUMMARY:
- definitely lost: 4 (+0) bytes in 1 (+0) blocks
+ definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
- possibly lost: 115 (+115) bytes in 4 (+4) blocks
- still reachable: 48 (-115) bytes in 4 (-4) blocks
+ possibly lost: 177 (+177) bytes in 4 (+4) blocks
+ still reachable: 96 (-177) bytes in 4 (-4) blocks
of which reachable via heuristic:
- stdstring : 0 (-56) bytes in 0 (-2) blocks
+ stdstring : 0 (-114) bytes in 0 (-2) blocks
length64 : 0 (-31) bytes in 0 (-1) blocks
- newarray : 0 (-28) bytes in 0 (-1) blocks
- multipleinheritance: 24 (+0) bytes in 2 (+0) blocks
+ newarray : 0 (-32) bytes in 0 (-1) blocks
+ multipleinheritance: 48 (+0) bytes in 2 (+0) blocks
suppressed: 0 (+0) bytes in 0 (+0) blocks
To see details of leaked memory, give 'full' arg to leak_check
leak_check summary any heuristics newarray
LEAK SUMMARY:
- definitely lost: 4 (+0) bytes in 1 (+0) blocks
+ definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
- possibly lost: 111 (-4) bytes in 5 (+1) blocks
- still reachable: 52 (+4) bytes in 3 (-1) blocks
+ possibly lost: 162 (-15) bytes in 4 (+0) blocks
+ still reachable: 111 (+15) bytes in 4 (+0) blocks
of which reachable via heuristic:
- newarray : 28 (+28) bytes in 1 (+1) blocks
- multipleinheritance: 0 (-24) bytes in 0 (-2) blocks
+ newarray : 63 (+63) bytes in 2 (+2) blocks
+ multipleinheritance: 0 (-48) bytes in 0 (-2) blocks
suppressed: 0 (+0) bytes in 0 (+0) blocks
To see details of leaked memory, give 'full' arg to leak_check
leak_check summary heuristics length64
LEAK SUMMARY:
- definitely lost: 4 (+0) bytes in 1 (+0) blocks
+ definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
- possibly lost: 108 (-3) bytes in 5 (+0) blocks
- still reachable: 55 (+3) bytes in 3 (+0) blocks
+ possibly lost: 194 (+32) bytes in 5 (+1) blocks
+ still reachable: 79 (-32) bytes in 3 (-1) blocks
of which reachable via heuristic:
length64 : 31 (+31) bytes in 1 (+1) blocks
- newarray : 0 (-28) bytes in 0 (-1) blocks
+ newarray : 0 (-63) bytes in 0 (-2) blocks
suppressed: 0 (+0) bytes in 0 (+0) blocks
To see details of leaked memory, give 'full' arg to leak_check
leak_check summary heuristics stdstring
LEAK SUMMARY:
- definitely lost: 4 (+0) bytes in 1 (+0) blocks
+ definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
- possibly lost: 83 (-25) bytes in 4 (-1) blocks
- still reachable: 80 (+25) bytes in 4 (+1) blocks
+ possibly lost: 111 (-83) bytes in 4 (-1) blocks
+ still reachable: 162 (+83) bytes in 4 (+1) blocks
of which reachable via heuristic:
- stdstring : 56 (+56) bytes in 2 (+2) blocks
+ stdstring : 114 (+114) bytes in 2 (+2) blocks
length64 : 0 (-31) bytes in 0 (-1) blocks
suppressed: 0 (+0) bytes in 0 (+0) blocks
To see details of leaked memory, give 'full' arg to leak_check
leak_check summary heuristics multipleinheritance,newarray,stdstring,length64
<truncated beyond 100 lines>
=================================================
./valgrind-old/memcheck/tests/leak_cpp_interior.stderr.diff-64bit
=================================================
--- leak_cpp_interior.stderr.exp-64bit 2016-01-27 00:30:36.297281181 +0000
+++ leak_cpp_interior.stderr.out 2016-01-27 00:44:29.085185457 +0000
@@ -9,9 +9,9 @@
definitely lost: 8 bytes in 1 blocks
indirectly lost: 0 bytes in 0 blocks
possibly lost: 0 bytes in 0 blocks
- still reachable: 239 bytes in 8 blocks
+ still reachable: 273 bytes in 8 blocks
of which reachable via heuristic:
- stdstring : 80 bytes in 2 blocks
+ stdstring : 114 bytes in 2 blocks
length64 : 31 bytes in 1 blocks
newarray : 32 bytes in 1 blocks
multipleinheritance: 48 bytes in 2 blocks
@@ -23,10 +23,10 @@
LEAK SUMMARY:
definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
- possibly lost: 143 (+143) bytes in 4 (+4) blocks
- still reachable: 96 (-143) bytes in 4 (-4) blocks
+ possibly lost: 177 (+177) bytes in 4 (+4) blocks
+ still reachable: 96 (-177) bytes in 4 (-4) blocks
of which reachable via heuristic:
- stdstring : 0 (-80) bytes in 0 (-2) blocks
+ stdstring : 0 (-114) bytes in 0 (-2) blocks
length64 : 0 (-31) bytes in 0 (-1) blocks
newarray : 0 (-32) bytes in 0 (-1) blocks
multipleinheritance: 48 (+0) bytes in 2 (+0) blocks
@@ -37,7 +37,7 @@
LEAK SUMMARY:
definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
- possibly lost: 128 (-15) bytes in 4 (+0) blocks
+ possibly lost: 162 (-15) bytes in 4 (+0) blocks
still reachable: 111 (+15) bytes in 4 (+0) blocks
of which reachable via heuristic:
newarray : 63 (+63) bytes in 2 (+2) blocks
@@ -49,7 +49,7 @@
LEAK SUMMARY:
definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
- possibly lost: 160 (+32) bytes in 5 (+1) blocks
+ possibly lost: 194 (+32) bytes in 5 (+1) blocks
still reachable: 79 (-32) bytes in 3 (-1) blocks
of which reachable via heuristic:
length64 : 31 (+31) bytes in 1 (+1) blocks
@@ -61,10 +61,10 @@
LEAK SUMMARY:
definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
- possibly lost: 111 (-49) bytes in 4 (-1) blocks
- still reachable: 128 (+49) bytes in 4 (+1) blocks
+ possibly lost: 111 (-83) bytes in 4 (-1) blocks
+ still reachable: 162 (+83) bytes in 4 (+1) blocks
of which reachable via heuristic:
- stdstring : 80 (+80) bytes in 2 (+2) blocks
+ stdstring : 114 (+114) bytes in 2 (+2) blocks
length64 : 0 (-31) bytes in 0 (-1) blocks
suppressed: 0 (+0) bytes in 0 (+0) blocks
To see details of leaked memory, give 'full' arg to leak_check
@@ -74,9 +74,9 @@
definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
possibly lost: 0 (-111) bytes in 0 (-4) blocks
- still reachable: 239 (+111) bytes in 8 (+4) blocks
+ still reachable: 273 (+111) bytes in 8 (+4) blocks
of which reachable via heuristic:
- stdstring : 80 (+0) bytes in 2 (+0) blocks
+ stdstring : 114 (+0) bytes in 2 (+0) blocks
length64 : 31 (+31) bytes in 1 (+1) blocks
newarray : 32 (+32) bytes in 1 (+1) blocks
multipleinheritance: 48 (+48) bytes in 2 (+2) blocks
@@ -88,9 +88,9 @@
definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
possibly lost: 0 (+0) bytes in 0 (+0) blocks
- still reachable: 239 (+0) bytes in 8 (+0) blocks
+ still reachable: 273 (+0) bytes in 8 (+0) blocks
of which reachable via heuristic:
- stdstring : 80 (+0) bytes in 2 (+0) blocks
+ stdstring : 114 (+0) bytes in 2 (+0) blocks
length64 : 31 (+0) bytes in 1 (+0) blocks
newarray : 32 (+0) bytes in 1 (+0) blocks
multipleinheritance: 48 (+0) bytes in 2 (+0) blocks
@@ -101,10 +101,10 @@
LEAK SUMMARY:
definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
- possibly lost: 191 (+191) bytes in 6 (+6) blocks
- still reachable: 48 (-191) bytes in 2 (-6) blocks
+ possibly lost: 225 (+225) bytes in 6 (+6) blocks
+ still reachable: 48 (-225) bytes in 2 (-6) blocks
of which reachable via heuristic:
- stdstring : 0 (-80) bytes in 0 (-2) blocks
+ stdstring : 0 (-114) bytes in 0 (-2) blocks
length64 : 0 (-31) bytes in 0 (-1) blocks
newarray : 0 (-32) bytes in 0 (-1) blocks
multipleinheritance: 0 (-48) bytes in 0 (-2) blocks
@@ -134,7 +134,7 @@
<truncated beyond 100 lines>
=================================================
./valgrind-old/memcheck/tests/solaris/door_data.stderr.diff
=================================================
--- door_data.stderr.exp 2016-01-27 00:30:39.529049772 +0000
+++ door_data.stderr.out 2016-01-27 00:46:09.926208464 +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 (???:)
+
==========================...
[truncated message content] |