|
From: Rich C. <rc...@wi...> - 2015-08-26 04:56:33
|
valgrind revision: 15590
VEX revision: 3181
C compiler: gcc (SUSE Linux) 4.8.5
GDB: GNU gdb (GDB; openSUSE Factory) 7.9
Assembler: GNU assembler (GNU Binutils; openSUSE Factory) 2.25.0
C library: GNU C Library (GNU libc) stable release version 2.21 (git 4e42b5b8f89f)
uname -mrs: Linux 4.1.4-1-desktop x86_64
Vendor version: openSUSE 20150810 (Tumbleweed)
Nightly build on rodan ( Linux 4.1.4-1-desktop x86_64 )
Started at 2015-08-25 19:22:01 CDT
Ended at 2015-08-25 23:56:21 CDT
Results unchanged from 24 hours ago
Checking out valgrind source tree ... done
Configuring valgrind ... done
Building valgrind ... done
Running regression tests ... failed
Regression test results follow
== 640 tests, 4 stderr failures, 0 stdout failures, 0 stderrB failures, 1 stdoutB failure, 2 post failures ==
gdbserver_tests/hgtls (stdoutB)
memcheck/tests/leak_cpp_interior (stderr)
massif/tests/new-cpp (post)
massif/tests/overloaded-new (post)
helgrind/tests/tc18_semabuse (stderr)
helgrind/tests/tc20_verifywrap (stderr)
drd/tests/tc18_semabuse (stderr)
Last 20 lines of verbose log follow echo
complex_rep: valgrind --interval-size=100000 --bb-out-file=complex_rep.out.bb ./complex_rep
fldcw_check: valgrind --interval-size=10000 --bb-out-file=fldcw_check.out.bb ./fldcw_check
ll: valgrind --interval-size=1000 --bb-out-file=ll.out.bb ./ll
million: valgrind --interval-size=100000 --bb-out-file=million.out.bb ./million
rep_prefix: valgrind --interval-size=100000 --bb-out-file=rep_prefix.out.bb ./rep_prefix
-- Finished tests in exp-bbv/tests/amd64-linux -------------------------
== 640 tests, 4 stderr failures, 0 stdout failures, 0 stderrB failures, 1 stdoutB failure, 2 post failures ==
gdbserver_tests/hgtls (stdoutB)
memcheck/tests/leak_cpp_interior (stderr)
massif/tests/new-cpp (post)
massif/tests/overloaded-new (post)
helgrind/tests/tc18_semabuse (stderr)
helgrind/tests/tc20_verifywrap (stderr)
drd/tests/tc18_semabuse (stderr)
...checking makefile consistency
...checking header files and include directives
Makefile:1332: recipe for target 'regtest' failed
make: *** [regtest] Error 1
--tools=none,memcheck,callgrind,helgrind,cachegrind,drd,massif --reps=3 --vg=../valgrind-new --vg=../valgrind-old
+ perl perf/vg_perf --tools=none,memcheck,callgrind,helgrind,cachegrind,drd,massif --reps=3 --vg=../valgrind-new --vg=../valgrind-old perf
-- Running tests in perf ----------------------------------------------
-- bigcode1 --
bigcode1 valgrind-new:0.48s no: 7.4s (15.5x, -----) me:14.2s (29.6x, -----) ca:62.1s (129.5x, -----) he: 9.5s (19.8x, -----) ca:17.9s (37.2x, -----) dr: 9.0s (18.8x, -----) ma: 8.8s (18.3x, -----)
bigcode1 valgrind-old:0.48s no: 7.4s (15.5x, -0.3%) me:14.2s (29.7x, -0.2%) ca:62.1s (129.3x, 0.1%) he: 9.5s (19.8x, -0.2%) ca:17.9s (37.3x, -0.2%) dr: 9.0s (18.8x, 0.1%) ma: 8.8s (18.4x, -0.1%)
-- bigcode2 --
bigcode2 valgrind-new:0.49s no:18.0s (36.8x, -----) me:35.7s (72.9x, -----) ca:99.8s (203.8x, -----) he:23.4s (47.8x, -----) ca:31.9s (65.1x, -----) dr:21.2s (43.3x, -----) ma:20.7s (42.2x, -----)
bigcode2 valgrind-old:0.49s no:18.0s (36.8x, -0.1%) me:35.8s (73.1x, -0.3%) ca:100.0s (204.1x, -0.2%) he:23.5s (48.0x, -0.4%) ca:32.0s (65.3x, -0.3%) dr:21.2s (43.3x, 0.0%) ma:20.8s (42.4x, -0.5%)
-- bz2 --
bz2 valgrind-new:2.33s no: 7.8s ( 3.3x, -----) me:25.0s (10.7x, -----) ca:60.4s (25.9x, -----) he:39.2s (16.8x, -----) ca:50.1s (21.5x, -----) dr:54.0s (23.2x, -----) ma: 7.3s ( 3.2x, -----)
bz2 valgrind-old:2.33s no: 7.8s ( 3.3x, -0.1%) me:25.0s (10.7x, 0.1%) ca:60.4s (25.9x, -0.0%) he:39.2s (16.8x, -0.0%) ca:50.1s (21.5x, 0.0%) dr:54.0s (23.2x, 0.0%) ma: 7.4s ( 3.2x, -0.1%)
-- fbench --
fbench valgrind-new:1.45s no: 5.2s ( 3.6x, -----) me:17.6s (12.2x, -----) ca:27.6s (19.1x, -----) he:13.6s ( 9.4x, -----) ca:16.3s (11.2x, -----) dr:13.7s ( 9.4x, -----) ma: 5.4s ( 3.8x, -----)
fbench valgrind-old:1.45s no: 5.2s ( 3.6x, 0.0%) me:17.6s (12.2x, 0.0%) ca:27.7s (19.1x, -0.4%) he:13.6s ( 9.4x, 0.1%) ca:16.1s (11.1x, 0.9%) dr:13.6s ( 9.4x, 0.7%) ma: 5.5s ( 3.8x, -0.2%)
-- ffbench --
ffbench valgrind-new:1.00s no: 3.5s ( 3.5x, -----) me:12.5s (12.5x, -----) ca: 8.5s ( 8.5x, -----) he:21.4s (21.4x, -----) ca:19.9s (19.9x, -----) dr:17.2s (17.2x, -----) ma: 3.5s ( 3.5x, -----)
ffbench valgrind-old:1.00s no: 3.5s ( 3.5x, 0.0%) me:12.5s (12.5x, -0.1%) ca: 8.5s ( 8.5x, 0.2%) he:21.4s (21.4x, 0.0%) ca:19.9s (19.9x, -0.1%) dr:17.2s (17.2x, 0.0%) ma: 3.5s ( 3.5x, 0.0%)
-- heap --
heap valgrind-new:0.46s no: 3.1s ( 6.8x, -----) me:21.6s (47.0x, -----) ca:33.8s (73.4x, -----) he:30.6s (66.4x, -----) ca:15.2s (33.1x, -----) dr:20.5s (44.5x, -----) ma:21.6s (46.9x, -----)
heap valgrind-old:0.46s no: 3.1s ( 6.8x, 0.3%) me:21.6s (47.1x, -0.1%) ca:33.8s (73.5x, -0.1%) he:30.6s (66.4x, 0.0%) ca:15.2s (33.1x, -0.2%) dr:20.5s (44.5x, 0.0%) ma:21.8s (47.3x, -0.9%)
-- heap_pdb4 --
heap_pdb4 valgrind-new:0.54s no: 3.4s ( 6.3x, -----) me:38.4s (71.1x, -----) ca:36.0s (66.7x, -----) he:34.9s (64.7x, -----) ca:17.2s (31.9x, -----) dr:22.8s (42.2x, -----) ma:22.6s (41.9x, -----)
heap_pdb4 valgrind-old:0.54s no: 3.4s ( 6.3x, 0.3%) me:38.4s (71.1x, 0.1%) ca:36.0s (66.6x, 0.2%) he:34.9s (64.7x, 0.0%) ca:17.2s (31.9x, -0.1%) dr:22.8s (42.2x, -0.0%) ma:23.0s (42.6x, -1.8%)
-- many-loss-records --
many-loss-records valgrind-new:0.06s no: 1.1s (18.3x, -----) me: 6.0s (100.2x, -----) ca: 5.1s (85.5x, -----) he: 5.3s (88.8x, -----) ca: 3.1s (51.3x, -----) dr: 5.0s (82.5x, -----) ma: 4.6s (76.0x, -----)
many-loss-records valgrind-old:0.06s no: 1.1s (18.3x, 0.0%) me: 6.0s (100.2x, 0.0%) ca: 5.1s (85.7x, -0.2%) he: 5.3s (88.8x, 0.0%) ca: 3.1s (51.2x, 0.3%) dr: 4.9s (82.3x, 0.2%) ma: 4.6s (76.3x, -0.4%)
-- many-xpts --
many-xpts valgrind-new:0.15s no: 1.4s ( 9.1x, -----) me: 7.3s (48.6x, -----) ca:13.7s (91.1x, -----) he: 9.5s (63.4x, -----) ca: 4.5s (29.9x, -----) dr: 6.6s (44.3x, -----) ma: 7.0s (46.7x, -----)
many-xpts valgrind-old:0.15s no: 1.4s ( 9.0x, 1.5%) me: 7.3s (48.7x, -0.1%) ca:13.7s (91.3x, -0.2%) he: 9.5s (63.2x, 0.3%) ca: 4.5s (29.7x, 0.9%) dr: 6.6s (44.2x, 0.2%) ma: 7.0s (46.5x, 0.4%)
-- memrw --
memrw valgrind-new:0.30s no: 2.2s ( 7.4x, -----) me: 5.4s (18.0x, -----) ca:13.0s (43.3x, -----) he:21.8s (72.7x, -----) ca: 9.0s (30.0x, -----) dr: 5.7s (18.9x, -----) ma: 2.3s ( 7.6x, -----)
memrw valgrind-old:0.30s no: 2.2s ( 7.4x, 0.0%) me: 5.4s (18.0x, 0.0%) ca:13.0s (43.3x, -0.2%) he:21.8s (72.8x, -0.1%) ca: 9.0s (30.1x, -0.2%) dr: 5.7s (18.9x, 0.0%) ma: 2.3s ( 7.7x, -0.9%)
-- sarp --
sarp valgrind-new:0.11s no: 1.3s (11.8x, -----) me: 9.8s (88.8x, -----) ca: 8.4s (76.5x, -----) he:24.5s (222.4x, -----) ca: 4.4s (39.8x, -----) dr: 4.6s (41.5x, -----) ma: 1.4s (12.5x, -----)
sarp valgrind-old:0.11s no: 1.3s (11.8x, 0.0%) me: 9.8s (89.0x, -0.2%) ca: 8.4s (76.6x, -0.2%) he:24.4s (222.3x, 0.0%) ca: 4.4s (39.7x, 0.2%) dr: 4.6s (41.6x, -0.2%) ma: 1.4s (12.3x, 1.5%)
-- tinycc --
tinycc valgrind-new:0.76s no: 7.4s ( 9.8x, -----) me:37.1s (48.8x, -----) ca:48.8s (64.2x, -----) he:45.1s (59.4x, -----) ca:38.8s (51.0x, -----) dr:38.0s (49.9x, -----) ma:11.6s (15.2x, -----)
tinycc valgrind-old:0.76s no: 7.4s ( 9.8x, 0.1%) me:37.1s (48.9x, -0.1%) ca:48.7s (64.1x, 0.1%) he:45.1s (59.4x, 0.0%) ca:38.8s (51.0x, -0.1%) dr:37.9s (49.9x, 0.0%) ma:11.6s (15.2x, -0.3%)
-- Finished tests in perf ----------------------------------------------
== 12 programs, 168 timings =================
real 157m44.799s
user 155m53.880s
sys 1m33.516s
=================================================
./valgrind-new/drd/tests/tc18_semabuse.stderr.diff
=================================================
--- tc18_semabuse.stderr.exp 2015-08-25 20:18:47.553324918 -0500
+++ tc18_semabuse.stderr.out 2015-08-25 21:15:06.465010461 -0500
@@ -14,4 +14,12 @@
by 0x........: main (tc18_semabuse.c:23)
+Process terminating with default action of signal 6 (SIGABRT)
+ at 0x........: raise (raise.c:?)
+ by 0x........: abort (abort.c:?)
+ by 0x........: futex_wake (sem_post.c:?)
+ by 0x........: sem_post@@GLIBC_2.2.5 (sem_post.c:?)
+ by 0x........: sem_post (drd_pthread_intercepts.c:?)
+ by 0x........: main (tc18_semabuse.c:40)
+
ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/drd/tests/tc18_semabuse.stderr.diff-solaris
=================================================
--- tc18_semabuse.stderr.exp-solaris 2015-08-25 20:18:47.434323660 -0500
+++ tc18_semabuse.stderr.out 2015-08-25 21:15:06.465010461 -0500
@@ -6,5 +6,20 @@
at 0x........: sem_init (drd_pthread_intercepts.c:?)
by 0x........: main (tc18_semabuse.c:23)
+Invalid semaphore: semaphore 0x........
+ at 0x........: sem_wait (drd_pthread_intercepts.c:?)
+ by 0x........: main (tc18_semabuse.c:34)
+semaphore 0x........ was first observed at:
+ at 0x........: sem_init (drd_pthread_intercepts.c:?)
+ by 0x........: main (tc18_semabuse.c:23)
+
+
+Process terminating with default action of signal 6 (SIGABRT)
+ at 0x........: raise (raise.c:?)
+ by 0x........: abort (abort.c:?)
+ by 0x........: futex_wake (sem_post.c:?)
+ by 0x........: sem_post@@GLIBC_2.2.5 (sem_post.c:?)
+ by 0x........: sem_post (drd_pthread_intercepts.c:?)
+ by 0x........: main (tc18_semabuse.c:40)
-ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/gdbserver_tests/hgtls.stdoutB.diff
=================================================
--- hgtls.stdoutB.exp 2015-08-25 20:18:33.688178315 -0500
+++ hgtls.stdoutB.out 2015-08-25 20:32:51.532186953 -0500
@@ -8,28 +8,28 @@
test race tls_ip 0x........ ip 0x........ equal 1
Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
-test local tls_ip 0x........ ip 0x........ equal 1
+test local tls_ip 0x........ ip 0x........ equal 0
Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
-test local tls_ip 0x........ ip 0x........ equal 1
+test local tls_ip 0x........ ip 0x........ equal 0
Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
-test global tls_ip 0x........ ip 0x........ equal 1
+test global tls_ip 0x........ ip 0x........ equal 0
Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
-test global tls_ip 0x........ ip 0x........ equal 1
+test global tls_ip 0x........ ip 0x........ equal 0
Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
-test static_extern tls_ip 0x........ ip 0x........ equal 1
+test static_extern tls_ip 0x........ ip 0x........ equal 0
Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
-test static_extern tls_ip 0x........ ip 0x........ equal 1
+test static_extern tls_ip 0x........ ip 0x........ equal 0
Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
-test so_extern tls_ip 0x........ ip 0x........ equal 1
+test so_extern tls_ip 0x........ ip 0x........ equal 0
Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
-test so_extern tls_ip 0x........ ip 0x........ equal 1
+test so_extern tls_ip 0x........ ip 0x........ equal 0
Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
test so_local tls_ip 0x........ ip 0x........ equal 1
=================================================
./valgrind-new/helgrind/tests/tc18_semabuse.stderr.diff
=================================================
--- tc18_semabuse.stderr.exp 2015-08-25 20:18:39.766242580 -0500
+++ tc18_semabuse.stderr.out 2015-08-25 20:56:48.577099915 -0500
@@ -18,13 +18,11 @@
by 0x........: sem_wait (hg_intercepts.c:...)
by 0x........: main (tc18_semabuse.c:34)
-----------------------------------------------------------------
-Thread #x's call to sem_post failed
- with error code 22 (EINVAL: Invalid argument)
- at 0x........: sem_post_WRK (hg_intercepts.c:...)
+Process terminating with default action of signal 6 (SIGABRT)
+ ...
+ by 0x........: sem_post_WRK (hg_intercepts.c:...)
by 0x........: sem_post (hg_intercepts.c:...)
by 0x........: main (tc18_semabuse.c:40)
-
-ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/helgrind/tests/tc18_semabuse.stderr.diff-linux-mips32
=================================================
--- tc18_semabuse.stderr.exp-linux-mips32 2015-08-25 20:18:39.728242178 -0500
+++ tc18_semabuse.stderr.out 2015-08-25 20:56:48.577099915 -0500
@@ -19,4 +19,10 @@
by 0x........: main (tc18_semabuse.c:34)
+Process terminating with default action of signal 6 (SIGABRT)
+ ...
+ by 0x........: sem_post_WRK (hg_intercepts.c:...)
+ by 0x........: sem_post (hg_intercepts.c:...)
+ by 0x........: main (tc18_semabuse.c:40)
+
ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/helgrind/tests/tc18_semabuse.stderr.diff-linux-mips32-b
=================================================
--- tc18_semabuse.stderr.exp-linux-mips32-b 2015-08-25 20:18:39.806243003 -0500
+++ tc18_semabuse.stderr.out 2015-08-25 20:56:48.577099915 -0500
@@ -18,13 +18,11 @@
by 0x........: sem_wait (hg_intercepts.c:...)
by 0x........: main (tc18_semabuse.c:34)
-----------------------------------------------------------------
-Thread #x's call to sem_post failed
- with error code 89 (ENOSYS: Function not implemented)
- at 0x........: sem_post_WRK (hg_intercepts.c:...)
+Process terminating with default action of signal 6 (SIGABRT)
+ ...
+ by 0x........: sem_post_WRK (hg_intercepts.c:...)
by 0x........: sem_post (hg_intercepts.c:...)
by 0x........: main (tc18_semabuse.c:40)
-
-ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/helgrind/tests/tc18_semabuse.stderr.diff-solaris
=================================================
--- tc18_semabuse.stderr.exp-solaris 2015-08-25 20:18:39.798242918 -0500
+++ tc18_semabuse.stderr.out 2015-08-25 20:56:48.577099915 -0500
@@ -5,11 +5,24 @@
----------------------------------------------------------------
-Thread #x's call to sema_init failed
+Thread #x's call to sem_init failed
with error code 22 (EINVAL: Invalid argument)
- at 0x........: sema_init (hg_intercepts.c:...)
- ...
+ at 0x........: sem_init_WRK (hg_intercepts.c:...)
+ by 0x........: sem_init@* (hg_intercepts.c:...)
by 0x........: main (tc18_semabuse.c:23)
+----------------------------------------------------------------
+
+Thread #x: Bug in libpthread: sem_wait succeeded on semaphore without prior sem_post
+ at 0x........: sem_wait_WRK (hg_intercepts.c:...)
+ by 0x........: sem_wait (hg_intercepts.c:...)
+ by 0x........: main (tc18_semabuse.c:34)
+
+
+Process terminating with default action of signal 6 (SIGABRT)
+ ...
+ by 0x........: sem_post_WRK (hg_intercepts.c:...)
+ by 0x........: sem_post (hg_intercepts.c:...)
+ by 0x........: main (tc18_semabuse.c:40)
-ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/helgrind/tests/tc20_verifywrap.stderr.diff
=================================================
--- tc20_verifywrap.stderr.exp 2015-08-25 20:18:39.714242030 -0500
+++ tc20_verifywrap.stderr.out 2015-08-25 20:57:17.020397721 -0500
@@ -232,24 +232,19 @@
by 0x........: sem_wait (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:262)
-----------------------------------------------------------------
-Thread #x's call to sem_post failed
- with error code 22 (EINVAL: Invalid argument)
- at 0x........: sem_post_WRK (hg_intercepts.c:...)
+Process terminating with default action of signal 6 (SIGABRT)
+ ...
+ by 0x........: sem_post_WRK (hg_intercepts.c:...)
by 0x........: sem_post (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:265)
-
-
-FIXME: can't figure out how to verify wrap of sem_post
-
-
------------- dealloc of mem holding locks ------------
-
----------------------------------------------------------------
Thread #x: Exiting thread still holds 1 lock
...
+ by 0x........: sem_post_WRK (hg_intercepts.c:...)
+ by 0x........: sem_post (hg_intercepts.c:...)
+ by 0x........: main (tc20_verifywrap.c:265)
-ERROR SUMMARY: 23 errors from 23 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 22 errors from 22 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/helgrind/tests/tc20_verifywrap.stderr.diff-glibc-2.18
=================================================
--- tc20_verifywrap.stderr.exp-glibc-2.18 2015-08-25 20:18:39.868243658 -0500
+++ tc20_verifywrap.stderr.out 2015-08-25 20:57:17.020397721 -0500
@@ -57,6 +57,14 @@
----------------------------------------------------------------
+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:112)
+
+----------------------------------------------------------------
+
Thread #x's call to pthread_mutex_lock failed
with error code 22 (EINVAL: Invalid argument)
at 0x........: mutex_lock_WRK (hg_intercepts.c:...)
@@ -157,10 +165,13 @@
by 0x........: pthread_rwlock_unlock (hg_intercepts.c:...)
...
by 0x........: main (tc20_verifywrap.c:189)
- Lock at 0x........ was first observed
+ Lock at 0x........ was first observed
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:188)
+ Location 0x........ is 0 bytes inside local var "rwl"
+ declared at tc20_verifywrap.c:52, in frame #x of thread x
+
(1) no error on next line
(2) no error on next line
@@ -172,10 +183,13 @@
by 0x........: pthread_rwlock_unlock (hg_intercepts.c:...)
...
by 0x........: main (tc20_verifywrap.c:206)
- Lock at 0x........ was first observed
+ Lock at 0x........ was first observed
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:196)
+ Location 0x........ is 0 bytes inside local var "rwl2"
+ declared at tc20_verifywrap.c:53, in frame #x of thread x
+
(4) no error on next line
(5) no error on next line
@@ -187,11 +201,15 @@
Thread #x unlocked a not-locked lock at 0x........
at 0x........: pthread_rwlock_unlock_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_unlock (hg_intercepts.c:...)
+ ...
by 0x........: main (tc20_verifywrap.c:227)
- Lock at 0x........ was first observed
+ Lock at 0x........ was first observed
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:196)
+ Location 0x........ is 0 bytes inside local var "rwl2"
+ declared at tc20_verifywrap.c:53, in frame #x of thread x
+
---------------- sem_* ----------------
@@ -202,7 +220,7 @@
with error code 22 (EINVAL: Invalid argument)
at 0x........: sem_init_WRK (hg_intercepts.c:...)
by 0x........: sem_init@* (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:243)
+ by 0x........: main (tc20_verifywrap.c:248)
FIXME: can't figure out how to verify wrap of sem_destroy
@@ -212,26 +230,21 @@
Thread #x: Bug in libpthread: sem_wait succeeded on semaphore without prior sem_post
at 0x........: sem_wait_WRK (hg_intercepts.c:...)
by 0x........: sem_wait (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:257)
+ by 0x........: main (tc20_verifywrap.c:262)
-----------------------------------------------------------------
-Thread #x's call to sem_post failed
- with error code 22 (EINVAL: Invalid argument)
- at 0x........: sem_post_WRK (hg_intercepts.c:...)
+Process terminating with default action of signal 6 (SIGABRT)
+ ...
+ by 0x........: sem_post_WRK (hg_intercepts.c:...)
by 0x........: sem_post (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:260)
-
-
-FIXME: can't figure out how to verify wrap of sem_post
-
-
------------- dealloc of mem holding locks ------------
-
+ by 0x........: main (tc20_verifywrap.c:265)
----------------------------------------------------------------
<truncated beyond 100 lines>
=================================================
./valgrind-new/helgrind/tests/tc20_verifywrap.stderr.diff-mips32
=================================================
--- tc20_verifywrap.stderr.exp-mips32 2015-08-25 20:18:39.765242569 -0500
+++ tc20_verifywrap.stderr.out 2015-08-25 20:57:17.020397721 -0500
@@ -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:81)
@@ -28,14 +27,13 @@
at 0x........: racy_child (tc20_verifywrap.c:39)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
...
-
-Location 0x........ is 0 bytes inside global var "unprotected"
-declared at tc20_verifywrap.c:32
+ Location 0x........ is 0 bytes inside global var "unprotected"
+ declared at tc20_verifywrap.c:32
----------------------------------------------------------------
Thread #x's call to pthread_join failed
- with error code 45 (EDEADLK: Resource deadlock would occur)
+ with error code 35 (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:88)
@@ -46,7 +44,7 @@
----------------------------------------------------------------
Thread #x's call to pthread_mutex_init failed
- with error code 122 (EOPNOTSUPP: Operation not supported on transport endpoint)
+ with error code 95 (EOPNOTSUPP: Operation not supported on transport endpoint)
at 0x........: pthread_mutex_init (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:102)
@@ -167,10 +165,13 @@
by 0x........: pthread_rwlock_unlock (hg_intercepts.c:...)
...
by 0x........: main (tc20_verifywrap.c:189)
- Lock at 0x........ was first observed
+ Lock at 0x........ was first observed
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:188)
+ Location 0x........ is 0 bytes inside local var "rwl"
+ declared at tc20_verifywrap.c:52, in frame #x of thread x
+
(1) no error on next line
(2) no error on next line
@@ -182,10 +183,13 @@
by 0x........: pthread_rwlock_unlock (hg_intercepts.c:...)
...
by 0x........: main (tc20_verifywrap.c:206)
- Lock at 0x........ was first observed
+ Lock at 0x........ was first observed
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:196)
+ Location 0x........ is 0 bytes inside local var "rwl2"
+ declared at tc20_verifywrap.c:53, in frame #x of thread x
+
(4) no error on next line
(5) no error on next line
@@ -199,10 +203,13 @@
by 0x........: pthread_rwlock_unlock (hg_intercepts.c:...)
...
by 0x........: main (tc20_verifywrap.c:227)
- Lock at 0x........ was first observed
+ Lock at 0x........ was first observed
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:196)
+ Location 0x........ is 0 bytes inside local var "rwl2"
+ declared at tc20_verifywrap.c:53, in frame #x of thread x
+
---------------- sem_* ----------------
@@ -213,7 +220,7 @@
with error code 22 (EINVAL: Invalid argument)
at 0x........: sem_init_WRK (hg_intercepts.c:...)
by 0x........: sem_init@* (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:243)
+ by 0x........: main (tc20_verifywrap.c:248)
FIXME: can't figure out how to verify wrap of sem_destroy
@@ -223,18 +230,21 @@
Thread #x: Bug in libpthread: sem_wait succeeded on semaphore without prior sem_post
at 0x........: sem_wait_WRK (hg_intercepts.c:...)
by 0x........: sem_wait (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:257)
+ by 0x........: main (tc20_verifywrap.c:262)
-FIXME: can't figure out how to verify wrap of sem_post
<truncated beyond 100 lines>
=================================================
./valgrind-new/helgrind/tests/tc20_verifywrap.stderr.diff-mips32-b
=================================================
--- tc20_verifywrap.stderr.exp-mips32-b 2015-08-25 20:18:39.754242453 -0500
+++ tc20_verifywrap.stderr.out 2015-08-25 20:57:17.020397721 -0500
@@ -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:81)
@@ -28,14 +27,13 @@
at 0x........: racy_child (tc20_verifywrap.c:39)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
...
-
-Location 0x........ is 0 bytes inside global var "unprotected"
-declared at tc20_verifywrap.c:32
+ Location 0x........ is 0 bytes inside global var "unprotected"
+ declared at tc20_verifywrap.c:32
----------------------------------------------------------------
Thread #x's call to pthread_join failed
- with error code 45 (EDEADLK: Resource deadlock would occur)
+ with error code 35 (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:88)
@@ -46,7 +44,7 @@
----------------------------------------------------------------
Thread #x's call to pthread_mutex_init failed
- with error code 122 (EOPNOTSUPP: Operation not supported on transport endpoint)
+ with error code 95 (EOPNOTSUPP: Operation not supported on transport endpoint)
at 0x........: pthread_mutex_init (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:102)
@@ -167,10 +165,13 @@
by 0x........: pthread_rwlock_unlock (hg_intercepts.c:...)
...
by 0x........: main (tc20_verifywrap.c:189)
- Lock at 0x........ was first observed
+ Lock at 0x........ was first observed
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:188)
+ Location 0x........ is 0 bytes inside local var "rwl"
+ declared at tc20_verifywrap.c:52, in frame #x of thread x
+
(1) no error on next line
(2) no error on next line
@@ -182,10 +183,13 @@
by 0x........: pthread_rwlock_unlock (hg_intercepts.c:...)
...
by 0x........: main (tc20_verifywrap.c:206)
- Lock at 0x........ was first observed
+ Lock at 0x........ was first observed
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:196)
+ Location 0x........ is 0 bytes inside local var "rwl2"
+ declared at tc20_verifywrap.c:53, in frame #x of thread x
+
(4) no error on next line
(5) no error on next line
@@ -199,10 +203,13 @@
by 0x........: pthread_rwlock_unlock (hg_intercepts.c:...)
...
by 0x........: main (tc20_verifywrap.c:227)
- Lock at 0x........ was first observed
+ Lock at 0x........ was first observed
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:196)
+ Location 0x........ is 0 bytes inside local var "rwl2"
+ declared at tc20_verifywrap.c:53, in frame #x of thread x
+
---------------- sem_* ----------------
@@ -213,7 +220,7 @@
with error code 22 (EINVAL: Invalid argument)
at 0x........: sem_init_WRK (hg_intercepts.c:...)
by 0x........: sem_init@* (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:243)
+ by 0x........: main (tc20_verifywrap.c:248)
FIXME: can't figure out how to verify wrap of sem_destroy
@@ -223,26 +230,21 @@
Thread #x: Bug in libpthread: sem_wait succeeded on semaphore without prior sem_post
at 0x........: sem_wait_WRK (hg_intercepts.c:...)
by 0x........: sem_wait (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:257)
+ by 0x........: main (tc20_verifywrap.c:262)
-----------------------------------------------------------------
<truncated beyond 100 lines>
=================================================
./valgrind-new/helgrind/tests/tc20_verifywrap.stderr.diff-s390x
=================================================
--- tc20_verifywrap.stderr.exp-s390x 2015-08-25 20:18:39.840243362 -0500
+++ tc20_verifywrap.stderr.out 2015-08-25 20:57:17.020397721 -0500
@@ -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:81)
@@ -28,9 +27,8 @@
at 0x........: racy_child (tc20_verifywrap.c:39)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
...
-
-Location 0x........ is 0 bytes inside global var "unprotected"
-declared at tc20_verifywrap.c:32
+ Location 0x........ is 0 bytes inside global var "unprotected"
+ declared at tc20_verifywrap.c:32
----------------------------------------------------------------
@@ -167,10 +165,13 @@
by 0x........: pthread_rwlock_unlock (hg_intercepts.c:...)
...
by 0x........: main (tc20_verifywrap.c:189)
- Lock at 0x........ was first observed
+ Lock at 0x........ was first observed
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:188)
+ Location 0x........ is 0 bytes inside local var "rwl"
+ declared at tc20_verifywrap.c:52, in frame #x of thread x
+
(1) no error on next line
(2) no error on next line
@@ -182,10 +183,13 @@
by 0x........: pthread_rwlock_unlock (hg_intercepts.c:...)
...
by 0x........: main (tc20_verifywrap.c:206)
- Lock at 0x........ was first observed
+ Lock at 0x........ was first observed
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:196)
+ Location 0x........ is 0 bytes inside local var "rwl2"
+ declared at tc20_verifywrap.c:53, in frame #x of thread x
+
(4) no error on next line
(5) no error on next line
@@ -199,10 +203,13 @@
by 0x........: pthread_rwlock_unlock (hg_intercepts.c:...)
...
by 0x........: main (tc20_verifywrap.c:227)
- Lock at 0x........ was first observed
+ Lock at 0x........ was first observed
at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:196)
+ Location 0x........ is 0 bytes inside local var "rwl2"
+ declared at tc20_verifywrap.c:53, in frame #x of thread x
+
---------------- sem_* ----------------
@@ -213,7 +220,7 @@
with error code 22 (EINVAL: Invalid argument)
at 0x........: sem_init_WRK (hg_intercepts.c:...)
by 0x........: sem_init@* (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:243)
+ by 0x........: main (tc20_verifywrap.c:248)
FIXME: can't figure out how to verify wrap of sem_destroy
@@ -223,18 +230,21 @@
Thread #x: Bug in libpthread: sem_wait succeeded on semaphore without prior sem_post
at 0x........: sem_wait_WRK (hg_intercepts.c:...)
by 0x........: sem_wait (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:257)
+ by 0x........: main (tc20_verifywrap.c:262)
-FIXME: can't figure out how to verify wrap of sem_post
-
-
------------- dealloc of mem holding locks ------------
-
+Process terminating with default action of signal 6 (SIGABRT)
+ ...
+ by 0x........: sem_post_WRK (hg_intercepts.c:...)
+ by 0x........: sem_post (hg_intercepts.c:...)
+ by 0x........: main (tc20_verifywrap.c:265)
----------------------------------------------------------------
Thread #x: Exiting thread still holds 1 lock
...
+ by 0x........: sem_post_WRK (hg_intercepts.c:...)
+ by 0x........: sem_post (hg_intercepts.c:...)
<truncated beyond 100 lines>
=================================================
./valgrind-new/helgrind/tests/tc20_verifywrap.stderr.diff-solaris
=================================================
--- tc20_verifywrap.stderr.exp-solaris 2015-08-25 20:18:39.742242326 -0500
+++ tc20_verifywrap.stderr.out 2015-08-25 20:57:17.020397721 -0500
@@ -33,7 +33,7 @@
----------------------------------------------------------------
Thread #x's call to pthread_join failed
- with error code 45 (EDEADLK: Resource deadlock would occur)
+ with error code 35 (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:88)
@@ -43,8 +43,8 @@
----------------------------------------------------------------
-Thread #x's call to mutex_init failed
- with error code 22 (EINVAL: Invalid argument)
+Thread #x's call to pthread_mutex_init failed
+ with error code 95 (EOPNOTSUPP: Operation not supported on transport endpoint)
at 0x........: pthread_mutex_init (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:102)
@@ -57,8 +57,16 @@
----------------------------------------------------------------
+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:112)
+
+----------------------------------------------------------------
+
Thread #x's call to pthread_mutex_lock failed
- with error code 1 (EPERM: Operation not permitted)
+ with error code 22 (EINVAL: Invalid argument)
at 0x........: mutex_lock_WRK (hg_intercepts.c:...)
by 0x........: pthread_mutex_lock (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:118)
@@ -66,7 +74,7 @@
----------------------------------------------------------------
Thread #x's call to pthread_mutex_trylock failed
- with error code 1 (EPERM: Operation not permitted)
+ with error code 22 (EINVAL: Invalid argument)
at 0x........: mutex_trylock_WRK (hg_intercepts.c:...)
by 0x........: pthread_mutex_trylock (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:126)
@@ -74,7 +82,7 @@
----------------------------------------------------------------
Thread #x's call to pthread_mutex_timedlock failed
- with error code 1 (EPERM: Operation not permitted)
+ with error code 22 (EINVAL: Invalid argument)
at 0x........: mutex_timedlock_WRK (hg_intercepts.c:...)
by 0x........: pthread_mutex_timedlock (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:131)
@@ -89,7 +97,7 @@
----------------------------------------------------------------
Thread #x's call to pthread_mutex_unlock failed
- with error code 1 (EPERM: Operation not permitted)
+ with error code 22 (EINVAL: Invalid argument)
at 0x........: mutex_unlock_WRK (hg_intercepts.c:...)
by 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:135)
@@ -142,7 +150,7 @@
----------------------------------------------------------------
Thread #x's call to pthread_cond_timedwait failed
- with error code 1 (EPERM: Operation not permitted)
+ with error code 22 (EINVAL: Invalid argument)
at 0x........: pthread_cond_timedwait_WRK (hg_intercepts.c:...)
by 0x........: pthread_cond_timedwait@* (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:175)
@@ -158,22 +166,13 @@
...
by 0x........: main (tc20_verifywrap.c:189)
Lock at 0x........ was first observed
- at 0x........: pthread_rwlock_init (hg_intercepts.c:...)
- ...
+ at 0x........: pthread_rwlock_init_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_rwlock_init (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:188)
- Location 0x........ is 0 bytes inside rwl.__pthread_rwlock_readers,
+ Location 0x........ is 0 bytes inside local var "rwl"
declared at tc20_verifywrap.c:52, 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:189)
-
(1) no error on next line
<truncated beyond 100 lines>
=================================================
./valgrind-new/massif/tests/new-cpp.post.diff
=================================================
--- new-cpp.post.exp 2015-08-25 20:18:37.151214930 -0500
+++ new-cpp.post.out 2015-08-25 20:47:52.014499778 -0500
@@ -6,54 +6,60 @@
KB
-11.75^ ###########
- | #
- | #
- | #
- | :::::::#
- | : #
- | : #
- | ::::::: # ::::::::::::
- | : : # :
- | : : # :
- | : : # :
- | : : # :
- | : : # :
- | : : # :
- | ::::::::::::: : # : ::::::
- | : : : # : :
- | : : : # : :
- | : : : # : : ::::::
- | : : : # : : :
- | : : : # : : :
+82.76^ ###
+ | :::# :::
+ | ::::: # : :
+ | :::: :: # : :::
+ | : : :: # : :::
+ | : : :: # : :::
+ | : : :: # : :::
+ | : : :: # : :::
+ | : : :: # : :::
+ | : : :: # : :::
+ | : : :: # : :::
+ | : : :: # : :::
+ | : : :: # : :::
+ | : : :: # : :::
+ | : : :: # : :::
+ | : : :: # : :::
+ | : : :: # : :::
+ | : : :: # : :::
+ | : : :: # : :::
+ | : : :: # : :::
0 +----------------------------------------------------------------------->KB
- 0 23.50
+ 0 94.51
-Number of snapshots: 10
- Detailed snapshots: [5 (peak)]
+Number of snapshots: 11
+ Detailed snapshots: [6 (peak)]
--------------------------------------------------------------------------------
n time(B) total(B) useful-heap(B) extra-heap(B) stacks(B)
--------------------------------------------------------------------------------
0 0 0 0 0 0
- 1 4,008 4,008 4,000 8 0
- 2 8,016 8,016 8,000 16 0
- 3 10,024 10,024 10,000 24 0
- 4 12,032 12,032 12,000 32 0
- 5 12,032 12,032 12,000 32 0
-99.73% (12,000B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
-->33.24% (4,000B) 0x........: main (new-cpp.cpp:19)
+ 1 72,712 72,712 72,704 8 0
+ 2 76,720 76,720 76,704 16 0
+ 3 80,728 80,728 80,704 24 0
+ 4 82,736 82,736 82,704 32 0
+ 5 84,744 84,744 84,704 40 0
+ 6 84,744 84,744 84,704 40 0
+99.95% (84,704B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
+->85.79% (72,704B) 0x........: ??? (in /usr/lib64/libstdc++.so.6.0.21)
+| ->85.79% (72,704B) 0x........: call_init.part.0 (dl-init.c:72)
+| ->85.79% (72,704B) 0x........: _dl_init (dl-init.c:30)
+| ->85.79% (72,704B) 0x........: ??? (in /lib64/ld-2.21.so)
+|
+->04.72% (4,000B) 0x........: main (new-cpp.cpp:19)
|
-->33.24% (4,000B) 0x........: main (new-cpp.cpp:20)
+->04.72% (4,000B) 0x........: main (new-cpp.cpp:20)
|
-->16.62% (2,000B) 0x........: main (new-cpp.cpp:21)
+->02.36% (2,000B) 0x........: main (new-cpp.cpp:21)
|
-->16.62% (2,000B) 0x........: main (new-cpp.cpp:22)
+->02.36% (2,000B) 0x........: main (new-cpp.cpp:22)
--------------------------------------------------------------------------------
n time(B) total(B) useful-heap(B) extra-heap(B) stacks(B)
--------------------------------------------------------------------------------
- 6 16,040 8,024 8,000 24 0
- 7 20,048 4,016 4,000 16 0
- 8 22,056 2,008 2,000 8 0
- 9 24,064 0 0 0 0
+ 7 88,752 80,736 80,704 32 0
+ 8 92,760 76,728 76,704 24 0
+ 9 94,768 74,720 74,704 16 0
+ 10 96,776 72,712 72,704 8 0
=================================================
./valgrind-new/massif/tests/overloaded-new.post.diff
=================================================
--- overloaded-new.post.exp 2015-08-25 20:18:37.115214550 -0500
+++ overloaded-new.post.out 2015-08-25 20:47:56.238543727 -0500
@@ -6,54 +6,60 @@
KB
-11.75^ ###########
- | #
- | #
- | #
- | :::::::#
- | : #
- | : #
- | ::::::: # ::::::::::::
- | : : # :
- | : : # :
- | : : # :
- | : : # :
- | : : # :
- | : : # :
- | ::::::::::::: : # : ::::::
- | : : : # : :
- | : : : # : :
- | : : : # : : ::::::
- | : : : # : : :
- | : : : # : : :
+82.76^ ###
+ | :::# :::
+ | ::::: # : :
+ | :::: :: # : :::
+ | : : :: # : :::
+ | : : :: # : :::
+ | : : :: # : :::
+ | : : :: # : :::
+ | : : :: # : :::
+ | : : :: # : :::
+ | : : :: # : :::
+ | : : :: # : :::
+ | : : :: # : :::
+ | : : :: # : :::
+ | : : :: # : :::
+ | : : :: # : :::
+ | : : :: # : :::
+ | : : :: # : :::
+ | : : :: # : :::
+ | : : :: # : :::
0 +----------------------------------------------------------------------->KB
- 0 23.50
+ 0 94.51
-Number of snapshots: 10
- Detailed snapshots: [5 (peak)]
+Number of snapshots: 11
+ Detailed snapshots: [6 (peak)]
--------------------------------------------------------------------------------
n time(B) total(B) useful-heap(B) extra-heap(B) stacks(B)
--------------------------------------------------------------------------------
0 0 0 0 0 0
- 1 4,008 4,008 4,000 8 0
- 2 8,016 8,016 8,000 16 0
- 3 10,024 10,024 10,000 24 0
- 4 12,032 12,032 12,000 32 0
- 5 12,032 12,032 12,000 32 0
-99.73% (12,000B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
-->33.24% (4,000B) 0x........: main (overloaded-new.cpp:49)
+ 1 72,712 72,712 72,704 8 0
+ 2 76,720 76,720 76,704 16 0
+ 3 80,728 80,728 80,704 24 0
+ 4 82,736 82,736 82,704 32 0
+ 5 84,744 84,744 84,704 40 0
+ 6 84,744 84,744 84,704 40 0
+99.95% (84,704B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
+->85.79% (72,704B) 0x........: ??? (in /usr/lib64/libstdc++.so.6.0.21)
+| ->85.79% (72,704B) 0x........: call_init.part.0 (dl-init.c:72)
+| ->85.79% (72,704B) 0x........: _dl_init (dl-init.c:30)
+| ->85.79% (72,704B) 0x........: ??? (in /lib64/ld-2.21.so)
+|
+->04.72% (4,000B) 0x........: main (overloaded-new.cpp:49)
|
-->33.24% (4,000B) 0x........: main (overloaded-new.cpp:50)
+->04.72% (4,000B) 0x........: main (overloaded-new.cpp:50)
|
-->16.62% (2,000B) 0x........: main (overloaded-new.cpp:51)
+->02.36% (2,000B) 0x........: main (overloaded-new.cpp:51)
|
-->16.62% (2,000B) 0x........: main (overloaded-new.cpp:52)
+->02.36% (2,000B) 0x........: main (overloaded-new.cpp:52)
--------------------------------------------------------------------------------
n time(B) total(B) useful-heap(B) extra-heap(B) stacks(B)
--------------------------------------------------------------------------------
- 6 16,040 8,024 8,000 24 0
- 7 20,048 4,016 4,000 16 0
- 8 22,056 2,008 2,000 8 0
- 9 24,064 0 0 0 0
+ 7 88,752 80,736 80,704 32 0
+ 8 92,760 76,728 76,704 24 0
+ 9 94,768 74,720 74,704 16 0
+ 10 96,776 72,712 72,704 8 0
=================================================
./valgrind-new/massif/tests/overloaded-new.post.diff-mips32
=================================================
--- overloaded-new.post.exp-mips32 2015-08-25 20:18:37.157214994 -0500
+++ overloaded-new.post.out 2015-08-25 20:47:56.238543727 -0500
@@ -6,58 +6,60 @@
KB
-11.75^ ###########
- | #
- | #
- | #
- | :::::::#
- | : #
- | : #
- | ::::::: # ::::::::::::
- | : : # :
- | : : # :
- | : : # :
- | : : # :
- | : : # :
- | : : # :
- | ::::::::::::: : # : ::::::
- | : : : # : :
- | : : : # : :
- | : : : # : : ::::::
- | : : : # : : :
- | : : : # : : :
+82.76^ ###
+ | :::# :::
+ | ::::: # : :
+ | :::: :: # : :::
+ | : : :: # : :::
+ | : : :: # : :::
+ | : : :: # : :::
+ | : : :: # : :::
+ | : : :: # : :::
+ | : : :: # : :::
+ | : : :: # : :::
+ | : : :: # : :::
+ | : : :: # : :::
+ | : : :: # : :::
+ | : : :: # : :::
+ | : : :: # : :::
+ | : : :: # : :::
+ | : : :: # : :::
+ | : : :: # : :::
+ | : : :: # : :::
0 +----------------------------------------------------------------------->KB
- 0 23.50
+ 0 94.51
-Number of snapshots: 10
- Detailed snapshots: [5 (peak)]
+Number of snapshots: 11
+ Detailed snapshots: [6 (peak)]
--------------------------------------------------------------------------------
n time(B) total(B) useful-heap(B) extra-heap(B) stacks(B)
--------------------------------------------------------------------------------
0 0 0 0 0 0
- 1 4,008 4,008 4,000 8 0
- 2 8,016 8,016 8,000 16 0
- 3 10,024 10,024 10,000 24 0
- 4 12,032 12,032 12,000 32 0
- 5 12,032 12,032 12,000 32 0
-99.73% (12,000B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
-->33.24% (4,000B) 0x........: operator new(unsigned int) (overloaded-new.cpp:19)
-| ->33.24% (4,000B) 0x........: main (overloaded-new.cpp:49)
-|
-->33.24% (4,000B) 0x........: operator new(unsigned int, std::nothrow_t const&) (overloaded-new.cpp:24)
-| ->33.24% (4,000B) 0x........: main (overloaded-new.cpp:50)
-|
-->16.62% (2,000B) 0x........: operator new[](unsigned int) (overloaded-new.cpp:29)
-| ->16.62% (2,000B) 0x........: main (overloaded-new.cpp:51)
-|
-->16.62% (2,000B) 0x........: operator new[](unsigned int, std::nothrow_t const&) (overloaded-new.cpp:34)
- ->16.62% (2,000B) 0x........: main (overloaded-new.cpp:52)
-
+ 1 72,712 72,712 72,704 8 0
+ 2 76,720 76,720 76,704 16 0
+ 3 80,728 80,728 80,704 24 0
+ 4 82,736 82,736 82,704 32 0
+ 5 84,744 84,744 84,704 40 0
+ 6 84,744 84,744 84,704 40 0
+99.95% (84,704B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
+->85.79% (72,704B) 0x........: ??? (in /usr/lib64/libstdc++.so.6.0.21)
+| ->85.79% (72,704B) 0x........: call_init.part.0 (dl-init.c:72)
+| ->85.79% (72,704B) 0x........: _dl_init (dl-init.c:30)
+| ->85.79% (72,704B) 0x........: ??? (in /lib64/ld-2.21.so)
+|
+->04.72% (4,000B) 0x........: main (overloaded-new.cpp:49)
+|
+->04.72% (4,000B) 0x........: main (overloaded-new.cpp:50)
+|
+->02.36% (2,000B) 0x........: main (overloaded-new.cpp:51)
+|
+->02.36% (2,000B) 0x........: main (overloaded-new.cpp:52)
+
--------------------------------------------------------------------------------
n time(B) total(B) useful-heap(B) extra-heap(B) stacks(B)
--------------------------------------------------------------------------------
<truncated beyond 100 lines>
=================================================
./valgrind-new/memcheck/tests/leak_cpp_interior.stderr.diff
=================================================
--- leak_cpp_interior.stderr.exp 2015-08-25 20:18:34.997192156 -0500
+++ leak_cpp_interior.stderr.out 2015-08-25 20:38:42.209799771 -0500
@@ -1,118 +1,112 @@
valgrind output will go to log
VALGRIND_DO_LEAK_CHECK
-4 bytes in 1 blocks are definitely lost in loss record ... of ...
+8 bytes in 1 blocks are definitely lost in loss record ... of ...
by 0x........: doit() (leak_cpp_interior.cpp:115)
by 0x........: main (leak_cpp_interior.cpp:130)
LEAK SUMMARY:
- definitely lost: 4 bytes in 1 blocks
+ definitely lost: 8 bytes in 1 blocks
indirectly lost: 0 bytes in 0 blocks
possibly lost: 0 bytes in 0 blocks
- still reachable: 163 bytes in 8 blocks
+ still reachable: 72,894 bytes in 8 blocks
of which reachable via heuristic:
- stdstring : 56 bytes in 2 blocks
length64 : 31 bytes in 1 blocks
- newarray : 28 bytes in 1 blocks
- multipleinheritance: 24 bytes in 2 blocks
+ newarray : 32 bytes in 1 blocks
+ multipleinheritance: 48 bytes in 2 blocks
suppressed: 0 bytes in 0 blocks
Reachable blocks (those to which a pointer was found) are not shown.
To see them, rerun with: --leak-check=full --show-leak-kinds=all
leak_check summary heuristics multipleinheritance
LEAK SUMMARY:
- definitely lost: 4 (+0) bytes in 1 (+0) blocks
+ definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
- possibly lost: 115 (+115) bytes in 4 (+4) blocks
- still reachable: 48 (-115) bytes in 4 (-4) blocks
+ possibly lost: 63 (+63) bytes in 2 (+2) blocks
+ still reachable: 72,831 (-63) bytes in 6 (-2) blocks
of which reachable via heuristic:
- stdstring : 0 (-56) bytes in 0 (-2) blocks
length64 : 0 (-31) bytes in 0 (-1) blocks
- newarray : 0 (-28) bytes in 0 (-1) blocks
- multipleinheritance: 24 (+0) bytes in 2 (...
[truncated message content] |