|
From: <iv...@iv...> - 2015-08-13 01:10:09
|
valgrind revision: 15530
VEX revision: 3169
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 2015-08-13 00:30:01 UTC
Ended at 2015-08-13 01:06:46 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
== 731 tests, 13 stderr failures, 0 stdout failures, 1 stderrB failure, 0 stdoutB failures, 0 post failures ==
gdbserver_tests/hginfo (stderrB)
memcheck/tests/descr_belowsp (stderr)
memcheck/tests/solaris/door_data (stderr)
memcheck/tests/solaris/lsframe2 (stderr)
helgrind/tests/bar_bad (stderr)
helgrind/tests/bar_trivial (stderr)
helgrind/tests/free_is_write (stderr)
helgrind/tests/pth_barrier1 (stderr)
helgrind/tests/pth_barrier2 (stderr)
helgrind/tests/pth_barrier3 (stderr)
helgrind/tests/tc21_pthonce (stderr)
helgrind/tests/tls_threads (stderr)
exp-sgcheck/tests/preen_invars (stderr)
exp-sgcheck/tests/stackerr (stderr)
=================================================
== Results from 24 hours ago ==
=================================================
Checking out valgrind source tree ... done
Configuring valgrind ... done
Building valgrind ... failed
Last 20 lines of verbose log follow echo
mv -f m_syswrap/.deps/libcoregrind_x86_solaris_a-syswrap-linux.Tpo m_syswrap/.deps/libcoregrind_x86_solaris_a-syswrap-linux.Po
gcc -m64 -DHAVE_CONFIG_H -I. -I.. -I.. -I../include -I../VEX/pub -I../VEX/pub -DVGA_x86=1 -DVGO_solaris=1 -DVGP_x86_solaris=1 -DVGPV_x86_solaris_vanilla=1 -I../coregrind -DVG_LIBDIR="\"/export/home/tester1/nightly/valgrind-old/Inst/lib/valgrind"\" -DVG_PLATFORM="\"x86-solaris\"" -m32 -mpreferred-stack-boundary=2 -O2 -g -std=gnu99 -Wall -Wcast-align -Wmissing-prototypes -Wshadow -Wpointer-arith -Wstrict-prototypes -Wmissing-declarations -Wcast-qual -Wwrite-strings -Wempty-body -Wformat -Wformat-security -Wignored-qualifiers -Wmissing-parameter-type -Wold-style-declaration -fno-stack-protector -fno-strict-aliasing -fno-builtin -fomit-frame-pointer -MT m_syswrap/libcoregrind_x86_solaris_a-syswrap-linux-variants.o -MD -MP -MF m_syswrap/.deps/libcoregrind_x86_solaris_a-syswrap-linux-variants.Tpo -c -o m_syswrap/libcoregrind_x86_solaris_a-syswrap-linux-variants.o `test -f 'm_syswrap/syswrap-linux-variants.c' || echo './'`m_syswrap/syswrap-linux-variants.c
mv -f m_syswrap/.deps/libcoregrind_x86_solaris_a-syswrap-linux-variants.Tpo m_syswrap/.deps/libcoregrind_x86_solaris_a-syswrap-linux-variants.Po
gcc -m64 -DHAVE_CONFIG_H -I. -I.. -I.. -I../include -I../VEX/pub -I../VEX/pub -DVGA_x86=1 -DVGO_solaris=1 -DVGP_x86_solaris=1 -DVGPV_x86_solaris_vanilla=1 -I../coregrind -DVG_LIBDIR="\"/export/home/tester1/nightly/valgrind-old/Inst/lib/valgrind"\" -DVG_PLATFORM="\"x86-solaris\"" -m32 -mpreferred-stack-boundary=2 -O2 -g -std=gnu99 -Wall -Wcast-align -Wmissing-prototypes -Wshadow -Wpointer-arith -Wstrict-prototypes -Wmissing-declarations -Wcast-qual -Wwrite-strings -Wempty-body -Wformat -Wformat-security -Wignored-qualifiers -Wmissing-parameter-type -Wold-style-declaration -fno-stack-protector -fno-strict-aliasing -fno-builtin -fomit-frame-pointer -MT m_syswrap/libcoregrind_x86_solaris_a-syswrap-darwin.o -MD -MP -MF m_syswrap/.deps/libcoregrind_x86_solaris_a-syswrap-darwin.Tpo -c -o m_syswrap/libcoregrind_x86_solaris_a-syswrap-darwin.o `test -f 'm_syswrap/syswrap-darwin.c' || echo './'`m_syswrap/syswrap-darwin.c
mv -f m_syswrap/.deps/libcoregrind_x86_solaris_a-syswrap-darwin.Tpo m_syswrap/.deps/libcoregrind_x86_solaris_a-syswrap-darwin.Po
gcc -m64 -DHAVE_CONFIG_H -I. -I.. -I.. -I../include -I../VEX/pub -I../VEX/pub -DVGA_x86=1 -DVGO_solaris=1 -DVGP_x86_solaris=1 -DVGPV_x86_solaris_vanilla=1 -I../coregrind -DVG_LIBDIR="\"/export/home/tester1/nightly/valgrind-old/Inst/lib/valgrind"\" -DVG_PLATFORM="\"x86-solaris\"" -m32 -mpreferred-stack-boundary=2 -O2 -g -std=gnu99 -Wall -Wcast-align -Wmissing-prototypes -Wshadow -Wpointer-arith -Wstrict-prototypes -Wmissing-declarations -Wcast-qual -Wwrite-strings -Wempty-body -Wformat -Wformat-security -Wignored-qualifiers -Wmissing-parameter-type -Wold-style-declaration -fno-stack-protector -fno-strict-aliasing -fno-builtin -fomit-frame-pointer -MT m_syswrap/libcoregrind_x86_solaris_a-syswrap-solaris.o -MD -MP -MF m_syswrap/.deps/libcoregrind_x86_solaris_a-syswrap-solaris.Tpo -c -o m_syswrap/libcoregrind_x86_solaris_a-syswrap-solaris.o `test -f 'm_syswrap/syswrap-solaris.c' || echo './'`m_syswrap/syswrap-solaris.c
m_syswrap/syswrap-solaris.c: In function 'repository_door_pre_mem_door_call_hook':
m_syswrap/syswrap-solaris.c:7823:12: error: 'VKI_REP_PROTOCOL_ENTITY_GET_ROOT' undeclared (first use in this function)
case VKI_REP_PROTOCOL_ENTITY_GET_ROOT:
^
m_syswrap/syswrap-solaris.c:7823:12: note: each undeclared identifier is reported only once for each function it appears in
make[3]: *** [m_syswrap/libcoregrind_x86_solaris_a-syswrap-solaris.o] Error 1
make[3]: *** Waiting for unfinished jobs....
mv -f m_syswrap/.deps/libcoregrind_x86_solaris_a-syswrap-generic.Tpo m_syswrap/.deps/libcoregrind_x86_solaris_a-syswrap-generic.Po
make[3]: Leaving directory `/export/home/tester1/nightly/valgrind-old/coregrind'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/export/home/tester1/nightly/valgrind-old/coregrind'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/export/home/tester1/nightly/valgrind-old'
make: *** [all] Error 2
=================================================
== Difference between 24 hours ago and now ==
=================================================
--- old.short 2015-08-13 00:36:14.757984853 +0000
+++ new.short 2015-08-13 01:06:45.485679529 +0000
@@ -3,24 +3,22 @@
Configuring valgrind ... done
- Building valgrind ... failed
+ Building valgrind ... done
+ Running regression tests ... failed
+
+Regression test results follow
+
+== 731 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)
-Last 20 lines of verbose log follow echo
-mv -f m_syswrap/.deps/libcoregrind_x86_solaris_a-syswrap-linux.Tpo m_syswrap/.deps/libcoregrind_x86_solaris_a-syswrap-linux.Po
-gcc -m64 -DHAVE_CONFIG_H -I. -I.. -I.. -I../include -I../VEX/pub -I../VEX/pub -DVGA_x86=1 -DVGO_solaris=1 -DVGP_x86_solaris=1 -DVGPV_x86_solaris_vanilla=1 -I../coregrind -DVG_LIBDIR="\"/export/home/tester1/nightly/valgrind-old/Inst/lib/valgrind"\" -DVG_PLATFORM="\"x86-solaris\"" -m32 -mpreferred-stack-boundary=2 -O2 -g -std=gnu99 -Wall -Wcast-align -Wmissing-prototypes -Wshadow -Wpointer-arith -Wstrict-prototypes -Wmissing-declarations -Wcast-qual -Wwrite-strings -Wempty-body -Wformat -Wformat-security -Wignored-qualifiers -Wmissing-parameter-type -Wold-style-declaration -fno-stack-protector -fno-strict-aliasing -fno-builtin -fomit-frame-pointer -MT m_syswrap/libcoregrind_x86_solaris_a-syswrap-linux-variants.o -MD -MP -MF m_syswrap/.deps/libcoregrind_x86_solaris_a-syswrap-linux-variants.Tpo -c -o m_syswrap/libcoregrind_x86_solaris_a-syswrap-linux-variants.o `test -f 'm_syswrap/syswrap-linux-variants.c' || echo './'`m_syswrap/syswrap-linux-variants.c
-mv -f m_syswrap/.deps/libcoregrind_x86_solaris_a-syswrap-linux-variants.Tpo m_syswrap/.deps/libcoregrind_x86_solaris_a-syswrap-linux-variants.Po
-gcc -m64 -DHAVE_CONFIG_H -I. -I.. -I.. -I../include -I../VEX/pub -I../VEX/pub -DVGA_x86=1 -DVGO_solaris=1 -DVGP_x86_solaris=1 -DVGPV_x86_solaris_vanilla=1 -I../coregrind -DVG_LIBDIR="\"/export/home/tester1/nightly/valgrind-old/Inst/lib/valgrind"\" -DVG_PLATFORM="\"x86-solaris\"" -m32 -mpreferred-stack-boundary=2 -O2 -g -std=gnu99 -Wall -Wcast-align -Wmissing-prototypes -Wshadow -Wpointer-arith -Wstrict-prototypes -Wmissing-declarations -Wcast-qual -Wwrite-strings -Wempty-body -Wformat -Wformat-security -Wignored-qualifiers -Wmissing-parameter-type -Wold-style-declaration -fno-stack-protector -fno-strict-aliasing -fno-builtin -fomit-frame-pointer -MT m_syswrap/libcoregrind_x86_solaris_a-syswrap-darwin.o -MD -MP -MF m_syswrap/.deps/libcoregrind_x86_solaris_a-syswrap-darwin.Tpo -c -o m_syswrap/libcoregrind_x86_solaris_a-syswrap-darwin.o `test -f 'm_syswrap/syswrap-darwin.c' || echo './'`m_syswrap/syswrap-darwin.c
-mv -f m_syswrap/.deps/libcoregrind_x86_solaris_a-syswrap-darwin.Tpo m_syswrap/.deps/libcoregrind_x86_solaris_a-syswrap-darwin.Po
-gcc -m64 -DHAVE_CONFIG_H -I. -I.. -I.. -I../include -I../VEX/pub -I../VEX/pub -DVGA_x86=1 -DVGO_solaris=1 -DVGP_x86_solaris=1 -DVGPV_x86_solaris_vanilla=1 -I../coregrind -DVG_LIBDIR="\"/export/home/tester1/nightly/valgrind-old/Inst/lib/valgrind"\" -DVG_PLATFORM="\"x86-solaris\"" -m32 -mpreferred-stack-boundary=2 -O2 -g -std=gnu99 -Wall -Wcast-align -Wmissing-prototypes -Wshadow -Wpointer-arith -Wstrict-prototypes -Wmissing-declarations -Wcast-qual -Wwrite-strings -Wempty-body -Wformat -Wformat-security -Wignored-qualifiers -Wmissing-parameter-type -Wold-style-declaration -fno-stack-protector -fno-strict-aliasing -fno-builtin -fomit-frame-pointer -MT m_syswrap/libcoregrind_x86_solaris_a-syswrap-solaris.o -MD -MP -MF m_syswrap/.deps/libcoregrind_x86_solaris_a-syswrap-solaris.Tpo -c -o m_syswrap/libcoregrind_x86_solaris_a-syswrap-solaris.o `test -f 'm_syswrap/syswrap-solaris.c' || echo './'`m_syswrap/syswrap-solaris.c
-m_syswrap/syswrap-solaris.c: In function 'repository_door_pre_mem_door_call_hook':
-m_syswrap/syswrap-solaris.c:7823:12: error: 'VKI_REP_PROTOCOL_ENTITY_GET_ROOT' undeclared (first use in this function)
- case VKI_REP_PROTOCOL_ENTITY_GET_ROOT:
- ^
-m_syswrap/syswrap-solaris.c:7823:12: note: each undeclared identifier is reported only once for each function it appears in
-make[3]: *** [m_syswrap/libcoregrind_x86_solaris_a-syswrap-solaris.o] Error 1
-make[3]: *** Waiting for unfinished jobs....
-mv -f m_syswrap/.deps/libcoregrind_x86_solaris_a-syswrap-generic.Tpo m_syswrap/.deps/libcoregrind_x86_solaris_a-syswrap-generic.Po
-make[3]: Leaving directory `/export/home/tester1/nightly/valgrind-old/coregrind'
-make[2]: *** [all] Error 2
-make[2]: Leaving directory `/export/home/tester1/nightly/valgrind-old/coregrind'
-make[1]: *** [all-recursive] Error 1
-make[1]: Leaving directory `/export/home/tester1/nightly/valgrind-old'
-make: *** [all] Error 2
--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 --
vg_perf: '/export/home/tester1/nightly/valgrind-new/../valgrind-old/./coregrind/valgrind' not found or not a file (/export/home/tester1/nightly/valgrind-new/../valgrind-old)
real 0m0.61s
user 0m0.49s
sys 0m0.00s
=================================================
./valgrind-new/exp-sgcheck/tests/preen_invars.stderr.diff-glibc28-amd64
=================================================
--- preen_invars.stderr.exp-glibc28-amd64 2015-08-13 00:36:20.628621637 +0000
+++ preen_invars.stderr.out 2015-08-13 01:06:12.527859028 +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 2015-08-13 00:36:20.625588472 +0000
+++ stackerr.stderr.out 2015-08-13 01:06:13.909192325 +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 2015-08-13 00:36:20.635798210 +0000
+++ stackerr.stderr.out 2015-08-13 01:06:13.909192325 +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 2015-08-13 00:36:16.671051299 +0000
+++ hginfo.stderrB.out 2015-08-13 00:46:55.939517016 +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 2015-08-13 00:36:22.950020424 +0000
+++ bar_bad.stderr.out 2015-08-13 00:59:32.757478138 +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 2015-08-13 00:36:22.964904655 +0000
+++ bar_trivial.stderr.out 2015-08-13 00:59:34.467957546 +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 2015-08-13 00:36:22.927525065 +0000
+++ free_is_write.stderr.out 2015-08-13 00:59:38.050341121 +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 2015-08-13 00:36:23.001967292 +0000
+++ pth_barrier1.stderr.out 2015-08-13 00:59:57.212029603 +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 2015-08-13 00:36:22.877002356 +0000
+++ pth_barrier2.stderr.out 2015-08-13 00:59:57.917817299 +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 2015-08-13 00:36:22.957074558 +0000
+++ pth_barrier3.stderr.out 2015-08-13 00:59:58.745809537 +0000
@@ -6,6 +6,17 @@
by 0x........: barriers_and_races (pth_barrier.c:92)
by 0x........: main (pth_barrier.c:122)
+----------------------------------------------------------------
+
+Thread #x: pthread_cond_{signal,broadcast}: dubious: associated lock is not held by any thread
+ at 0x........: pthread_cond_broadcast_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_cond_broadcast@* (hg_intercepts.c:...)
+ ...
+ by 0x........: pthread_barrier_wait (hg_intercepts.c:...)
+ by 0x........: threadfunc (pth_barrier.c:54)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+
---Thread-Announcement------------------------------------------
Thread #x was created
@@ -14,26 +25,14 @@
by 0x........: barriers_and_races (pth_barrier.c:92)
by 0x........: main (pth_barrier.c:122)
----Thread-Announcement------------------------------------------
-
-Thread #x is the program's root thread
-
----------------------------------------------------------------
-Possible data race during write of size 1 at 0x........ by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
+Thread #x: pthread_cond_{signal,broadcast}: dubious: associated lock is not held by any thread
+ at 0x........: pthread_cond_broadcast_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_cond_broadcast@* (hg_intercepts.c:...)
...
-
-This conflicts with a previous write of size 1 by thread #x
-Locks held: none
- at 0x........: threadfunc (pth_barrier.c:60)
+ by 0x........: pthread_barrier_wait (hg_intercepts.c:...)
+ by 0x........: threadfunc (pth_barrier.c:61)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
...
- Address 0x........ is 0 bytes inside a block of size 1 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: barriers_and_races (pth_barrier.c:76)
- by 0x........: main (pth_barrier.c:122)
- Block was alloc'd by thread #x
=================================================
./valgrind-new/helgrind/tests/tc21_pthonce.stderr.diff
=================================================
--- tc21_pthonce.stderr.exp 2015-08-13 00:36:22.883387611 +0000
+++ tc21_pthonce.stderr.out 2015-08-13 01:00:43.799836206 +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 2015-08-13 00:36:23.046105924 +0000
+++ tls_threads.stderr.out 2015-08-13 01:00:53.712722738 +0000
@@ -1,2 +1,3 @@
+--28952: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 2015-08-13 00:36:19.667485454 +0000
+++ descr_belowsp.stderr.out 2015-08-13 00:49:04.586541972 +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 2015-08-13 00:36:18.821820433 +0000
+++ door_data.stderr.out 2015-08-13 00:50:44.070303731 +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 2015-08-13 00:36:18.878815250 +0000
+++ lsframe2.stderr.out 2015-08-13 00:50:56.602348634 +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)
+
|