You can subscribe to this list here.
| 2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
(122) |
Nov
(152) |
Dec
(69) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2003 |
Jan
(6) |
Feb
(25) |
Mar
(73) |
Apr
(82) |
May
(24) |
Jun
(25) |
Jul
(10) |
Aug
(11) |
Sep
(10) |
Oct
(54) |
Nov
(203) |
Dec
(182) |
| 2004 |
Jan
(307) |
Feb
(305) |
Mar
(430) |
Apr
(312) |
May
(187) |
Jun
(342) |
Jul
(487) |
Aug
(637) |
Sep
(336) |
Oct
(373) |
Nov
(441) |
Dec
(210) |
| 2005 |
Jan
(385) |
Feb
(480) |
Mar
(636) |
Apr
(544) |
May
(679) |
Jun
(625) |
Jul
(810) |
Aug
(838) |
Sep
(634) |
Oct
(521) |
Nov
(965) |
Dec
(543) |
| 2006 |
Jan
(494) |
Feb
(431) |
Mar
(546) |
Apr
(411) |
May
(406) |
Jun
(322) |
Jul
(256) |
Aug
(401) |
Sep
(345) |
Oct
(542) |
Nov
(308) |
Dec
(481) |
| 2007 |
Jan
(427) |
Feb
(326) |
Mar
(367) |
Apr
(255) |
May
(244) |
Jun
(204) |
Jul
(223) |
Aug
(231) |
Sep
(354) |
Oct
(374) |
Nov
(497) |
Dec
(362) |
| 2008 |
Jan
(322) |
Feb
(482) |
Mar
(658) |
Apr
(422) |
May
(476) |
Jun
(396) |
Jul
(455) |
Aug
(267) |
Sep
(280) |
Oct
(253) |
Nov
(232) |
Dec
(304) |
| 2009 |
Jan
(486) |
Feb
(470) |
Mar
(458) |
Apr
(423) |
May
(696) |
Jun
(461) |
Jul
(551) |
Aug
(575) |
Sep
(134) |
Oct
(110) |
Nov
(157) |
Dec
(102) |
| 2010 |
Jan
(226) |
Feb
(86) |
Mar
(147) |
Apr
(117) |
May
(107) |
Jun
(203) |
Jul
(193) |
Aug
(238) |
Sep
(300) |
Oct
(246) |
Nov
(23) |
Dec
(75) |
| 2011 |
Jan
(133) |
Feb
(195) |
Mar
(315) |
Apr
(200) |
May
(267) |
Jun
(293) |
Jul
(353) |
Aug
(237) |
Sep
(278) |
Oct
(611) |
Nov
(274) |
Dec
(260) |
| 2012 |
Jan
(303) |
Feb
(391) |
Mar
(417) |
Apr
(441) |
May
(488) |
Jun
(655) |
Jul
(590) |
Aug
(610) |
Sep
(526) |
Oct
(478) |
Nov
(359) |
Dec
(372) |
| 2013 |
Jan
(467) |
Feb
(226) |
Mar
(391) |
Apr
(281) |
May
(299) |
Jun
(252) |
Jul
(311) |
Aug
(352) |
Sep
(481) |
Oct
(571) |
Nov
(222) |
Dec
(231) |
| 2014 |
Jan
(185) |
Feb
(329) |
Mar
(245) |
Apr
(238) |
May
(281) |
Jun
(399) |
Jul
(382) |
Aug
(500) |
Sep
(579) |
Oct
(435) |
Nov
(487) |
Dec
(256) |
| 2015 |
Jan
(338) |
Feb
(357) |
Mar
(330) |
Apr
(294) |
May
(191) |
Jun
(108) |
Jul
(142) |
Aug
(261) |
Sep
(190) |
Oct
(54) |
Nov
(83) |
Dec
(22) |
| 2016 |
Jan
(49) |
Feb
(89) |
Mar
(33) |
Apr
(50) |
May
(27) |
Jun
(34) |
Jul
(53) |
Aug
(53) |
Sep
(98) |
Oct
(206) |
Nov
(93) |
Dec
(53) |
| 2017 |
Jan
(65) |
Feb
(82) |
Mar
(102) |
Apr
(86) |
May
(187) |
Jun
(67) |
Jul
(23) |
Aug
(93) |
Sep
(65) |
Oct
(45) |
Nov
(35) |
Dec
(17) |
| 2018 |
Jan
(26) |
Feb
(35) |
Mar
(38) |
Apr
(32) |
May
(8) |
Jun
(43) |
Jul
(27) |
Aug
(30) |
Sep
(43) |
Oct
(42) |
Nov
(38) |
Dec
(67) |
| 2019 |
Jan
(32) |
Feb
(37) |
Mar
(53) |
Apr
(64) |
May
(49) |
Jun
(18) |
Jul
(14) |
Aug
(53) |
Sep
(25) |
Oct
(30) |
Nov
(49) |
Dec
(31) |
| 2020 |
Jan
(87) |
Feb
(45) |
Mar
(37) |
Apr
(51) |
May
(99) |
Jun
(36) |
Jul
(11) |
Aug
(14) |
Sep
(20) |
Oct
(24) |
Nov
(40) |
Dec
(23) |
| 2021 |
Jan
(14) |
Feb
(53) |
Mar
(85) |
Apr
(15) |
May
(19) |
Jun
(3) |
Jul
(14) |
Aug
(1) |
Sep
(57) |
Oct
(73) |
Nov
(56) |
Dec
(22) |
| 2022 |
Jan
(3) |
Feb
(22) |
Mar
(6) |
Apr
(55) |
May
(46) |
Jun
(39) |
Jul
(15) |
Aug
(9) |
Sep
(11) |
Oct
(34) |
Nov
(20) |
Dec
(36) |
| 2023 |
Jan
(79) |
Feb
(41) |
Mar
(99) |
Apr
(169) |
May
(48) |
Jun
(16) |
Jul
(16) |
Aug
(57) |
Sep
(19) |
Oct
|
Nov
|
Dec
|
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
1
(5) |
|
2
(2) |
3
(3) |
4
(2) |
5
(4) |
6
(4) |
7
(1) |
8
|
|
9
|
10
(1) |
11
|
12
(3) |
13
(2) |
14
(2) |
15
|
|
16
|
17
|
18
|
19
(2) |
20
(10) |
21
|
22
(6) |
|
23
(7) |
24
|
25
(2) |
26
|
27
(1) |
28
(8) |
29
(2) |
|
30
|
31
|
|
|
|
|
|
|
From: Philippe W. <phi...@so...> - 2018-12-28 23:26:08
|
https://sourceware.org/git/gitweb.cgi?p=valgrind.git;h=4962900a13b87e2bcb19c073c4d7b5ceafb702b9 commit 4962900a13b87e2bcb19c073c4d7b5ceafb702b9 Author: Philippe Waroquiers <phi...@sk...> Date: Sat Dec 29 00:25:34 2018 +0100 Fix the name of the option in the FIXED BUGS section Diff: --- NEWS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NEWS b/NEWS index 5916369..bfb7848 100644 --- a/NEWS +++ b/NEWS @@ -83,7 +83,7 @@ where XXXXXX is the bug number as listed below. 402395 coregrind/vgdb-invoker-solaris.c: 2 * poor error checking 402480 Do not use %rsp in clobber list 402481 vbit-test fails on x86 for Iop_CmpEQ64 iselInt64Expr Sar64 -402515 Implement new option --show-error-list-suppression-counts=no|yes / -s +402515 Implement new option --show-error-list=no|yes / -s Release 3.14.0 (9 October 2018) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
|
From: Philippe W. <phi...@so...> - 2018-12-28 23:17:38
|
https://sourceware.org/git/gitweb.cgi?p=valgrind.git;h=f3a3eadf369662313544cdc367ec251c35be8a09 commit f3a3eadf369662313544cdc367ec251c35be8a09 Author: Philippe Waroquiers <phi...@sk...> Date: Sun Dec 23 23:48:41 2018 +0100 Document new options --show-error-list=no|yes and -s in NEWS Diff: --- NEWS | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/NEWS b/NEWS index 5ccf6a9..5916369 100644 --- a/NEWS +++ b/NEWS @@ -45,6 +45,12 @@ support for X86/macOS 10.13, AMD64/macOS 10.13. * ==================== OTHER CHANGES ==================== +* The new option --show-error-list=no|yes + allows to show at exit the list of detected errors and the used + suppressions. In the previous valgrind version, showing this + information could only be done using a verbosity >= 2, which is + producing a lot of other non necessarily useful messages. + The option -s is equivalent to --show-error-list=yes. * ==================== FIXED BUGS ==================== @@ -77,6 +83,7 @@ where XXXXXX is the bug number as listed below. 402395 coregrind/vgdb-invoker-solaris.c: 2 * poor error checking 402480 Do not use %rsp in clobber list 402481 vbit-test fails on x86 for Iop_CmpEQ64 iselInt64Expr Sar64 +402515 Implement new option --show-error-list-suppression-counts=no|yes / -s Release 3.14.0 (9 October 2018) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
|
From: Philippe W. <phi...@so...> - 2018-12-28 23:17:33
|
https://sourceware.org/git/gitweb.cgi?p=valgrind.git;h=9efc7e80f223e2620f18a92eee813012519c7c3a commit 9efc7e80f223e2620f18a92eee813012519c7c3a Author: Philippe Waroquiers <phi...@sk...> Date: Sun Dec 23 23:44:54 2018 +0100 Document the new options --show-error-list and -s Diff: --- docs/xml/manual-core.xml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/docs/xml/manual-core.xml b/docs/xml/manual-core.xml index e3c2a83..d2ab7e2 100644 --- a/docs/xml/manual-core.xml +++ b/docs/xml/manual-core.xml @@ -1226,6 +1226,34 @@ that can report errors, e.g. Memcheck, but not Cachegrind.</para> </listitem> </varlistentry> + <varlistentry id="opt.show-error-list" xreflabel="--show-error-list"> + <term> + <option><![CDATA[--show-error-list=no|yes [default: no]]]></option> + </term> + <listitem> + <para>If this option is enabled, for tools that report errors, valgrind + will show the list of detected errors and the list of used suppressions + at exit. + </para> + <para>Note that at verbosity 2 and above, valgrind automatically shows + the list of detected errors and the list of used suppressions + at exit, unless <option>--show-error-list=no</option> is selected. + </para> + </listitem> + </varlistentry> + + <varlistentry id="opt.s" xreflabel="-s"> + <term> + <option><![CDATA[-s]]></option> + </term> + <listitem> + <para>Specifying <option>-s</option> is equivalent to + <option>--show-error-list=yes</option>. + </para> + </listitem> + </varlistentry> + + <varlistentry id="opt.sigill-diagnostics" xreflabel="--sigill-diagnostics"> <term> <option><![CDATA[--sigill-diagnostics=<yes|no> [default: yes] ]]></option> |
|
From: Philippe W. <phi...@so...> - 2018-12-28 23:17:29
|
https://sourceware.org/git/gitweb.cgi?p=valgrind.git;h=cfae4f70a67d97ecb4edaa7a10e4de2aedfa801c commit cfae4f70a67d97ecb4edaa7a10e4de2aedfa801c Author: Philippe Waroquiers <phi...@sk...> Date: Sun Dec 23 23:35:17 2018 +0100 Modify .exp files following the new error message. Change: For counts of detected and suppressed errors, rerun with: -v to For lists of detected and suppressed errors, rerun with: -s Diff: --- drd/tests/filter_stderr | 2 +- exp-sgcheck/tests/filter_stderr | 2 +- gdbserver_tests/mcclean_after_fork.stderr.exp | 2 +- gdbserver_tests/mcmain_pic.stderr.exp | 2 +- gdbserver_tests/mcmain_pic.stderr.exp-solaris | 2 +- gdbserver_tests/mcsignopass.stderr.exp | 2 +- gdbserver_tests/mcsigpass.stderr.exp | 2 +- gdbserver_tests/mcwatchpoints.stderr.exp | 2 +- helgrind/tests/filter_stderr | 2 +- memcheck/tests/accounting.stderr.exp | 2 +- memcheck/tests/addressable.stderr.exp | 12 ++++++------ memcheck/tests/amd64/sh-mem-vec256-plo-no.stderr.exp | 2 +- memcheck/tests/amd64/sh-mem-vec256-plo-yes.stderr.exp | 2 +- memcheck/tests/badjump.stderr.exp | 2 +- memcheck/tests/badjump.stderr.exp-kfail | 2 +- memcheck/tests/big_blocks_freed_list.stderr.exp | 2 +- memcheck/tests/brk2.stderr.exp | 2 +- memcheck/tests/bug155125.stderr.exp | 2 +- memcheck/tests/bug287260.stderr.exp | 2 +- .../tests/common/sh-mem-vec128-plo-no.stderr.exp-32bit-le | 2 +- .../tests/common/sh-mem-vec128-plo-no.stderr.exp-64bit-le | 2 +- .../tests/common/sh-mem-vec128-plo-yes.stderr.exp-32bit-le | 2 +- .../tests/common/sh-mem-vec128-plo-yes.stderr.exp-64bit-le | 2 +- memcheck/tests/darwin/aio.stderr.exp | 2 +- memcheck/tests/describe-block.stderr.exp | 2 +- memcheck/tests/erringfds.stderr.exp | 2 +- memcheck/tests/leak-autofreepool-0.stderr.exp | 2 +- memcheck/tests/leak-autofreepool-1.stderr.exp | 2 +- memcheck/tests/leak-autofreepool-2.stderr.exp | 2 +- memcheck/tests/leak-autofreepool-4.stderr.exp | 2 +- memcheck/tests/leak-autofreepool-6.stderr.exp | 2 +- memcheck/tests/leak-pool-0.stderr.exp | 2 +- memcheck/tests/leak-pool-1.stderr.exp | 2 +- memcheck/tests/leak-pool-2.stderr.exp | 2 +- memcheck/tests/leak-pool-3.stderr.exp | 2 +- memcheck/tests/leak-pool-4.stderr.exp | 2 +- memcheck/tests/leak-pool-5.stderr.exp | 2 +- memcheck/tests/leak-segv-jmp.stderr.exp | 2 +- memcheck/tests/leak_cpp_interior.stderr.exp | 2 +- memcheck/tests/leak_cpp_interior.stderr.exp-64bit | 2 +- memcheck/tests/linux/brk.stderr.exp | 2 +- memcheck/tests/linux/capget.stderr.exp | 2 +- memcheck/tests/linux/capget.stderr.exp2 | 2 +- memcheck/tests/linux/capget.stderr.exp3 | 2 +- memcheck/tests/linux/lsframe1.stderr.exp | 2 +- memcheck/tests/linux/lsframe2.stderr.exp | 2 +- memcheck/tests/linux/sigqueue.stderr.exp | 2 +- memcheck/tests/linux/sys-openat.stderr.exp | 2 +- memcheck/tests/linux/sys-statx.stderr.exp | 2 +- memcheck/tests/linux/syscalls-2007.stderr.exp | 2 +- memcheck/tests/linux/syslog-syscall.stderr.exp | 2 +- memcheck/tests/linux/timerfd-syscall.stderr.exp | 2 +- memcheck/tests/lks.stderr.exp | 2 +- memcheck/tests/mallinfo.stderr.exp | 2 +- memcheck/tests/new_override.stderr.exp | 2 +- memcheck/tests/noisy_child.stderr.exp | 2 +- memcheck/tests/partial_load_dflt.stderr.exp | 2 +- memcheck/tests/partial_load_dflt.stderr.exp-ppc64 | 2 +- memcheck/tests/partial_load_dflt.stderr.exp64 | 2 +- memcheck/tests/partial_load_dflt.stderr.expr-s390x-mvc | 2 +- memcheck/tests/partial_load_ok.stderr.exp | 2 +- memcheck/tests/partial_load_ok.stderr.exp-ppc64 | 2 +- memcheck/tests/partial_load_ok.stderr.exp64 | 2 +- memcheck/tests/partiallydefinedeq.stderr.exp | 2 +- memcheck/tests/partiallydefinedeq.stderr.exp2 | 2 +- memcheck/tests/partiallydefinedeq.stderr.exp3 | 2 +- memcheck/tests/partiallydefinedeq.stderr.exp4 | 2 +- memcheck/tests/ppc32/power_ISA2_05.stderr.exp | 2 +- memcheck/tests/ppc32/power_ISA2_07.stderr.exp | 2 +- memcheck/tests/sbfragment.stderr.exp | 2 +- memcheck/tests/sem.stderr.exp | 2 +- memcheck/tests/sigkill.stderr.exp | 2 +- memcheck/tests/sigkill.stderr.exp-darwin | 2 +- memcheck/tests/sigkill.stderr.exp-glibc-2.28 | 2 +- memcheck/tests/sigkill.stderr.exp-mips32 | 2 +- memcheck/tests/sigkill.stderr.exp-solaris | 2 +- memcheck/tests/solaris/brk.stderr.exp | 2 +- memcheck/tests/solaris/syscall_at.stderr.exp | 2 +- none/tests/cmdline1.stdout.exp | 3 +++ none/tests/cmdline2.stdout.exp | 3 +++ 80 files changed, 89 insertions(+), 83 deletions(-) diff --git a/drd/tests/filter_stderr b/drd/tests/filter_stderr index 7fbddbf..d3e0e32 100755 --- a/drd/tests/filter_stderr +++ b/drd/tests/filter_stderr @@ -42,7 +42,7 @@ sed \ -e "s/ (\([a-zA-Z_]*\.cpp\):[0-9]*)/ (\1:?)/" \ -e "s/\( name [^ ]*\)-[0-9]*\( oflag \)/\1\2/" \ -e '/^ by 0x[0-9a-fA-F]*: process_dl_debug (in \/lib[0-9]*\/ld-[0-9.]*\.so)$/d' \ --e "/^For detected errors list and suppressed errors count, rerun with: -s$/d" | +-e "/^For lists of detected and suppressed errors, rerun with: -s$/d" | # Remove the message that more than hundred errors have been detected # (consists of two lines) and also the empty line above it. diff --git a/exp-sgcheck/tests/filter_stderr b/exp-sgcheck/tests/filter_stderr index 94bd873..6b72919 100755 --- a/exp-sgcheck/tests/filter_stderr +++ b/exp-sgcheck/tests/filter_stderr @@ -19,7 +19,7 @@ sed \ -e "/^exp-sgcheck, a stack and global array overrun detector$/d" \ -e "/^NOTE: This is an Experimental-Class Valgrind Tool$/d" \ -e "/^Copyright (C) 2003-201., and GNU GPL'd, by OpenWorks Ltd et al.$/d" \ --e "/^For detected errors list and suppressed errors count, rerun with: -s$/d" | +-e "/^For lists of detected and suppressed errors, rerun with: -s$/d" | # Tidy up in cases where glibc (+ libdl + libpthread + ld) have # been built with debugging information, hence source locs are present. diff --git a/gdbserver_tests/mcclean_after_fork.stderr.exp b/gdbserver_tests/mcclean_after_fork.stderr.exp index 9107182..4519e2f 100644 --- a/gdbserver_tests/mcclean_after_fork.stderr.exp +++ b/gdbserver_tests/mcclean_after_fork.stderr.exp @@ -2,6 +2,6 @@ HEAP SUMMARY: in use at exit: ... bytes in ... blocks For a detailed leak analysis, rerun with: --leak-check=full -For counts of detected and suppressed errors, rerun with: -v +For lists of detected and suppressed errors, rerun with: -s ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) Reset valgrind output to log (orderly_finish) diff --git a/gdbserver_tests/mcmain_pic.stderr.exp b/gdbserver_tests/mcmain_pic.stderr.exp index 546bc37..4054b38 100644 --- a/gdbserver_tests/mcmain_pic.stderr.exp +++ b/gdbserver_tests/mcmain_pic.stderr.exp @@ -2,5 +2,5 @@ HEAP SUMMARY: in use at exit: ... bytes in ... blocks For a detailed leak analysis, rerun with: --leak-check=full -For counts of detected and suppressed errors, rerun with: -v +For lists of detected and suppressed errors, rerun with: -s ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) diff --git a/gdbserver_tests/mcmain_pic.stderr.exp-solaris b/gdbserver_tests/mcmain_pic.stderr.exp-solaris index 56cc9bc..4afcac4 100644 --- a/gdbserver_tests/mcmain_pic.stderr.exp-solaris +++ b/gdbserver_tests/mcmain_pic.stderr.exp-solaris @@ -2,5 +2,5 @@ HEAP SUMMARY: in use at exit: 131,080 bytes in 1 blocks For a detailed leak analysis, rerun with: --leak-check=full -For counts of detected and suppressed errors, rerun with: -v +For lists of detected and suppressed errors, rerun with: -s ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) diff --git a/gdbserver_tests/mcsignopass.stderr.exp b/gdbserver_tests/mcsignopass.stderr.exp index 4055b97..1ad0da3 100644 --- a/gdbserver_tests/mcsignopass.stderr.exp +++ b/gdbserver_tests/mcsignopass.stderr.exp @@ -10,5 +10,5 @@ Test 4: PASS HEAP SUMMARY: in use at exit: ... bytes in ... blocks For a detailed leak analysis, rerun with: --leak-check=full -For counts of detected and suppressed errors, rerun with: -v +For lists of detected and suppressed errors, rerun with: -s ERROR SUMMARY: 11 errors from 1 contexts (suppressed: 0 from 0) diff --git a/gdbserver_tests/mcsigpass.stderr.exp b/gdbserver_tests/mcsigpass.stderr.exp index e35e38a..5415ce1 100644 --- a/gdbserver_tests/mcsigpass.stderr.exp +++ b/gdbserver_tests/mcsigpass.stderr.exp @@ -10,5 +10,5 @@ Test 4: PASS HEAP SUMMARY: in use at exit: ... bytes in ... blocks For a detailed leak analysis, rerun with: --leak-check=full -For counts of detected and suppressed errors, rerun with: -v +For lists of detected and suppressed errors, rerun with: -s ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) diff --git a/gdbserver_tests/mcwatchpoints.stderr.exp b/gdbserver_tests/mcwatchpoints.stderr.exp index 8d04da0..f369c02 100644 --- a/gdbserver_tests/mcwatchpoints.stderr.exp +++ b/gdbserver_tests/mcwatchpoints.stderr.exp @@ -17,5 +17,5 @@ value of k50[1000] p HEAP SUMMARY: in use at exit: ... bytes in ... blocks For a detailed leak analysis, rerun with: --leak-check=full -For counts of detected and suppressed errors, rerun with: -v +For lists of detected and suppressed errors, rerun with: -s ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) diff --git a/helgrind/tests/filter_stderr b/helgrind/tests/filter_stderr index 0e70723..6b85663 100755 --- a/helgrind/tests/filter_stderr +++ b/helgrind/tests/filter_stderr @@ -42,7 +42,7 @@ sed \ # do not contain them (at least on gcc110/fedora18). sed \ -e "/^Helgrind, a thread error detector/ , /./ d" \ - -e "/^For detected errors list and suppressed errors count, rerun with: -s$/d" \ + -e "/^For lists of detected and suppressed errors, rerun with: -s$/d" \ -e "/^Use --history-level=approx or =none to gain increased speed, at$/d" \ -e "/^the cost of reduced accuracy of conflicting-access information$/d" \ -e "/pthread_create_WRK (hg_intercepts.c:/d" | diff --git a/memcheck/tests/accounting.stderr.exp b/memcheck/tests/accounting.stderr.exp index 0119b98..d0b8fc1 100644 --- a/memcheck/tests/accounting.stderr.exp +++ b/memcheck/tests/accounting.stderr.exp @@ -10,5 +10,5 @@ HEAP SUMMARY: For a detailed leak analysis, rerun with: --leak-check=full -For counts of detected and suppressed errors, rerun with: -v +For lists of detected and suppressed errors, rerun with: -s ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) diff --git a/memcheck/tests/addressable.stderr.exp b/memcheck/tests/addressable.stderr.exp index b3441cd..4c12198 100644 --- a/memcheck/tests/addressable.stderr.exp +++ b/memcheck/tests/addressable.stderr.exp @@ -6,7 +6,7 @@ HEAP SUMMARY: For a detailed leak analysis, rerun with: --leak-check=full -For counts of detected and suppressed errors, rerun with: -v +For lists of detected and suppressed errors, rerun with: -s ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) Unaddressable byte(s) found during client check request at 0x........: test2 (addressable.c:48) @@ -35,7 +35,7 @@ HEAP SUMMARY: For a detailed leak analysis, rerun with: --leak-check=full -For counts of detected and suppressed errors, rerun with: -v +For lists of detected and suppressed errors, rerun with: -s ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0) HEAP SUMMARY: @@ -44,7 +44,7 @@ HEAP SUMMARY: For a detailed leak analysis, rerun with: --leak-check=full -For counts of detected and suppressed errors, rerun with: -v +For lists of detected and suppressed errors, rerun with: -s ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) Process terminating with default action of signal N (SIGSEGV or SIGBUS) @@ -58,7 +58,7 @@ HEAP SUMMARY: For a detailed leak analysis, rerun with: --leak-check=full -For counts of detected and suppressed errors, rerun with: -v +For lists of detected and suppressed errors, rerun with: -s ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) Uninitialised byte(s) found during client check request at 0x........: test5 (addressable.c:85) @@ -78,7 +78,7 @@ HEAP SUMMARY: For a detailed leak analysis, rerun with: --leak-check=full Use --track-origins=yes to see where uninitialised values come from -For counts of detected and suppressed errors, rerun with: -v +For lists of detected and suppressed errors, rerun with: -s ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0) HEAP SUMMARY: @@ -87,5 +87,5 @@ HEAP SUMMARY: For a detailed leak analysis, rerun with: --leak-check=full -For counts of detected and suppressed errors, rerun with: -v +For lists of detected and suppressed errors, rerun with: -s ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) diff --git a/memcheck/tests/amd64/sh-mem-vec256-plo-no.stderr.exp b/memcheck/tests/amd64/sh-mem-vec256-plo-no.stderr.exp index f637e6d..e85fc62 100644 --- a/memcheck/tests/amd64/sh-mem-vec256-plo-no.stderr.exp +++ b/memcheck/tests/amd64/sh-mem-vec256-plo-no.stderr.exp @@ -938,5 +938,5 @@ HEAP SUMMARY: For a detailed leak analysis, rerun with: --leak-check=full Use --track-origins=yes to see where uninitialised values come from -For counts of detected and suppressed errors, rerun with: -v +For lists of detected and suppressed errors, rerun with: -s ERROR SUMMARY: 130 errors from 100 contexts (suppressed: 0 from 0) diff --git a/memcheck/tests/amd64/sh-mem-vec256-plo-yes.stderr.exp b/memcheck/tests/amd64/sh-mem-vec256-plo-yes.stderr.exp index e2b863b..2abe31d 100644 --- a/memcheck/tests/amd64/sh-mem-vec256-plo-yes.stderr.exp +++ b/memcheck/tests/amd64/sh-mem-vec256-plo-yes.stderr.exp @@ -864,5 +864,5 @@ HEAP SUMMARY: For a detailed leak analysis, rerun with: --leak-check=full Use --track-origins=yes to see where uninitialised values come from -For counts of detected and suppressed errors, rerun with: -v +For lists of detected and suppressed errors, rerun with: -s ERROR SUMMARY: 99 errors from 99 contexts (suppressed: 0 from 0) diff --git a/memcheck/tests/badjump.stderr.exp b/memcheck/tests/badjump.stderr.exp index e2659de..3eb73b2 100644 --- a/memcheck/tests/badjump.stderr.exp +++ b/memcheck/tests/badjump.stderr.exp @@ -21,5 +21,5 @@ HEAP SUMMARY: For a detailed leak analysis, rerun with: --leak-check=full -For counts of detected and suppressed errors, rerun with: -v +For lists of detected and suppressed errors, rerun with: -s ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) diff --git a/memcheck/tests/badjump.stderr.exp-kfail b/memcheck/tests/badjump.stderr.exp-kfail index 1cecc0a..d7949a1 100644 --- a/memcheck/tests/badjump.stderr.exp-kfail +++ b/memcheck/tests/badjump.stderr.exp-kfail @@ -19,5 +19,5 @@ HEAP SUMMARY: For a detailed leak analysis, rerun with: --leak-check=full -For counts of detected and suppressed errors, rerun with: -v +For lists of detected and suppressed errors, rerun with: -s ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) diff --git a/memcheck/tests/big_blocks_freed_list.stderr.exp b/memcheck/tests/big_blocks_freed_list.stderr.exp index d0fd803..8e64800 100644 --- a/memcheck/tests/big_blocks_freed_list.stderr.exp +++ b/memcheck/tests/big_blocks_freed_list.stderr.exp @@ -64,5 +64,5 @@ HEAP SUMMARY: For a detailed leak analysis, rerun with: --leak-check=full -For counts of detected and suppressed errors, rerun with: -v +For lists of detected and suppressed errors, rerun with: -s ERROR SUMMARY: 7 errors from 7 contexts (suppressed: 0 from 0) diff --git a/memcheck/tests/brk2.stderr.exp b/memcheck/tests/brk2.stderr.exp index d0330e5..2ccb50d 100644 --- a/memcheck/tests/brk2.stderr.exp +++ b/memcheck/tests/brk2.stderr.exp @@ -6,5 +6,5 @@ HEAP SUMMARY: For a detailed leak analysis, rerun with: --leak-check=full -For counts of detected and suppressed errors, rerun with: -v +For lists of detected and suppressed errors, rerun with: -s ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) diff --git a/memcheck/tests/bug155125.stderr.exp b/memcheck/tests/bug155125.stderr.exp index 133ac4b..ca0025d 100644 --- a/memcheck/tests/bug155125.stderr.exp +++ b/memcheck/tests/bug155125.stderr.exp @@ -11,5 +11,5 @@ HEAP SUMMARY: For a detailed leak analysis, rerun with: --leak-check=full -For counts of detected and suppressed errors, rerun with: -v +For lists of detected and suppressed errors, rerun with: -s ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) diff --git a/memcheck/tests/bug287260.stderr.exp b/memcheck/tests/bug287260.stderr.exp index a9d58bf..6a3b868 100644 --- a/memcheck/tests/bug287260.stderr.exp +++ b/memcheck/tests/bug287260.stderr.exp @@ -7,5 +7,5 @@ HEAP SUMMARY: For a detailed leak analysis, rerun with: --leak-check=full -For counts of detected and suppressed errors, rerun with: -v +For lists of detected and suppressed errors, rerun with: -s ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) diff --git a/memcheck/tests/common/sh-mem-vec128-plo-no.stderr.exp-32bit-le b/memcheck/tests/common/sh-mem-vec128-plo-no.stderr.exp-32bit-le index 19e1b22..77dc067 100644 --- a/memcheck/tests/common/sh-mem-vec128-plo-no.stderr.exp-32bit-le +++ b/memcheck/tests/common/sh-mem-vec128-plo-no.stderr.exp-32bit-le @@ -573,5 +573,5 @@ HEAP SUMMARY: For a detailed leak analysis, rerun with: --leak-check=full Use --track-origins=yes to see where uninitialised values come from -For counts of detected and suppressed errors, rerun with: -v +For lists of detected and suppressed errors, rerun with: -s ERROR SUMMARY: 66 errors from 66 contexts (suppressed: 0 from 0) diff --git a/memcheck/tests/common/sh-mem-vec128-plo-no.stderr.exp-64bit-le b/memcheck/tests/common/sh-mem-vec128-plo-no.stderr.exp-64bit-le index d16bfe0..55171bd 100644 --- a/memcheck/tests/common/sh-mem-vec128-plo-no.stderr.exp-64bit-le +++ b/memcheck/tests/common/sh-mem-vec128-plo-no.stderr.exp-64bit-le @@ -573,5 +573,5 @@ HEAP SUMMARY: For a detailed leak analysis, rerun with: --leak-check=full Use --track-origins=yes to see where uninitialised values come from -For counts of detected and suppressed errors, rerun with: -v +For lists of detected and suppressed errors, rerun with: -s ERROR SUMMARY: 66 errors from 66 contexts (suppressed: 0 from 0) diff --git a/memcheck/tests/common/sh-mem-vec128-plo-yes.stderr.exp-32bit-le b/memcheck/tests/common/sh-mem-vec128-plo-yes.stderr.exp-32bit-le index 34d597a..453bd4f 100644 --- a/memcheck/tests/common/sh-mem-vec128-plo-yes.stderr.exp-32bit-le +++ b/memcheck/tests/common/sh-mem-vec128-plo-yes.stderr.exp-32bit-le @@ -464,5 +464,5 @@ HEAP SUMMARY: For a detailed leak analysis, rerun with: --leak-check=full Use --track-origins=yes to see where uninitialised values come from -For counts of detected and suppressed errors, rerun with: -v +For lists of detected and suppressed errors, rerun with: -s ERROR SUMMARY: 51 errors from 51 contexts (suppressed: 0 from 0) diff --git a/memcheck/tests/common/sh-mem-vec128-plo-yes.stderr.exp-64bit-le b/memcheck/tests/common/sh-mem-vec128-plo-yes.stderr.exp-64bit-le index 3623245..b307328 100644 --- a/memcheck/tests/common/sh-mem-vec128-plo-yes.stderr.exp-64bit-le +++ b/memcheck/tests/common/sh-mem-vec128-plo-yes.stderr.exp-64bit-le @@ -464,5 +464,5 @@ HEAP SUMMARY: For a detailed leak analysis, rerun with: --leak-check=full Use --track-origins=yes to see where uninitialised values come from -For counts of detected and suppressed errors, rerun with: -v +For lists of detected and suppressed errors, rerun with: -s ERROR SUMMARY: 51 errors from 51 contexts (suppressed: 0 from 0) diff --git a/memcheck/tests/darwin/aio.stderr.exp b/memcheck/tests/darwin/aio.stderr.exp index 71222a9..29d88f3 100644 --- a/memcheck/tests/darwin/aio.stderr.exp +++ b/memcheck/tests/darwin/aio.stderr.exp @@ -20,6 +20,6 @@ HEAP SUMMARY: For a detailed leak analysis, rerun with: --leak-check=full -For counts of detected and suppressed errors, rerun with: -v +For lists of detected and suppressed errors, rerun with: -s Use --track-origins=yes to see where uninitialised values come from ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0) diff --git a/memcheck/tests/describe-block.stderr.exp b/memcheck/tests/describe-block.stderr.exp index 00879f0..09d8d19 100644 --- a/memcheck/tests/describe-block.stderr.exp +++ b/memcheck/tests/describe-block.stderr.exp @@ -11,5 +11,5 @@ HEAP SUMMARY: For a detailed leak analysis, rerun with: --leak-check=full -For counts of detected and suppressed errors, rerun with: -v +For lists of detected and suppressed errors, rerun with: -s ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) diff --git a/memcheck/tests/erringfds.stderr.exp b/memcheck/tests/erringfds.stderr.exp index 48e9866..390711e 100644 --- a/memcheck/tests/erringfds.stderr.exp +++ b/memcheck/tests/erringfds.stderr.exp @@ -7,5 +7,5 @@ HEAP SUMMARY: For a detailed leak analysis, rerun with: --leak-check=full -For counts of detected and suppressed errors, rerun with: -v +For lists of detected and suppressed errors, rerun with: -s ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) diff --git a/memcheck/tests/leak-autofreepool-0.stderr.exp b/memcheck/tests/leak-autofreepool-0.stderr.exp index 68ee46b..bd472a0 100644 --- a/memcheck/tests/leak-autofreepool-0.stderr.exp +++ b/memcheck/tests/leak-autofreepool-0.stderr.exp @@ -13,5 +13,5 @@ LEAK SUMMARY: still reachable: 0 bytes in 0 blocks suppressed: 0 bytes in 0 blocks -For counts of detected and suppressed errors, rerun with: -v +For lists of detected and suppressed errors, rerun with: -s ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) diff --git a/memcheck/tests/leak-autofreepool-1.stderr.exp b/memcheck/tests/leak-autofreepool-1.stderr.exp index 68ee46b..bd472a0 100644 --- a/memcheck/tests/leak-autofreepool-1.stderr.exp +++ b/memcheck/tests/leak-autofreepool-1.stderr.exp @@ -13,5 +13,5 @@ LEAK SUMMARY: still reachable: 0 bytes in 0 blocks suppressed: 0 bytes in 0 blocks -For counts of detected and suppressed errors, rerun with: -v +For lists of detected and suppressed errors, rerun with: -s ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) diff --git a/memcheck/tests/leak-autofreepool-2.stderr.exp b/memcheck/tests/leak-autofreepool-2.stderr.exp index 4178c4e..11f2b77 100644 --- a/memcheck/tests/leak-autofreepool-2.stderr.exp +++ b/memcheck/tests/leak-autofreepool-2.stderr.exp @@ -6,5 +6,5 @@ HEAP SUMMARY: All heap blocks were freed -- no leaks are possible -For counts of detected and suppressed errors, rerun with: -v +For lists of detected and suppressed errors, rerun with: -s ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) diff --git a/memcheck/tests/leak-autofreepool-4.stderr.exp b/memcheck/tests/leak-autofreepool-4.stderr.exp index 3225cf9..f2dc9a6 100644 --- a/memcheck/tests/leak-autofreepool-4.stderr.exp +++ b/memcheck/tests/leak-autofreepool-4.stderr.exp @@ -13,5 +13,5 @@ LEAK SUMMARY: still reachable: 0 bytes in 0 blocks suppressed: 0 bytes in 0 blocks -For counts of detected and suppressed errors, rerun with: -v +For lists of detected and suppressed errors, rerun with: -s ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0) diff --git a/memcheck/tests/leak-autofreepool-6.stderr.exp b/memcheck/tests/leak-autofreepool-6.stderr.exp index 4178c4e..11f2b77 100644 --- a/memcheck/tests/leak-autofreepool-6.stderr.exp +++ b/memcheck/tests/leak-autofreepool-6.stderr.exp @@ -6,5 +6,5 @@ HEAP SUMMARY: All heap blocks were freed -- no leaks are possible -For counts of detected and suppressed errors, rerun with: -v +For lists of detected and suppressed errors, rerun with: -s ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) diff --git a/memcheck/tests/leak-pool-0.stderr.exp b/memcheck/tests/leak-pool-0.stderr.exp index d0330e5..2ccb50d 100644 --- a/memcheck/tests/leak-pool-0.stderr.exp +++ b/memcheck/tests/leak-pool-0.stderr.exp @@ -6,5 +6,5 @@ HEAP SUMMARY: For a detailed leak analysis, rerun with: --leak-check=full -For counts of detected and suppressed errors, rerun with: -v +For lists of detected and suppressed errors, rerun with: -s ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) diff --git a/memcheck/tests/leak-pool-1.stderr.exp b/memcheck/tests/leak-pool-1.stderr.exp index d0330e5..2ccb50d 100644 --- a/memcheck/tests/leak-pool-1.stderr.exp +++ b/memcheck/tests/leak-pool-1.stderr.exp @@ -6,5 +6,5 @@ HEAP SUMMARY: For a detailed leak analysis, rerun with: --leak-check=full -For counts of detected and suppressed errors, rerun with: -v +For lists of detected and suppressed errors, rerun with: -s ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) diff --git a/memcheck/tests/leak-pool-2.stderr.exp b/memcheck/tests/leak-pool-2.stderr.exp index d0330e5..2ccb50d 100644 --- a/memcheck/tests/leak-pool-2.stderr.exp +++ b/memcheck/tests/leak-pool-2.stderr.exp @@ -6,5 +6,5 @@ HEAP SUMMARY: For a detailed leak analysis, rerun with: --leak-check=full -For counts of detected and suppressed errors, rerun with: -v +For lists of detected and suppressed errors, rerun with: -s ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) diff --git a/memcheck/tests/leak-pool-3.stderr.exp b/memcheck/tests/leak-pool-3.stderr.exp index d0330e5..2ccb50d 100644 --- a/memcheck/tests/leak-pool-3.stderr.exp +++ b/memcheck/tests/leak-pool-3.stderr.exp @@ -6,5 +6,5 @@ HEAP SUMMARY: For a detailed leak analysis, rerun with: --leak-check=full -For counts of detected and suppressed errors, rerun with: -v +For lists of detected and suppressed errors, rerun with: -s ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) diff --git a/memcheck/tests/leak-pool-4.stderr.exp b/memcheck/tests/leak-pool-4.stderr.exp index d0330e5..2ccb50d 100644 --- a/memcheck/tests/leak-pool-4.stderr.exp +++ b/memcheck/tests/leak-pool-4.stderr.exp @@ -6,5 +6,5 @@ HEAP SUMMARY: For a detailed leak analysis, rerun with: --leak-check=full -For counts of detected and suppressed errors, rerun with: -v +For lists of detected and suppressed errors, rerun with: -s ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) diff --git a/memcheck/tests/leak-pool-5.stderr.exp b/memcheck/tests/leak-pool-5.stderr.exp index d0330e5..2ccb50d 100644 --- a/memcheck/tests/leak-pool-5.stderr.exp +++ b/memcheck/tests/leak-pool-5.stderr.exp @@ -6,5 +6,5 @@ HEAP SUMMARY: For a detailed leak analysis, rerun with: --leak-check=full -For counts of detected and suppressed errors, rerun with: -v +For lists of detected and suppressed errors, rerun with: -s ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) diff --git a/memcheck/tests/leak-segv-jmp.stderr.exp b/memcheck/tests/leak-segv-jmp.stderr.exp index 21ef2df..18e60db 100644 --- a/memcheck/tests/leak-segv-jmp.stderr.exp +++ b/memcheck/tests/leak-segv-jmp.stderr.exp @@ -99,5 +99,5 @@ HEAP SUMMARY: For a detailed leak analysis, rerun with: --leak-check=full -For counts of detected and suppressed errors, rerun with: -v +For lists of detected and suppressed errors, rerun with: -s ERROR SUMMARY: 5 errors from 5 contexts (suppressed: 0 from 0) diff --git a/memcheck/tests/leak_cpp_interior.stderr.exp b/memcheck/tests/leak_cpp_interior.stderr.exp index df6cad2..943b1cc 100644 --- a/memcheck/tests/leak_cpp_interior.stderr.exp +++ b/memcheck/tests/leak_cpp_interior.stderr.exp @@ -129,5 +129,5 @@ HEAP SUMMARY: All heap blocks were freed -- no leaks are possible -For counts of detected and suppressed errors, rerun with: -v +For lists of detected and suppressed errors, rerun with: -s ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) diff --git a/memcheck/tests/leak_cpp_interior.stderr.exp-64bit b/memcheck/tests/leak_cpp_interior.stderr.exp-64bit index 3899730..4474b03 100644 --- a/memcheck/tests/leak_cpp_interior.stderr.exp-64bit +++ b/memcheck/tests/leak_cpp_interior.stderr.exp-64bit @@ -129,5 +129,5 @@ HEAP SUMMARY: All heap blocks were freed -- no leaks are possible -For counts of detected and suppressed errors, rerun with: -v +For lists of detected and suppressed errors, rerun with: -s ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) diff --git a/memcheck/tests/linux/brk.stderr.exp b/memcheck/tests/linux/brk.stderr.exp index ff83c1f..73da044 100644 --- a/memcheck/tests/linux/brk.stderr.exp +++ b/memcheck/tests/linux/brk.stderr.exp @@ -9,5 +9,5 @@ HEAP SUMMARY: For a detailed leak analysis, rerun with: --leak-check=full -For counts of detected and suppressed errors, rerun with: -v +For lists of detected and suppressed errors, rerun with: -s ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) diff --git a/memcheck/tests/linux/capget.stderr.exp b/memcheck/tests/linux/capget.stderr.exp index 4c0193b..54eaa80 100644 --- a/memcheck/tests/linux/capget.stderr.exp +++ b/memcheck/tests/linux/capget.stderr.exp @@ -10,5 +10,5 @@ HEAP SUMMARY: For a detailed leak analysis, rerun with: --leak-check=full -For counts of detected and suppressed errors, rerun with: -v +For lists of detected and suppressed errors, rerun with: -s ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) diff --git a/memcheck/tests/linux/capget.stderr.exp2 b/memcheck/tests/linux/capget.stderr.exp2 index 7aef7a2..960f746 100644 --- a/memcheck/tests/linux/capget.stderr.exp2 +++ b/memcheck/tests/linux/capget.stderr.exp2 @@ -11,5 +11,5 @@ HEAP SUMMARY: For a detailed leak analysis, rerun with: --leak-check=full -For counts of detected and suppressed errors, rerun with: -v +For lists of detected and suppressed errors, rerun with: -s ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) diff --git a/memcheck/tests/linux/capget.stderr.exp3 b/memcheck/tests/linux/capget.stderr.exp3 index 394c1c9..4e821d4 100644 --- a/memcheck/tests/linux/capget.stderr.exp3 +++ b/memcheck/tests/linux/capget.stderr.exp3 @@ -10,5 +10,5 @@ HEAP SUMMARY: For a detailed leak analysis, rerun with: --leak-check=full -For counts of detected and suppressed errors, rerun with: -v +For lists of detected and suppressed errors, rerun with: -s ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) diff --git a/memcheck/tests/linux/lsframe1.stderr.exp b/memcheck/tests/linux/lsframe1.stderr.exp index d83622a..e196589 100644 --- a/memcheck/tests/linux/lsframe1.stderr.exp +++ b/memcheck/tests/linux/lsframe1.stderr.exp @@ -8,5 +8,5 @@ HEAP SUMMARY: For a detailed leak analysis, rerun with: --leak-check=full -For counts of detected and suppressed errors, rerun with: -v +For lists of detected and suppressed errors, rerun with: -s ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) diff --git a/memcheck/tests/linux/lsframe2.stderr.exp b/memcheck/tests/linux/lsframe2.stderr.exp index 411d79a..adf1ce4 100644 --- a/memcheck/tests/linux/lsframe2.stderr.exp +++ b/memcheck/tests/linux/lsframe2.stderr.exp @@ -8,5 +8,5 @@ HEAP SUMMARY: For a detailed leak analysis, rerun with: --leak-check=full -For counts of detected and suppressed errors, rerun with: -v +For lists of detected and suppressed errors, rerun with: -s ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) diff --git a/memcheck/tests/linux/sigqueue.stderr.exp b/memcheck/tests/linux/sigqueue.stderr.exp index 324c857..0b5c294 100644 --- a/memcheck/tests/linux/sigqueue.stderr.exp +++ b/memcheck/tests/linux/sigqueue.stderr.exp @@ -7,5 +7,5 @@ HEAP SUMMARY: For a detailed leak analysis, rerun with: --leak-check=full -For counts of detected and suppressed errors, rerun with: -v +For lists of detected and suppressed errors, rerun with: -s ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) diff --git a/memcheck/tests/linux/sys-openat.stderr.exp b/memcheck/tests/linux/sys-openat.stderr.exp index b36e7ca..b6c057a 100644 --- a/memcheck/tests/linux/sys-openat.stderr.exp +++ b/memcheck/tests/linux/sys-openat.stderr.exp @@ -7,5 +7,5 @@ HEAP SUMMARY: For a detailed leak analysis, rerun with: --leak-check=full -For counts of detected and suppressed errors, rerun with: -v +For lists of detected and suppressed errors, rerun with: -s ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) diff --git a/memcheck/tests/linux/sys-statx.stderr.exp b/memcheck/tests/linux/sys-statx.stderr.exp index c22dd7f..eb42921 100644 --- a/memcheck/tests/linux/sys-statx.stderr.exp +++ b/memcheck/tests/linux/sys-statx.stderr.exp @@ -6,5 +6,5 @@ HEAP SUMMARY: For a detailed leak analysis, rerun with: --leak-check=full -For counts of detected and suppressed errors, rerun with: -v +For lists of detected and suppressed errors, rerun with: -s ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) diff --git a/memcheck/tests/linux/syscalls-2007.stderr.exp b/memcheck/tests/linux/syscalls-2007.stderr.exp index d0330e5..2ccb50d 100644 --- a/memcheck/tests/linux/syscalls-2007.stderr.exp +++ b/memcheck/tests/linux/syscalls-2007.stderr.exp @@ -6,5 +6,5 @@ HEAP SUMMARY: For a detailed leak analysis, rerun with: --leak-check=full -For counts of detected and suppressed errors, rerun with: -v +For lists of detected and suppressed errors, rerun with: -s ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) diff --git a/memcheck/tests/linux/syslog-syscall.stderr.exp b/memcheck/tests/linux/syslog-syscall.stderr.exp index c8fe7b9..8b8847c 100644 --- a/memcheck/tests/linux/syslog-syscall.stderr.exp +++ b/memcheck/tests/linux/syslog-syscall.stderr.exp @@ -7,5 +7,5 @@ HEAP SUMMARY: For a detailed leak analysis, rerun with: --leak-check=full -For counts of detected and suppressed errors, rerun with: -v +For lists of detected and suppressed errors, rerun with: -s ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) diff --git a/memcheck/tests/linux/timerfd-syscall.stderr.exp b/memcheck/tests/linux/timerfd-syscall.stderr.exp index 31ffa84..6776602 100644 --- a/memcheck/tests/linux/timerfd-syscall.stderr.exp +++ b/memcheck/tests/linux/timerfd-syscall.stderr.exp @@ -52,5 +52,5 @@ HEAP SUMMARY: For a detailed leak analysis, rerun with: --leak-check=full -For counts of detected and suppressed errors, rerun with: -v +For lists of detected and suppressed errors, rerun with: -s ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) diff --git a/memcheck/tests/lks.stderr.exp b/memcheck/tests/lks.stderr.exp index 8a52913..5e3887f 100644 --- a/memcheck/tests/lks.stderr.exp +++ b/memcheck/tests/lks.stderr.exp @@ -57,5 +57,5 @@ LEAK SUMMARY: Reachable blocks (those to which a pointer was found) are not shown. To see them, rerun with: --leak-check=full --show-leak-kinds=all -For counts of detected and suppressed errors, rerun with: -v +For lists of detected and suppressed errors, rerun with: -s ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0) diff --git a/memcheck/tests/mallinfo.stderr.exp b/memcheck/tests/mallinfo.stderr.exp index f75795a..65f7e5b 100644 --- a/memcheck/tests/mallinfo.stderr.exp +++ b/memcheck/tests/mallinfo.stderr.exp @@ -7,5 +7,5 @@ HEAP SUMMARY: For a detailed leak analysis, rerun with: --leak-check=full -For counts of detected and suppressed errors, rerun with: -v +For lists of detected and suppressed errors, rerun with: -s ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) diff --git a/memcheck/tests/new_override.stderr.exp b/memcheck/tests/new_override.stderr.exp index d0330e5..2ccb50d 100644 --- a/memcheck/tests/new_override.stderr.exp +++ b/memcheck/tests/new_override.stderr.exp @@ -6,5 +6,5 @@ HEAP SUMMARY: For a detailed leak analysis, rerun with: --leak-check=full -For counts of detected and suppressed errors, rerun with: -v +For lists of detected and suppressed errors, rerun with: -s ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) diff --git a/memcheck/tests/noisy_child.stderr.exp b/memcheck/tests/noisy_child.stderr.exp index 675fc64..eb58991 100644 --- a/memcheck/tests/noisy_child.stderr.exp +++ b/memcheck/tests/noisy_child.stderr.exp @@ -25,5 +25,5 @@ HEAP SUMMARY: For a detailed leak analysis, rerun with: --leak-check=full -For counts of detected and suppressed errors, rerun with: -v +For lists of detected and suppressed errors, rerun with: -s ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0) diff --git a/memcheck/tests/partial_load_dflt.stderr.exp b/memcheck/tests/partial_load_dflt.stderr.exp index fdb4a33..fe20fbe 100644 --- a/memcheck/tests/partial_load_dflt.stderr.exp +++ b/memcheck/tests/partial_load_dflt.stderr.exp @@ -24,5 +24,5 @@ HEAP SUMMARY: For a detailed leak analysis, rerun with: --leak-check=full -For counts of detected and suppressed errors, rerun with: -v +For lists of detected and suppressed errors, rerun with: -s ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0) diff --git a/memcheck/tests/partial_load_dflt.stderr.exp-ppc64 b/memcheck/tests/partial_load_dflt.stderr.exp-ppc64 index cf32bcf..c007cd4 100644 --- a/memcheck/tests/partial_load_dflt.stderr.exp-ppc64 +++ b/memcheck/tests/partial_load_dflt.stderr.exp-ppc64 @@ -19,5 +19,5 @@ HEAP SUMMARY: For a detailed leak analysis, rerun with: --leak-check=full -For counts of detected and suppressed errors, rerun with: -v +For lists of detected and suppressed errors, rerun with: -s ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0) diff --git a/memcheck/tests/partial_load_dflt.stderr.exp64 b/memcheck/tests/partial_load_dflt.stderr.exp64 index a57d9aa..62aef65 100644 --- a/memcheck/tests/partial_load_dflt.stderr.exp64 +++ b/memcheck/tests/partial_load_dflt.stderr.exp64 @@ -24,5 +24,5 @@ HEAP SUMMARY: For a detailed leak analysis, rerun with: --leak-check=full -For counts of detected and suppressed errors, rerun with: -v +For lists of detected and suppressed errors, rerun with: -s ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0) diff --git a/memcheck/tests/partial_load_dflt.stderr.expr-s390x-mvc b/memcheck/tests/partial_load_dflt.stderr.expr-s390x-mvc index 250cc57..cd5dd63 100644 --- a/memcheck/tests/partial_load_dflt.stderr.expr-s390x-mvc +++ b/memcheck/tests/partial_load_dflt.stderr.expr-s390x-mvc @@ -30,5 +30,5 @@ HEAP SUMMARY: For a detailed leak analysis, rerun with: --leak-check=full -For counts of detected and suppressed errors, rerun with: -v +For lists of detected and suppressed errors, rerun with: -s ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 0 from 0) diff --git a/memcheck/tests/partial_load_ok.stderr.exp b/memcheck/tests/partial_load_ok.stderr.exp index fdb4a33..fe20fbe 100644 --- a/memcheck/tests/partial_load_ok.stderr.exp +++ b/memcheck/tests/partial_load_ok.stderr.exp @@ -24,5 +24,5 @@ HEAP SUMMARY: For a detailed leak analysis, rerun with: --leak-check=full -For counts of detected and suppressed errors, rerun with: -v +For lists of detected and suppressed errors, rerun with: -s ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0) diff --git a/memcheck/tests/partial_load_ok.stderr.exp-ppc64 b/memcheck/tests/partial_load_ok.stderr.exp-ppc64 index cf32bcf..c007cd4 100644 --- a/memcheck/tests/partial_load_ok.stderr.exp-ppc64 +++ b/memcheck/tests/partial_load_ok.stderr.exp-ppc64 @@ -19,5 +19,5 @@ HEAP SUMMARY: For a detailed leak analysis, rerun with: --leak-check=full -For counts of detected and suppressed errors, rerun with: -v +For lists of detected and suppressed errors, rerun with: -s ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0) diff --git a/memcheck/tests/partial_load_ok.stderr.exp64 b/memcheck/tests/partial_load_ok.stderr.exp64 index a57d9aa..62aef65 100644 --- a/memcheck/tests/partial_load_ok.stderr.exp64 +++ b/memcheck/tests/partial_load_ok.stderr.exp64 @@ -24,5 +24,5 @@ HEAP SUMMARY: For a detailed leak analysis, rerun with: --leak-check=full -For counts of detected and suppressed errors, rerun with: -v +For lists of detected and suppressed errors, rerun with: -s ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0) diff --git a/memcheck/tests/partiallydefinedeq.stderr.exp b/memcheck/tests/partiallydefinedeq.stderr.exp index c6d1f0b..2532550 100644 --- a/memcheck/tests/partiallydefinedeq.stderr.exp +++ b/memcheck/tests/partiallydefinedeq.stderr.exp @@ -15,5 +15,5 @@ HEAP SUMMARY: For a detailed leak analysis, rerun with: --leak-check=full Use --track-origins=yes to see where uninitialised values come from -For counts of detected and suppressed errors, rerun with: -v +For lists of detected and suppressed errors, rerun with: -s ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0) diff --git a/memcheck/tests/partiallydefinedeq.stderr.exp2 b/memcheck/tests/partiallydefinedeq.stderr.exp2 index 19b46ae..83d4a85 100644 --- a/memcheck/tests/partiallydefinedeq.stderr.exp2 +++ b/memcheck/tests/partiallydefinedeq.stderr.exp2 @@ -19,6 +19,6 @@ HEAP SUMMARY: For a detailed leak analysis, rerun with: --leak-check=full -For counts of detected and suppressed errors, rerun with: -v +For lists of detected and suppressed errors, rerun with: -s Use --track-origins=yes to see where uninitialised values come from ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0) diff --git a/memcheck/tests/partiallydefinedeq.stderr.exp3 b/memcheck/tests/partiallydefinedeq.stderr.exp3 index 227c060..3ecf3c9 100644 --- a/memcheck/tests/partiallydefinedeq.stderr.exp3 +++ b/memcheck/tests/partiallydefinedeq.stderr.exp3 @@ -15,6 +15,6 @@ HEAP SUMMARY: For a detailed leak analysis, rerun with: --leak-check=full -For counts of detected and suppressed errors, rerun with: -v +For lists of detected and suppressed errors, rerun with: -s Use --track-origins=yes to see where uninitialised values come from ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0) diff --git a/memcheck/tests/partiallydefinedeq.stderr.exp4 b/memcheck/tests/partiallydefinedeq.stderr.exp4 index adfe8a9..236c403 100644 --- a/memcheck/tests/partiallydefinedeq.stderr.exp4 +++ b/memcheck/tests/partiallydefinedeq.stderr.exp4 @@ -19,6 +19,6 @@ HEAP SUMMARY: For a detailed leak analysis, rerun with: --leak-check=full -For counts of detected and suppressed errors, rerun with: -v +For lists of detected and suppressed errors, rerun with: -s Use --track-origins=yes to see where uninitialised values come from ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0) diff --git a/memcheck/tests/ppc32/power_ISA2_05.stderr.exp b/memcheck/tests/ppc32/power_ISA2_05.stderr.exp index c22dd7f..eb42921 100644 --- a/memcheck/tests/ppc32/power_ISA2_05.stderr.exp +++ b/memcheck/tests/ppc32/power_ISA2_05.stderr.exp @@ -6,5 +6,5 @@ HEAP SUMMARY: For a detailed leak analysis, rerun with: --leak-check=full -For counts of detected and suppressed errors, rerun with: -v +For lists of detected and suppressed errors, rerun with: -s ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) diff --git a/memcheck/tests/ppc32/power_ISA2_07.stderr.exp b/memcheck/tests/ppc32/power_ISA2_07.stderr.exp index c22dd7f..eb42921 100644 --- a/memcheck/tests/ppc32/power_ISA2_07.stderr.exp +++ b/memcheck/tests/ppc32/power_ISA2_07.stderr.exp @@ -6,5 +6,5 @@ HEAP SUMMARY: For a detailed leak analysis, rerun with: --leak-check=full -For counts of detected and suppressed errors, rerun with: -v +For lists of detected and suppressed errors, rerun with: -s ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) diff --git a/memcheck/tests/sbfragment.stderr.exp b/memcheck/tests/sbfragment.stderr.exp index d0330e5..2ccb50d 100644 --- a/memcheck/tests/sbfragment.stderr.exp +++ b/memcheck/tests/sbfragment.stderr.exp @@ -6,5 +6,5 @@ HEAP SUMMARY: For a detailed leak analysis, rerun with: --leak-check=full -For counts of detected and suppressed errors, rerun with: -v +For lists of detected and suppressed errors, rerun with: -s ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) diff --git a/memcheck/tests/sem.stderr.exp b/memcheck/tests/sem.stderr.exp index c22dd7f..eb42921 100644 --- a/memcheck/tests/sem.stderr.exp +++ b/memcheck/tests/sem.stderr.exp @@ -6,5 +6,5 @@ HEAP SUMMARY: For a detailed leak analysis, rerun with: --leak-check=full -For counts of detected and suppressed errors, rerun with: -v +For lists of detected and suppressed errors, rerun with: -s ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) diff --git a/memcheck/tests/sigkill.stderr.exp b/memcheck/tests/sigkill.stderr.exp index c46fba7..0e7c284 100644 --- a/memcheck/tests/sigkill.stderr.exp +++ b/memcheck/tests/sigkill.stderr.exp @@ -195,5 +195,5 @@ HEAP SUMMARY: For a detailed leak analysis, rerun with: --leak-check=full -For counts of detected and suppressed errors, rerun with: -v +For lists of detected and suppressed errors, rerun with: -s ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) diff --git a/memcheck/tests/sigkill.stderr.exp-darwin b/memcheck/tests/sigkill.stderr.exp-darwin index 3d34b00..dae7f43 100644 --- a/memcheck/tests/sigkill.stderr.exp-darwin +++ b/memcheck/tests/sigkill.stderr.exp-darwin @@ -191,5 +191,5 @@ HEAP SUMMARY: For a detailed leak analysis, rerun with: --leak-check=full -For counts of detected and suppressed errors, rerun with: -v +For lists of detected and suppressed errors, rerun with: -s ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) diff --git a/memcheck/tests/sigkill.stderr.exp-glibc-2.28 b/memcheck/tests/sigkill.stderr.exp-glibc-2.28 index 0e5f0cb..f88308d 100644 --- a/memcheck/tests/sigkill.stderr.exp-glibc-2.28 +++ b/memcheck/tests/sigkill.stderr.exp-glibc-2.28 @@ -193,5 +193,5 @@ HEAP SUMMARY: For a detailed leak analysis, rerun with: --leak-check=full -For counts of detected and suppressed errors, rerun with: -v +For lists of detected and suppressed errors, rerun with: -s ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) diff --git a/memcheck/tests/sigkill.stderr.exp-mips32 b/memcheck/tests/sigkill.stderr.exp-mips32 index de4a860..9bfce9e 100644 --- a/memcheck/tests/sigkill.stderr.exp-mips32 +++ b/memcheck/tests/sigkill.stderr.exp-mips32 @@ -193,5 +193,5 @@ HEAP SUMMARY: For a detailed leak analysis, rerun with: --leak-check=full -For counts of detected and suppressed errors, rerun with: -v +For lists of detected and suppressed errors, rerun with: -s ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) diff --git a/memcheck/tests/sigkill.stderr.exp-solaris b/memcheck/tests/sigkill.stderr.exp-solaris index de4a860..9bfce9e 100644 --- a/memcheck/tests/sigkill.stderr.exp-solaris +++ b/memcheck/tests/sigkill.stderr.exp-solaris @@ -193,5 +193,5 @@ HEAP SUMMARY: For a detailed leak analysis, rerun with: --leak-check=full -For counts of detected and suppressed errors, rerun with: -v +For lists of detected and suppressed errors, rerun with: -s ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) diff --git a/memcheck/tests/solaris/brk.stderr.exp b/memcheck/tests/solaris/brk.stderr.exp index d391c95..cb72c8c 100644 --- a/memcheck/tests/solaris/brk.stderr.exp +++ b/memcheck/tests/solaris/brk.stderr.exp @@ -19,5 +19,5 @@ HEAP SUMMARY: For a detailed leak analysis, rerun with: --leak-check=full -For counts of detected and suppressed errors, rerun with: -v +For lists of detected and suppressed errors, rerun with: -s ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0) diff --git a/memcheck/tests/solaris/syscall_at.stderr.exp b/memcheck/tests/solaris/syscall_at.stderr.exp index 97b2cd5..b49fda2 100644 --- a/memcheck/tests/solaris/syscall_at.stderr.exp +++ b/memcheck/tests/solaris/syscall_at.stderr.exp @@ -20,5 +20,5 @@ HEAP SUMMARY: For a detailed leak analysis, rerun with: --leak-check=full -For counts of detected and suppressed errors, rerun with: -v +For lists of detected and suppressed errors, rerun with: -s ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) diff --git a/none/tests/cmdline1.stdout.exp b/none/tests/cmdline1.stdout.exp index 0a7b4fc..3855a03 100644 --- a/none/tests/cmdline1.stdout.exp +++ b/none/tests/cmdline1.stdout.exp @@ -43,6 +43,9 @@ usage: valgrind [options] prog-and-args --error-exitcode=<number> exit code to return if errors found [0=disable] --error-markers=<begin>,<end> add lines with begin/end markers before/after each error output in plain text mode [none] + --show-error-list=no|yes show detected errors list and + suppression counts at exit [no] + -s same as --show-error-list=yes --keep-debuginfo=no|yes Keep symbols etc for unloaded code [no] This allows saved stack traces (e.g. memory leaks) to include file/line info for code that has been diff --git a/none/tests/cmdline2.stdout.exp b/none/tests/cmdline2.stdout.exp index d312734..0d27039 100644 --- a/none/tests/cmdline2.stdout.exp +++ b/none/tests/cmdline2.stdout.exp @@ -43,6 +43,9 @@ usage: valgrind [options] prog-and-args --error-exitcode=<number> exit code to return if errors found [0=disable] --error-markers=<begin>,<end> add lines with begin/end markers before/after each error output in plain text mode [none] + --show-error-list=no|yes show detected errors list and + suppression counts at exit [no] + -s same as --show-error-list=yes --keep-debuginfo=no|yes Keep symbols etc for unloaded code [no] This allows saved stack traces (e.g. memory leaks) to include file/line info for code that has been |
|
From: Philippe W. <phi...@so...> - 2018-12-28 23:17:22
|
https://sourceware.org/git/gitweb.cgi?p=valgrind.git;h=d680f664651e34cfde6f183aa1ff5a9e76870367 commit d680f664651e34cfde6f183aa1ff5a9e76870367 Author: Philippe Waroquiers <phi...@sk...> Date: Sun Dec 23 22:56:38 2018 +0100 Implement option --show-error-list=no|yes -s This option allows to list the detected errors and show the used suppressions without increasing the verbosity. Increasing the verbosity also activates a lot of messages that are often not very useful for the user. So, this option allows to see the list of errors and used suppressions independently of the verbosity. Note if a high verbosity is selected, the behaviour is unchanged. In other words, when specifying -v, the list of detected errors and the used suppressions are still shown, even if --show-error-list=yes and -s are not used. Diff: --- coregrind/m_errormgr.c | 34 +++++++++++++++++++--------------- coregrind/m_main.c | 29 +++++++++++++++++++++++++---- coregrind/m_options.c | 2 ++ coregrind/pub_core_options.h | 7 +++++++ drd/tests/filter_stderr | 2 +- exp-sgcheck/tests/filter_stderr | 2 +- helgrind/tests/filter_stderr | 2 +- 7 files changed, 56 insertions(+), 22 deletions(-) diff --git a/coregrind/m_errormgr.c b/coregrind/m_errormgr.c index 5dc1725..fb41e4e 100644 --- a/coregrind/m_errormgr.c +++ b/coregrind/m_errormgr.c @@ -979,29 +979,31 @@ void VG_(show_all_errors) ( Int verbosity, Bool xml ) Int i, n_min; Error *p, *p_min; Bool any_supp; + Bool any_error = False; - if (verbosity == 0) + if (verbosity == 0 && !VG_(clo_show_error_list)) return; /* If we're printing XML, just show the suppressions and stop. */ if (xml) { - (void)show_used_suppressions(); + if (VG_(clo_show_error_list)) + (void)show_used_suppressions(); return; } /* We only get here if not printing XML. */ VG_(umsg)("ERROR SUMMARY: " "%u errors from %u contexts (suppressed: %u from %u)\n", - n_errs_found, n_err_contexts, + n_errs_found, n_err_contexts, n_errs_suppressed, n_supp_contexts ); - if (verbosity <= 1) + if (!VG_(clo_show_error_list)) return; - // We do the following only at -v or above, and only in non-XML - // mode + // We do the following if VG_(clo_show_error_list) + // or at -v or above, and only in non-XML mode. - /* Print the contexts in order of increasing error count. + /* Print the contexts in order of increasing error count. Once an error is shown, we add a huge value to its count to filter it out. After having shown all errors, we reset count to the original value. */ @@ -1018,6 +1020,7 @@ void VG_(show_all_errors) ( Int verbosity, Bool xml ) // XXX: this isn't right. See bug 203651. if (p_min == NULL) continue; //VG_(core_panic)("show_all_errors()"); + any_error = True; VG_(umsg)("\n"); VG_(umsg)("%d errors in context %d of %u:\n", p_min->count, i+1, n_err_contexts); @@ -1035,9 +1038,9 @@ void VG_(show_all_errors) ( Int verbosity, Bool xml ) } p_min->count = p_min->count + (1 << 30); - } + } - /* reset the counts, otherwise a 2nd call does not show anything anymore */ + /* reset the counts, otherwise a 2nd call does not show anything anymore */ for (p = errors; p != NULL; p = p->next) { if (p->count >= (1 << 30)) p->count = p->count - (1 << 30); @@ -1046,14 +1049,15 @@ void VG_(show_all_errors) ( Int verbosity, Bool xml ) any_supp = show_used_suppressions(); - if (any_supp) + if (any_supp) VG_(umsg)("\n"); - // reprint this, so users don't have to scroll way up to find + // reprint summary, so users don't have to scroll way up to find // the first printing - VG_(umsg)("ERROR SUMMARY: " - "%u errors from %u contexts (suppressed: %u from %u)\n", - n_errs_found, n_err_contexts, n_errs_suppressed, - n_supp_contexts ); + if (any_supp || any_error) + VG_(umsg)("ERROR SUMMARY: " + "%u errors from %u contexts (suppressed: %u from %u)\n", + n_errs_found, n_err_contexts, n_errs_suppressed, + n_supp_contexts ); } void VG_(show_last_error) ( void ) diff --git a/coregrind/m_main.c b/coregrind/m_main.c index cb42685..7d987ea 100644 --- a/coregrind/m_main.c +++ b/coregrind/m_main.c @@ -129,6 +129,9 @@ static void usage_NORETURN ( Bool debug_help ) " --error-exitcode=<number> exit code to return if errors found [0=disable]\n" " --error-markers=<begin>,<end> add lines with begin/end markers before/after\n" " each error output in plain text mode [none]\n" +" --show-error-list=no|yes show detected errors list and\n" +" suppression counts at exit [no]\n" +" -s same as --show-error-list=yes\n" " --keep-debuginfo=no|yes Keep symbols etc for unloaded code [no]\n" " This allows saved stack traces (e.g. memory leaks)\n" " to include file/line info for code that has been\n" @@ -459,9 +462,11 @@ void main_process_cmd_line_options( void ) Int toolname_len = VG_(strlen)(VG_(clo_toolname)); const HChar* tmp_str; // Used in a couple of places. - /* Whether the user has explicitly provided --sigill-diagnostics. + /* Whether the user has explicitly provided --sigill-diagnostics + or --show-error-list. If not explicitly given depends on general verbosity setting. */ Bool sigill_diag_set = False; + Bool show_error_list_set = False; /* Log to stderr by default, but usage message goes to stdout. XML output is initially disabled. */ @@ -636,6 +641,12 @@ void main_process_cmd_line_options( void ) startpos = *nextpos ? nextpos + 1 : nextpos; } } + else if VG_BOOL_CLO(arg, "--show-error-list", VG_(clo_show_error_list)) { + show_error_list_set = True; } + else if (VG_STREQ(arg, "-s")) { + VG_(clo_show_error_list) = True; + show_error_list_set = True; + } else if VG_BOOL_CLO(arg, "--show-emwarns", VG_(clo_show_emwarns)) {} else if VG_BOOL_CLO(arg, "--run-libc-freeres", VG_(clo_run_libc_freeres)) {} @@ -920,6 +931,13 @@ void main_process_cmd_line_options( void ) if (!sigill_diag_set) VG_(clo_sigill_diag) = (VG_(clo_verbosity) > 0); + if (!show_error_list_set) { + if (VG_(clo_xml)) + VG_(clo_show_error_list) = VG_(clo_verbosity) >= 1; + else + VG_(clo_show_error_list) = VG_(clo_verbosity) >= 2; + } + if (VG_(clo_trace_notbelow) == -1) { if (VG_(clo_trace_notabove) == -1) { /* [] */ @@ -2153,9 +2171,12 @@ void shutdown_actions_NORETURN( ThreadId tid, VG_TDICT_CALL(tool_fini, 0/*exitcode*/); if (VG_(needs).core_errors || VG_(needs).tool_errors) { - if (VG_(clo_verbosity) == 1 && !VG_(clo_xml)) - VG_(message)(Vg_UserMsg, - "For counts of detected and suppressed errors, rerun with: -v\n"); + if (VG_(clo_verbosity) == 1 + && !VG_(clo_xml) + && !VG_(clo_show_error_list)) + VG_(message)(Vg_UserMsg, + "For lists of detected and suppressed errors," + " rerun with: -s\n"); /* Show the error counts. */ if (VG_(clo_xml)) { diff --git a/coregrind/m_options.c b/coregrind/m_options.c index 67eed34..f9e9c8b 100644 --- a/coregrind/m_options.c +++ b/coregrind/m_options.c @@ -54,6 +54,8 @@ Int VG_(clo_error_exitcode) = 0; HChar *VG_(clo_error_markers)[2] = {NULL, NULL}; Bool VG_(clo_exit_on_first_error) = False; +Bool VG_(clo_show_error_list) = False; + #if defined(VGPV_arm_linux_android) \ || defined(VGPV_x86_linux_android) \ || defined(VGPV_mips32_linux_android) \ diff --git a/coregrind/pub_core_options.h b/coregrind/pub_core_options.h index 3bae7f3..9a75da7 100644 --- a/coregrind/pub_core_options.h +++ b/coregrind/pub_core_options.h @@ -51,6 +51,13 @@ extern Bool VG_(clo_exit_on_first_error); way. */ extern Int VG_(clo_error_exitcode); +/* For tools that report errors, list detected errors and show suppression + usage counts at exit. Default: No. + Unless set explicitly by the user, the option is automatically + considered as set to yes for verbosity > 1. */ +extern Bool VG_(clo_show_error_list); + + /* Markers used to mark the begin/end of an error, when errors are printed in textual (non xml) format. [0] is the error begin marker, [1] is the error end marker. diff --git a/drd/tests/filter_stderr b/drd/tests/filter_stderr index 9347e4e..7fbddbf 100755 --- a/drd/tests/filter_stderr +++ b/drd/tests/filter_stderr @@ -42,7 +42,7 @@ sed \ -e "s/ (\([a-zA-Z_]*\.cpp\):[0-9]*)/ (\1:?)/" \ -e "s/\( name [^ ]*\)-[0-9]*\( oflag \)/\1\2/" \ -e '/^ by 0x[0-9a-fA-F]*: process_dl_debug (in \/lib[0-9]*\/ld-[0-9.]*\.so)$/d' \ --e "/^For counts of detected and suppressed errors, rerun with: -v$/d" | +-e "/^For detected errors list and suppressed errors count, rerun with: -s$/d" | # Remove the message that more than hundred errors have been detected # (consists of two lines) and also the empty line above it. diff --git a/exp-sgcheck/tests/filter_stderr b/exp-sgcheck/tests/filter_stderr index 174bc94..94bd873 100755 --- a/exp-sgcheck/tests/filter_stderr +++ b/exp-sgcheck/tests/filter_stderr @@ -19,7 +19,7 @@ sed \ -e "/^exp-sgcheck, a stack and global array overrun detector$/d" \ -e "/^NOTE: This is an Experimental-Class Valgrind Tool$/d" \ -e "/^Copyright (C) 2003-201., and GNU GPL'd, by OpenWorks Ltd et al.$/d" \ --e "/^For counts of detected and suppressed errors, rerun with: -v$/d" | +-e "/^For detected errors list and suppressed errors count, rerun with: -s$/d" | # Tidy up in cases where glibc (+ libdl + libpthread + ld) have # been built with debugging information, hence source locs are present. diff --git a/helgrind/tests/filter_stderr b/helgrind/tests/filter_stderr index cfdd894..0e70723 100755 --- a/helgrind/tests/filter_stderr +++ b/helgrind/tests/filter_stderr @@ -42,7 +42,7 @@ sed \ # do not contain them (at least on gcc110/fedora18). sed \ -e "/^Helgrind, a thread error detector/ , /./ d" \ - -e "/^For counts of detected and suppressed errors, rerun with: -v$/d" \ + -e "/^For detected errors list and suppressed errors count, rerun with: -s$/d" \ -e "/^Use --history-level=approx or =none to gain increased speed, at$/d" \ -e "/^the cost of reduced accuracy of conflicting-access information$/d" \ -e "/pthread_create_WRK (hg_intercepts.c:/d" | |
|
From: Philippe W. <phi...@so...> - 2018-12-28 23:17:16
|
https://sourceware.org/git/gitweb.cgi?p=valgrind.git;h=36bf7c0647f25742636223df8d2f3c81ef57a6ae commit 36bf7c0647f25742636223df8d2f3c81ef57a6ae Author: Philippe Waroquiers <phi...@sk...> Date: Sun Dec 23 20:35:09 2018 +0100 Factorize producing the 'For counts of detected and suppressed errors' msg Each tool producing errors had identical code to produce this msg. Factorize the production of the message in m_main.c This prepares the work to have a specific option to show the list of detected errors and the count of suppressed errors. This has a (small) visible effect on the output of memcheck: Instead of producing For counts of detected and suppressed errors, rerun with: -v Use --track-origins=yes to see where uninitialised values come from memcheck now produces: Use --track-origins=yes to see where uninitialised values come from For counts of detected and suppressed errors, rerun with: -v i.e. the track origin and counts of errors msg are inverted. Diff: --- coregrind/m_main.c | 18 +++++++++++------- drd/drd_main.c | 4 ---- exp-sgcheck/h_main.c | 6 ------ helgrind/hg_main.c | 5 ----- memcheck/mc_main.c | 5 ----- memcheck/tests/addressable.stderr.exp | 2 +- memcheck/tests/amd64/sh-mem-vec256-plo-no.stderr.exp | 2 +- memcheck/tests/amd64/sh-mem-vec256-plo-yes.stderr.exp | 2 +- .../common/sh-mem-vec128-plo-no.stderr.exp-32bit-le | 2 +- .../common/sh-mem-vec128-plo-no.stderr.exp-64bit-le | 2 +- .../common/sh-mem-vec128-plo-yes.stderr.exp-32bit-le | 2 +- .../common/sh-mem-vec128-plo-yes.stderr.exp-64bit-le | 2 +- memcheck/tests/partiallydefinedeq.stderr.exp | 2 +- 13 files changed, 19 insertions(+), 35 deletions(-) diff --git a/coregrind/m_main.c b/coregrind/m_main.c index 93998cf..cb42685 100644 --- a/coregrind/m_main.c +++ b/coregrind/m_main.c @@ -2152,15 +2152,19 @@ void shutdown_actions_NORETURN( ThreadId tid, the error management machinery. */ VG_TDICT_CALL(tool_fini, 0/*exitcode*/); - /* Show the error counts. */ - if (VG_(clo_xml) - && (VG_(needs).core_errors || VG_(needs).tool_errors)) { - VG_(show_error_counts_as_XML)(); - } + if (VG_(needs).core_errors || VG_(needs).tool_errors) { + if (VG_(clo_verbosity) == 1 && !VG_(clo_xml)) + VG_(message)(Vg_UserMsg, + "For counts of detected and suppressed errors, rerun with: -v\n"); - /* In XML mode, this merely prints the used suppressions. */ - if (VG_(needs).core_errors || VG_(needs).tool_errors) + /* Show the error counts. */ + if (VG_(clo_xml)) { + VG_(show_error_counts_as_XML)(); + } + + /* In XML mode, this merely prints the used suppressions. */ VG_(show_all_errors)(VG_(clo_verbosity), VG_(clo_xml)); + } if (VG_(clo_xml)) { VG_(printf_xml)("\n"); diff --git a/drd/drd_main.c b/drd/drd_main.c index 79bdce2..3df967e 100644 --- a/drd/drd_main.c +++ b/drd/drd_main.c @@ -761,10 +761,6 @@ static void drd_start_client_code(const ThreadId tid, const ULong bbs_done) static void DRD_(fini)(Int exitcode) { // thread_print_all(); - if (VG_(clo_verbosity) == 1 && !VG_(clo_xml)) { - VG_(message)(Vg_UserMsg, "For counts of detected and suppressed errors, " - "rerun with: -v\n"); - } if ((VG_(clo_stats) || s_print_stats) && !VG_(clo_xml)) { diff --git a/exp-sgcheck/h_main.c b/exp-sgcheck/h_main.c index 073e66a..1baf1cd 100644 --- a/exp-sgcheck/h_main.c +++ b/exp-sgcheck/h_main.c @@ -708,12 +708,6 @@ IRSB* h_instrument ( VgCallbackClosure* closure, void h_fini ( Int exitcode ) { - if (VG_(clo_verbosity) == 1 && !VG_(clo_xml)) { - VG_(message)(Vg_UserMsg, - "For counts of detected and suppressed errors, " - "rerun with: -v\n"); - } - if (VG_(clo_stats)) { VG_(message)(Vg_DebugMsg, " h_: %'10llu client allocs, %'10llu client frees\n", diff --git a/helgrind/hg_main.c b/helgrind/hg_main.c index 0a3beea..d75aa43 100644 --- a/helgrind/hg_main.c +++ b/helgrind/hg_main.c @@ -5897,11 +5897,6 @@ static void hg_print_stats (void) static void hg_fini ( Int exitcode ) { HG_(xtmemory_report) (VG_(clo_xtree_memory_file), True); - if (VG_(clo_verbosity) == 1 && !VG_(clo_xml)) { - VG_(message)(Vg_UserMsg, - "For counts of detected and suppressed errors, " - "rerun with: -v\n"); - } if (VG_(clo_verbosity) == 1 && !VG_(clo_xml) && HG_(clo_history_level) >= 2) { diff --git a/memcheck/mc_main.c b/memcheck/mc_main.c index 101916b..253f091 100644 --- a/memcheck/mc_main.c +++ b/memcheck/mc_main.c @@ -8019,11 +8019,6 @@ static void mc_fini ( Int exitcode ) } } - if (VG_(clo_verbosity) == 1 && !VG_(clo_xml)) { - VG_(message)(Vg_UserMsg, - "For counts of detected and suppressed errors, rerun with: -v\n"); - } - if (MC_(any_value_errors) && !VG_(clo_xml) && VG_(clo_verbosity) >= 1 && MC_(clo_mc_level) == 2) { VG_(message)(Vg_UserMsg, diff --git a/memcheck/tests/addressable.stderr.exp b/memcheck/tests/addressable.stderr.exp index 8fbd952..b3441cd 100644 --- a/memcheck/tests/addressable.stderr.exp +++ b/memcheck/tests/addressable.stderr.exp @@ -77,8 +77,8 @@ HEAP SUMMARY: For a detailed leak analysis, rerun with: --leak-check=full -For counts of detected and suppressed errors, rerun with: -v Use --track-origins=yes to see where uninitialised values come from +For counts of detected and suppressed errors, rerun with: -v ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0) HEAP SUMMARY: diff --git a/memcheck/tests/amd64/sh-mem-vec256-plo-no.stderr.exp b/memcheck/tests/amd64/sh-mem-vec256-plo-no.stderr.exp index e4d60a5..f637e6d 100644 --- a/memcheck/tests/amd64/sh-mem-vec256-plo-no.stderr.exp +++ b/memcheck/tests/amd64/sh-mem-vec256-plo-no.stderr.exp @@ -937,6 +937,6 @@ HEAP SUMMARY: For a detailed leak analysis, rerun with: --leak-check=full -For counts of detected and suppressed errors, rerun with: -v Use --track-origins=yes to see where uninitialised values come from +For counts of detected and suppressed errors, rerun with: -v ERROR SUMMARY: 130 errors from 100 contexts (suppressed: 0 from 0) diff --git a/memcheck/tests/amd64/sh-mem-vec256-plo-yes.stderr.exp b/memcheck/tests/amd64/sh-mem-vec256-plo-yes.stderr.exp index 366bcc0..e2b863b 100644 --- a/memcheck/tests/amd64/sh-mem-vec256-plo-yes.stderr.exp +++ b/memcheck/tests/amd64/sh-mem-vec256-plo-yes.stderr.exp @@ -863,6 +863,6 @@ HEAP SUMMARY: For a detailed leak analysis, rerun with: --leak-check=full -For counts of detected and suppressed errors, rerun with: -v Use --track-origins=yes to see where uninitialised values come from +For counts of detected and suppressed errors, rerun with: -v ERROR SUMMARY: 99 errors from 99 contexts (suppressed: 0 from 0) diff --git a/memcheck/tests/common/sh-mem-vec128-plo-no.stderr.exp-32bit-le b/memcheck/tests/common/sh-mem-vec128-plo-no.stderr.exp-32bit-le index 1cf415d..19e1b22 100644 --- a/memcheck/tests/common/sh-mem-vec128-plo-no.stderr.exp-32bit-le +++ b/memcheck/tests/common/sh-mem-vec128-plo-no.stderr.exp-32bit-le @@ -572,6 +572,6 @@ HEAP SUMMARY: For a detailed leak analysis, rerun with: --leak-check=full -For counts of detected and suppressed errors, rerun with: -v Use --track-origins=yes to see where uninitialised values come from +For counts of detected and suppressed errors, rerun with: -v ERROR SUMMARY: 66 errors from 66 contexts (suppressed: 0 from 0) diff --git a/memcheck/tests/common/sh-mem-vec128-plo-no.stderr.exp-64bit-le b/memcheck/tests/common/sh-mem-vec128-plo-no.stderr.exp-64bit-le index c81db9b..d16bfe0 100644 --- a/memcheck/tests/common/sh-mem-vec128-plo-no.stderr.exp-64bit-le +++ b/memcheck/tests/common/sh-mem-vec128-plo-no.stderr.exp-64bit-le @@ -572,6 +572,6 @@ HEAP SUMMARY: For a detailed leak analysis, rerun with: --leak-check=full -For counts of detected and suppressed errors, rerun with: -v Use --track-origins=yes to see where uninitialised values come from +For counts of detected and suppressed errors, rerun with: -v ERROR SUMMARY: 66 errors from 66 contexts (suppressed: 0 from 0) diff --git a/memcheck/tests/common/sh-mem-vec128-plo-yes.stderr.exp-32bit-le b/memcheck/tests/common/sh-mem-vec128-plo-yes.stderr.exp-32bit-le index 099af00..34d597a 100644 --- a/memcheck/tests/common/sh-mem-vec128-plo-yes.stderr.exp-32bit-le +++ b/memcheck/tests/common/sh-mem-vec128-plo-yes.stderr.exp-32bit-le @@ -463,6 +463,6 @@ HEAP SUMMARY: For a detailed leak analysis, rerun with: --leak-check=full -For counts of detected and suppressed errors, rerun with: -v Use --track-origins=yes to see where uninitialised values come from +For counts of detected and suppressed errors, rerun with: -v ERROR SUMMARY: 51 errors from 51 contexts (suppressed: 0 from 0) diff --git a/memcheck/tests/common/sh-mem-vec128-plo-yes.stderr.exp-64bit-le b/memcheck/tests/common/sh-mem-vec128-plo-yes.stderr.exp-64bit-le index e95bebc..3623245 100644 --- a/memcheck/tests/common/sh-mem-vec128-plo-yes.stderr.exp-64bit-le +++ b/memcheck/tests/common/sh-mem-vec128-plo-yes.stderr.exp-64bit-le @@ -463,6 +463,6 @@ HEAP SUMMARY: For a detailed leak analysis, rerun with: --leak-check=full -For counts of detected and suppressed errors, rerun with: -v Use --track-origins=yes to see where uninitialised values come from +For counts of detected and suppressed errors, rerun with: -v ERROR SUMMARY: 51 errors from 51 contexts (suppressed: 0 from 0) diff --git a/memcheck/tests/partiallydefinedeq.stderr.exp b/memcheck/tests/partiallydefinedeq.stderr.exp index 9f38011..c6d1f0b 100644 --- a/memcheck/tests/partiallydefinedeq.stderr.exp +++ b/memcheck/tests/partiallydefinedeq.stderr.exp @@ -14,6 +14,6 @@ HEAP SUMMARY: For a detailed leak analysis, rerun with: --leak-check=full -For counts of detected and suppressed errors, rerun with: -v Use --track-origins=yes to see where uninitialised values come from +For counts of detected and suppressed errors, rerun with: -v ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0) |
|
From: John R. <jr...@bi...> - 2018-12-28 15:31:22
|
On 12/28/18 09:56 UTC, Munagala Naresh wrote:
> We are using valgrind tool to find memory leaks from our native process on "LE" target.
> Our processes has a dlopen() function call to dynamically load the shared libraries. Unfortunately we are not seeing symbol information from this dynamically loaded shared library.
>
> While googling for this issue, found below link where they suggested to export "LD_PRELOAD" variable. Even after exporting this one, symbols are not coming correctly.
>
> Can you please help with any suggestions on this regard ?
>
> Valgrind Version:3.13
That last line giving the version of valgrind is the only useful information contained in the query.
What is an example actual complaint from valgrind output that shows a lack of symbol information?
What is the hardware architecture, using some widely-recognized designator [not "LE"]?
What is the operating system, and what version is it? If Linux, then what flavor
(Fedora, Ubuntu, custom, etc.), and what is the output from running "uname -a"?
What is the evidence that the shared library *does* have symbols?
For example on Linux, if the output from "file my_lib.so" contains
"stripped", then my_lib.so does not contain symbols that are useful
to valgrind. If the output from "readelf --sections my_lib.so"
does not show sections named .debug_info, .debug_abbrev, .debug_line,
and .debug_str then that is more evidence of a lack of useful symbols.
Some software build systems put debug symbols into a separate file.
If so, then "readelf --note my_lib.so" will contain "NT_GNU_BUILD_ID"
and "Build ID"; and running
strace -e trace=file -o strace.out valgrind ./my_app
will show system calls similar to
open("/usr/lib/debug/.build-id/e3/64df80b97b7dbd487a7c48b69b618b0a041958.debug", O_RDONLY) = 4
where valgrind looked to find the debuginfo for a Build ID of e364df80b97b7dbd487a7c48b69b618b0a041958.
The valgrind FAQ does have a relevant hint; search for "symbol".
|
|
From: Munagala N. <mun...@gm...> - 2018-12-28 09:56:46
|
Hi Team, We are using valgrind tool to find memory leaks from our native process on "LE" target. Our processes has a dlopen() function call to dynamically load the shared libraries. Unfortunately we are not seeing symbol information from this dynamically loaded shared library. While googling for this issue, found below link where they suggested to export "LD_PRELOAD" variable. Even after exporting this one, symbols are not coming correctly. Can you please help with any suggestions on this regard ? Valgrind Version:3.13 -- Regards Naresh Babu 09900139337 |