|
From: Rich C. <rc...@wi...> - 2016-08-26 23:32:26
|
valgrind revision: 15940
VEX revision: 3246
C compiler: gcc (SUSE Linux) 6.1.1 20160815 [gcc-6-branch revision 239479]
GDB: GNU gdb (GDB; openSUSE Tumbleweed) 7.11.1
Assembler: GNU assembler (GNU Binutils; openSUSE Tumbleweed) 2.26.1
C library: GNU C Library (GNU libc) stable release version 2.23 (git 10ed3a0ffbb4)
uname -mrs: Linux 4.7.1-1-default x86_64
Vendor version: openSUSE Tumbleweed
Nightly build on rodan ( Linux 4.7.1-1-default x86_64 )
Started at 2016-08-26 14:48:31 CDT
Ended at 2016-08-26 18:12:59 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
== 649 tests, 11 stderr failures, 3 stdout failures, 0 stderrB failures, 1 stdoutB failure, 2 post failures ==
gdbserver_tests/hgtls (stdoutB)
gdbserver_tests/mcmain_pic (stderr)
memcheck/tests/leak_cpp_interior (stderr)
massif/tests/new-cpp (post)
massif/tests/overloaded-new (post)
helgrind/tests/bar_bad (stderr)
drd/tests/bar_bad (stderr)
drd/tests/bar_bad_xml (stderr)
exp-sgcheck/tests/bad_percentify (stderr)
exp-sgcheck/tests/globalerr (stderr)
exp-sgcheck/tests/hackedbz2 (stdout)
exp-sgcheck/tests/hackedbz2 (stderr)
exp-sgcheck/tests/hsg (stdout)
exp-sgcheck/tests/hsg (stderr)
exp-sgcheck/tests/preen_invars (stdout)
exp-sgcheck/tests/preen_invars (stderr)
exp-sgcheck/tests/stackerr (stderr)
Last 20 lines of verbose log follow echo
gdbserver_tests/mcmain_pic (stderr)
memcheck/tests/leak_cpp_interior (stderr)
massif/tests/new-cpp (post)
massif/tests/overloaded-new (post)
helgrind/tests/bar_bad (stderr)
drd/tests/bar_bad (stderr)
drd/tests/bar_bad_xml (stderr)
exp-sgcheck/tests/bad_percentify (stderr)
exp-sgcheck/tests/globalerr (stderr)
exp-sgcheck/tests/hackedbz2 (stdout)
exp-sgcheck/tests/hackedbz2 (stderr)
exp-sgcheck/tests/hsg (stdout)
exp-sgcheck/tests/hsg (stderr)
exp-sgcheck/tests/preen_invars (stdout)
exp-sgcheck/tests/preen_invars (stderr)
exp-sgcheck/tests/stackerr (stderr)
...checking makefile consistency
...checking header files and include directives
make: *** [Makefile:1338: 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.17s no: 2.3s (13.6x, -----) me: 4.5s (26.4x, -----) ca:20.6s (121.2x, -----) he: 3.0s (17.4x, -----) ca: 5.7s (33.7x, -----) dr: 2.9s (16.9x, -----) ma: 2.8s (16.2x, -----)
bigcode1 valgrind-old:0.17s no: 2.3s (13.6x, 0.0%) me: 4.5s (26.3x, 0.2%) ca:20.6s (121.5x, -0.2%) he: 3.0s (17.5x, -0.7%) ca: 5.7s (33.7x, 0.0%) dr: 2.9s (17.1x, -1.0%) ma: 2.8s (16.2x, -0.4%)
-- bigcode2 --
bigcode2 valgrind-new:0.17s no: 5.3s (31.3x, -----) me:10.5s (61.6x, -----) ca:38.7s (227.6x, -----) he: 6.8s (40.1x, -----) ca: 9.7s (56.9x, -----) dr: 6.4s (37.8x, -----) ma: 6.2s (36.2x, -----)
bigcode2 valgrind-old:0.17s no: 5.3s (31.3x, 0.0%) me:10.5s (61.6x, 0.0%) ca:38.8s (228.4x, -0.3%) he: 6.8s (40.2x, -0.3%) ca: 9.7s (57.1x, -0.3%) dr: 6.4s (37.9x, -0.2%) ma: 6.2s (36.2x, 0.0%)
-- bz2 --
bz2 valgrind-new:0.98s no: 2.9s ( 2.9x, -----) me: 8.2s ( 8.4x, -----) ca:23.4s (23.8x, -----) he:13.4s (13.7x, -----) ca:15.8s (16.1x, -----) dr:18.3s (18.7x, -----) ma: 2.8s ( 2.8x, -----)
bz2 valgrind-old:0.98s no: 2.9s ( 3.0x, -0.7%) me: 8.2s ( 8.4x, 0.1%) ca:23.4s (23.8x, 0.0%) he:13.4s (13.7x, 0.0%) ca:15.8s (16.1x, -0.1%) dr:18.3s (18.7x, 0.0%) ma: 2.8s ( 2.8x, 0.0%)
-- fbench --
fbench valgrind-new:0.46s no: 1.7s ( 3.7x, -----) me: 5.8s (12.6x, -----) ca: 9.1s (19.8x, -----) he: 5.1s (11.1x, -----) ca: 5.0s (10.9x, -----) dr: 4.6s (10.0x, -----) ma: 1.8s ( 4.0x, -----)
fbench valgrind-old:0.46s no: 1.7s ( 3.8x, -1.2%) me: 5.8s (12.6x, 0.2%) ca: 9.1s (19.7x, 0.1%) he: 5.1s (11.1x, 0.0%) ca: 5.0s (10.9x, 0.0%) dr: 4.6s (10.0x, 0.0%) ma: 1.8s ( 4.0x, -0.5%)
-- ffbench --
ffbench valgrind-new:0.32s no: 1.2s ( 3.7x, -----) me: 4.3s (13.3x, -----) ca: 2.7s ( 8.5x, -----) he: 7.1s (22.1x, -----) ca: 6.2s (19.2x, -----) dr: 5.4s (17.0x, -----) ma: 1.2s ( 3.7x, -----)
ffbench valgrind-old:0.32s no: 1.2s ( 3.7x, 0.8%) me: 4.3s (13.4x, -0.2%) ca: 2.7s ( 8.5x, 0.4%) he: 7.0s (22.0x, 0.3%) ca: 6.1s (19.2x, 0.3%) dr: 5.4s (17.0x, 0.0%) ma: 1.2s ( 3.7x, 0.8%)
-- heap --
heap valgrind-new:0.15s no: 1.1s ( 7.3x, -----) me: 7.5s (50.1x, -----) ca:11.4s (76.1x, -----) he:10.9s (72.9x, -----) ca: 4.9s (32.9x, -----) dr: 6.5s (43.5x, -----) ma: 7.3s (48.4x, -----)
heap valgrind-old:0.15s no: 1.1s ( 7.2x, 0.9%) me: 7.6s (50.5x, -0.9%) ca:11.4s (76.3x, -0.2%) he:10.9s (72.8x, 0.1%) ca: 4.9s (32.8x, 0.2%) dr: 6.5s (43.6x, -0.3%) ma: 7.1s (47.6x, 1.7%)
-- heap_pdb4 --
heap_pdb4 valgrind-new:0.17s no: 1.2s ( 6.9x, -----) me:13.2s (77.6x, -----) ca:12.4s (73.1x, -----) he:12.4s (73.1x, -----) ca: 5.8s (33.8x, -----) dr: 7.4s (43.4x, -----) ma: 7.8s (45.6x, -----)
heap_pdb4 valgrind-old:0.17s no: 1.2s ( 6.9x, 0.0%) me:13.1s (77.1x, 0.7%) ca:12.4s (73.1x, 0.0%) he:12.4s (73.1x, 0.0%) ca: 5.7s (33.8x, 0.2%) dr: 7.4s (43.4x, 0.0%) ma: 7.7s (45.1x, 1.3%)
-- many-loss-records --
many-loss-records valgrind-new:0.02s no: 0.4s (19.0x, -----) me: 2.1s (104.5x, -----) ca: 1.7s (86.0x, -----) he: 1.9s (95.0x, -----) ca: 1.0s (51.5x, -----) dr: 1.6s (81.5x, -----) ma: 1.5s (75.0x, -----)
many-loss-records valgrind-old:0.02s no: 0.4s (19.5x, -2.6%) me: 2.1s (104.5x, 0.0%) ca: 1.7s (85.5x, 0.6%) he: 1.9s (95.5x, -0.5%) ca: 1.0s (52.0x, -1.0%) dr: 1.6s (82.5x, -1.2%) ma: 1.5s (74.5x, 0.7%)
-- many-xpts --
many-xpts valgrind-new:0.06s no: 0.5s ( 7.7x, -----) me: 2.8s (46.8x, -----) ca: 4.5s (75.0x, -----) he: 3.2s (53.5x, -----) ca: 1.4s (23.3x, -----) dr: 2.2s (36.2x, -----) ma: 2.1s (35.3x, -----)
many-xpts valgrind-old:0.06s no: 0.5s ( 7.5x, 2.2%) me: 2.8s (47.3x, -1.1%) ca: 4.5s (74.5x, 0.7%) he: 3.2s (53.7x, -0.3%) ca: 1.4s (23.5x, -0.7%) dr: 2.2s (36.0x, 0.5%) ma: 2.1s (35.8x, -1.4%)
-- memrw --
memrw valgrind-new:0.10s no: 0.7s ( 7.4x, -----) me: 1.8s (18.3x, -----) ca: 4.1s (41.0x, -----) he: 6.9s (68.9x, -----) ca: 3.0s (29.7x, -----) dr: 2.0s (19.8x, -----) ma: 0.8s ( 7.9x, -----)
memrw valgrind-old:0.10s no: 0.7s ( 7.4x, 0.0%) me: 1.8s (18.3x, 0.0%) ca: 4.1s (40.8x, 0.5%) he: 6.9s (68.8x, 0.1%) ca: 3.0s (29.6x, 0.3%) dr: 2.0s (19.8x, 0.0%) ma: 0.8s ( 7.8x, 1.3%)
-- sarp --
sarp valgrind-new:0.04s no: 0.4s (11.0x, -----) me: 3.2s (81.0x, -----) ca: 2.7s (67.0x, -----) he: 7.8s (195.0x, -----) ca: 1.3s (33.5x, -----) dr: 1.4s (36.2x, -----) ma: 0.5s (12.5x, -----)
sarp valgrind-old:0.04s no: 0.5s (11.2x, -2.3%) me: 3.2s (81.0x, 0.0%) ca: 2.7s (67.2x, -0.4%) he: 7.8s (194.5x, 0.3%) ca: 1.3s (33.2x, 0.7%) dr: 1.4s (35.8x, 1.4%) ma: 0.5s (12.5x, 0.0%)
-- tinycc --
tinycc valgrind-new:0.23s no: 2.4s (10.6x, -----) me:11.9s (51.7x, -----) ca:15.5s (67.6x, -----) he:15.2s (66.0x, -----) ca:11.8s (51.4x, -----) dr:12.3s (53.3x, -----) ma: 3.8s (16.6x, -----)
tinycc valgrind-old:0.23s no: 2.4s (10.6x, 0.4%) me:11.9s (51.7x, 0.2%) ca:15.5s (67.5x, 0.1%) he:15.2s (66.1x, -0.1%) ca:11.8s (51.4x, 0.0%) dr:12.3s (53.3x, 0.0%) ma: 3.9s (16.9x, -1.8%)
-- Finished tests in perf ----------------------------------------------
== 12 programs, 168 timings =================
real 52m48.495s
user 52m3.136s
sys 0m36.276s
=================================================
./valgrind-new/drd/tests/bar_bad.stderr.diff
=================================================
--- bar_bad.stderr.exp 2016-08-26 16:48:50.261893259 -0500
+++ bar_bad.stderr.out 2016-08-26 17:11:40.625417079 -0500
@@ -25,25 +25,12 @@
destroy a barrier that has waiting threads
-Destruction of a barrier with active waiters: barrier 0x........
- at 0x........: pthread_barrier_destroy (drd_pthread_intercepts.c:?)
- by 0x........: main (bar_bad.c:?)
-barrier 0x........ was first observed at:
- at 0x........: pthread_barrier_init (drd_pthread_intercepts.c:?)
- by 0x........: main (bar_bad.c:?)
-
-destroy a barrier that was never initialised
-Not a barrier
- at 0x........: pthread_barrier_destroy (drd_pthread_intercepts.c:?)
+Process terminating with default action of signal 15 (SIGTERM)
+ at 0x........: futex_wait (futex-internal.h:61)
+ by 0x........: futex_wait_simple (futex-internal.h:135)
+ by 0x........: pthread_barrier_destroy (pthread_barrier_destroy.c:?)
+ by 0x........: pthread_barrier_destroy (drd_pthread_intercepts.c:?)
by 0x........: main (bar_bad.c:?)
-Destruction of barrier that is being waited upon: barrier 0x........
- at 0x........: free (vg_replace_malloc.c:...)
- by 0x........: main (bar_bad.c:?)
-barrier 0x........ was first observed at:
- at 0x........: pthread_barrier_init (drd_pthread_intercepts.c:?)
- by 0x........: main (bar_bad.c:?)
-
-
-ERROR SUMMARY: 7 errors from 6 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/drd/tests/bar_bad_xml.stderr.diff
=================================================
--- bar_bad_xml.stderr.exp 2016-08-26 16:48:50.281893835 -0500
+++ bar_bad_xml.stderr.out 2016-08-26 17:11:52.997778180 -0500
@@ -155,161 +155,3 @@
destroy a barrier that has waiting threads
-<error>
- <unique>0x........</unique>
- <tid>...</tid>
- <kind>BarrierErr</kind>
- <what>Destruction of a barrier with active waiters: barrier 0x........</what>
- <stack>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>pthread_barrier_destroy</fn>
- <dir>...</dir>
- <file>drd_pthread_intercepts.c</file>
- <line>...</line>
- </frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>main</fn>
- <dir>...</dir>
- <file>bar_bad.c</file>
- <line>...</line>
- </frame>
- </stack>
- <first_observed_at>
- <what>barrier</what>
- <address>0x........</address>
- <stack>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>pthread_barrier_init</fn>
- <dir>...</dir>
- <file>drd_pthread_intercepts.c</file>
- <line>...</line>
- </frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>main</fn>
- <dir>...</dir>
- <file>bar_bad.c</file>
- <line>...</line>
- </frame>
- </stack>
- </first_observed_at>
-</error>
-
-
-destroy a barrier that was never initialised
-<error>
- <unique>0x........</unique>
- <tid>...</tid>
- <kind>GenericErr</kind>
- <what>Not a barrier</what>
- <stack>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>pthread_barrier_destroy</fn>
- <dir>...</dir>
- <file>drd_pthread_intercepts.c</file>
- <line>...</line>
- </frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>main</fn>
- <dir>...</dir>
- <file>bar_bad.c</file>
- <line>...</line>
- </frame>
- </stack>
-</error>
-
-<error>
- <unique>0x........</unique>
- <tid>...</tid>
- <kind>BarrierErr</kind>
- <what>Destruction of barrier that is being waited upon: barrier 0x........</what>
- <stack>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>free</fn>
- <dir>...</dir>
- <file>vg_replace_malloc.c</file>
- <line>...</line>
- </frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>main</fn>
- <dir>...</dir>
- <file>bar_bad.c</file>
<truncated beyond 100 lines>
=================================================
./valgrind-new/exp-sgcheck/tests/bad_percentify.stderr.diff-glibc28-amd64
=================================================
--- bad_percentify.stderr.exp-glibc28-amd64 2016-08-26 16:48:46.653789484 -0500
+++ bad_percentify.stderr.out 2016-08-26 17:19:17.566745695 -0500
@@ -27,4 +27,44 @@
Actual: is 0 after Expected
-ERROR SUMMARY: 6 errors from 2 contexts (suppressed: 0 from 0)
+exp-sgcheck: sg_main.c:559 (add_blocks_to_StackTree): Assertion '!already_present' failed.
+
+host stacktrace:
+ at 0x........: show_sched_status_wrk (m_libcassert.c:343)
+ by 0x........: report_and_quit (m_libcassert.c:419)
+ by 0x........: vgPlain_assert_fail (m_libcassert.c:485)
+ by 0x........: add_blocks_to_StackTree (sg_main.c:559)
+ by 0x........: shadowStack_new_frame.isra.22 (sg_main.c:1883)
+ by 0x........: ???
+ by 0x........: ???
+ by 0x........: ???
+ by 0x........: _dl_sort_fini (dl-fini.c:40)
+ by 0x........: ???
+ by 0x........: ???
+ by 0x........: ??? (in /tmp/vgdb-pipe-shared-mem-vgdb-25820-by-rcoe-on-rodan)
+ by 0x........: ???
+ by 0x........: ???
+
+sched status:
+ running_tid=1
+
+Thread 1: status = VgTs_Runnable (lwpid 25820)
+ at 0x........: _dl_sort_fini (dl-fini.c:120)
+ by 0x........: _dl_fini (dl-fini.c:192)
+ by 0x........: __run_exit_handlers (exit.c:82)
+ by 0x........: exit (exit.c:104)
+ by 0x........: (below main)
+
+
+Note: see also the FAQ in the source distribution.
+It contains workarounds to several common problems.
+In particular, if Valgrind aborted or crashed after
+identifying problems in your program, there's a good chance
+that fixing those problems will prevent Valgrind aborting or
+crashing, especially if it happened in m_mallocfree.c.
+
+If that doesn't help, please report this bug to: www.valgrind.org
+
+In the bug report, send all the above text, the valgrind
+version, and what OS and version you are using. Thanks.
+
=================================================
./valgrind-new/exp-sgcheck/tests/globalerr.stderr.diff-gcc491-amd64
=================================================
--- globalerr.stderr.exp-gcc491-amd64 2016-08-26 16:48:46.653789484 -0500
+++ globalerr.stderr.out 2016-08-26 17:19:24.366943935 -0500
@@ -10,8 +10,48 @@
at 0x........: main (globalerr.c:12)
Address 0x........ expected vs actual:
Expected: global array "b" of size 14 in object with soname "NONE"
- Actual: global array "a" of size 14 in object with soname "NONE"
+ Actual: unknown
Actual: is 0 after Expected
-ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
+exp-sgcheck: sg_main.c:559 (add_blocks_to_StackTree): Assertion '!already_present' failed.
+
+host stacktrace:
+ at 0x........: show_sched_status_wrk (m_libcassert.c:343)
+ by 0x........: report_and_quit (m_libcassert.c:419)
+ by 0x........: vgPlain_assert_fail (m_libcassert.c:485)
+ by 0x........: add_blocks_to_StackTree (sg_main.c:559)
+ by 0x........: shadowStack_new_frame.isra.22 (sg_main.c:1883)
+ by 0x........: ???
+ by 0x........: ???
+ by 0x........: ???
+ by 0x........: _dl_sort_fini (dl-fini.c:40)
+ by 0x........: ???
+ by 0x........: ???
+ by 0x........: ??? (in /tmp/vgdb-pipe-shared-mem-vgdb-25864-by-rcoe-on-rodan)
+ by 0x........: ???
+ by 0x........: ???
+
+sched status:
+ running_tid=1
+
+Thread 1: status = VgTs_Runnable (lwpid 25864)
+ at 0x........: _dl_sort_fini (dl-fini.c:120)
+ by 0x........: _dl_fini (dl-fini.c:192)
+ by 0x........: __run_exit_handlers (exit.c:82)
+ by 0x........: exit (exit.c:104)
+ by 0x........: (below main)
+
+
+Note: see also the FAQ in the source distribution.
+It contains workarounds to several common problems.
+In particular, if Valgrind aborted or crashed after
+identifying problems in your program, there's a good chance
+that fixing those problems will prevent Valgrind aborting or
+crashing, especially if it happened in m_mallocfree.c.
+
+If that doesn't help, please report this bug to: www.valgrind.org
+
+In the bug report, send all the above text, the valgrind
+version, and what OS and version you are using. Thanks.
+
=================================================
./valgrind-new/exp-sgcheck/tests/globalerr.stderr.diff-glibc28-amd64
=================================================
--- globalerr.stderr.exp-glibc28-amd64 2016-08-26 16:48:46.653789484 -0500
+++ globalerr.stderr.out 2016-08-26 17:19:24.366943935 -0500
@@ -14,4 +14,44 @@
Actual: is 0 after Expected
-ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
+exp-sgcheck: sg_main.c:559 (add_blocks_to_StackTree): Assertion '!already_present' failed.
+
+host stacktrace:
+ at 0x........: show_sched_status_wrk (m_libcassert.c:343)
+ by 0x........: report_and_quit (m_libcassert.c:419)
+ by 0x........: vgPlain_assert_fail (m_libcassert.c:485)
+ by 0x........: add_blocks_to_StackTree (sg_main.c:559)
+ by 0x........: shadowStack_new_frame.isra.22 (sg_main.c:1883)
+ by 0x........: ???
+ by 0x........: ???
+ by 0x........: ???
+ by 0x........: _dl_sort_fini (dl-fini.c:40)
+ by 0x........: ???
+ by 0x........: ???
+ by 0x........: ??? (in /tmp/vgdb-pipe-shared-mem-vgdb-25864-by-rcoe-on-rodan)
+ by 0x........: ???
+ by 0x........: ???
+
+sched status:
+ running_tid=1
+
+Thread 1: status = VgTs_Runnable (lwpid 25864)
+ at 0x........: _dl_sort_fini (dl-fini.c:120)
+ by 0x........: _dl_fini (dl-fini.c:192)
+ by 0x........: __run_exit_handlers (exit.c:82)
+ by 0x........: exit (exit.c:104)
+ by 0x........: (below main)
+
+
+Note: see also the FAQ in the source distribution.
+It contains workarounds to several common problems.
+In particular, if Valgrind aborted or crashed after
+identifying problems in your program, there's a good chance
+that fixing those problems will prevent Valgrind aborting or
+crashing, especially if it happened in m_mallocfree.c.
+
+If that doesn't help, please report this bug to: www.valgrind.org
+
+In the bug report, send all the above text, the valgrind
+version, and what OS and version you are using. Thanks.
+
=================================================
./valgrind-new/exp-sgcheck/tests/hackedbz2.stderr.diff-glibc28-amd64
=================================================
--- hackedbz2.stderr.exp-glibc28-amd64 2016-08-26 16:48:46.653789484 -0500
+++ hackedbz2.stderr.out 2016-08-26 17:19:34.755246770 -0500
@@ -14,4 +14,45 @@
Actual: is 0 after Expected
-ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
+exp-sgcheck: sg_main.c:559 (add_blocks_to_StackTree): Assertion '!already_present' failed.
+
+host stacktrace:
+ at 0x........: show_sched_status_wrk (m_libcassert.c:343)
+ by 0x........: report_and_quit (m_libcassert.c:419)
+ by 0x........: vgPlain_assert_fail (m_libcassert.c:485)
+ by 0x........: add_blocks_to_StackTree (sg_main.c:559)
+ by 0x........: shadowStack_new_frame.isra.22 (sg_main.c:1883)
+ by 0x........: ???
+ by 0x........: ???
+ by 0x........: ???
+ by 0x........: _dl_sort_fini (dl-fini.c:40)
+ by 0x........: ???
+ by 0x........: ???
+ by 0x........: ??? (in /tmp/vgdb-pipe-shared-mem-vgdb-25909-by-rcoe-on-rodan)
+ by 0x........: ???
+ by 0x........: ???
+
+sched status:
+ running_tid=1
+
+Thread 1: status = VgTs_Runnable (lwpid 25909)
+ at 0x........: _dl_sort_fini (dl-fini.c:120)
+ by 0x........: _dl_fini (dl-fini.c:192)
+ by 0x........: __run_exit_handlers (exit.c:82)
+ by 0x........: exit (exit.c:104)
+ by 0x........: g_serviceFn (hackedbz2.c:6431)
+ by 0x........: main (hackedbz2.c:6534)
+
+
+Note: see also the FAQ in the source distribution.
+It contains workarounds to several common problems.
+In particular, if Valgrind aborted or crashed after
+identifying problems in your program, there's a good chance
+that fixing those problems will prevent Valgrind aborting or
+crashing, especially if it happened in m_mallocfree.c.
+
+If that doesn't help, please report this bug to: www.valgrind.org
+
+In the bug report, send all the above text, the valgrind
+version, and what OS and version you are using. Thanks.
+
=================================================
./valgrind-new/exp-sgcheck/tests/hackedbz2.stdout.diff
=================================================
--- hackedbz2.stdout.exp 2016-08-26 16:48:46.657789599 -0500
+++ hackedbz2.stdout.out 2016-08-26 17:19:24.386944518 -0500
@@ -1,70 +0,0 @@
-22323 bytes read
- block 1: crc = 0xA212ABF8, combined CRC = 0xA212ABF8, size = 22373
- too repetitive; using fallback sorting algorithm
- 22373 in block, 13504 after MTF & 1-2 coding, 79+2 syms in use
- pass 1: size is 17143, grp uses are 38 62 2 92 6 71
- pass 2: size is 6506, grp uses are 28 71 0 86 9 77
- pass 3: size is 6479, grp uses are 26 70 0 81 11 83
- pass 4: size is 6469, grp uses are 26 69 0 74 17 85
- bytes: mapping 19, selectors 66, code lengths 134, codes 6465
- final combined CRC = 0xA212ABF8
- 6710 after compression
-bit 0 -5 DATA_ERROR_MAGIC
-bit 1 -5 DATA_ERROR_MAGIC
-bit 2 -5 DATA_ERROR_MAGIC
-bit 3 -5 DATA_ERROR_MAGIC
-bit 4 -5 DATA_ERROR_MAGIC
-bit 5 -5 DATA_ERROR_MAGIC
-bit 6 -5 DATA_ERROR_MAGIC
-bit 7 -5 DATA_ERROR_MAGIC
-bit 8 -5 DATA_ERROR_MAGIC
-bit 9 -5 DATA_ERROR_MAGIC
-bit 10 -5 DATA_ERROR_MAGIC
-bit 11 -5 DATA_ERROR_MAGIC
-bit 12 -5 DATA_ERROR_MAGIC
-bit 13 -5 DATA_ERROR_MAGIC
-bit 14 -5 DATA_ERROR_MAGIC
-bit 15 -5 DATA_ERROR_MAGIC
-bit 16 -5 DATA_ERROR_MAGIC
-bit 17 -5 DATA_ERROR_MAGIC
-bit 18 -5 DATA_ERROR_MAGIC
-bit 19 -5 DATA_ERROR_MAGIC
-bit 20 -5 DATA_ERROR_MAGIC
-bit 21 -5 DATA_ERROR_MAGIC
-bit 22 -5 DATA_ERROR_MAGIC
-bit 23 -5 DATA_ERROR_MAGIC
-bit 24 0 OK really ok!
-bit 25 -5 DATA_ERROR_MAGIC
-bit 26 -5 DATA_ERROR_MAGIC
-bit 27 0 OK really ok!
-bit 28 -5 DATA_ERROR_MAGIC
-bit 29 -5 DATA_ERROR_MAGIC
-bit 30 -5 DATA_ERROR_MAGIC
-bit 31 -5 DATA_ERROR_MAGIC
-bit 32 -4 DATA_ERROR
-bit 33 -4 DATA_ERROR
-bit 34 -4 DATA_ERROR
-bit 35 -4 DATA_ERROR
-bit 2412 -4 DATA_ERROR
-bit 4789 -4 DATA_ERROR
-bit 7166 -4 DATA_ERROR
-bit 9543 -4 DATA_ERROR
-bit 11920 -4 DATA_ERROR
-bit 14297 -4 DATA_ERROR
-bit 16674 -4 DATA_ERROR
-bit 19051 -4 DATA_ERROR
-bit 21428 -4 DATA_ERROR
-bit 23805 -4 DATA_ERROR
-bit 26182 -4 DATA_ERROR
-bit 28559 -4 DATA_ERROR
-bit 30936 -4 DATA_ERROR
-bit 33313 -4 DATA_ERROR
-bit 35690 -4 DATA_ERROR
-bit 38067 -4 DATA_ERROR
-bit 40444 -4 DATA_ERROR
-bit 42821 -4 DATA_ERROR
-bit 45198 -4 DATA_ERROR
-bit 47575 -4 DATA_ERROR
-bit 49952 -4 DATA_ERROR
-bit 52329 -4 DATA_ERROR
-all ok
=================================================
./valgrind-new/exp-sgcheck/tests/hsg.stderr.diff
=================================================
--- hsg.stderr.exp 2016-08-26 16:48:46.657789599 -0500
+++ hsg.stderr.out 2016-08-26 17:19:41.583445819 -0500
@@ -93,24 +93,6 @@
<auxwhat>Actual: unknown</auxwhat>
</error>
-
-<status>
- <state>FINISHED</state>
- <time>...</time>
-</status>
-
-<errorcounts>
- <pair>
- <count>...</count>
- <unique>0x........</unique>
- </pair>
- <pair>
- <count>...</count>
- <unique>0x........</unique>
- </pair>
-</errorcounts>
-
-<suppcounts>...</suppcounts>
-
</valgrindoutput>
-
+ <stack>
+ </stack>
=================================================
./valgrind-new/exp-sgcheck/tests/hsg.stdout.diff
=================================================
--- hsg.stdout.exp 2016-08-26 16:48:46.657789599 -0500
+++ hsg.stdout.out 2016-08-26 17:19:34.775247354 -0500
@@ -1 +0,0 @@
-boringly as expected
=================================================
./valgrind-new/exp-sgcheck/tests/preen_invars.stderr.diff-glibc28-amd64
=================================================
--- preen_invars.stderr.exp-glibc28-amd64 2016-08-26 16:48:46.657789599 -0500
+++ preen_invars.stderr.out 2016-08-26 17:19:48.515647896 -0500
@@ -6,4 +6,45 @@
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)
+exp-sgcheck: sg_main.c:559 (add_blocks_to_StackTree): Assertion '!already_present' failed.
+
+host stacktrace:
+ at 0x........: show_sched_status_wrk (m_libcassert.c:343)
+ by 0x........: report_and_quit (m_libcassert.c:419)
+ by 0x........: vgPlain_assert_fail (m_libcassert.c:485)
+ by 0x........: add_blocks_to_StackTree (sg_main.c:559)
+ by 0x........: shadowStack_new_frame.isra.22 (sg_main.c:1883)
+ by 0x........: ???
+ by 0x........: ???
+ by 0x........: ???
+ by 0x........: _dl_sort_fini (dl-fini.c:40)
+ by 0x........: ???
+ by 0x........: ???
+ by 0x........: ??? (in /tmp/vgdb-pipe-shared-mem-vgdb-26011-by-rcoe-on-rodan)
+ by 0x........: ???
+ by 0x........: ???
+ by 0x........: ???
+
+sched status:
+ running_tid=1
+
+Thread 1: status = VgTs_Runnable (lwpid 26011)
+ at 0x........: _dl_sort_fini (dl-fini.c:120)
+ by 0x........: _dl_fini (dl-fini.c:192)
+ by 0x........: __run_exit_handlers (exit.c:82)
+ by 0x........: exit (exit.c:104)
+ by 0x........: (below main)
+
+
+Note: see also the FAQ in the source distribution.
+It contains workarounds to several common problems.
+In particular, if Valgrind aborted or crashed after
+identifying problems in your program, there's a good chance
+that fixing those problems will prevent Valgrind aborting or
+crashing, especially if it happened in m_mallocfree.c.
+
+If that doesn't help, please report this bug to: www.valgrind.org
+
+In the bug report, send all the above text, the valgrind
+version, and what OS and version you are using. Thanks.
+
=================================================
./valgrind-new/exp-sgcheck/tests/preen_invars.stdout.diff
=================================================
--- preen_invars.stdout.exp 2016-08-26 16:48:46.653789484 -0500
+++ preen_invars.stdout.out 2016-08-26 17:19:41.599446285 -0500
@@ -1 +0,0 @@
-foo bar 1
=================================================
./valgrind-new/exp-sgcheck/tests/stackerr.stderr.diff-glibc27-x86
=================================================
--- stackerr.stderr.exp-glibc27-x86 2016-08-26 16:48:46.653789484 -0500
+++ stackerr.stderr.out 2016-08-26 17:19:55.335846704 -0500
@@ -1,18 +1,18 @@
-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
@@ -21,8 +21,48 @@
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: unknown
Actual: is 0 after Expected
-ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
+exp-sgcheck: sg_main.c:559 (add_blocks_to_StackTree): Assertion '!already_present' failed.
+
+host stacktrace:
+ at 0x........: show_sched_status_wrk (m_libcassert.c:343)
+ by 0x........: report_and_quit (m_libcassert.c:419)
+ by 0x........: vgPlain_assert_fail (m_libcassert.c:485)
+ by 0x........: add_blocks_to_StackTree (sg_main.c:559)
+ by 0x........: shadowStack_new_frame.isra.22 (sg_main.c:1883)
+ by 0x........: ???
+ by 0x........: ???
+ by 0x........: ???
+ by 0x........: _dl_sort_fini (dl-fini.c:40)
+ by 0x........: ???
+ by 0x........: ???
+ by 0x........: ??? (in /tmp/vgdb-pipe-shared-mem-vgdb-26054-by-rcoe-on-rodan)
+ by 0x........: ???
+ by 0x........: ???
+
+sched status:
+ running_tid=1
+
+Thread 1: status = VgTs_Runnable (lwpid 26054)
+ at 0x........: _dl_sort_fini (dl-fini.c:120)
+ by 0x........: _dl_fini (dl-fini.c:192)
+ by 0x........: __run_exit_handlers (exit.c:82)
+ by 0x........: exit (exit.c:104)
+ by 0x........: (below main)
+
+
+Note: see also the FAQ in the source distribution.
+It contains workarounds to several common problems.
+In particular, if Valgrind aborted or crashed after
+identifying problems in your program, there's a good chance
+that fixing those problems will prevent Valgrind aborting or
+crashing, especially if it happened in m_mallocfree.c.
+
+If that doesn't help, please report this bug to: www.valgrind.org
+
+In the bug report, send all the above text, the valgrind
+version, and what OS and version you are using. Thanks.
+
=================================================
./valgrind-new/exp-sgcheck/tests/stackerr.stderr.diff-glibc28-amd64
=================================================
--- stackerr.stderr.exp-glibc28-amd64 2016-08-26 16:48:46.657789599 -0500
+++ stackerr.stderr.out 2016-08-26 17:19:55.335846704 -0500
@@ -25,4 +25,44 @@
Actual: is 0 after Expected
-ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
+exp-sgcheck: sg_main.c:559 (add_blocks_to_StackTree): Assertion '!already_present' failed.
+
+host stacktrace:
+ at 0x........: show_sched_status_wrk (m_libcassert.c:343)
+ by 0x........: report_and_quit (m_libcassert.c:419)
+ by 0x........: vgPlain_assert_fail (m_libcassert.c:485)
+ by 0x........: add_blocks_to_StackTree (sg_main.c:559)
+ by 0x........: shadowStack_new_frame.isra.22 (sg_main.c:1883)
+ by 0x........: ???
+ by 0x........: ???
+ by 0x........: ???
+ by 0x........: _dl_sort_fini (dl-fini.c:40)
+ by 0x........: ???
+ by 0x........: ???
+ by 0x........: ??? (in /tmp/vgdb-pipe-shared-mem-vgdb-26054-by-rcoe-on-rodan)
+ by 0x........: ???
+ by 0x........: ???
+
+sched status:
+ running_tid=1
+
+Thread 1: status = VgTs_Runnable (lwpid 26054)
+ at 0x........: _dl_sort_fini (dl-fini.c:120)
+ by 0x........: _dl_fini (dl-fini.c:192)
+ by 0x........: __run_exit_handlers (exit.c:82)
+ by 0x........: exit (exit.c:104)
+ by 0x........: (below main)
+
+
+Note: see also the FAQ in the source distribution.
+It contains workarounds to several common problems.
+In particular, if Valgrind aborted or crashed after
+identifying problems in your program, there's a good chance
+that fixing those problems will prevent Valgrind aborting or
+crashing, especially if it happened in m_mallocfree.c.
+
+If that doesn't help, please report this bug to: www.valgrind.org
+
+In the bug report, send all the above text, the valgrind
+version, and what OS and version you are using. Thanks.
+
=================================================
./valgrind-new/gdbserver_tests/hgtls.stdoutB.diff
=================================================
--- hgtls.stdoutB.exp 2016-08-26 16:48:44.989741623 -0500
+++ hgtls.stdoutB.out 2016-08-26 16:54:47.776174754 -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/gdbserver_tests/mcmain_pic.stderr.diff
=================================================
--- mcmain_pic.stderr.exp 2016-08-26 16:48:44.993741738 -0500
+++ mcmain_pic.stderr.out 2016-08-26 16:55:20.165106085 -0500
@@ -1,7 +1,7 @@
(action at startup) vgdb me ...
HEAP SUMMARY:
in use at exit: 16 bytes in 1 blocks
- total heap usage: 1 allocs, 0 frees, 16 bytes allocated
+ total heap usage: 2 allocs, 1 frees, 4,112 bytes allocated
For a detailed leak analysis, rerun with: --leak-check=full
For counts of detected and suppressed errors, rerun with: -v
ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/gdbserver_tests/mcmain_pic.stderr.diff-solaris
=================================================
--- mcmain_pic.stderr.exp-solaris 2016-08-26 16:48:45.001741968 -0500
+++ mcmain_pic.stderr.out 2016-08-26 16:55:20.165106085 -0500
@@ -1,7 +1,7 @@
(action at startup) vgdb me ...
HEAP SUMMARY:
- in use at exit: 131,080 bytes in 1 blocks
- total heap usage: 1 allocs, 0 frees, 131,080 bytes allocated
+ in use at exit: 16 bytes in 1 blocks
+ total heap usage: 2 allocs, 1 frees, 4,112 bytes allocated
For a detailed leak analysis, rerun with: --leak-check=full
For counts of detected and suppressed errors, rerun with: -v
ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/helgrind/tests/bar_bad.stderr.diff
=================================================
--- bar_bad.stderr.exp 2016-08-26 16:48:47.389810653 -0500
+++ bar_bad.stderr.out 2016-08-26 17:04:54.097606287 -0500
@@ -47,18 +47,3 @@
at 0x........: pthread_barrier_destroy (hg_intercepts.c:...)
by 0x........: main (bar_bad.c:69)
-----------------------------------------------------------------
-
-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:...)
- by 0x........: main (bar_bad.c:69)
-
-
-destroy a barrier that was never initialised
-----------------------------------------------------------------
-
-Thread #x: pthread_barrier_destroy: barrier was never initialised
- at 0x........: pthread_barrier_destroy (hg_intercepts.c:...)
- by 0x........: main (bar_bad.c:80)
-
=================================================
./valgrind-new/massif/tests/new-cpp.post.diff
=================================================
--- new-cpp.post.exp 2016-08-26 16:48:46.469784192 -0500
+++ new-cpp.post.out 2016-08-26 17:01:42.628102271 -0500
@@ -6,54 +6,61 @@
KB
-11.75^ ###########
- | #
- | #
- | #
- | :::::::#
- | : #
- | : #
- | ::::::: # ::::::::::::
- | : : # :
- | : : # :
- | : : # :
- | : : # :
- | : : # :
- | : : # :
- | ::::::::::::: : # : ::::::
- | : : : # : :
- | : : : # : :
- | : : : # : : ::::::
- | : : : # : : :
- | : : : # : : :
+82.76^ #
+ | ::#::
+ | ::::#: :
+ | ::: ::#: ::::::::::::::::::::::::::::::::
+ | : : ::#: :::
+ | : : ::#: :::
+ | : : ::#: :::
+ | : : ::#: :::
+ | : : ::#: :::
+ | : : ::#: :::
+ | : : ::#: :::
+ | : : ::#: :::
+ | : : ::#: :::
+ | : : ::#: :::
+ | : : ::#: :::
+ | : : ::#: :::
+ | : : ::#: :::
+ | : : ::#: :::
+ | : : ::#: :::
+ | : : ::#: :::
0 +----------------------------------------------------------------------->KB
- 0 23.50
+ 0 165.5
-Number of snapshots: 10
- Detailed snapshots: [5 (peak)]
+Number of snapshots: 12
+ 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.22)
+| ->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.23.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
<truncated beyond 100 lines>
=================================================
./valgrind-new/massif/tests/overloaded-new.post.diff
=================================================
--- overloaded-new.post.exp 2016-08-26 16:48:46.405782351 -0500
+++ overloaded-new.post.out 2016-08-26 17:01:44.360152064 -0500
@@ -6,54 +6,61 @@
KB
-11.75^ ###########
- | #
- | #
- | #
- | :::::::#
- | : #
- | : #
- | ::::::: # ::::::::::::
- | : : # :
- | : : # :
- | : : # :
- | : : # :
- | : : # :
- | : : # :
- | ::::::::::::: : # : ::::::
- | : : : # : :
- | : : : # : :
- | : : : # : : ::::::
- | : : : # : : :
- | : : : # : : :
+82.76^ #
+ | ::#::
+ | ::::#: :
+ | ::: ::#: ::::::::::::::::::::::::::::::::
+ | : : ::#: :::
+ | : : ::#: :::
+ | : : ::#: :::
+ | : : ::#: :::
+ | : : ::#: :::
+ | : : ::#: :::
+ | : : ::#: :::
+ | : : ::#: :::
+ | : : ::#: :::
+ | : : ::#: :::
+ | : : ::#: :::
+ | : : ::#: :::
+ | : : ::#: :::
+ | : : ::#: :::
+ | : : ::#: :::
+ | : : ::#: :::
0 +----------------------------------------------------------------------->KB
- 0 23.50
+ 0 165.5
-Number of snapshots: 10
- Detailed snapshots: [5 (peak)]
+Number of snapshots: 12
+ 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.22)
+| ->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.23.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
<truncated beyond 100 lines>
=================================================
./valgrind-new/massif/tests/overloaded-new.post.diff-mips32
=================================================
--- overloaded-new.post.exp-mips32 2016-08-26 16:48:46.469784192 -0500
+++ overloaded-new.post.out 2016-08-26 17:01:44.360152064 -0500
@@ -1,63 +1,66 @@
--------------------------------------------------------------------------------
Command: ./overloaded-new
-Massif arguments: --stacks=no --time-unit=B --massif-out-file=massif.out --ignore-fn=__part_load_locale --ignore-fn=__time_load_locale --ignore-fn=dwarf2_unwind_dyld_add_image_hook --ignore-fn=get_or_create_key_element
+Massif arguments: --stacks=no --time-unit=B --massif-out-file=massif.out --ignore-fn=__part_load_locale --ignore-fn=__time_load_locale --ignore-fn=dwarf2_unwind_dyld_add_image_hook --ignore-fn=get_or_create_key_element --ignore-fn=_GLOBAL__sub_I_eh_alloc.cc
ms_print arguments: massif.out
--------------------------------------------------------------------------------
KB
-11.75^ ###########
- | #
- | #
- | #
- | :::::::#
- | : #
- | : #
- | ::::::: # ::::::::::::
- | : : # :
- | : : # :
- | : : # :
- | : : # :
- | : : # :
- | : : # :
- | ::::::::::::: : # : ::::::
- | : : : # : :
- | : : : # : :
- | : : : # : : ::::::
- | : : : # : : :
- | : : : # : : :
+82.76^ #
+ | ::#::
+ | ::::#: :
+ | ::: ::#: ::::::::::::::::::::::::::::::::
+ | : : ::#: :::
+ | : : ::#: :::
+ | : : ::#: :::
+ | : : ::#: :::
+ | : : ::#: :::
+ | : : ::#: :::
+ | : : ::#: :::
+ | : : ::#: :::
+ | : : ::#: :::
+ | : : ::#: :::
+ | : : ::#: :::
+ | : : ::#: :::
+ | : : ::#: :::
+ | : : ::#: :::
+ | : : ::#: :::
+ | : : ::#: :::
0 +----------------------------------------------------------------------->KB
- 0 23.50
+ 0 165.5
-Number of snapshots: 10
- Detailed snapshots: [5 (peak)]
+Number of snapshots: 12
+ 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.22)
+| ->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.23.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)
<truncated beyond 100 lines>
=================================================
./valgrind-new/memcheck/tests/leak_cpp_interior.stderr.diff
=================================================
--- leak_cpp_interior.stderr.exp 2016-08-26 16:48:45.641760376 -0500
+++ leak_cpp_interior.stderr.out 2016-08-26 16:57:50.897440090 -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 (+0) blocks
+ newarray : 0 (-32) bytes in 0 (-1) blocks
+ multipleinheritance: 48 (+0) bytes in 2 (+0) blocks
suppressed: 0 (+0) bytes in 0 (+0) blocks
To see details of leaked memory, give 'full' arg to leak_check
leak_check summary any heuristics newarray
LEAK SUMMARY:
- definitely lost: 4 (+0) bytes in 1 (+0) blocks
+ definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
- possibly lost: 111 (-4) bytes in 5 (+1) blocks
- still reachable: 52 (+4) bytes in 3 (-1) blocks
+ possibly lost: 48 (-15) bytes in 2 (+0) blocks
+ still reachable: 72,846 (+15) bytes in 6 (+0) blocks
of which reachable via heuristic:
- newarray : 28 (+28) bytes in 1 (+1) blocks
- multipleinheritance: 0 (-24) bytes in 0 (-2) blocks
+ newarray : 63 (+63) bytes in 2 (+2) blocks
+ multipleinheritance: 0 (-48) bytes in 0 (-2) blocks
suppressed: 0 (+0) bytes in 0 (+0) blocks
To see details of leaked memory, give 'full' arg to leak_check
leak_check summary heuristics length64
LEAK SUMMARY:
- definitely lost: 4 (+0) bytes in 1 (+0) blocks
+ definitely lost: 8 (+0) bytes in 1 (+0) blocks
indirectly lost: 0 (+0) bytes in 0 (+0) blocks
- possibly lost: 108 (-3) bytes in 5 (+0) blocks
- still reachable: 55 (+3) bytes in 3 (+0) blocks
+ possibly lost: 80 (+32) bytes in 3 (+1) blocks
+ still reachable: 72,814 (-32) bytes in 5 (-1) blocks
...
[truncated message content] |