|
From: <iv...@iv...> - 2016-01-13 02:31:03
|
valgrind revision: 15757
VEX revision: 3206
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-01-13 00:30:00 UTC
Ended at 2016-01-13 02:27:35 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
== 739 tests, 14 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/tc20_verifywrap (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
== 739 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)
=================================================
== Difference between 24 hours ago and now ==
=================================================
--- old.short 2016-01-13 01:01:52.237231843 +0000
+++ new.short 2016-01-13 01:33:20.108909466 +0000
@@ -8,3 +8,3 @@
-== 739 tests, 13 stderr failures, 0 stdout failures, 1 stderrB failure, 0 stdoutB failures, 0 post failures ==
+== 739 tests, 14 stderr failures, 0 stdout failures, 1 stderrB failure, 0 stdoutB failures, 0 post failures ==
gdbserver_tests/hginfo (stderrB)
@@ -19,2 +19,3 @@
helgrind/tests/pth_barrier3 (stderr)
+helgrind/tests/tc20_verifywrap (stderr)
helgrind/tests/tc21_pthonce (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.16s no: 2.3s (14.4x, -----) me: 4.4s (27.4x, -----) ca:19.2s (119.9x, -----) he: 2.7s (17.1x, -----) ca: 5.2s (32.8x, -----) dr: 2.7s (17.0x, -----) ma: 2.8s (17.4x, -----)
bigcode1 valgrind-old:0.16s no: 2.3s (14.5x, -0.4%) me: 4.4s (27.5x, -0.2%) ca:19.3s (120.7x, -0.7%) he: 2.7s (17.1x, 0.0%) ca: 5.6s (34.9x, -6.3%) dr: 2.7s (16.8x, 1.1%) ma: 2.8s (17.2x, 1.4%)
-- bigcode2 --
bigcode2 valgrind-new:0.17s no: 5.5s (32.4x, -----) me:10.8s (63.4x, -----) ca:37.0s (217.9x, -----) he: 6.8s (40.0x, -----) ca: 9.5s (55.8x, -----) dr: 6.4s (37.5x, -----) ma: 6.3s (36.9x, -----)
bigcode2 valgrind-old:0.17s no: 5.5s (32.6x, -0.7%) me:10.9s (63.9x, -0.9%) ca:37.0s (217.6x, 0.1%) he: 6.7s (39.5x, 1.3%) ca: 9.5s (55.7x, 0.2%) dr: 6.3s (37.1x, 0.9%) ma: 6.3s (37.0x, -0.3%)
-- bz2 --
bz2 valgrind-new:0.71s no: 2.2s ( 3.1x, -----) me: 8.9s (12.5x, -----) ca:18.0s (25.4x, -----) he:13.5s (19.0x, -----) ca:14.8s (20.9x, -----) dr:15.2s (21.4x, -----) ma: 2.2s ( 3.1x, -----)
bz2 valgrind-old:0.71s no: 2.2s ( 3.1x, 0.5%) me: 8.2s (11.5x, 8.4%) ca:18.1s (25.4x, -0.2%) he:13.5s (19.0x, 0.1%) ca:14.5s (20.4x, 2.2%) dr:15.3s (21.6x, -0.9%) ma: 2.2s ( 3.1x, 0.0%)
-- fbench --
fbench valgrind-new:0.32s no: 1.4s ( 4.3x, -----) me: 4.8s (15.0x, -----) ca: 7.9s (24.8x, -----) he: 3.8s (11.7x, -----) ca: 4.3s (13.6x, -----) dr: 3.6s (11.3x, -----) ma: 1.4s ( 4.5x, -----)
fbench valgrind-old:0.32s no: 1.4s ( 4.4x, -2.2%) me: 4.9s (15.2x, -1.5%) ca: 7.9s (24.7x, 0.5%) he: 3.8s (11.8x, -0.3%) ca: 4.3s (13.4x, 1.6%) dr: 3.6s (11.3x, 0.3%) ma: 1.5s ( 4.6x, -0.7%)
-- ffbench --
ffbench valgrind-new:0.33s no: 1.3s ( 3.9x, -----) me: 4.0s (12.2x, -----) ca: 2.6s ( 7.9x, -----) he:10.0s (30.3x, -----) ca: 5.8s (17.5x, -----) dr: 4.8s (14.6x, -----) ma: 1.2s ( 3.7x, -----)
ffbench valgrind-old:0.33s no: 1.3s ( 3.9x, 0.0%) me: 4.0s (12.2x, 0.2%) ca: 2.6s ( 8.0x, -1.2%) he:10.1s (30.6x, -1.0%) ca: 5.8s (17.5x, 0.0%) dr: 4.8s (14.7x, -0.2%) ma: 1.2s ( 3.7x, 0.0%)
-- heap --
heap valgrind-new:0.34s no: 1.9s ( 5.6x, -----) me: 7.3s (21.4x, -----) ca:16.1s (47.5x, -----) he:11.6s (34.2x, -----) ca: 8.6s (25.2x, -----) dr: 7.1s (20.8x, -----) ma: 7.5s (22.2x, -----)
heap valgrind-old:0.34s no: 1.8s ( 5.4x, 3.7%) me: 7.3s (21.5x, -0.4%) ca:16.2s (47.7x, -0.4%) he:11.7s (34.4x, -0.6%) ca: 8.6s (25.3x, -0.4%) dr: 7.1s (20.8x, 0.1%) ma: 7.5s (22.1x, 0.5%)
-- heap_pdb4 --
heap_pdb4 valgrind-new:0.33s no: 1.8s ( 5.5x, -----) me:13.6s (41.2x, -----) ca:16.8s (50.8x, -----) he:12.9s (39.2x, -----) ca: 9.1s (27.6x, -----) dr: 7.6s (23.1x, -----) ma: 7.2s (21.7x, -----)
heap_pdb4 valgrind-old:0.33s no: 1.9s ( 5.6x, -1.1%) me:13.5s (41.0x, 0.6%) ca:17.2s (52.2x, -2.7%) he:12.9s (39.0x, 0.5%) ca: 9.1s (27.5x, 0.2%) dr: 7.6s (23.1x, 0.0%) ma: 7.2s (21.7x, 0.0%)
-- many-loss-records --
many-loss-records valgrind-new:0.03s no: 0.4s (12.7x, -----) me: 1.9s (63.3x, -----) ca: 2.0s (67.0x, -----) he: 1.6s (53.7x, -----) ca: 1.2s (40.3x, -----) dr: 1.6s (53.7x, -----) ma: 1.4s (45.7x, -----)
many-loss-records valgrind-old:0.03s no: 0.4s (12.7x, 0.0%) me: 1.9s (63.0x, 0.5%) ca: 2.0s (67.3x, -0.5%) he: 1.6s (54.0x, -0.6%) ca: 1.2s (40.3x, 0.0%) dr: 1.6s (53.7x, -0.0%) ma: 1.4s (46.0x, -0.7%)
-- many-xpts --
many-xpts valgrind-new:0.09s no: 0.5s ( 5.8x, -----) me: 2.3s (25.4x, -----) ca: 4.6s (50.7x, -----) he: 3.3s (36.4x, -----) ca: 1.8s (20.1x, -----) dr: 2.2s (24.1x, -----) ma: 2.0s (22.2x, -----)
many-xpts valgrind-old:0.09s no: 0.5s ( 5.7x, 1.9%) me: 2.2s (24.9x, 2.2%) ca: 4.5s (49.4x, 2.4%) he: 3.3s (36.4x, 0.0%) ca: 1.8s (20.4x, -1.7%) dr: 2.1s (23.3x, 3.2%) ma: 1.9s (21.4x, 3.5%)
-- memrw --
memrw valgrind-new:0.09s no: 0.6s ( 7.0x, -----) me: 1.6s (17.6x, -----) ca: 4.2s (46.9x, -----) he: 7.6s (84.9x, -----) ca: 3.0s (33.4x, -----) dr: 1.7s (18.7x, -----) ma: 0.7s ( 7.7x, -----)
memrw valgrind-old:0.09s no: 0.7s ( 7.2x, -3.2%) me: 1.6s (17.6x, 0.0%) ca: 4.1s (45.9x, 2.1%) he: 7.7s (85.3x, -0.5%) ca: 3.0s (33.6x, -0.3%) dr: 1.7s (18.7x, -0.0%) ma: 0.7s ( 7.6x, 1.4%)
-- sarp --
sarp valgrind-new:0.03s no: 0.3s (11.7x, -----) me: 3.0s (100.0x, -----) ca: 2.5s (81.7x, -----) he: 7.8s (260.0x, -----) ca: 1.4s (48.3x, -----) dr: 1.4s (46.3x, -----) ma: 0.4s (12.3x, -----)
sarp valgrind-old:0.03s no: 0.3s (11.3x, 2.9%) me: 3.2s (106.7x, -6.7%) ca: 2.4s (80.7x, 1.2%) he: 7.8s (259.3x, 0.3%) ca: 1.4s (48.0x, 0.7%) dr: 1.4s (46.3x, 0.0%) ma: 0.4s (12.3x, 0.0%)
-- tinycc --
tinycc valgrind-new:0.25s no: 2.1s ( 8.6x, -----) me:12.0s (48.0x, -----) ca:16.8s (67.2x, -----) he:15.9s (63.6x, -----) ca:11.0s (44.0x, -----) dr:12.6s (50.2x, -----) ma: 3.4s (13.4x, -----)
tinycc valgrind-old:0.25s no: 2.1s ( 8.5x, 1.4%) me:12.1s (48.2x, -0.4%) ca:16.9s (67.4x, -0.4%) he:16.0s (64.0x, -0.6%) ca:11.0s (44.1x, -0.1%) dr:12.4s (49.8x, 0.9%) ma: 3.3s (13.3x, 0.9%)
-- Finished tests in perf ----------------------------------------------
== 12 programs, 168 timings =================
real 54m15.86s
user 52m20.62s
sys 1m11.78s
=================================================
./valgrind-new/exp-sgcheck/tests/preen_invars.stderr.diff-glibc28-amd64
=================================================
--- preen_invars.stderr.exp-glibc28-amd64 2016-01-13 01:01:58.841383683 +0000
+++ preen_invars.stderr.out 2016-01-13 01:32:46.480691229 +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-13 01:01:58.838759009 +0000
+++ stackerr.stderr.out 2016-01-13 01:32:47.856138769 +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-01-13 01:01:58.849074297 +0000
+++ stackerr.stderr.out 2016-01-13 01:32:47.856138769 +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-01-13 01:01:54.939242116 +0000
+++ hginfo.stderrB.out 2016-01-13 01:12:47.025324009 +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-13 01:02:02.125471623 +0000
+++ bar_bad.stderr.out 2016-01-13 01:25:42.902842749 +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-01-13 01:02:02.141978523 +0000
+++ bar_trivial.stderr.out 2016-01-13 01:25:44.621720608 +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-01-13 01:02:02.102083831 +0000
+++ free_is_write.stderr.out 2016-01-13 01:25:48.241767024 +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-13 01:02:02.181111628 +0000
+++ pth_barrier1.stderr.out 2016-01-13 01:26:07.455828068 +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-01-13 01:02:02.046200290 +0000
+++ pth_barrier2.stderr.out 2016-01-13 01:26:08.163704632 +0000
@@ -6,623 +6,33 @@
by 0x........: barriers_and_races (pth_barrier.c:92)
by 0x........: main (pth_barrier.c:122)
----Thread-Announcement------------------------------------------
-
-Thread #x was created
- ...
- by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: barriers_and_races (pth_barrier.c:92)
- by 0x........: main (pth_barrier.c:122)
-
----Thread-Announcement------------------------------------------
-
-Thread #x is the program's root thread
-
-----------------------------------------------------------------
-
-Possible data race during write of size 1 at 0x........ by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
-
-This conflicts with a previous write of size 1 by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
- Address 0x........ is 0 bytes inside a block of size 32 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: barriers_and_races (pth_barrier.c:76)
- by 0x........: main (pth_barrier.c:122)
- Block was alloc'd by thread #x
-
-----------------------------------------------------------------
-
-Possible data race during write of size 1 at 0x........ by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
-
-This conflicts with a previous write of size 1 by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
- Address 0x........ is 1 bytes inside a block of size 32 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: barriers_and_races (pth_barrier.c:76)
- by 0x........: main (pth_barrier.c:122)
- Block was alloc'd by thread #x
-
-----------------------------------------------------------------
-
-Possible data race during write of size 1 at 0x........ by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
-
-This conflicts with a previous write of size 1 by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
- Address 0x........ is 2 bytes inside a block of size 32 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: barriers_and_races (pth_barrier.c:76)
- by 0x........: main (pth_barrier.c:122)
- Block was alloc'd by thread #x
-
-----------------------------------------------------------------
-
-Possible data race during write of size 1 at 0x........ by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
-
-This conflicts with a previous write of size 1 by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
- Address 0x........ is 3 bytes inside a block of size 32 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: barriers_and_races (pth_barrier.c:76)
- by 0x........: main (pth_barrier.c:122)
- Block was alloc'd by thread #x
-
-----------------------------------------------------------------
-
-Possible data race during write of size 1 at 0x........ by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
<truncated beyond 100 lines>
=================================================
./valgrind-new/helgrind/tests/pth_barrier3.stderr.diff
=================================================
--- pth_barrier3.stderr.exp 2016-01-13 01:02:02.133228544 +0000
+++ pth_barrier3.stderr.out 2016-01-13 01:26:08.998161403 +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/tc20_verifywrap.stderr.diff
=================================================
--- tc20_verifywrap.stderr.exp 2016-01-13 01:02:02.051523987 +0000
+++ tc20_verifywrap.stderr.out 2016-01-13 01:26:52.562437592 +0000
@@ -33,7 +33,7 @@
----------------------------------------------------------------
Thread #x's call to pthread_join failed
- with error code 35 (EDEADLK: Resource deadlock would occur)
+ with error code 45 (EDEADLK: Resource deadlock would occur)
at 0x........: pthread_join_WRK (hg_intercepts.c:...)
by 0x........: pthread_join (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:93)
@@ -43,8 +43,8 @@
----------------------------------------------------------------
-Thread #x's call to pthread_mutex_init failed
- with error code 95 (EOPNOTSUPP: Operation not supported on transport endpoint)
+Thread #x's call to mutex_init failed
+ with error code 22 (EINVAL: Invalid argument)
at 0x........: pthread_mutex_init (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:107)
@@ -57,16 +57,8 @@
----------------------------------------------------------------
-Thread #x's call to pthread_mutex_destroy failed
- with error code 16 (EBUSY: Device or resource busy)
- at 0x........: mutex_destroy_WRK (hg_intercepts.c:...)
- by 0x........: pthread_mutex_destroy (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:117)
-
-----------------------------------------------------------------
-
Thread #x's call to pthread_mutex_lock failed
- with error code 22 (EINVAL: Invalid argument)
+ with error code 1 (EPERM: Operation not permitted)
at 0x........: mutex_lock_WRK (hg_intercepts.c:...)
by 0x........: pthread_mutex_lock (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:123)
@@ -74,7 +66,7 @@
----------------------------------------------------------------
Thread #x's call to pthread_mutex_trylock failed
- with error code 22 (EINVAL: Invalid argument)
+ with error code 1 (EPERM: Operation not permitted)
at 0x........: mutex_trylock_WRK (hg_intercepts.c:...)
by 0x........: pthread_mutex_trylock (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:131)
@@ -82,7 +74,7 @@
----------------------------------------------------------------
Thread #x's call to pthread_mutex_timedlock failed
- with error code 22 (EINVAL: Invalid argument)
+ with error code 1 (EPERM: Operation not permitted)
at 0x........: mutex_timedlock_WRK (hg_intercepts.c:...)
by 0x........: pthread_mutex_timedlock (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:136)
@@ -97,7 +89,7 @@
----------------------------------------------------------------
Thread #x's call to pthread_mutex_unlock failed
- with error code 22 (EINVAL: Invalid argument)
+ with error code 1 (EPERM: Operation not permitted)
at 0x........: mutex_unlock_WRK (hg_intercepts.c:...)
by 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:140)
@@ -150,7 +142,7 @@
----------------------------------------------------------------
Thread #x's call to pthread_cond_timedwait failed
- with error code 22 (EINVAL: Invalid argument)
+ with error code 1 (EPERM: Operation not permitted)
at 0x........: pthread_cond_timedwait_WRK (hg_intercepts.c:...)
by 0x........: pthread_cond_timedwait@* (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:180)
@@ -166,13 +158,22 @@
...
by 0x........: main (tc20_verifywrap.c:194)
Lock at 0x........ was first observed
- at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
- by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ at 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ ...
by 0x........: main (tc20_verifywrap.c:193)
- Location 0x........ is 0 bytes inside local var "rwl"
+ Location 0x........ is 0 bytes inside rwl.__pthread_rwlock_readers,
declared at tc20_verifywrap.c:57, in frame #x of thread x
+----------------------------------------------------------------
+
+Thread #x's call to pthread_rwlock_unlock failed
+ with error code 1 (EPERM: Operation not permitted)
+ at 0x........: pthread_rwlock_unlock_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_unlock (hg_intercepts.c:...)
+ ...
+ by 0x........: main (tc20_verifywrap.c:194)
+
(1) no error on next line
<truncated beyond 100 lines>
=================================================
./valgrind-new/helgrind/tests/tc20_verifywrap.stderr.diff-glibc-2.18
=================================================
--- tc20_verifywrap.stderr.exp-glibc-2.18 2016-01-13 01:02:02.241381904 +0000
+++ tc20_verifywrap.stderr.out 2016-01-13 01:26:52.562437592 +0000
@@ -33,7 +33,7 @@
----------------------------------------------------------------
Thread #x's call to pthread_join failed
- with error code 35 (EDEADLK: Resource deadlock would occur)
+ with error code 45 (EDEADLK: Resource deadlock would occur)
at 0x........: pthread_join_WRK (hg_intercepts.c:...)
by 0x........: pthread_join (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:93)
@@ -43,8 +43,8 @@
----------------------------------------------------------------
-Thread #x's call to pthread_mutex_init failed
- with error code 95 (EOPNOTSUPP: Operation not supported on transport endpoint)
+Thread #x's call to mutex_init failed
+ with error code 22 (EINVAL: Invalid argument)
at 0x........: pthread_mutex_init (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:107)
@@ -58,7 +58,7 @@
----------------------------------------------------------------
Thread #x's call to pthread_mutex_lock failed
- with error code 22 (EINVAL: Invalid argument)
+ with error code 1 (EPERM: Operation not permitted)
at 0x........: mutex_lock_WRK (hg_intercepts.c:...)
by 0x........: pthread_mutex_lock (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:123)
@@ -66,7 +66,7 @@
----------------------------------------------------------------
Thread #x's call to pthread_mutex_trylock failed
- with error code 22 (EINVAL: Invalid argument)
+ with error code 1 (EPERM: Operation not permitted)
at 0x........: mutex_trylock_WRK (hg_intercepts.c:...)
by 0x........: pthread_mutex_trylock (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:131)
@@ -74,7 +74,7 @@
----------------------------------------------------------------
Thread #x's call to pthread_mutex_timedlock failed
- with error code 22 (EINVAL: Invalid argument)
+ with error code 1 (EPERM: Operation not permitted)
at 0x........: mutex_timedlock_WRK (hg_intercepts.c:...)
by 0x........: pthread_mutex_timedlock (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:136)
@@ -89,7 +89,7 @@
----------------------------------------------------------------
Thread #x's call to pthread_mutex_unlock failed
- with error code 22 (EINVAL: Invalid argument)
+ with error code 1 (EPERM: Operation not permitted)
at 0x........: mutex_unlock_WRK (hg_intercepts.c:...)
by 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:140)
@@ -142,7 +142,7 @@
----------------------------------------------------------------
Thread #x's call to pthread_cond_timedwait failed
- with error code 22 (EINVAL: Invalid argument)
+ with error code 1 (EPERM: Operation not permitted)
at 0x........: pthread_cond_timedwait_WRK (hg_intercepts.c:...)
by 0x........: pthread_cond_timedwait@* (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:180)
@@ -157,10 +157,22 @@
by 0x........: pthread_rwlock_unlock (hg_intercepts.c:...)
...
by 0x........: main (tc20_verifywrap.c:194)
- Lock at 0x........ was first observed
- at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
- by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ Lock at 0x........ was first observed
+ at 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ ...
by 0x........: main (tc20_verifywrap.c:193)
+ Location 0x........ is 0 bytes inside rwl.__pthread_rwlock_readers,
+ declared at tc20_verifywrap.c:57, in frame #x of thread x
+
+
+----------------------------------------------------------------
+
+Thread #x's call to pthread_rwlock_unlock failed
+ with error code 1 (EPERM: Operation not permitted)
+ at 0x........: pthread_rwlock_unlock_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_unlock (hg_intercepts.c:...)
+ ...
+ by 0x........: main (tc20_verifywrap.c:194)
(1) no error on next line
(2) no error on next line
@@ -172,10 +184,22 @@
by 0x........: pthread_rwlock_unlock (hg_intercepts.c:...)
...
by 0x........: main (tc20_verifywrap.c:211)
- Lock at 0x........ was first observed
- at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
- by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
<truncated beyond 100 lines>
=================================================
./valgrind-new/helgrind/tests/tc20_verifywrap.stderr.diff-glibc-2.21
=================================================
--- tc20_verifywrap.stderr.exp-glibc-2.21 2016-01-13 01:02:02.049881187 +0000
+++ tc20_verifywrap.stderr.out 2016-01-13 01:26:52.562437592 +0000
@@ -33,7 +33,7 @@
----------------------------------------------------------------
Thread #x's call to pthread_join failed
- with error code 35 (EDEADLK: Resource deadlock would occur)
+ with error code 45 (EDEADLK: Resource deadlock would occur)
at 0x........: pthread_join_WRK (hg_intercepts.c:...)
by 0x........: pthread_join (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:93)
@@ -43,8 +43,8 @@
----------------------------------------------------------------
-Thread #x's call to pthread_mutex_init failed
- with error code 95 (EOPNOTSUPP: Operation not supported on transport endpoint)
+Thread #x's call to mutex_init failed
+ with error code 22 (EINVAL: Invalid argument)
at 0x........: pthread_mutex_init (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:107)
@@ -57,16 +57,8 @@
----------------------------------------------------------------
-Thread #x's call to pthread_mutex_destroy failed
- with error code 16 (EBUSY: Device or resource busy)
- at 0x........: mutex_destroy_WRK (hg_intercepts.c:...)
- by 0x........: pthread_mutex_destroy (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:117)
-
-----------------------------------------------------------------
-
Thread #x's call to pthread_mutex_lock failed
- with error code 22 (EINVAL: Invalid argument)
+ with error code 1 (EPERM: Operation not permitted)
at 0x........: mutex_lock_WRK (hg_intercepts.c:...)
by 0x........: pthread_mutex_lock (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:123)
@@ -74,7 +66,7 @@
----------------------------------------------------------------
Thread #x's call to pthread_mutex_trylock failed
- with error code 22 (EINVAL: Invalid argument)
+ with error code 1 (EPERM: Operation not permitted)
at 0x........: mutex_trylock_WRK (hg_intercepts.c:...)
by 0x........: pthread_mutex_trylock (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:131)
@@ -82,7 +74,7 @@
----------------------------------------------------------------
Thread #x's call to pthread_mutex_timedlock failed
- with error code 22 (EINVAL: Invalid argument)
+ with error code 1 (EPERM: Operation not permitted)
at 0x........: mutex_timedlock_WRK (hg_intercepts.c:...)
by 0x........: pthread_mutex_timedlock (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:136)
@@ -97,7 +89,7 @@
----------------------------------------------------------------
Thread #x's call to pthread_mutex_unlock failed
- with error code 22 (EINVAL: Invalid argument)
+ with error code 1 (EPERM: Operation not permitted)
at 0x........: mutex_unlock_WRK (hg_intercepts.c:...)
by 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:140)
@@ -150,7 +142,7 @@
----------------------------------------------------------------
Thread #x's call to pthread_cond_timedwait failed
- with error code 22 (EINVAL: Invalid argument)
+ with error code 1 (EPERM: Operation not permitted)
at 0x........: pthread_cond_timedwait_WRK (hg_intercepts.c:...)
by 0x........: pthread_cond_timedwait@* (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:180)
@@ -166,13 +158,22 @@
...
by 0x........: main (tc20_verifywrap.c:194)
Lock at 0x........ was first observed
- at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
- by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ at 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ ...
by 0x........: main (tc20_verifywrap.c:193)
- Location 0x........ is 0 bytes inside local var "rwl"
+ Location 0x........ is 0 bytes inside rwl.__pthread_rwlock_readers,
declared at tc20_verifywrap.c:57, in frame #x of thread x
+----------------------------------------------------------------
+
+Thread #x's call to pthread_rwlock_unlock failed
+ with error code 1 (EPERM: Operation not permitted)
+ at 0x........: pthread_rwlock_unlock_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_unlock (hg_intercepts.c:...)
+ ...
+ by 0x........: main (tc20_verifywrap.c:194)
+
(1) no error on next line
<truncated beyond 100 lines>
=================================================
./valgrind-new/helgrind/tests/tc20_verifywrap.stderr.diff-mips32
=================================================
--- tc20_verifywrap.stderr.exp-mips32 2016-01-13 01:02:02.114407952 +0000
+++ tc20_verifywrap.stderr.out 2016-01-13 01:26:52.562437592 +0000
@@ -43,8 +43,8 @@
----------------------------------------------------------------
-Thread #x's call to pthread_mutex_init failed
- with error code 122 (EOPNOTSUPP: Operation not supported on transport endpoint)
+Thread #x's call to mutex_init failed
+ with error code 22 (EINVAL: Invalid argument)
at 0x........: pthread_mutex_init (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:107)
@@ -57,16 +57,8 @@
----------------------------------------------------------------
-Thread #x's call to pthread_mutex_destroy failed
- with error code 16 (EBUSY: Device or resource busy)
- at 0x........: mutex_destroy_WRK (hg_intercepts.c:...)
- by 0x........: pthread_mutex_destroy (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:117)
-
-----------------------------------------------------------------
-
Thread #x's call to pthread_mutex_lock failed
- with error code 22 (EINVAL: Invalid argument)
+ with error code 1 (EPERM: Operation not permitted)
at 0x........: mutex_lock_WRK (hg_intercepts.c:...)
by 0x........: pthread_mutex_lock (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:123)
@@ -74,7 +66,7 @@
----------------------------------------------------------------
Thread #x's call to pthread_mutex_trylock failed
- with error code 22 (EINVAL: Invalid argument)
+ with error code 1 (EPERM: Operation not permitted)
at 0x........: mutex_trylock_WRK (hg_intercepts.c:...)
by 0x........: pthread_mutex_trylock (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:131)
@@ -82,7 +74,7 @@
----------------------------------------------------------------
Thread #x's call to pthread_mutex_timedlock failed
- with error code 22 (EINVAL: Invalid argument)
+ with error code 1 (EPERM: Operation not permitted)
at 0x........: mutex_timedlock_WRK (hg_intercepts.c:...)
by 0x........: pthread_mutex_timedlock (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:136)
@@ -97,7 +89,7 @@
----------------------------------------------------------------
Thread #x's call to pthread_mutex_unlock failed
- with error code 22 (EINVAL: Invalid argument)
+ with error code 1 (EPERM: Operation not permitted)
at 0x........: mutex_unlock_WRK (hg_intercepts.c:...)
by 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:140)
@@ -150,7 +142,7 @@
----------------------------------------------------------------
Thread #x's call to pthread_cond_timedwait failed
- with error code 22 (EINVAL: Invalid argument)
+ with error code 1 (EPERM: Operation not permitted)
at 0x........: pthread_cond_timedwait_WRK (hg_intercepts.c:...)
by 0x........: pthread_cond_timedwait@* (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:180)
@@ -166,13 +158,22 @@
...
by 0x........: main (tc20_verifywrap.c:194)
Lock at 0x........ was first observed
- at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
- by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ at 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ ...
by 0x........: main (tc20_verifywrap.c:193)
- Location 0x........ is 0 bytes inside local var "rwl"
+ Location 0x........ is 0 bytes inside rwl.__pthread_rwlock_readers,
declared at tc20_verifywrap.c:57, in frame #x of thread x
+----------------------------------------------------------------
+
+Thread #x's call to pthread_rwlock_unlock failed
+ with error code 1 (EPERM: Operation not permitted)
+ at 0x........: pthread_rwlock_unlock_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_unlock (hg_intercepts.c:...)
+ ...
+ by 0x........: main (tc20_verifywrap.c:194)
+
(1) no error on next line
(2) no error on next line
(3) ERROR on next line
@@ -184,13 +185,22 @@
...
by 0x........: main (tc20_verifywrap.c:211)
Lock at 0x........ was first observed
- at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
- by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ at 0x........: pthread_rwlock_init (hg_intercepts.c:...)
<truncated beyond 100 lines>
=================================================
./valgrind-new/helgrind/tests/tc20_verifywrap.stderr.diff-mips32-b
=================================================
--- tc20_verifywrap.stderr.exp-mips32-b 2016-01-13 01:02:02.099144040 +0000
+++ tc20_verifywrap.stderr.out 2016-01-13 01:26:52.562437592 +0000
@@ -43,8 +43,8 @@
----------------------------------------------------------------
-Thread #x's call to pthread_mutex_init failed
- with error code 122 (EOPNOTSUPP: Operation not supported on transport endpoint)
+Thread #x's call to mutex_init failed
+ with error code 22 (EINVAL: Invalid argument)
at 0x........: pthread_mutex_init (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:107)
@@ -57,16 +57,8 @@
----------------------------------------------------------------
-Thread #x's call to pthread_mutex_destroy failed
- with error code 16 (EBUSY: Device or resource busy)
- at 0x........: mutex_destroy_WRK (hg_intercepts.c:...)
- by 0x........: pthread_mutex_destroy (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:117)
-
-----------------------------------------------------------------
-
Thread #x's call to pthread_mutex_lock failed
- with error code 22 (EINVAL: Invalid argument)
+ with error code 1 (EPERM: Operation not permitted)
at 0x........: mutex_lock_WRK (hg_intercepts.c:...)
by 0x........: pthread_mutex_lock (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:123)
@@ -74,7 +66,7 @@
----------------------------------------------------------------
Thread #x's call to pthread_mutex_trylock failed
- with error code 22 (EINVAL: Invalid argument)
+ with error code 1 (EPERM: Operation not permitted)
at 0x........: mutex_trylock_WRK (hg_intercepts.c:...)
by 0x........: pthread_mutex_trylock (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:131)
@@ -82,7 +74,7 @@
----------------------------------------------------------------
Thread #x's call to pthread_mutex_timedlock failed
- with error code 22 (EINVAL: Invalid argument)
+ with error code 1 (EPERM: Operation not permitted)
at 0x........: mutex_timedlock_WRK (hg_intercepts.c:...)
by 0x........: pthread_mutex_timedlock (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:136)
@@ -97,7 +89,7 @@
----------------------------------------------------------------
Thread #x's call to pthread_mutex_unlock failed
- with error code 22 (EINVAL: Invalid argument)
+ with error code 1 (EPERM: Operation not permitted)
at 0x........: mutex_unlock_WRK (hg_intercepts.c:...)
by 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:140)
@@ -150,7 +142,7 @@
----------------------------------------------------------------
Thread #x's call to pthread_cond_timedwait failed
- with error code 22 (EINVAL: Invalid argument)
+ with error code 1 (EPERM: Operation not permitted)
at 0x........: pthread_cond_timedwait_WRK (hg_intercepts.c:...)
by 0x........: pthread_cond_timedwait@* (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:180)
@@ -166,13 +158,22 @@
...
by 0x........: main (tc20_verifywrap.c:194)
Lock at 0x........ was first observed
- at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
- by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ at 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ ...
by 0x........: main (tc20_verifywrap.c:193)
- Location 0x........ is 0 bytes inside local var "rwl"
+ Location 0x........ is 0 bytes inside rwl.__pthread_rwlock_readers,
declared at tc20_verifywrap.c:57, in frame #x of thread x
+----------------------------------------------------------------
+
+Thread #x's call to pthread_rwlock_unlock failed
+ with error code 1 (EPERM: Operation not permitted)
+ at 0x........: pthread_rwlock_unlock_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_unlock (hg_intercepts.c:...)
+ ...
+ by 0x........: main (tc20_verifywrap.c:194)
+
(1) no error on next line
(2) no error on next line
(3) ERROR on next line
@@ -184,13 +185,22 @@
...
by 0x........: main (tc20_verifywrap.c:211)
Lock at 0x........ was first observed
- at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
- by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ at 0x........: pthread_rwlock_init (hg_intercepts.c:...)
<truncated beyond 100 lines>
=================================================
./valgrind-new/helgrind/tests/tc20_verifywrap.stderr.diff-s390x
=================================================
--- tc20_verifywrap.stderr.exp-s390x 2016-01-13 01:02:02.202552468 +0000
+++ tc20_verifywrap.stderr.out 2016-01-13 01:26:52.562437592 +0000
@@ -13,7 +13,6 @@
Thread #x was created
...
- by 0x........: pthread_create_WRK (hg_intercepts.c:...)
by 0x........: pthread_create@* (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:86)
@@ -28,14 +27,13 @@
at 0x........: racy_child (tc20_verifywrap.c:44)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
...
-
-Location 0x........ is 0 bytes inside global var "unprotected"
-declared at tc20_verifywrap.c:37
+ Location 0x........ is 0 bytes inside global var "unprotected"
+ declared at tc20_verifywrap.c:37
----------------------------------------------------------------
Thread #x's call to pthread_join failed
- with error code 35 (EDEADLK: Resource deadlock would occur)
+ with error code 45 (EDEADLK: Resource deadlock would occur)
at 0x........: pthread_join_WRK (hg_intercepts.c:...)
by 0x........: pthread_join (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:93)
@@ -45,8 +43,8 @@
----------------------------------------------------------------
-Thread #x's call to pthread_mutex_init failed
- with error code 95 (EOPNOTSUPP: Operation not supported on transport endpoint)
+Thread #x's call to mutex_init failed
+ with error code 22 (EINVAL: Invalid argument)
at 0x........: pthread_mutex_init (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:107)
@@ -59,16 +57,8 @@
----------------------------------------------------------------
-Thread #x's call to pthread_mutex_destroy failed
- with error code 16 (EBUSY: Device or resource busy)
- at 0x........: mutex_destroy_WRK (hg_intercepts.c:...)
- by 0x........: pthread_mutex_destroy (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:117)
-
-----------------------------------------------------------------
-
Thread #x's call to pthread_mutex_lock failed
- with error code 22 (EINVAL: Invalid argument)
+ with error code 1 (EPERM: Operation not permitted)
at 0x........: mutex_lock_WRK (hg_intercepts.c:...)
by 0x........: pthread_mutex_lock (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:123)
@@ -76,7 +66,7 @@
----------------------------------------------------------------
Thread #x's call to pthread_mutex_trylock failed
- with error code 22 (EINVAL: Invalid argument)
+ with error code 1 (EPERM: Operation not permitted)
at 0x........: mutex_trylock_WRK (hg_intercepts.c:...)
by 0x........: pthread_mutex_trylock (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:131)
@@ -84,7 +74,7 @@
----------------------------------------------------------------
Thread #x's call to pthread_mutex_timedlock failed
- with error code 22 (EINVAL: Invalid argument)
+ with error code 1 (EPERM: Operation not permitted)
at 0x........: mutex_timedlock_WRK (hg_intercepts.c:...)
by 0x........: pthread_mutex_timedlock (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:136)
@@ -99,7 +89,7 @@
----------------------------------------------------------------
Thread #x's call to pthread_mutex_unlock failed
- with error code 22 (EINVAL: Invalid argument)
+ with error code 1 (EPERM: Operation not permitted)
at 0x........: mutex_unlock_WRK (hg_intercepts.c:...)
by 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:140)
@@ -152,7 +142,7 @@
----------------------------------------------------------------
Thread #x's call to pthread_cond_timedwait failed
- with error code 22 (EINVAL: Invalid argument)
+ with error code 1 (EPERM: Operation not permitted)
at 0x........: pthread_cond_timedwait_WRK (hg_intercepts.c:...)
by 0x........: pthread_cond_timedwait@* (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:180)
@@ -167,10 +157,22 @@
by 0x........: pthread_rwlock_unlock (hg_intercepts.c:...)
...
by 0x........: main (tc20_verifywrap.c:194)
- Lock at 0x........ was first observed
- at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
- by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
<truncated beyond 100 lines>
=================================================
./valgrind-new/helgrind/tests/tc20_verifywrap.stderr.diff-solaris
=================================================
--- tc20_verifywrap.stderr.exp-solaris 2016-01-13 01:02:02.084731609 +0000
+++ tc20_verifywrap.stderr.out 2016-01-13 01:26:52.562437592 +0000
@@ -231,7 +231,6 @@
by 0x........: main (tc20_verifywrap.c:232)
-
---------------- pthread_spin_* ----------------
=================================================
./valgrind-new/helgrind/tests/tc21_pthonce.stderr.diff
=================================================
--- tc21_pthonce.stderr.exp 2016-01-13 01:02:02.054680276 +0000
+++ tc21_pthonce.stderr.out 2016-01-13 01:26:55.180618477 +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-13 01:02:02.226109592 +0000
+++ tls_threads.stderr.out 2016-01-13 01:27:05.048793358 +0000
@@ -1,2 +1,3 @@
+--18214: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-01-13 01:01:57.886042626 +0000
+++ descr_belowsp.stderr.out 2016-01-13 01:15:01.339074734 +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 37fef508 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-01-13 01:01:57.019414968 +0000
+++ door_data.stderr.out 2016-01-13 01:16:43.449776944 +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-13 01:01:57.081014914 +0000
+++ lsframe2.stderr.out 2016-01-13 01:16:56.559745029 +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 (lsf...
[truncated message content] |