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
(9) |
|
2
(24) |
3
(22) |
4
(16) |
5
(32) |
6
(19) |
7
(22) |
8
(30) |
|
9
(21) |
10
(21) |
11
(20) |
12
(13) |
13
(24) |
14
(23) |
15
(13) |
|
16
(11) |
17
(6) |
18
(12) |
19
(17) |
20
(26) |
21
(25) |
22
(37) |
|
23
(32) |
24
(21) |
25
(30) |
26
(22) |
27
(24) |
28
(19) |
29
(9) |
|
30
(5) |
31
(6) |
|
|
|
|
|
|
From: <sv...@va...> - 2011-10-04 20:19:45
|
Author: florian
Date: 2011-10-04 21:14:59 +0100 (Tue, 04 Oct 2011)
New Revision: 12097
Log:
Rewrite badjump and badjump2 such that the error occurs now on the
same line for all architectures.
Promote the s390x exp file to be the golden one because it has the
correct result. Add exp-kfail files for those platforms where the testcases
fail (x86).
Added:
trunk/memcheck/tests/badjump.stderr.exp-kfail
trunk/memcheck/tests/badjump2.stderr.exp-kfail
Removed:
trunk/memcheck/tests/badjump.stderr.exp-s390x
trunk/memcheck/tests/badjump2.stderr.exp-s390x
Modified:
trunk/memcheck/tests/badjump.c
trunk/memcheck/tests/badjump.stderr.exp
trunk/memcheck/tests/badjump2.c
trunk/memcheck/tests/badjump2.stderr.exp
Modified: trunk/memcheck/tests/badjump.c
===================================================================
--- trunk/memcheck/tests/badjump.c 2011-10-04 16:53:34 UTC (rev 12096)
+++ trunk/memcheck/tests/badjump.c 2011-10-04 20:14:59 UTC (rev 12097)
@@ -7,14 +7,13 @@
descriptor, not to the function's entry point. Hence to get
uniform behaviour on all supported targets - a jump to an
unmapped page - the following is needed. */
- unsigned long long int fake_fndescr[3];
- fake_fndescr[0] = (unsigned long long int)get_unmapped_page();
- fake_fndescr[1] = 0;
- fake_fndescr[2] = 0;
- return ((int(*)(void)) fake_fndescr) ();
+ unsigned long long int p[3];
+ p[0] = (unsigned long long int)get_unmapped_page();
+ p[1] = 0;
+ p[2] = 0;
#else
char* p = get_unmapped_page();
- return ((int(*)(void)) p) ();
#endif
+ return ((int(*)(void)) p) ();
}
Modified: trunk/memcheck/tests/badjump.stderr.exp
===================================================================
--- trunk/memcheck/tests/badjump.stderr.exp 2011-10-04 16:53:34 UTC (rev 12096)
+++ trunk/memcheck/tests/badjump.stderr.exp 2011-10-04 20:14:59 UTC (rev 12097)
@@ -1,12 +1,14 @@
Jump to the invalid address stated on the next line
...
+ by 0x........: main (badjump.c:17)
Address 0x........ is not stack'd, malloc'd or (recently) free'd
Process terminating with default action of signal 11 (SIGSEGV)
Access not within mapped region at address 0x........
...
+ by 0x........: main (badjump.c:17)
If you believe this happened as a result of a stack
overflow in your program's main thread (unlikely but
possible), you can try to increase the size of the
Added: trunk/memcheck/tests/badjump.stderr.exp-kfail
===================================================================
--- trunk/memcheck/tests/badjump.stderr.exp-kfail (rev 0)
+++ trunk/memcheck/tests/badjump.stderr.exp-kfail 2011-10-04 20:14:59 UTC (rev 12097)
@@ -0,0 +1,23 @@
+
+Jump to the invalid address stated on the next line
+ ...
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+
+Process terminating with default action of signal 11 (SIGSEGV)
+ Access not within mapped region at address 0x........
+ ...
+ If you believe this happened as a result of a stack
+ overflow in your program's main thread (unlikely but
+ possible), you can try to increase the size of the
+ main thread stack using the --main-stacksize= flag.
+ The main thread stack size used in this run was ....
+
+HEAP SUMMARY:
+ in use at exit: ... bytes in ... blocks
+ total heap usage: ... allocs, ... frees, ... bytes allocated
+
+For a detailed leak analysis, rerun with: --leak-check=full
+
+For counts of detected and suppressed errors, rerun with: -v
+ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
Deleted: trunk/memcheck/tests/badjump.stderr.exp-s390x
===================================================================
--- trunk/memcheck/tests/badjump.stderr.exp-s390x 2011-10-04 16:53:34 UTC (rev 12096)
+++ trunk/memcheck/tests/badjump.stderr.exp-s390x 2011-10-04 20:14:59 UTC (rev 12097)
@@ -1,25 +0,0 @@
-
-Jump to the invalid address stated on the next line
- ...
- by 0x........: main (badjump.c:17)
- Address 0x........ is not stack'd, malloc'd or (recently) free'd
-
-
-Process terminating with default action of signal 11 (SIGSEGV)
- Access not within mapped region at address 0x........
- ...
- by 0x........: main (badjump.c:17)
- If you believe this happened as a result of a stack
- overflow in your program's main thread (unlikely but
- possible), you can try to increase the size of the
- main thread stack using the --main-stacksize= flag.
- The main thread stack size used in this run was ....
-
-HEAP SUMMARY:
- in use at exit: ... bytes in ... blocks
- total heap usage: ... allocs, ... frees, ... bytes allocated
-
-For a detailed leak analysis, rerun with: --leak-check=full
-
-For counts of detected and suppressed errors, rerun with: -v
-ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
Modified: trunk/memcheck/tests/badjump2.c
===================================================================
--- trunk/memcheck/tests/badjump2.c 2011-10-04 16:53:34 UTC (rev 12096)
+++ trunk/memcheck/tests/badjump2.c 2011-10-04 20:14:59 UTC (rev 12097)
@@ -36,15 +36,14 @@
if (__builtin_setjmp(myjmpbuf) == 0) {
// Jump to zero; will cause seg fault
#if defined(__powerpc64__)
- unsigned long int fake_fndescr[3];
- fake_fndescr[0] = 0;
- fake_fndescr[1] = 0;
- fake_fndescr[2] = 0;
- ((void(*)(void)) fake_fndescr) ();
+ unsigned long int fn[3];
+ fn[0] = 0;
+ fn[1] = 0;
+ fn[2] = 0;
#else
void (*fn)(void) = 0;
- fn();
#endif
+ ((void(*)(void)) fn) ();
fprintf(stderr, "Got here??\n");
} else {
fprintf(stderr, "Signal caught, as expected\n");
Modified: trunk/memcheck/tests/badjump2.stderr.exp
===================================================================
--- trunk/memcheck/tests/badjump2.stderr.exp 2011-10-04 16:53:34 UTC (rev 12096)
+++ trunk/memcheck/tests/badjump2.stderr.exp 2011-10-04 20:14:59 UTC (rev 12097)
@@ -1,5 +1,6 @@
Jump to the invalid address stated on the next line
...
+ by 0x........: main (badjump2.c:46)
Address 0x........ is not stack'd, malloc'd or (recently) free'd
Signal caught, as expected
Added: trunk/memcheck/tests/badjump2.stderr.exp-kfail
===================================================================
--- trunk/memcheck/tests/badjump2.stderr.exp-kfail (rev 0)
+++ trunk/memcheck/tests/badjump2.stderr.exp-kfail 2011-10-04 20:14:59 UTC (rev 12097)
@@ -0,0 +1,5 @@
+Jump to the invalid address stated on the next line
+ ...
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+Signal caught, as expected
Deleted: trunk/memcheck/tests/badjump2.stderr.exp-s390x
===================================================================
--- trunk/memcheck/tests/badjump2.stderr.exp-s390x 2011-10-04 16:53:34 UTC (rev 12096)
+++ trunk/memcheck/tests/badjump2.stderr.exp-s390x 2011-10-04 20:14:59 UTC (rev 12097)
@@ -1,6 +0,0 @@
-Jump to the invalid address stated on the next line
- ...
- by 0x........: main (badjump2.c:46)
- Address 0x........ is not stack'd, malloc'd or (recently) free'd
-
-Signal caught, as expected
|
|
From: Christian B. <bor...@de...> - 2011-10-04 20:13:50
|
valgrind revision: 12096 VEX revision: 2211 GCC version: gcc (SUSE Linux) 4.3.4 [gcc-4_3-branch revision 152973] C library: GNU C Library stable release version 2.11.1 (20100118), by Roland McGrath et al. uname -mrs: Linux 2.6.32.43-0.4-default s390x Vendor version: Welcome to SUSE Linux Enterprise Server 11 SP1 (s390x) - Kernel %r (%t). Nightly build on sless390 ( SUSE Linux Enterprise Server 11 SP1 gcc 4.3.4 on z196 (s390x) ) Started at 2011-10-04 21:45:01 CEST Ended at 2011-10-04 22:13:42 CEST Results differ from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 499 tests, 5 stderr failures, 0 stdout failures, 8 stderrB failures, 0 stdoutB failures, 0 post failures == gdbserver_tests/mcbreak (stderrB) gdbserver_tests/mcclean_after_fork (stderrB) gdbserver_tests/mcleak (stderrB) gdbserver_tests/mcmain_pic (stderrB) gdbserver_tests/mcvabits (stderrB) gdbserver_tests/mssnapshot (stderrB) gdbserver_tests/nlpasssigalrm (stderrB) gdbserver_tests/nlsigvgdb (stderrB) memcheck/tests/linux/timerfd-syscall (stderr) helgrind/tests/tc18_semabuse (stderr) helgrind/tests/tc20_verifywrap (stderr) drd/tests/tc04_free_lock (stderr) drd/tests/tc09_bad_unlock (stderr) ================================================= == Results from 24 hours ago == ================================================= Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 499 tests, 6 stderr failures, 0 stdout failures, 8 stderrB failures, 0 stdoutB failures, 0 post failures == gdbserver_tests/mcbreak (stderrB) gdbserver_tests/mcclean_after_fork (stderrB) gdbserver_tests/mcleak (stderrB) gdbserver_tests/mcmain_pic (stderrB) gdbserver_tests/mcvabits (stderrB) gdbserver_tests/mssnapshot (stderrB) gdbserver_tests/nlpasssigalrm (stderrB) gdbserver_tests/nlsigvgdb (stderrB) memcheck/tests/err_disable3 (stderr) memcheck/tests/linux/timerfd-syscall (stderr) helgrind/tests/tc18_semabuse (stderr) helgrind/tests/tc20_verifywrap (stderr) drd/tests/tc04_free_lock (stderr) drd/tests/tc09_bad_unlock (stderr) ================================================= == Difference between 24 hours ago and now == ================================================= *** old.short Tue Oct 4 21:59:23 2011 --- new.short Tue Oct 4 22:13:42 2011 *************** *** 8,10 **** ! == 499 tests, 6 stderr failures, 0 stdout failures, 8 stderrB failures, 0 stdoutB failures, 0 post failures == gdbserver_tests/mcbreak (stderrB) --- 8,10 ---- ! == 499 tests, 5 stderr failures, 0 stdout failures, 8 stderrB failures, 0 stdoutB failures, 0 post failures == gdbserver_tests/mcbreak (stderrB) *************** *** 17,19 **** gdbserver_tests/nlsigvgdb (stderrB) - memcheck/tests/err_disable3 (stderr) memcheck/tests/linux/timerfd-syscall (stderr) --- 17,18 ---- |
|
From: Christian B. <bor...@de...> - 2011-10-04 20:09:24
|
valgrind revision: 12096 VEX revision: 2211 GCC version: gcc (GCC) 4.5.3 20110121 (Red Hat 4.5.3-3) C library: GNU C Library stable release version 2.12.1, by Roland McGrath et al. uname -mrs: Linux 2.6.38-06555.ga44f99c.48.x.20110321-s390xgit s390x Vendor version: unknown Nightly build on fedora390 ( Fedora 13/14/15 mix with gcc 3.5.3 on z196 (s390x) ) Started at 2011-10-04 21:45:01 CEST Ended at 2011-10-04 22:09:40 CEST Results differ from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 498 tests, 5 stderr failures, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures == memcheck/tests/linux/timerfd-syscall (stderr) helgrind/tests/tc18_semabuse (stderr) helgrind/tests/tc20_verifywrap (stderr) drd/tests/tc04_free_lock (stderr) drd/tests/tc09_bad_unlock (stderr) ================================================= == Results from 24 hours ago == ================================================= Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 498 tests, 6 stderr failures, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures == memcheck/tests/err_disable3 (stderr) memcheck/tests/linux/timerfd-syscall (stderr) helgrind/tests/tc18_semabuse (stderr) helgrind/tests/tc20_verifywrap (stderr) drd/tests/tc04_free_lock (stderr) drd/tests/tc09_bad_unlock (stderr) ================================================= == Difference between 24 hours ago and now == ================================================= *** old.short Tue Oct 4 21:57:59 2011 --- new.short Tue Oct 4 22:09:40 2011 *************** *** 8,11 **** ! == 498 tests, 6 stderr failures, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures == ! memcheck/tests/err_disable3 (stderr) memcheck/tests/linux/timerfd-syscall (stderr) --- 8,10 ---- ! == 498 tests, 5 stderr failures, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures == memcheck/tests/linux/timerfd-syscall (stderr) |
|
From: <sv...@va...> - 2011-10-04 16:58:25
|
Author: florian Date: 2011-10-04 17:53:34 +0100 (Tue, 04 Oct 2011) New Revision: 12096 Log: Change the nightly script to gather information about the run and its environment. Simplify z900.sendmail accordingly. Modified: trunk/nightly/bin/nightly trunk/nightly/conf/z900.sendmail Modified: trunk/nightly/bin/nightly =================================================================== --- trunk/nightly/bin/nightly 2011-10-04 16:28:42 UTC (rev 12095) +++ trunk/nightly/bin/nightly 2011-10-04 16:53:34 UTC (rev 12096) @@ -178,8 +178,33 @@ # Get times and date END=`date "+%F %H:%M:%S %Z"` +# Gather some information about this run and its environment +valgrind_revision="`svn info valgrind-new | grep Revision | sed 's/Revision[ ]*:[ ]*//'`" +vex_revision="`svn info valgrind-new/VEX | grep Revision | sed 's/Revision[ ]*:[ ]*//'`" +gcc_version="`gcc --version | head -1`" +libc_so="`ls -1 /lib/libc.so.* | tail -1`" +libc="unknown" +if [ "x$libc_so" != "x" ]; then + if [ -e "$libc_so" -a -r "$libc_so" ]; then + libc="`/lib/libc.so.* | head -1`" + fi +fi +uname_stuff="`uname -mrs`" +if [ -e "/etc/issue.net" -a -r "/etc/issue.net" ]; then + vendor_stuff="`cat /etc/issue.net | head -1`" +else + vendor_stuff="unknown" +fi + +echo "valgrind revision: $valgrind_revision" > final +echo "VEX revision: $vex_revision" >> final +echo "GCC version: $gcc_version" >> final +echo "C library: $libc" >> final +echo "uname -mrs: $uname_stuff" >> final +echo "Vendor version: $vendor_stuff" >> final + # 'final' shows the difference between the old and new results -echo > final +echo >> final echo "Nightly build on" $TAG "(" $ABT_DETAILS ")" >> final echo "Started at" $START >> final echo "Ended at" $END >> final Modified: trunk/nightly/conf/z900.sendmail =================================================================== --- trunk/nightly/conf/z900.sendmail 2011-10-04 16:28:42 UTC (rev 12095) +++ trunk/nightly/conf/z900.sendmail 2011-10-04 16:53:34 UTC (rev 12096) @@ -2,12 +2,6 @@ summary="$2" diffs="$3" -valgrind_revision="`svn info valgrind-new | grep Revision | sed 's/Revision[ ]*:[ ]*//'`" -vex_revision="`svn info valgrind-new/VEX | grep Revision | sed 's/Revision[ ]*:[ ]*//'`" -gcc_version="`gcc --version | head -1`" -glibc_version="`/lib/libc.so.* | head -1`" -uname_stuff="`uname -mrs`" -vendor_stuff="`cat /etc/issue.net | head -1`" MAILFILE=/opt/tobesent rm -f $MAILFILE touch $MAILFILE @@ -15,14 +9,7 @@ echo "To: val...@li..." >> $MAILFILE echo "Cc: br...@ac..." >> $MAILFILE echo " " >> $MAILFILE -echo "valgrind revision: $valgrind_revision" >> $MAILFILE -echo "VEX revision: $vex_revision" >> $MAILFILE -echo "GCC version: $gcc_version" >> $MAILFILE -echo "GLIBC version: $glibc_version" >> $MAILFILE -echo "uname -mrs: $uname_stuff" >> $MAILFILE -echo "Vendor version: $vendor_stuff" >> $MAILFILE -echo " " >> $MAILFILE cat "$summary" >> $MAILFILE echo " " >> $MAILFILE -# cat "$diffs" >> $MAILFILE +cat "$diffs" >> $MAILFILE /usr/sbin/sendmail -t -i -fb...@ac... < $MAILFILE |
|
From: Bart V. A. <bva...@ac...> - 2011-10-04 16:54:29
|
In order to support escaping XML meta-characters several formatting functions in Valgrind support the %t format specifier. That's an unfortunate choice since gcc's format specification checker doesn't recognize %t. My proposal is to use the format specifier %pS instead of %t and to remove the _no_f_c variants of the formatting functions, as is done in the patch below. This patch has been inspired by the format specifiers supported by the vsnprintf() function in the Linux kernel (source file lib/vsprintf.c -- see e.g. http://github.com/torvalds/linux/blob/master/lib/vsprintf.c#L1128). diff --git a/coregrind/m_debuginfo/debuginfo.c b/coregrind/m_debuginfo/debuginfo.c index 97373e8..ec99d59 100644 --- a/coregrind/m_debuginfo/debuginfo.c +++ b/coregrind/m_debuginfo/debuginfo.c @@ -2563,14 +2563,14 @@ Bool VG_(use_FPO_info) ( /*MOD*/Addr* ipP, /*--------------------------------------------------------------*/ /* Try to make p2XA(dst, fmt, args..) turn into - VG_(xaprintf_no_f_c)(dst, fmt, args) without having to resort to + VG_(xaprintf)(dst, fmt, args) without having to resort to vararg macros. As usual with everything to do with varargs, it's an ugly hack. //#define p2XA(dstxa, format, args...) - // VG_(xaprintf_no_f_c)(dstxa, format, ##args) + // VG_(xaprintf)(dstxa, format, ##args) */ -#define p2XA VG_(xaprintf_no_f_c) +#define p2XA VG_(xaprintf) /* Add a zero-terminating byte to DST, which must be an XArray* of HChar. */ @@ -2712,7 +2712,7 @@ static void format_message ( /*MOD*/XArray* /* of HChar */ dn1, if (xml) { TAGL( dn1 ); p2XA( dn1, - "Location 0x%lx is %lu byte%s inside local var \"%t\",", + "Location 0x%lx is %lu byte%s inside local var \"%pS\",", data_addr, var_offset, vo_plural, var->name ); TAGR( dn1 ); TAGL( dn2 ); @@ -2736,18 +2736,18 @@ static void format_message ( /*MOD*/XArray* /* of HChar */ dn1, if (xml) { TAGL( dn1 ); p2XA( dn1, - "Location 0x%lx is %lu byte%s inside local var \"%t\"", + "Location 0x%lx is %lu byte%s inside local var \"%pS\"", data_addr, var_offset, vo_plural, var->name ); TAGR( dn1 ); XAGL( dn2 ); TXTL( dn2 ); p2XA( dn2, - "declared at %t:%d, in frame #%d of thread %d", + "declared at %pS:%d, in frame #%d of thread %d", var->fileName, var->lineNo, frameNo, (Int)tid ); TXTR( dn2 ); // FIXME: also do <dir> p2XA( dn2, - " <file>%t</file> <line>%d</line> ", + " <file>%pS</file> <line>%d</line> ", var->fileName, var->lineNo ); XAGR( dn2 ); } else { @@ -2768,7 +2768,7 @@ static void format_message ( /*MOD*/XArray* /* of HChar */ dn1, if (xml) { TAGL( dn1 ); p2XA( dn1, - "Location 0x%lx is %lu byte%s inside %t%t", + "Location 0x%lx is %lu byte%s inside %pS%pS", data_addr, residual_offset, ro_plural, var->name, (HChar*)(VG_(indexXA)(described,0)) ); TAGR( dn1 ); @@ -2792,19 +2792,19 @@ static void format_message ( /*MOD*/XArray* /* of HChar */ dn1, if (xml) { TAGL( dn1 ); p2XA( dn1, - "Location 0x%lx is %lu byte%s inside %t%t,", + "Location 0x%lx is %lu byte%s inside %pS%pS,", data_addr, residual_offset, ro_plural, var->name, (HChar*)(VG_(indexXA)(described,0)) ); TAGR( dn1 ); XAGL( dn2 ); TXTL( dn2 ); p2XA( dn2, - "declared at %t:%d, in frame #%d of thread %d", + "declared at %pS:%d, in frame #%d of thread %d", var->fileName, var->lineNo, frameNo, (Int)tid ); TXTR( dn2 ); // FIXME: also do <dir> p2XA( dn2, - " <file>%t</file> <line>%d</line> ", + " <file>%pS</file> <line>%d</line> ", var->fileName, var->lineNo ); XAGR( dn2 ); } else { @@ -2826,7 +2826,7 @@ static void format_message ( /*MOD*/XArray* /* of HChar */ dn1, if (xml) { TAGL( dn1 ); p2XA( dn1, - "Location 0x%lx is %lu byte%s inside global var \"%t\"", + "Location 0x%lx is %lu byte%s inside global var \"%pS\"", data_addr, var_offset, vo_plural, var->name ); TAGR( dn1 ); } else { @@ -2844,18 +2844,18 @@ static void format_message ( /*MOD*/XArray* /* of HChar */ dn1, if (xml) { TAGL( dn1 ); p2XA( dn1, - "Location 0x%lx is %lu byte%s inside global var \"%t\"", + "Location 0x%lx is %lu byte%s inside global var \"%pS\"", data_addr, var_offset, vo_plural, var->name ); TAGR( dn1 ); XAGL( dn2 ); TXTL( dn2 ); p2XA( dn2, - "declared at %t:%d", + "declared at %pS:%d", var->fileName, var->lineNo); TXTR( dn2 ); // FIXME: also do <dir> p2XA( dn2, - " <file>%t</file> <line>%d</line> ", + " <file>%pS</file> <line>%d</line> ", var->fileName, var->lineNo ); XAGR( dn2 ); } else { @@ -2876,7 +2876,7 @@ static void format_message ( /*MOD*/XArray* /* of HChar */ dn1, if (xml) { TAGL( dn1 ); p2XA( dn1, - "Location 0x%lx is %lu byte%s inside %t%t,", + "Location 0x%lx is %lu byte%s inside %pS%pS,", data_addr, residual_offset, ro_plural, var->name, (HChar*)(VG_(indexXA)(described,0)) ); TAGR( dn1 ); @@ -2900,19 +2900,19 @@ static void format_message ( /*MOD*/XArray* /* of HChar */ dn1, if (xml) { TAGL( dn1 ); p2XA( dn1, - "Location 0x%lx is %lu byte%s inside %t%t,", + "Location 0x%lx is %lu byte%s inside %pS%pS,", data_addr, residual_offset, ro_plural, var->name, (HChar*)(VG_(indexXA)(described,0)) ); TAGR( dn1 ); XAGL( dn2 ); TXTL( dn2 ); p2XA( dn2, - "a global variable declared at %t:%d", + "a global variable declared at %pS:%d", var->fileName, var->lineNo); TXTR( dn2 ); // FIXME: also do <dir> p2XA( dn2, - " <file>%t</file> <line>%d</line> ", + " <file>%pS</file> <line>%d</line> ", var->fileName, var->lineNo ); XAGR( dn2 ); } else { diff --git a/coregrind/m_debuglog.c b/coregrind/m_debuglog.c index ccd2ad9..7ad3f8c 100644 --- a/coregrind/m_debuglog.c +++ b/coregrind/m_debuglog.c @@ -721,12 +721,23 @@ VG_(debugLog_vprintf) ( ret += myvprintf_int64(send, send_arg2, flags, 10, width, False, (ULong)(va_arg (vargs, UInt))); break; - case 'p': /* %p */ - ret += 2; - send('0',send_arg2); - send('x',send_arg2); - ret += myvprintf_int64(send, send_arg2, flags, 16, width, True, - (ULong)((UWord)va_arg (vargs, void *))); + case 'p': + if (format[i+1] == 'S') { + i++; + /* %pS, like %s but escaping chars for XML safety */ + /* Note: simplistic; ignores field width and flags */ + char *str = va_arg (vargs, char *); + if (str == (char*) 0) + str = "(null)"; + ret += myvprintf_str_XML_simplistic(send, send_arg2, str); + } else { + /* %p */ + ret += 2; + send('0',send_arg2); + send('x',send_arg2); + ret += myvprintf_int64(send, send_arg2, flags, 16, width, True, + (ULong)((UWord)va_arg (vargs, void *))); + } break; case 'x': /* %x */ case 'X': /* %X */ @@ -754,13 +765,6 @@ VG_(debugLog_vprintf) ( flags, width, str, format[i]=='S'); break; } - case 't': { /* %t, like %s but escaping chars for XML safety */ - /* Note: simplistic; ignores field width and flags */ - char *str = va_arg (vargs, char *); - if (str == (char*) 0) str = "(null)"; - ret += myvprintf_str_XML_simplistic(send, send_arg2, str); - break; - } // case 'y': { /* %y - print symbol */ // Char buf[100]; diff --git a/coregrind/m_errormgr.c b/coregrind/m_errormgr.c index 89e7d46..17be47a 100644 --- a/coregrind/m_errormgr.c +++ b/coregrind/m_errormgr.c @@ -309,12 +309,12 @@ static void printSuppForIp_XML(UInt n, Addr ip, void* uu_opaque) { static UChar buf[ERRTXT_LEN]; if ( VG_(get_fnname_no_cxx_demangle) (ip, buf, ERRTXT_LEN) ) { - VG_(printf_xml_no_f_c)(" <sframe> <fun>%t</fun> </sframe>\n", buf); + VG_(printf_xml)(" <sframe> <fun>%pS</fun> </sframe>\n", buf); } else if ( VG_(get_objname)(ip, buf, ERRTXT_LEN) ) { - VG_(printf_xml_no_f_c)(" <sframe> <obj>%t</obj> </sframe>\n", buf); + VG_(printf_xml)(" <sframe> <obj>%pS</obj> </sframe>\n", buf); } else { - VG_(printf_xml_no_f_c)(" <sframe> <obj>*</obj> </sframe>\n"); + VG_(printf_xml)(" <sframe> <obj>*</obj> </sframe>\n"); } } @@ -405,10 +405,10 @@ static void gen_suppression(Error* err) again. */ VG_(printf_xml)(" <suppression>\n"); VG_(printf_xml)(" <sname>%s</sname>\n", dummy_name); - VG_(printf_xml_no_f_c)( - " <skind>%t:%t</skind>\n", VG_(details).name, name); + VG_(printf_xml)( + " <skind>%pS:%pS</skind>\n", VG_(details).name, name); if (anyXtra) - VG_(printf_xml_no_f_c)(" <skaux>%t</skaux>\n", xtra); + VG_(printf_xml)(" <skaux>%pS</skaux>\n", xtra); // Print stack trace elements VG_(apply_StackTrace)(printSuppForIp_XML, @@ -885,9 +885,9 @@ static Bool show_used_suppressions ( void ) if (su->count <= 0) continue; if (VG_(clo_xml)) { - VG_(printf_xml_no_f_c)( " <pair>\n" + VG_(printf_xml)( " <pair>\n" " <count>%d</count>\n" - " <name>%t</name>\n" + " <name>%pS</name>\n" " </pair>\n", su->count, su->sname ); } else { diff --git a/coregrind/m_libcprint.c b/coregrind/m_libcprint.c index 75eff72..263b2a5 100644 --- a/coregrind/m_libcprint.c +++ b/coregrind/m_libcprint.c @@ -166,17 +166,6 @@ UInt VG_(printf_xml) ( const HChar *format, ... ) return ret; } -/* An exact clone of VG_(printf_xml), unfortunately. */ -UInt VG_(printf_xml_no_f_c) ( const HChar *format, ... ) -{ - UInt ret; - va_list vargs; - va_start(vargs, format); - ret = VG_(vprintf_xml)(format, vargs); - va_end(vargs); - return ret; -} - /* --------- sprintf --------- */ @@ -500,17 +489,6 @@ UInt VG_(vmessage) ( VgMsgKind kind, const HChar* format, va_list vargs ) } /* Send a simple single-part XML message. */ -UInt VG_(message_no_f_c) ( VgMsgKind kind, const HChar* format, ... ) -{ - UInt count; - va_list vargs; - va_start(vargs,format); - count = VG_(vmessage) ( kind, format, vargs ); - va_end(vargs); - return count; -} - -/* Send a simple single-part message. */ UInt VG_(message) ( VgMsgKind kind, const HChar* format, ... ) { UInt count; diff --git a/coregrind/m_main.c b/coregrind/m_main.c index ceb852e..a8edffb 100644 --- a/coregrind/m_main.c +++ b/coregrind/m_main.c @@ -1004,9 +1004,9 @@ static void print_file_vars(Char* format) i++; } - VG_(printf_xml_no_f_c)( - "<logfilequalifier> <var>%t</var> " - "<value>%t</value> </logfilequalifier>\n", + VG_(printf_xml)( + "<logfilequalifier> <var>%pS</var> " + "<value>%pS</value> </logfilequalifier>\n", qualname,qual ); format[i] = '}'; @@ -1073,7 +1073,7 @@ static void print_preamble ( Bool logging_to_fd, VG_(printf_xml)("<preamble>\n"); /* Tool details */ - umsg_or_xml( VG_(clo_xml) ? "%s%t%t%t, %t%s\n" : "%s%s%s%s, %s%s\n", + umsg_or_xml( VG_(clo_xml) ? "%s%pS%pS%pS, %pS%s\n" : "%s%s%s%s, %s%s\n", xpre, VG_(details).name, NULL == VG_(details).version ? "" : "-", @@ -1089,7 +1089,7 @@ static void print_preamble ( Bool logging_to_fd, ); } - umsg_or_xml( VG_(clo_xml) ? "%s%t%s\n" : "%s%s%s\n", + umsg_or_xml( VG_(clo_xml) ? "%s%pS%s\n" : "%s%s%s\n", xpre, VG_(details).copyright_author, xpost ); /* Core details */ @@ -1125,13 +1125,13 @@ static void print_preamble ( Bool logging_to_fd, VG_(printf_xml)("\n"); VG_(printf_xml)("<pid>%d</pid>\n", VG_(getpid)()); VG_(printf_xml)("<ppid>%d</ppid>\n", VG_(getppid)()); - VG_(printf_xml_no_f_c)("<tool>%t</tool>\n", toolname); + VG_(printf_xml)("<tool>%pS</tool>\n", toolname); if (xml_fname_unexpanded) print_file_vars(xml_fname_unexpanded); if (VG_(clo_xml_user_comment)) { /* Note: the user comment itself is XML and is therefore to be passed through verbatim (%s) rather than escaped - (%t). */ + (%pS). */ VG_(printf_xml)("<usercomment>%s</usercomment>\n", VG_(clo_xml_user_comment)); } @@ -1140,14 +1140,14 @@ static void print_preamble ( Bool logging_to_fd, VG_(printf_xml)(" <vargv>\n"); if (VG_(name_of_launcher)) - VG_(printf_xml_no_f_c)(" <exe>%t</exe>\n", + VG_(printf_xml)(" <exe>%pS</exe>\n", VG_(name_of_launcher)); else - VG_(printf_xml_no_f_c)(" <exe>%t</exe>\n", + VG_(printf_xml)(" <exe>%pS</exe>\n", "(launcher name unknown)"); for (i = 0; i < VG_(sizeXA)( VG_(args_for_valgrind) ); i++) { - VG_(printf_xml_no_f_c)( - " <arg>%t</arg>\n", + VG_(printf_xml)( + " <arg>%pS</arg>\n", * (HChar**) VG_(indexXA)( VG_(args_for_valgrind), i ) ); } @@ -1155,11 +1155,11 @@ static void print_preamble ( Bool logging_to_fd, VG_(printf_xml)(" <argv>\n"); if (VG_(args_the_exename)) - VG_(printf_xml_no_f_c)(" <exe>%t</exe>\n", + VG_(printf_xml)(" <exe>%pS</exe>\n", VG_(args_the_exename)); for (i = 0; i < VG_(sizeXA)( VG_(args_for_client) ); i++) { - VG_(printf_xml_no_f_c)( - " <arg>%t</arg>\n", + VG_(printf_xml)( + " <arg>%pS</arg>\n", * (HChar**) VG_(indexXA)( VG_(args_for_client), i ) ); } @@ -2170,12 +2170,12 @@ Int valgrind_main ( Int argc, HChar **argv, HChar **envp ) if (VG_(clo_xml)) { HChar buf[50]; VG_(elapsed_wallclock_time)(buf); - VG_(printf_xml_no_f_c)( "<status>\n" + VG_(printf_xml)( "<status>\n" " <state>RUNNING</state>\n" - " <time>%t</time>\n" + " <time>%pS</time>\n" "</status>\n", buf ); - VG_(printf_xml_no_f_c)( "\n" ); + VG_(printf_xml)( "\n" ); } VG_(debugLog)(1, "main", "Running thread 1\n"); @@ -2280,9 +2280,9 @@ void shutdown_actions_NORETURN( ThreadId tid, if (VG_(clo_xml)) { HChar buf[50]; VG_(elapsed_wallclock_time)(buf); - VG_(printf_xml_no_f_c)( "<status>\n" + VG_(printf_xml)( "<status>\n" " <state>FINISHED</state>\n" - " <time>%t</time>\n" + " <time>%pS</time>\n" "</status>\n" "\n", buf); diff --git a/coregrind/m_xarray.c b/coregrind/m_xarray.c index 7491fdd..8c4c0e9 100644 --- a/coregrind/m_xarray.c +++ b/coregrind/m_xarray.c @@ -337,15 +337,6 @@ void VG_(xaprintf)( XArray* dst, const HChar* format, ... ) va_end(vargs); } -/* and again .. */ -void VG_(xaprintf_no_f_c)( XArray* dst, const HChar* format, ... ) -{ - va_list vargs; - va_start(vargs, format); - VG_(vcbprintf)( add_char_to_XA, (void*)dst, format, vargs ); - va_end(vargs); -} - /*--------------------------------------------------------------------*/ /*--- end m_xarray.c ---*/ diff --git a/exp-sgcheck/pc_common.c b/exp-sgcheck/pc_common.c index 89846fd..fa1aa42 100644 --- a/exp-sgcheck/pc_common.c +++ b/exp-sgcheck/pc_common.c @@ -326,9 +326,9 @@ void pc_pp_Error ( Error* err ) emit( " <auxwhat>Address %#lx expected vs actual:</auxwhat>\n", xe->XE.SorG.addr ); - emiN( " <auxwhat>Expected: %t</auxwhat>\n", + emiN( " <auxwhat>Expected: %pS</auxwhat>\n", &xe->XE.SorG.expect[0] ); - emiN( " <auxwhat>Actual: %t</auxwhat>\n", + emiN( " <auxwhat>Actual: %pS</auxwhat>\n", &xe->XE.SorG.actual[0] ); } else { @@ -433,14 +433,14 @@ void pc_pp_Error ( Error* err ) if (xml) { if (xe->XE.Heap.descr1) - emiN( " %t\n", + emiN( " %pS\n", (HChar*)VG_(indexXA)( xe->XE.Heap.descr1, 0 ) ); if (xe->XE.Heap.descr2) - emiN( " %t\n", + emiN( " %pS\n", (HChar*)VG_(indexXA)( xe->XE.Heap.descr2, 0 ) ); if (xe->XE.Heap.datasym[0] != 0) emiN( " <auxwhat>Address 0x%llx is %llu bytes " - "inside data symbol \"%t\"</auxwhat>\n", + "inside data symbol \"%pS\"</auxwhat>\n", (ULong)xe->XE.Heap.addr, (ULong)xe->XE.Heap.datasymoff, xe->XE.Heap.datasym ); diff --git a/exp-sgcheck/tests/bad_percentify.c b/exp-sgcheck/tests/bad_percentify.c index 94f5559..7b93c8b 100644 --- a/exp-sgcheck/tests/bad_percentify.c +++ b/exp-sgcheck/tests/bad_percentify.c @@ -447,12 +447,23 @@ VG_(debugLog_vprintf) ( ret += myvprintf_int64(send, send_arg2, flags, 10, width, False, (ULong)(va_arg (vargs, UInt))); break; - case 'p': /* %p */ - ret += 2; - send('0',send_arg2); - send('x',send_arg2); - ret += myvprintf_int64(send, send_arg2, flags, 16, width, True, - (ULong)((UWord)va_arg (vargs, void *))); + case 'p': + if (format[i+1] == 'S') { + i++; + /* %pS, like %s but escaping chars for XML safety */ + /* Note: simplistic; ignores field width and flags */ + char *str = va_arg (vargs, char *); + if (str == (char*) 0) + str = "(null)"; + ret += myvprintf_str_XML_simplistic(send, send_arg2, str); + } else { + /* %p */ + ret += 2; + send('0',send_arg2); + send('x',send_arg2); + ret += myvprintf_int64(send, send_arg2, flags, 16, width, True, + (ULong)((UWord)va_arg (vargs, void *))); + } break; case 'x': /* %x */ case 'X': /* %X */ @@ -480,13 +491,6 @@ VG_(debugLog_vprintf) ( flags, width, str, format[i]=='S'); break; } - case 't': { /* %t, like %s but escaping chars for XML safety */ - /* Note: simplistic; ignores field width and flags */ - char *str = va_arg (vargs, char *); - if (str == (char*) 0) str = "(null)"; - ret += myvprintf_str_XML_simplistic(send, send_arg2, str); - break; - } // case 'y': { /* %y - print symbol */ // Char buf[100]; diff --git a/helgrind/hg_errors.c b/helgrind/hg_errors.c index 010f5e0..d7bc6ef 100644 --- a/helgrind/hg_errors.c +++ b/helgrind/hg_errors.c @@ -755,13 +755,6 @@ static void emit ( HChar* format, ... ) emit_WRK(format, vargs); va_end(vargs); } -static void emit_no_f_c ( HChar* format, ... ) -{ - va_list vargs; - va_start(vargs, format); - emit_WRK(format, vargs); - va_end(vargs); -} /* Announce (that is, print the point-of-creation) of 'thr'. Only do @@ -1052,8 +1045,8 @@ void HG_(pp_Error) ( Error* err ) if (xml) { emit( " <xwhat>\n" ); - emit_no_f_c( - " <text>Thread #%d's call to %t failed</text>\n", + emit( + " <text>Thread #%d's call to %pS failed</text>\n", (Int)xe->XE.PthAPIerror.thr->errmsg_index, xe->XE.PthAPIerror.fnname ); emit( " <hthreadid>%d</hthreadid>\n", @@ -1065,7 +1058,7 @@ void HG_(pp_Error) ( Error* err ) } else { - emit_no_f_c( "Thread #%d's call to %t failed\n", + emit( "Thread #%d's call to %pS failed\n", (Int)xe->XE.PthAPIerror.thr->errmsg_index, xe->XE.PthAPIerror.fnname ); emit( " with error code %ld (%s)\n", diff --git a/include/pub_tool_libcprint.h b/include/pub_tool_libcprint.h index 1621851..5cd4e76 100644 --- a/include/pub_tool_libcprint.h +++ b/include/pub_tool_libcprint.h @@ -86,28 +86,18 @@ extern UInt VG_(printf) ( const HChar *format, ... ) extern UInt VG_(vprintf) ( const HChar *format, va_list vargs ) PRINTF_CHECK(1, 0); -// The "_no_f_c" functions here are just like their non-"_no_f_c" counterparts -// but without the PRINTF_CHECK, so they can be used with our non-standard %t -// format specifier. - -// These are the same as the non "_xml" versions above, except the -// output goes on the selected XML output channel instead of the -// normal one. extern UInt VG_(printf_xml) ( const HChar *format, ... ) PRINTF_CHECK(1, 2); extern UInt VG_(vprintf_xml) ( const HChar *format, va_list vargs ) PRINTF_CHECK(1, 0); -extern UInt VG_(printf_xml_no_f_c) ( const HChar *format, ... ); - /* Yet another, totally general, version of vprintf, which hands all output bytes to CHAR_SINK, passing it OPAQUE as the second arg. */ extern void VG_(vcbprintf)( void(*char_sink)(HChar, void* opaque), void* opaque, const HChar* format, va_list vargs ); -extern UInt VG_(message_no_f_c)( VgMsgKind kind, const HChar* format, ... ); extern UInt VG_(message)( VgMsgKind kind, const HChar* format, ... ) PRINTF_CHECK(2, 3); diff --git a/include/pub_tool_xarray.h b/include/pub_tool_xarray.h index b7c646e..69a8eac 100644 --- a/include/pub_tool_xarray.h +++ b/include/pub_tool_xarray.h @@ -138,15 +138,10 @@ extern void VG_(getContentsXA_UNSAFE)( XArray* sr, /* Convenience function: printf into an XArray of HChar, adding stuff at the end. This is very convenient for concocting arbitrary length printf output in an XArray. Note that the resulting string - is NOT zero-terminated. Versions are provided with and without a - format check, the latter so the unknown (to gcc) "%t" can be used - without gcc complaining. */ + is NOT zero-terminated. */ extern void VG_(xaprintf)( XArray* dst, const HChar* format, ... ) PRINTF_CHECK(2, 3); -extern void VG_(xaprintf_no_f_c) - ( XArray* dst, const HChar* format, ... ); - #endif // __PUB_TOOL_XARRAY_H /*--------------------------------------------------------------------*/ diff --git a/memcheck/mc_errors.c b/memcheck/mc_errors.c index 4e2e019..36d3595 100644 --- a/memcheck/mc_errors.c +++ b/memcheck/mc_errors.c @@ -349,7 +349,7 @@ static void mc_pp_AddrInfo ( Addr a, AddrInfo* ai, Bool maybe_gcc ) case Addr_DataSym: emiN( "%sAddress 0x%llx is %llu bytes " - "inside data symbol \"%t\"%s\n", + "inside data symbol \"%pS\"%s\n", xpre, (ULong)a, (ULong)ai->Addr.DataSym.offset, @@ -372,7 +372,7 @@ static void mc_pp_AddrInfo ( Addr a, AddrInfo* ai, Bool maybe_gcc ) break; case Addr_SectKind: - emiN( "%sAddress 0x%llx is in the %t segment of %t%s\n", + emiN( "%sAddress 0x%llx is in the %pS segment of %pS%s\n", xpre, (ULong)a, VG_(pp_SectKind)(ai->Addr.SectKind.kind), @@ -460,7 +460,7 @@ void MC_(pp_Error) ( Error* err ) // the following code is untested. Bad. if (xml) { emit( " <kind>CoreMemError</kind>\n" ); - emiN( " <what>%t contains unaddressable byte(s)</what>\n", + emiN( " <what>%pS contains unaddressable byte(s)</what>\n", VG_(get_error_string)(err)); VG_(pp_ExeContext)( VG_(get_error_where)(err) ); } else { @@ -518,7 +518,7 @@ void MC_(pp_Error) ( Error* err ) MC_(any_value_errors) = True; if (xml) { emit( " <kind>SyscallParam</kind>\n" ); - emiN( " <what>Syscall param %t contains " + emiN( " <what>Syscall param %pS contains " "uninitialised byte(s)</what>\n", VG_(get_error_string)(err) ); VG_(pp_ExeContext)( VG_(get_error_where)(err) ); @@ -540,7 +540,7 @@ void MC_(pp_Error) ( Error* err ) MC_(any_value_errors) = True; if (xml) { emit( " <kind>SyscallParam</kind>\n" ); - emiN( " <what>Syscall param %t points to %s byte(s)</what>\n", + emiN( " <what>Syscall param %pS points to %s byte(s)</what>\n", VG_(get_error_string)(err), extra->Err.MemParam.isAddrErr ? "unaddressable" : "uninitialised" ); @@ -669,7 +669,7 @@ void MC_(pp_Error) ( Error* err ) emit( " <kind>Overlap</kind>\n" ); if (extra->Err.Overlap.szB == 0) { emiN( " <what>Source and destination overlap " - "in %t(%#lx, %#lx)\n</what>\n", + "in %pS(%#lx, %#lx)\n</what>\n", VG_(get_error_string)(err), extra->Err.Overlap.dst, extra->Err.Overlap.src ); } else { @@ -682,7 +682,7 @@ void MC_(pp_Error) ( Error* err ) VG_(pp_ExeContext)( VG_(get_error_where)(err) ); } else { if (extra->Err.Overlap.szB == 0) { - emiN( "Source and destination overlap in %t(%#lx, %#lx)\n", + emiN( "Source and destination overlap in %pS(%#lx, %#lx)\n", VG_(get_error_string)(err), extra->Err.Overlap.dst, extra->Err.Overlap.src ); } else { |
|
From: <sv...@va...> - 2011-10-04 16:33:28
|
Author: bart
Date: 2011-10-04 17:28:42 +0100 (Tue, 04 Oct 2011)
New Revision: 12095
Log:
Helgrind and exp-sgcheck, XML error reporting: move the code printing <kind>...</kind> out of a switch statement.
Modified:
trunk/exp-sgcheck/pc_common.c
trunk/helgrind/hg_errors.c
Modified: trunk/exp-sgcheck/pc_common.c
===================================================================
--- trunk/exp-sgcheck/pc_common.c 2011-10-04 03:55:04 UTC (rev 12094)
+++ trunk/exp-sgcheck/pc_common.c 2011-10-04 16:28:42 UTC (rev 12095)
@@ -309,6 +309,9 @@
XError *xe = (XError*)VG_(get_error_extra)(err);
tl_assert(xe);
+ if (xml)
+ emit( " <kind>%s</kind>\n", pc_get_error_name(err));
+
switch (VG_(get_error_kind)(err)) {
//----------------------------------------------------------
@@ -316,7 +319,6 @@
if (xml) {
- emit( " <kind>SorG</kind>\n");
emit( " <what>Invalid %s of size %ld</what>\n",
xe->XE.SorG.sszB < 0 ? "write" : "read",
Word__abs(xe->XE.SorG.sszB) );
@@ -357,7 +359,6 @@
if (xml) {
- emit( " <kind>Heap</kind>\n");
emit( " <what>Invalid %s of size %ld</what>\n",
readwrite(xe->XE.Heap.sszB),
Word__abs(xe->XE.Heap.sszB) );
@@ -392,7 +393,6 @@
if (xml) {
- emit( " <kind>Heap</kind>\n");
emit( " <what>%s %s of size %ld</what>\n",
how_invalid,
readwrite(xe->XE.Heap.sszB),
@@ -475,7 +475,6 @@
if (xml) {
- emit( " <kind>Arith</kind>\n");
emit( " <what>Invalid arguments to %s</what>\n",
xe->XE.Arith.opname );
VG_(pp_ExeContext)( VG_(get_error_where)(err) );
@@ -561,7 +560,6 @@
if (xml) {
- emit( " <kind>SysParam</kind>\n");
emit( " <what>%s%s contains unaddressable byte(s)</what>\n",
what, s );
VG_(pp_ExeContext)( VG_(get_error_where)(err) );
@@ -589,7 +587,6 @@
if (xml) {
- emit( " <kind>SysParam</kind>\n");
emit( " <what>%s%s is non-contiguous</what>\n",
what, s );
VG_(pp_ExeContext)( VG_(get_error_where)(err) );
Modified: trunk/helgrind/hg_errors.c
===================================================================
--- trunk/helgrind/hg_errors.c 2011-10-04 03:55:04 UTC (rev 12094)
+++ trunk/helgrind/hg_errors.c 2011-10-04 16:28:42 UTC (rev 12095)
@@ -942,6 +942,9 @@
XError *xe = (XError*)VG_(get_error_extra)(err);
tl_assert(xe);
+ if (xml)
+ emit( " <kind>%s</kind>\n", HG_(get_error_name)(err));
+
switch (VG_(get_error_kind)(err)) {
case XE_Misc: {
@@ -949,7 +952,6 @@
if (xml) {
- emit( " <kind>Misc</kind>\n");
emit( " <xwhat>\n" );
emit( " <text>Thread #%d: %s</text>\n",
(Int)xe->XE.Misc.thr->errmsg_index,
@@ -985,7 +987,6 @@
if (xml) {
- emit( " <kind>LockOrder</kind>\n");
emit( " <xwhat>\n" );
emit( " <text>Thread #%d: lock order \"%p before %p\" "
"violated</text>\n",
@@ -1050,7 +1051,6 @@
if (xml) {
- emit( " <kind>PthAPIerror</kind>\n");
emit( " <xwhat>\n" );
emit_no_f_c(
" <text>Thread #%d's call to %t failed</text>\n",
@@ -1082,7 +1082,6 @@
if (xml) {
- emit( " <kind>UnlockBogus</kind>\n");
emit( " <xwhat>\n" );
emit( " <text>Thread #%d unlocked an invalid "
"lock at %p</text>\n",
@@ -1112,7 +1111,6 @@
if (xml) {
- emit( " <kind>UnlockForeign</kind>\n");
emit( " <xwhat>\n" );
emit( " <text>Thread #%d unlocked lock at %p "
"currently held by thread #%d</text>\n",
@@ -1157,7 +1155,6 @@
if (xml) {
- emit( " <kind>UnlockUnlocked</kind>\n");
emit( " <xwhat>\n" );
emit( " <text>Thread #%d unlocked a "
"not-locked lock at %p</text>\n",
@@ -1205,7 +1202,6 @@
if (xml) {
/* ------ XML ------ */
- emit( " <kind>Race</kind>\n" );
emit( " <xwhat>\n" );
emit( " <text>Possible data race during %s of size %d "
"at %p by thread #%d</text>\n",
|
|
From: <br...@ac...> - 2011-10-04 08:19:58
|
valgrind revision: 12094 VEX revision: 2211 GCC version: gcc (GCC) 3.4.6 20060404 (Red Hat 3.4.6-3) GLIBC version: GNU C Library stable release version 2.3.4, by Roland McGrath et al. uname -mrs: Linux 2.6.9-42.EL s390x Vendor version: Red Hat Enterprise Linux AS release 4 (Nahant Update 4) Nightly build on z900 ( s390x build on z900 ) Started at 2011-10-04 01:42:15 EDT Ended at 2011-10-04 04:26:29 EDT Results differ from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 465 tests, 10 stderr failures, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures == memcheck/tests/manuel3 (stderr) memcheck/tests/partial_load_ok (stderr) memcheck/tests/varinfo6 (stderr) helgrind/tests/pth_barrier2 (stderr) helgrind/tests/pth_barrier3 (stderr) helgrind/tests/tc09_bad_unlock (stderr) helgrind/tests/tc18_semabuse (stderr) helgrind/tests/tc20_verifywrap (stderr) drd/tests/tc04_free_lock (stderr) drd/tests/tc09_bad_unlock (stderr) ================================================= == Results from 24 hours ago == ================================================= Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 465 tests, 13 stderr failures, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures == memcheck/tests/err_disable3 (stderr) memcheck/tests/err_disable4 (stderr) memcheck/tests/manuel3 (stderr) memcheck/tests/partial_load_ok (stderr) memcheck/tests/varinfo6 (stderr) helgrind/tests/pth_barrier2 (stderr) helgrind/tests/pth_barrier3 (stderr) helgrind/tests/tc09_bad_unlock (stderr) helgrind/tests/tc14_laog_dinphils (stderr) helgrind/tests/tc18_semabuse (stderr) helgrind/tests/tc20_verifywrap (stderr) drd/tests/tc04_free_lock (stderr) drd/tests/tc09_bad_unlock (stderr) ================================================= == Difference between 24 hours ago and now == ================================================= *** old.short Tue Oct 4 03:03:53 2011 --- new.short Tue Oct 4 04:26:29 2011 *************** *** 8,12 **** ! == 465 tests, 13 stderr failures, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures == ! memcheck/tests/err_disable3 (stderr) ! memcheck/tests/err_disable4 (stderr) memcheck/tests/manuel3 (stderr) --- 8,10 ---- ! == 465 tests, 10 stderr failures, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures == memcheck/tests/manuel3 (stderr) *************** *** 17,19 **** helgrind/tests/tc09_bad_unlock (stderr) - helgrind/tests/tc14_laog_dinphils (stderr) helgrind/tests/tc18_semabuse (stderr) --- 15,16 ---- |
|
From: <sv...@va...> - 2011-10-04 03:59:51
|
Author: florian
Date: 2011-10-04 04:55:04 +0100 (Tue, 04 Oct 2011)
New Revision: 12094
Log:
Fix execve2 testcase.
First, due to a typo in Makefile.am it was compiled with the wrong flags.
Secondly, the testcase gives an incorrect backtrace on x86 (missing the
line where the error occurs). Updated the generic exp to contain the
correct result and added exp-kfail for platforms where this test fails.
Added:
trunk/memcheck/tests/execve2.stderr.exp-kfail
Modified:
trunk/memcheck/tests/Makefile.am
trunk/memcheck/tests/execve2.stderr.exp
Modified: trunk/memcheck/tests/Makefile.am
===================================================================
--- trunk/memcheck/tests/Makefile.am 2011-10-04 03:33:59 UTC (rev 12093)
+++ trunk/memcheck/tests/Makefile.am 2011-10-04 03:55:04 UTC (rev 12094)
@@ -288,7 +288,7 @@
execve1_CFLAGS = $(AM_CFLAGS) @FLAG_W_NO_NONNULL@
-execve2_CFLAGS = $(AM_CFLASG) @FLAG_W_NO_NONNULL@
+execve2_CFLAGS = $(AM_CFLAGS) @FLAG_W_NO_NONNULL@
inits_CFLAGS = $(AM_CFLAGS) @FLAG_W_NO_UNINITIALIZED@
Modified: trunk/memcheck/tests/execve2.stderr.exp
===================================================================
--- trunk/memcheck/tests/execve2.stderr.exp 2011-10-04 03:33:59 UTC (rev 12093)
+++ trunk/memcheck/tests/execve2.stderr.exp 2011-10-04 03:55:04 UTC (rev 12094)
@@ -1,4 +1,5 @@
Syscall param execve(filename) points to unaddressable byte(s)
...
+ by 0x........: main (execve2.c:8)
Address 0x........ is not stack'd, malloc'd or (recently) free'd
Added: trunk/memcheck/tests/execve2.stderr.exp-kfail
===================================================================
--- trunk/memcheck/tests/execve2.stderr.exp-kfail (rev 0)
+++ trunk/memcheck/tests/execve2.stderr.exp-kfail 2011-10-04 03:55:04 UTC (rev 12094)
@@ -0,0 +1,4 @@
+Syscall param execve(filename) points to unaddressable byte(s)
+ ...
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
|
|
From: <sv...@va...> - 2011-10-04 03:38:47
|
Author: florian
Date: 2011-10-04 04:33:59 +0100 (Tue, 04 Oct 2011)
New Revision: 12093
Log:
Turns out there is at least one version of glibc tat contains
a file name writev.c. This screws our filename based backtrace
filtering. Rename writev to writev1 to avoid that problem.
Added:
trunk/memcheck/tests/writev1.c
trunk/memcheck/tests/writev1.stderr.exp
trunk/memcheck/tests/writev1.vgtest
Removed:
trunk/memcheck/tests/writev.c
trunk/memcheck/tests/writev.stderr.exp
trunk/memcheck/tests/writev.vgtest
Modified:
trunk/memcheck/tests/
trunk/memcheck/tests/Makefile.am
Property changes on: trunk/memcheck/tests
___________________________________________________________________
Name: svn:ignore
- *.dSYM
*.stderr.diff*
*.stderr.out
*.stdout.diff*
*.stdout.out
.deps
addressable
atomic_incs
badaddrvalue
badfree
badjump
badjump2
badloop
badpoll
badrw
brk
brk2
buflen_check
calloc-overflow
clientperm
clientstackperm
custom-overlap
custom_alloc
deep_templates
describe-block
dir
doublefree
erringfds
error_counts
errs1
err_disable1
err_disable2
err_disable3
err_disable4
execve1
execve2
exitprog
file_locking
filter_leak_check_size
filter_stderr
fprw
fwrite
hello
inits
inline
leak-0
leak-cases
leak-cycle
leak-delta
leak-pool
leak-regroot
leak-tree
leakotron
linux-capget
linux-syscalls-2007
linux-syslog-syscall
linux-timerfd-syscall
long-supps
long_namespace_xml
lsframe1
lsframe2
Makefile
Makefile.in
mallinfo
malloc1
malloc2
malloc3
malloc_free_fill
malloc_usable
manuel1
manuel2
manuel3
match-overrun
memalign2
memalign_test
memcmptest
mempool
mempool2
metadata
mismatches
mmaptest
nanoleak
nanoleak2
nanoleak_supp
new_nothrow
new_override
noisy_child
null_socket
origin1-yes
origin2-not-quite
origin3-no
origin4-many
origin5-bz2
origin6-fp
oset_test
overlap
partiallydefinedeq
partial_load
pdb-realloc
pdb-realloc2
pipe
pointer-trace
post-syscall
realloc1
realloc2
realloc3
sbfragment
scalar
scalar_exit_group
scalar_fork
scalar_supp
scalar_vfork
sh-mem
sh-mem-random
sigaltstack
sigkill
signal2
sigprocmask
stack_changes
stack_switch
strchr
str_tester
supp1
supp2
suppfree
supp_unknown
threadederrno
trivialleak
unit_libcbase
unit_oset
varinfo1
varinfo2
varinfo3
varinfo4
varinfo5
varinfo5so.so
varinfo6
vcpu_bz2
vcpu_fbench
vcpu_fnfns
vgtest_ume
weirdioctl
with space
wrap1
wrap2
wrap3
wrap4
wrap5
wrap6
wrap7
wrap7so.so
wrap8
writev
xml1
zeropage
+ *.dSYM
*.stderr.diff*
*.stderr.out
*.stdout.diff*
*.stdout.out
.deps
addressable
atomic_incs
badaddrvalue
badfree
badjump
badjump2
badloop
badpoll
badrw
brk
brk2
buflen_check
calloc-overflow
clientperm
clientstackperm
custom-overlap
custom_alloc
deep_templates
describe-block
dir
doublefree
erringfds
error_counts
errs1
err_disable1
err_disable2
err_disable3
err_disable4
execve1
execve2
exitprog
file_locking
filter_leak_check_size
filter_stderr
fprw
fwrite
hello
inits
inline
leak-0
leak-cases
leak-cycle
leak-delta
leak-pool
leak-regroot
leak-tree
leakotron
linux-capget
linux-syscalls-2007
linux-syslog-syscall
linux-timerfd-syscall
long-supps
long_namespace_xml
lsframe1
lsframe2
Makefile
Makefile.in
mallinfo
malloc1
malloc2
malloc3
malloc_free_fill
malloc_usable
manuel1
manuel2
manuel3
match-overrun
memalign2
memalign_test
memcmptest
mempool
mempool2
metadata
mismatches
mmaptest
nanoleak
nanoleak2
nanoleak_supp
new_nothrow
new_override
noisy_child
null_socket
origin1-yes
origin2-not-quite
origin3-no
origin4-many
origin5-bz2
origin6-fp
oset_test
overlap
partiallydefinedeq
partial_load
pdb-realloc
pdb-realloc2
pipe
pointer-trace
post-syscall
realloc1
realloc2
realloc3
sbfragment
scalar
scalar_exit_group
scalar_fork
scalar_supp
scalar_vfork
sh-mem
sh-mem-random
sigaltstack
sigkill
signal2
sigprocmask
stack_changes
stack_switch
strchr
str_tester
supp1
supp2
suppfree
supp_unknown
threadederrno
trivialleak
unit_libcbase
unit_oset
varinfo1
varinfo2
varinfo3
varinfo4
varinfo5
varinfo5so.so
varinfo6
vcpu_bz2
vcpu_fbench
vcpu_fnfns
vgtest_ume
weirdioctl
with space
wrap1
wrap2
wrap3
wrap4
wrap5
wrap6
wrap7
wrap7so.so
wrap8
writev1
xml1
zeropage
Modified: trunk/memcheck/tests/Makefile.am
===================================================================
--- trunk/memcheck/tests/Makefile.am 2011-10-04 03:15:38 UTC (rev 12092)
+++ trunk/memcheck/tests/Makefile.am 2011-10-04 03:33:59 UTC (rev 12093)
@@ -201,7 +201,7 @@
wrap7.vgtest wrap7.stdout.exp wrap7.stderr.exp \
wrap8.vgtest wrap8.stdout.exp wrap8.stderr.exp \
wrap8.stdout.exp2 wrap8.stderr.exp2 \
- writev.stderr.exp writev.vgtest \
+ writev1.stderr.exp writev1.vgtest \
xml1.stderr.exp xml1.stdout.exp xml1.vgtest
check_PROGRAMS = \
@@ -261,7 +261,7 @@
vcpu_fbench vcpu_fnfns \
xml1 \
wrap1 wrap2 wrap3 wrap4 wrap5 wrap6 wrap7 wrap7so.so wrap8 \
- writev
+ writev1
AM_CFLAGS += $(AM_FLAG_M3264_PRI)
Deleted: trunk/memcheck/tests/writev.c
===================================================================
--- trunk/memcheck/tests/writev.c 2011-10-04 03:15:38 UTC (rev 12092)
+++ trunk/memcheck/tests/writev.c 2011-10-04 03:33:59 UTC (rev 12093)
@@ -1,89 +0,0 @@
-#include <stdio.h>
-#include <sys/types.h>
-#include <sys/uio.h>
-#include <fcntl.h>
-#include <errno.h>
-#include <unistd.h>
-#include <string.h>
-
-#define K_1 8192
-#define NBUFS 2
-#define CHUNK K_1 /* single chunk */
-#define MAX_IOVEC 2
-#define DATA_FILE "writev_data_file"
-
-static char buf1[K_1];
-static char buf2[K_1];
-static char *buf_list[NBUFS], f_name[]="writev_data_file";
-static int fd;
-
-struct iovec wr_iovec[MAX_IOVEC] = {
- {(caddr_t)-1, CHUNK},
- {(caddr_t)NULL, 0}
-};
-
-int main(void)
-{
- int nbytes;
-
- /* Fill the buf_list[0] and buf_list[1] with 0 zeros */
- buf_list[0] = buf1;
- buf_list[1] = buf2;
- memset(buf_list[0], 0, K_1);
- memset(buf_list[1], 0, K_1);
-
- if ((fd = open(f_name, O_WRONLY | O_CREAT, 0666)) < 0) {
- fprintf(stderr, "open(2) failed: fname = %s, errno = %d\n",
- f_name, errno);
- return 1;
- } else if ((nbytes = write(fd, buf_list[1], K_1)) != K_1) {
- fprintf(stderr, "write(2) failed: nbytes = %d, errno = %d\n",
- nbytes, errno);
- return 1;
- }
- if (close(fd) < 0) {
- fprintf(stderr, "close failed: errno = %d\n", errno);
- return 1;
- }
- fprintf(stderr, "Test file created.\n");
- if ((fd = open(f_name, O_RDWR, 0666)) < 0) {
- fprintf(stderr, "open failed: fname = %s, errno = %d\n",
- f_name, errno);
- return 1;
- }
-
- lseek(fd, 0, 0);
- if (writev(fd, wr_iovec, 2) < 0) {
- if (errno == EFAULT)
- fprintf(stderr, "Received EFAULT as expected\n");
- else
- fprintf(stderr, "Expected EFAULT, got %d\n", errno);
- lseek(fd, K_1, 0);
- if ((nbytes = read(fd, buf_list[0], CHUNK)) != 0)
- fprintf(stderr, "Expected nbytes = 0, got %d\n", nbytes);
- }
- else
- fprintf(stderr, "Error writev returned a positive value\n");
- // Now check invalid vector count
- if (writev(fd, wr_iovec, -1) < 0) {
- if (errno == EINVAL)
- fprintf(stderr, "Received EINVAL as expected\n");
- else
- fprintf(stderr, "expected errno = EINVAL, got %d\n", errno);
- }
- else
- fprintf(stderr, "Error writev returned a positive value\n");
- if (readv(fd, wr_iovec, -1) < 0) {
- if (errno == EINVAL)
- fprintf(stderr, "Received EINVAL as expected\n");
- else
- fprintf(stderr, "expected errno = EINVAL, got %d\n", errno);
- }
- else
- fprintf(stderr, "Error writev returned a positive value\n");
-
- unlink(f_name);
-
- return 0;
-}
-
Deleted: trunk/memcheck/tests/writev.stderr.exp
===================================================================
--- trunk/memcheck/tests/writev.stderr.exp 2011-10-04 03:15:38 UTC (rev 12092)
+++ trunk/memcheck/tests/writev.stderr.exp 2011-10-04 03:33:59 UTC (rev 12093)
@@ -1,19 +0,0 @@
-Test file created.
-Syscall param writev(vector[...]) points to unaddressable byte(s)
- at 0x........: writev (writev.c:51)
- by 0x........: main (writev.c:56)
- Address 0x........ is not stack'd, malloc'd or (recently) free'd
-
-Received EFAULT as expected
-Syscall param writev(vector) points to unaddressable byte(s)
- at 0x........: writev (writev.c:51)
- by 0x........: main (writev.c:68)
- Address 0x........ is not stack'd, malloc'd or (recently) free'd
-
-Received EINVAL as expected
-Syscall param readv(vector) points to unaddressable byte(s)
- ...
- by 0x........: main (writev.c:76)
- Address 0x........ is not stack'd, malloc'd or (recently) free'd
-
-Received EINVAL as expected
Deleted: trunk/memcheck/tests/writev.vgtest
===================================================================
--- trunk/memcheck/tests/writev.vgtest 2011-10-04 03:15:38 UTC (rev 12092)
+++ trunk/memcheck/tests/writev.vgtest 2011-10-04 03:33:59 UTC (rev 12093)
@@ -1,2 +0,0 @@
-prog: writev
-vgopts: -q
Copied: trunk/memcheck/tests/writev1.c (from rev 12092, trunk/memcheck/tests/writev.c)
===================================================================
--- trunk/memcheck/tests/writev1.c (rev 0)
+++ trunk/memcheck/tests/writev1.c 2011-10-04 03:33:59 UTC (rev 12093)
@@ -0,0 +1,89 @@
+#include <stdio.h>
+#include <sys/types.h>
+#include <sys/uio.h>
+#include <fcntl.h>
+#include <errno.h>
+#include <unistd.h>
+#include <string.h>
+
+#define K_1 8192
+#define NBUFS 2
+#define CHUNK K_1 /* single chunk */
+#define MAX_IOVEC 2
+#define DATA_FILE "writev_data_file"
+
+static char buf1[K_1];
+static char buf2[K_1];
+static char *buf_list[NBUFS], f_name[]="writev_data_file";
+static int fd;
+
+struct iovec wr_iovec[MAX_IOVEC] = {
+ {(caddr_t)-1, CHUNK},
+ {(caddr_t)NULL, 0}
+};
+
+int main(void)
+{
+ int nbytes;
+
+ /* Fill the buf_list[0] and buf_list[1] with 0 zeros */
+ buf_list[0] = buf1;
+ buf_list[1] = buf2;
+ memset(buf_list[0], 0, K_1);
+ memset(buf_list[1], 0, K_1);
+
+ if ((fd = open(f_name, O_WRONLY | O_CREAT, 0666)) < 0) {
+ fprintf(stderr, "open(2) failed: fname = %s, errno = %d\n",
+ f_name, errno);
+ return 1;
+ } else if ((nbytes = write(fd, buf_list[1], K_1)) != K_1) {
+ fprintf(stderr, "write(2) failed: nbytes = %d, errno = %d\n",
+ nbytes, errno);
+ return 1;
+ }
+ if (close(fd) < 0) {
+ fprintf(stderr, "close failed: errno = %d\n", errno);
+ return 1;
+ }
+ fprintf(stderr, "Test file created.\n");
+ if ((fd = open(f_name, O_RDWR, 0666)) < 0) {
+ fprintf(stderr, "open failed: fname = %s, errno = %d\n",
+ f_name, errno);
+ return 1;
+ }
+
+ lseek(fd, 0, 0);
+ if (writev(fd, wr_iovec, 2) < 0) {
+ if (errno == EFAULT)
+ fprintf(stderr, "Received EFAULT as expected\n");
+ else
+ fprintf(stderr, "Expected EFAULT, got %d\n", errno);
+ lseek(fd, K_1, 0);
+ if ((nbytes = read(fd, buf_list[0], CHUNK)) != 0)
+ fprintf(stderr, "Expected nbytes = 0, got %d\n", nbytes);
+ }
+ else
+ fprintf(stderr, "Error writev returned a positive value\n");
+ // Now check invalid vector count
+ if (writev(fd, wr_iovec, -1) < 0) {
+ if (errno == EINVAL)
+ fprintf(stderr, "Received EINVAL as expected\n");
+ else
+ fprintf(stderr, "expected errno = EINVAL, got %d\n", errno);
+ }
+ else
+ fprintf(stderr, "Error writev returned a positive value\n");
+ if (readv(fd, wr_iovec, -1) < 0) {
+ if (errno == EINVAL)
+ fprintf(stderr, "Received EINVAL as expected\n");
+ else
+ fprintf(stderr, "expected errno = EINVAL, got %d\n", errno);
+ }
+ else
+ fprintf(stderr, "Error writev returned a positive value\n");
+
+ unlink(f_name);
+
+ return 0;
+}
+
Copied: trunk/memcheck/tests/writev1.stderr.exp (from rev 12092, trunk/memcheck/tests/writev.stderr.exp)
===================================================================
--- trunk/memcheck/tests/writev1.stderr.exp (rev 0)
+++ trunk/memcheck/tests/writev1.stderr.exp 2011-10-04 03:33:59 UTC (rev 12093)
@@ -0,0 +1,19 @@
+Test file created.
+Syscall param writev(vector[...]) points to unaddressable byte(s)
+ ...
+ by 0x........: main (writev1.c:56)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+Received EFAULT as expected
+Syscall param writev(vector) points to unaddressable byte(s)
+ ...
+ by 0x........: main (writev1.c:68)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+Received EINVAL as expected
+Syscall param readv(vector) points to unaddressable byte(s)
+ ...
+ by 0x........: main (writev1.c:76)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+Received EINVAL as expected
Copied: trunk/memcheck/tests/writev1.vgtest (from rev 12092, trunk/memcheck/tests/writev.vgtest)
===================================================================
--- trunk/memcheck/tests/writev1.vgtest (rev 0)
+++ trunk/memcheck/tests/writev1.vgtest 2011-10-04 03:33:59 UTC (rev 12093)
@@ -0,0 +1,2 @@
+prog: writev1
+vgopts: -q
|
|
From: <sv...@va...> - 2011-10-04 03:20:28
|
Author: florian
Date: 2011-10-04 04:15:38 +0100 (Tue, 04 Oct 2011)
New Revision: 12092
Log:
The testcases execve1 and fwrite actually fail on x86 in the sense that
they produce an incomplete backtrace. Added exp-kfail files to capture the
results with the incomplete backtraces. Updated the generic exp files.
Added:
trunk/memcheck/tests/execve1.stderr.exp-kfail
trunk/memcheck/tests/fwrite.stderr.exp-kfail
Modified:
trunk/memcheck/tests/execve1.stderr.exp
trunk/memcheck/tests/fwrite.stderr.exp
Modified: trunk/memcheck/tests/execve1.stderr.exp
===================================================================
--- trunk/memcheck/tests/execve1.stderr.exp 2011-10-03 23:39:54 UTC (rev 12091)
+++ trunk/memcheck/tests/execve1.stderr.exp 2011-10-04 03:15:38 UTC (rev 12092)
@@ -1,12 +1,15 @@
Syscall param execve(filename) points to unaddressable byte(s)
...
+ by 0x........: main (execve1.c:9)
Address 0x........ is not stack'd, malloc'd or (recently) free'd
Syscall param execve(argv[i]) points to unaddressable byte(s)
...
+ by 0x........: main (execve1.c:9)
Address 0x........ is not stack'd, malloc'd or (recently) free'd
Syscall param execve(envp[i]) points to unaddressable byte(s)
...
+ by 0x........: main (execve1.c:9)
Address 0x........ is not stack'd, malloc'd or (recently) free'd
Added: trunk/memcheck/tests/execve1.stderr.exp-kfail
===================================================================
--- trunk/memcheck/tests/execve1.stderr.exp-kfail (rev 0)
+++ trunk/memcheck/tests/execve1.stderr.exp-kfail 2011-10-04 03:15:38 UTC (rev 12092)
@@ -0,0 +1,12 @@
+Syscall param execve(filename) points to unaddressable byte(s)
+ ...
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+Syscall param execve(argv[i]) points to unaddressable byte(s)
+ ...
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+Syscall param execve(envp[i]) points to unaddressable byte(s)
+ ...
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
Modified: trunk/memcheck/tests/fwrite.stderr.exp
===================================================================
--- trunk/memcheck/tests/fwrite.stderr.exp 2011-10-03 23:39:54 UTC (rev 12091)
+++ trunk/memcheck/tests/fwrite.stderr.exp 2011-10-04 03:15:38 UTC (rev 12092)
@@ -1,5 +1,6 @@
Syscall param write(buf) points to uninitialised byte(s)
...
+ by 0x........: main (fwrite.c:12)
Address 0x........ is 0 bytes inside a block of size 10 alloc'd
at 0x........: malloc (vg_replace_malloc.c:...)
by 0x........: main (fwrite.c:7)
Added: trunk/memcheck/tests/fwrite.stderr.exp-kfail
===================================================================
--- trunk/memcheck/tests/fwrite.stderr.exp-kfail (rev 0)
+++ trunk/memcheck/tests/fwrite.stderr.exp-kfail 2011-10-04 03:15:38 UTC (rev 12092)
@@ -0,0 +1,6 @@
+Syscall param write(buf) points to uninitialised byte(s)
+ ...
+ Address 0x........ is 0 bytes inside a block of size 10 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (fwrite.c:7)
+
|
|
From: Tom H. <th...@cy...> - 2011-10-04 03:14:03
|
Nightly build on bristol ( x86_64, Fedora 9 ) Started at 2011-10-04 03:40:50 BST Ended at 2011-10-04 04:13:43 BST Results differ from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 574 tests, 5 stderr failures, 4 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures == memcheck/tests/amd64-linux/defcfaexpr (stderr) memcheck/tests/execve1 (stderr) memcheck/tests/execve2 (stderr) memcheck/tests/fwrite (stderr) memcheck/tests/writev (stderr) none/tests/amd64/bug132918 (stdout) none/tests/amd64/fxtract (stdout) none/tests/amd64/sse4-64 (stdout) none/tests/x86/fxtract (stdout) ================================================= == Results from 24 hours ago == ================================================= Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 574 tests, 2 stderr failures, 4 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures == memcheck/tests/err_disable3 (stderr) memcheck/tests/err_disable4 (stderr) none/tests/amd64/bug132918 (stdout) none/tests/amd64/fxtract (stdout) none/tests/amd64/sse4-64 (stdout) none/tests/x86/fxtract (stdout) ================================================= == Difference between 24 hours ago and now == ================================================= *** old.short Tue Oct 4 03:58:13 2011 --- new.short Tue Oct 4 04:13:43 2011 *************** *** 8,12 **** ! == 574 tests, 2 stderr failures, 4 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures == ! memcheck/tests/err_disable3 (stderr) ! memcheck/tests/err_disable4 (stderr) none/tests/amd64/bug132918 (stdout) --- 8,15 ---- ! == 574 tests, 5 stderr failures, 4 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures == ! memcheck/tests/amd64-linux/defcfaexpr (stderr) ! memcheck/tests/execve1 (stderr) ! memcheck/tests/execve2 (stderr) ! memcheck/tests/fwrite (stderr) ! memcheck/tests/writev (stderr) none/tests/amd64/bug132918 (stdout) |
|
From: Rich C. <rc...@wi...> - 2011-10-04 03:01:13
|
Nightly build on ultra ( gcc 4.5.1 Linux 2.6.37.1-1.2-desktop x86_64 )
Started at 2011-10-03 21:30:01 CDT
Ended at 2011-10-03 22:01:02 CDT
Results differ from 24 hours ago
Checking out valgrind source tree ... done
Configuring valgrind ... done
Building valgrind ... done
Running regression tests ... failed
Regression test results follow
== 584 tests, 8 stderr failures, 0 stdout failures, 1 stderrB failure, 0 stdoutB failures, 0 post failures ==
gdbserver_tests/mssnapshot (stderrB)
memcheck/tests/amd64-linux/defcfaexpr (stderr)
memcheck/tests/execve1 (stderr)
memcheck/tests/execve2 (stderr)
memcheck/tests/fwrite (stderr)
memcheck/tests/linux/stack_switch (stderr)
memcheck/tests/origin5-bz2 (stderr)
memcheck/tests/writev (stderr)
exp-sgcheck/tests/bad_percentify (stderr)
=================================================
== Results from 24 hours ago ==
=================================================
Checking out valgrind source tree ... done
Configuring valgrind ... done
Building valgrind ... done
Running regression tests ... failed
Regression test results follow
== 584 tests, 5 stderr failures, 0 stdout failures, 1 stderrB failure, 0 stdoutB failures, 0 post failures ==
gdbserver_tests/mssnapshot (stderrB)
memcheck/tests/err_disable3 (stderr)
memcheck/tests/err_disable4 (stderr)
memcheck/tests/linux/stack_switch (stderr)
memcheck/tests/origin5-bz2 (stderr)
exp-sgcheck/tests/bad_percentify (stderr)
=================================================
== Difference between 24 hours ago and now ==
=================================================
*** old.short Mon Oct 3 21:43:45 2011
--- new.short Mon Oct 3 22:01:02 2011
***************
*** 8,15 ****
! == 584 tests, 5 stderr failures, 0 stdout failures, 1 stderrB failure, 0 stdoutB failures, 0 post failures ==
gdbserver_tests/mssnapshot (stderrB)
! memcheck/tests/err_disable3 (stderr)
! memcheck/tests/err_disable4 (stderr)
memcheck/tests/linux/stack_switch (stderr)
memcheck/tests/origin5-bz2 (stderr)
exp-sgcheck/tests/bad_percentify (stderr)
--- 8,18 ----
! == 584 tests, 8 stderr failures, 0 stdout failures, 1 stderrB failure, 0 stdoutB failures, 0 post failures ==
gdbserver_tests/mssnapshot (stderrB)
! memcheck/tests/amd64-linux/defcfaexpr (stderr)
! memcheck/tests/execve1 (stderr)
! memcheck/tests/execve2 (stderr)
! memcheck/tests/fwrite (stderr)
memcheck/tests/linux/stack_switch (stderr)
memcheck/tests/origin5-bz2 (stderr)
+ memcheck/tests/writev (stderr)
exp-sgcheck/tests/bad_percentify (stderr)
=================================================
./valgrind-new/exp-sgcheck/tests/bad_percentify.stderr.diff-glibc28-amd64
=================================================
--- bad_percentify.stderr.exp-glibc28-amd64 2011-10-03 21:44:14.840856818 -0500
+++ bad_percentify.stderr.out 2011-10-03 22:00:53.168014852 -0500
@@ -16,7 +16,7 @@
by 0x........: myvprintf_str (bad_percentify.c:187)
by 0x........: VG_debugLog_vprintf (bad_percentify.c:479)
by 0x........: vprintf_to_buf (bad_percentify.c:89)
- by 0x........: vprintf_WRK (bad_percentify.c:102)
+ by 0x........: vprintf_WRK (bad_percentify.c:101)
by 0x........: VG_vprintf (bad_percentify.c:115)
by 0x........: VG_printf (bad_percentify.c:124)
by 0x........: VG_print_translation_stats (bad_percentify.c:622)
=================================================
./valgrind-new/gdbserver_tests/mssnapshot.stderrB.diff
=================================================
--- mssnapshot.stderrB.exp 2011-10-03 21:43:56.477228443 -0500
+++ mssnapshot.stderrB.out 2011-10-03 21:53:41.203235763 -0500
@@ -1,5 +1,11 @@
relaying data between gdb and process ....
+Missing separate debuginfo for /lib64/ld-linux-x86-64.so.2
+Try: zypper install -C "debuginfo(build-id)=b1d398a5cb1609e7ac1c51a26588e87fc20f753c"
vgdb-error value changed from 0 to 999999
+Missing separate debuginfo for /lib64/libpthread.so.0
+Try: zypper install -C "debuginfo(build-id)=e23cbc772e670af00bea9874f925e2e61afda713"
+Missing separate debuginfo for /lib64/libc.so.6
+Try: zypper install -C "debuginfo(build-id)=1493bf69b1d671cbad9be1d1b0284fbd9138444b"
general valgrind monitor commands:
help [debug] : monitor command help. With debug: + debugging commands
v.wait [<ms>] : sleep <ms> (default 0) then continue
=================================================
./valgrind-new/memcheck/tests/amd64-linux/defcfaexpr.stderr.diff
=================================================
--- defcfaexpr.stderr.exp 2011-10-03 21:44:00.255357725 -0500
+++ defcfaexpr.stderr.out 2011-10-03 21:54:02.196954058 -0500
@@ -1,6 +1,3 @@
Conditional jump or move depends on uninitialised value(s)
- at 0x........: bbb (bogus.S:0)
- by 0x........: aaa (bogus.S:0)
- by 0x........: aaa (bogus.S:0)
- by 0x........: main (bogus.S:0)
+ ...
=================================================
./valgrind-new/memcheck/tests/execve1.stderr.diff
=================================================
--- execve1.stderr.exp 2011-10-03 21:44:01.627404675 -0500
+++ execve1.stderr.out 2011-10-03 21:54:21.374610216 -0500
@@ -1,12 +1,15 @@
Syscall param execve(filename) points to unaddressable byte(s)
...
+ by 0x........: main (execve1.c:9)
Address 0x........ is not stack'd, malloc'd or (recently) free'd
Syscall param execve(argv[i]) points to unaddressable byte(s)
...
+ by 0x........: main (execve1.c:9)
Address 0x........ is not stack'd, malloc'd or (recently) free'd
Syscall param execve(envp[i]) points to unaddressable byte(s)
...
+ by 0x........: main (execve1.c:9)
Address 0x........ is not stack'd, malloc'd or (recently) free'd
=================================================
./valgrind-new/memcheck/tests/execve2.stderr.diff
=================================================
--- execve2.stderr.exp 2011-10-03 21:44:01.600403751 -0500
+++ execve2.stderr.out 2011-10-03 21:54:22.105635229 -0500
@@ -1,4 +1,5 @@
Syscall param execve(filename) points to unaddressable byte(s)
...
+ by 0x........: main (in /home/coe/src/vg/nightly/valgrind-new/memcheck/tests/execve2)
Address 0x........ is not stack'd, malloc'd or (recently) free'd
=================================================
./valgrind-new/memcheck/tests/fwrite.stderr.diff
=================================================
--- fwrite.stderr.exp 2011-10-03 21:44:01.633404879 -0500
+++ fwrite.stderr.out 2011-10-03 21:54:24.002700135 -0500
@@ -1,5 +1,6 @@
Syscall param write(buf) points to uninitialised byte(s)
...
+ by 0x........: main (fwrite.c:12)
Address 0x........ is 0 bytes inside a block of size 10 alloc'd
at 0x........: malloc (vg_replace_malloc.c:...)
by 0x........: main (fwrite.c:7)
=================================================
./valgrind-new/memcheck/tests/linux/stack_switch.stderr.diff
=================================================
--- stack_switch.stderr.exp 2011-10-03 21:44:00.146353995 -0500
+++ stack_switch.stderr.out 2011-10-03 21:54:35.964109389 -0500
@@ -0,0 +1,3 @@
+Syscall param clone(child_tidptr) contains uninitialised byte(s)
+ ...
+
=================================================
./valgrind-new/memcheck/tests/origin5-bz2.stderr.diff-glibc212-s390x
=================================================
--- origin5-bz2.stderr.exp-glibc212-s390x 2011-10-03 21:44:01.657405701 -0500
+++ origin5-bz2.stderr.out 2011-10-03 21:54:59.516915236 -0500
@@ -72,17 +72,6 @@
at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
- at 0x........: mainSort (origin5-bz2.c:2859)
- by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
- by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
- by 0x........: handle_compress (origin5-bz2.c:4753)
- by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
- by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
- by 0x........: main (origin5-bz2.c:6484)
- Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6479)
-
-Use of uninitialised value of size 8
at 0x........: mainSort (origin5-bz2.c:2963)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -128,6 +117,12 @@
Conditional jump or move depends on uninitialised value(s)
at 0x........: main (origin5-bz2.c:6512)
- Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6479)
+ Uninitialised value was created by a heap allocation
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: g_serviceFn (origin5-bz2.c:6429)
+ by 0x........: default_bzalloc (origin5-bz2.c:4470)
+ by 0x........: BZ2_decompress (origin5-bz2.c:1578)
+ by 0x........: BZ2_bzDecompress (origin5-bz2.c:5192)
+ by 0x........: BZ2_bzBuffToBuffDecompress (origin5-bz2.c:5678)
+ by 0x........: main (origin5-bz2.c:6498)
=================================================
./valgrind-new/memcheck/tests/origin5-bz2.stderr.diff-glibc234-s390x
=================================================
--- origin5-bz2.stderr.exp-glibc234-s390x 2011-10-03 21:44:01.627404675 -0500
+++ origin5-bz2.stderr.out 2011-10-03 21:54:59.516915236 -0500
@@ -4,8 +4,7 @@
at 0x........: main (origin5-bz2.c:6479)
Conditional jump or move depends on uninitialised value(s)
- at 0x........: copy_input_until_stop (origin5-bz2.c:4686)
- by 0x........: handle_compress (origin5-bz2.c:4750)
+ at 0x........: handle_compress (origin5-bz2.c:4686)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
@@ -13,8 +12,7 @@
at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
- at 0x........: copy_input_until_stop (origin5-bz2.c:4686)
- by 0x........: handle_compress (origin5-bz2.c:4750)
+ at 0x........: handle_compress (origin5-bz2.c:4686)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
@@ -22,8 +20,7 @@
at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
- at 0x........: copy_input_until_stop (origin5-bz2.c:4686)
- by 0x........: handle_compress (origin5-bz2.c:4750)
+ at 0x........: handle_compress (origin5-bz2.c:4686)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
@@ -120,6 +117,12 @@
Conditional jump or move depends on uninitialised value(s)
at 0x........: main (origin5-bz2.c:6512)
- Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6479)
+ Uninitialised value was created by a heap allocation
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: g_serviceFn (origin5-bz2.c:6429)
+ by 0x........: default_bzalloc (origin5-bz2.c:4470)
+ by 0x........: BZ2_decompress (origin5-bz2.c:1578)
+ by 0x........: BZ2_bzDecompress (origin5-bz2.c:5192)
+ by 0x........: BZ2_bzBuffToBuffDecompress (origin5-bz2.c:5678)
+ by 0x........: main (origin5-bz2.c:6498)
=================================================
./valgrind-new/memcheck/tests/origin5-bz2.stderr.diff-glibc25-amd64
=================================================
--- origin5-bz2.stderr.exp-glibc25-amd64 2011-10-03 21:44:01.610404093 -0500
+++ origin5-bz2.stderr.out 2011-10-03 21:54:59.516915236 -0500
@@ -117,6 +117,12 @@
Conditional jump or move depends on uninitialised value(s)
at 0x........: main (origin5-bz2.c:6512)
- Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6479)
+ Uninitialised value was created by a heap allocation
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: g_serviceFn (origin5-bz2.c:6429)
+ by 0x........: default_bzalloc (origin5-bz2.c:4470)
+ by 0x........: BZ2_decompress (origin5-bz2.c:1578)
+ by 0x........: BZ2_bzDecompress (origin5-bz2.c:5192)
+ by 0x........: BZ2_bzBuffToBuffDecompress (origin5-bz2.c:5678)
+ by 0x........: main (origin5-bz2.c:6498)
=================================================
./valgrind-new/memcheck/tests/origin5-bz2.stderr.diff-glibc25-x86
=================================================
--- origin5-bz2.stderr.exp-glibc25-x86 2011-10-03 21:44:01.670406145 -0500
+++ origin5-bz2.stderr.out 2011-10-03 21:54:59.516915236 -0500
@@ -11,7 +11,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 4
+Use of uninitialised value of size 8
at 0x........: handle_compress (origin5-bz2.c:4686)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
@@ -19,7 +19,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 4
+Use of uninitialised value of size 8
at 0x........: handle_compress (origin5-bz2.c:4686)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
@@ -27,7 +27,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 4
+Use of uninitialised value of size 8
at 0x........: mainSort (origin5-bz2.c:2820)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -38,7 +38,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 4
+Use of uninitialised value of size 8
at 0x........: mainSort (origin5-bz2.c:2823)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -49,7 +49,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 4
+Use of uninitialised value of size 8
at 0x........: mainSort (origin5-bz2.c:2854)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -60,7 +60,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 4
+Use of uninitialised value of size 8
at 0x........: mainSort (origin5-bz2.c:2858)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -71,7 +71,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 4
+Use of uninitialised value of size 8
at 0x........: mainSort (origin5-bz2.c:2963)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -82,7 +82,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 4
+Use of uninitialised value of size 8
at 0x........: mainSort (origin5-bz2.c:2964)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -93,7 +93,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 4
+Use of uninitialised value of size 8
at 0x........: fallbackSort (origin5-bz2.c:2269)
by 0x........: BZ2_blockSort (origin5-bz2.c:3116)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -104,7 +104,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 4
+Use of uninitialised value of size 8
at 0x........: fallbackSort (origin5-bz2.c:2275)
by 0x........: BZ2_blockSort (origin5-bz2.c:3116)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -117,6 +117,12 @@
Conditional jump or move depends on uninitialised value(s)
at 0x........: main (origin5-bz2.c:6512)
- Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6479)
+ Uninitialised value was created by a heap allocation
+ at 0x........: malloc (vg_replace_malloc.c:...)
<truncated beyond 100 lines>
=================================================
./valgrind-new/memcheck/tests/origin5-bz2.stderr.diff-glibc27-ppc64
=================================================
--- origin5-bz2.stderr.exp-glibc27-ppc64 2011-10-03 21:44:01.608404025 -0500
+++ origin5-bz2.stderr.out 2011-10-03 21:54:59.516915236 -0500
@@ -1,7 +1,7 @@
Conditional jump or move depends on uninitialised value(s)
at 0x........: main (origin5-bz2.c:6481)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
Conditional jump or move depends on uninitialised value(s)
at 0x........: handle_compress (origin5-bz2.c:4686)
@@ -9,7 +9,7 @@
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
at 0x........: handle_compress (origin5-bz2.c:4686)
@@ -17,7 +17,7 @@
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
at 0x........: handle_compress (origin5-bz2.c:4686)
@@ -25,7 +25,7 @@
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
at 0x........: mainSort (origin5-bz2.c:2820)
@@ -36,7 +36,7 @@
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
at 0x........: mainSort (origin5-bz2.c:2823)
@@ -47,7 +47,7 @@
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
at 0x........: mainSort (origin5-bz2.c:2854)
@@ -58,7 +58,7 @@
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
at 0x........: mainSort (origin5-bz2.c:2858)
@@ -69,7 +69,7 @@
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
at 0x........: mainSort (origin5-bz2.c:2963)
@@ -80,7 +80,7 @@
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
at 0x........: mainSort (origin5-bz2.c:2964)
@@ -91,7 +91,7 @@
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
at 0x........: fallbackSort (origin5-bz2.c:2269)
@@ -102,7 +102,7 @@
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
<truncated beyond 100 lines>
=================================================
./valgrind-new/memcheck/tests/writev.stderr.diff
=================================================
--- writev.stderr.exp 2011-10-03 21:44:01.619404401 -0500
+++ writev.stderr.out 2011-10-03 21:55:41.712358921 -0500
@@ -1,12 +1,12 @@
Test file created.
Syscall param writev(vector[...]) points to unaddressable byte(s)
- at 0x........: writev (writev.c:51)
+ at 0x........: writev (in /...libc...)
by 0x........: main (writev.c:56)
Address 0x........ is not stack'd, malloc'd or (recently) free'd
Received EFAULT as expected
Syscall param writev(vector) points to unaddressable byte(s)
- at 0x........: writev (writev.c:51)
+ at 0x........: writev (in /...libc...)
by 0x........: main (writev.c:68)
Address 0x........ is not stack'd, malloc'd or (recently) free'd
=================================================
./valgrind-old/exp-sgcheck/tests/bad_percentify.stderr.diff-glibc28-amd64
=================================================
--- bad_percentify.stderr.exp-glibc28-amd64 2011-10-03 21:30:35.363873720 -0500
+++ bad_percentify.stderr.out 2011-10-03 21:43:36.213535052 -0500
@@ -16,7 +16,7 @@
by 0x........: myvprintf_str (bad_percentify.c:187)
by 0x........: VG_debugLog_vprintf (bad_percentify.c:479)
by 0x........: vprintf_to_buf (bad_percentify.c:89)
- by 0x........: vprintf_WRK (bad_percentify.c:102)
+ by 0x........: vprintf_WRK (bad_percentify.c:101)
by 0x........: VG_vprintf (bad_percentify.c:115)
by 0x........: VG_printf (bad_percentify.c:124)
by 0x........: VG_print_translation_stats (bad_percentify.c:622)
=================================================
./valgrind-old/gdbserver_tests/mssnapshot.stderrB.diff
=================================================
--- mssnapshot.stderrB.exp 2011-10-03 21:30:17.194255117 -0500
+++ mssnapshot.stderrB.out 2011-10-03 21:36:27.923878992 -0500
@@ -1,5 +1,11 @@
relaying data between gdb and process ....
+Missing separate debuginfo for /lib64/ld-linux-x86-64.so.2
+Try: zypper install -C "debuginfo(build-id)=b1d398a5cb1609e7ac1c51a26588e87fc20f753c"
vgdb-error value changed from 0 to 999999
+Missing separate debuginfo for /lib64/libpthread.so.0
+Try: zypper install -C "debuginfo(build-id)=e23cbc772e670af00bea9874f925e2e61afda713"
+Missing separate debuginfo for /lib64/libc.so.6
+Try: zypper install -C "debuginfo(build-id)=1493bf69b1d671cbad9be1d1b0284fbd9138444b"
general valgrind monitor commands:
help [debug] : monitor command help. With debug: + debugging commands
v.wait [<ms>] : sleep <ms> (default 0) then continue
=================================================
./valgrind-old/memcheck/tests/err_disable3.stderr.diff
=================================================
--- err_disable3.stderr.exp 2011-10-03 21:30:21.873414423 -0500
+++ err_disable3.stderr.out 2011-10-03 21:37:04.848142580 -0500
@@ -11,8 +11,7 @@
Invalid read of size 1
at 0x........: err (err_disable3.c:25)
by 0x........: child_fn (err_disable3.c:31)
- by 0x........: start_thread (pthread_create.c:300)
- by 0x........: ???
+ by 0x........: start_thread (in /lib64/libpthread-2.11.3.so)
Address 0x........ is 5 bytes inside a block of size 10 free'd
at 0x........: free (vg_replace_malloc.c:...)
by 0x........: main (err_disable3.c:42)
=================================================
./valgrind-old/memcheck/tests/err_disable4.stderr.diff
=================================================
--- err_disable4.stderr.exp 2011-10-03 21:30:21.844413435 -0500
+++ err_disable4.stderr.out 2011-10-03 21:37:06.244190354 -0500
@@ -1502,1002 +1502,8 @@
Invalid read of size 1
at 0x........: err (err_disable4.c:41)
by 0x........: child_fn_2 (err_disable4.c:55)
- by 0x........: start_thread (in /...libpthread...)
- by 0x........: ???
+ ...
Address 0x........ is 5 bytes inside a block of size 10 free'd
at 0x........: free (vg_replace_malloc.c:...)
by 0x........: main (err_disable4.c:68)
-Thread x:
-Invalid read of size 1
- at 0x........: err (err_disable4.c:41)
- by 0x........: child_fn_2 (err_disable4.c:55)
- by 0x........: start_thread (in /...libpthread...)
- by 0x........: ???
- Address 0x........ is 5 bytes inside a block of size 10 free'd
- at 0x........: free (vg_replace_malloc.c:...)
- by 0x........: main (err_disable4.c:68)
-
-Thread x:
-Invalid read of size 1
- at 0x........: err (err_disable4.c:41)
- by 0x........: child_fn_2 (err_disable4.c:55)
- by 0x........: start_thread (in /...libpthread...)
- by 0x........: ???
- Address 0x........ is 5 bytes inside a block of size 10 free'd
- at 0x........: free (vg_replace_malloc.c:...)
- by 0x........: main (err_disable4.c:68)
-
-Thread x:
-Invalid read of size 1
- at 0x........: err (err_disable4.c:41)
- by 0x........: child_fn_2 (err_disable4.c:55)
- by 0x........: start_thread (in /...libpthread...)
- by 0x........: ???
- Address 0x........ is 5 bytes inside a block of size 10 free'd
- at 0x........: free (vg_replace_malloc.c:...)
- by 0x........: main (err_disable4.c:68)
-
-Thread x:
-Invalid read of size 1
- at 0x........: err (err_disable4.c:41)
- by 0x........: child_fn_2 (err_disable4.c:55)
- by 0x........: start_thread (in /...libpthread...)
- by 0x........: ???
- Address 0x........ is 5 bytes inside a block of size 10 free'd
- at 0x........: free (vg_replace_malloc.c:...)
- by 0x........: main (err_disable4.c:68)
-
-Thread x:
-Invalid read of size 1
- at 0x........: err (err_disable4.c:41)
- by 0x........: child_fn_2 (err_disable4.c:55)
- by 0x........: start_thread (in /...libpthread...)
- by 0x........: ???
- Address 0x........ is 5 bytes inside a block of size 10 free'd
- at 0x........: free (vg_replace_malloc.c:...)
- by 0x........: main (err_disable4.c:68)
-
-Thread x:
-Invalid read of size 1
- at 0x........: err (err_disable4.c:41)
- by 0x........: child_fn_2 (err_disable4.c:55)
- by 0x........: start_thread (in /...libpthread...)
- by 0x........: ???
- Address 0x........ is 5 bytes inside a block of size 10 free'd
- at 0x........: free (vg_replace_malloc.c:...)
- by 0x........: main (err_disable4.c:68)
-
-Thread x:
-Invalid read of size 1
- at 0x........: err (err_disable4.c:41)
- by 0x........: child_fn_2 (err_disable4.c:55)
- by 0x........: start_thread (in /...libpthread...)
- by 0x........: ???
- Address 0x........ is 5 bytes inside a block of size 10 free'd
- at 0x........: free (vg_replace_malloc.c:...)
- by 0x........: main (err_disable4.c:68)
-
-Thread x:
-Invalid read of size 1
- at 0x........: err (err_disable4.c:41)
- by 0x........: child_fn_2 (err_disable4.c:55)
- by 0x........: start_thread (in /...libpthread...)
- by 0x........: ???
- Address 0x........ is 5 bytes inside a block of size 10 free'd
- at 0x........: free (vg_replace_malloc.c:...)
- by 0x........: main (err_disable4.c:68)
-
-Thread x:
-Invalid read of size 1
- at 0x........: err (err_disable4.c:41)
- by 0x........: child_fn_2 (err_disable4.c:55)
- by 0x........: start_thread (in /...libpthread...)
- by 0x........: ???
- Address 0x........ is 5 bytes inside a block of size 10 free'd
<truncated beyond 100 lines>
=================================================
./valgrind-old/memcheck/tests/linux/stack_switch.stderr.diff
=================================================
--- stack_switch.stderr.exp 2011-10-03 21:30:20.919381943 -0500
+++ stack_switch.stderr.out 2011-10-03 21:37:22.037730828 -0500
@@ -0,0 +1,3 @@
+Syscall param clone(child_tidptr) contains uninitialised byte(s)
+ ...
+
=================================================
./valgrind-old/memcheck/tests/origin5-bz2.stderr.diff-glibc212-s390x
=================================================
--- origin5-bz2.stderr.exp-glibc212-s390x 2011-10-03 21:30:21.887414899 -0500
+++ origin5-bz2.stderr.out 2011-10-03 21:37:45.188523071 -0500
@@ -72,17 +72,6 @@
at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
- at 0x........: mainSort (origin5-bz2.c:2859)
- by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
- by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
- by 0x........: handle_compress (origin5-bz2.c:4753)
- by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
- by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
- by 0x........: main (origin5-bz2.c:6484)
- Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6479)
-
-Use of uninitialised value of size 8
at 0x........: mainSort (origin5-bz2.c:2963)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -128,6 +117,12 @@
Conditional jump or move depends on uninitialised value(s)
at 0x........: main (origin5-bz2.c:6512)
- Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6479)
+ Uninitialised value was created by a heap allocation
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: g_serviceFn (origin5-bz2.c:6429)
+ by 0x........: default_bzalloc (origin5-bz2.c:4470)
+ by 0x........: BZ2_decompress (origin5-bz2.c:1578)
+ by 0x........: BZ2_bzDecompress (origin5-bz2.c:5192)
+ by 0x........: BZ2_bzBuffToBuffDecompress (origin5-bz2.c:5678)
+ by 0x........: main (origin5-bz2.c:6498)
=================================================
./valgrind-old/memcheck/tests/origin5-bz2.stderr.diff-glibc234-s390x
=================================================
--- origin5-bz2.stderr.exp-glibc234-s390x 2011-10-03 21:30:21.857413879 -0500
+++ origin5-bz2.stderr.out 2011-10-03 21:37:45.188523071 -0500
@@ -4,8 +4,7 @@
at 0x........: main (origin5-bz2.c:6479)
Conditional jump or move depends on uninitialised value(s)
- at 0x........: copy_input_until_stop (origin5-bz2.c:4686)
- by 0x........: handle_compress (origin5-bz2.c:4750)
+ at 0x........: handle_compress (origin5-bz2.c:4686)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
@@ -13,8 +12,7 @@
at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
- at 0x........: copy_input_until_stop (origin5-bz2.c:4686)
- by 0x........: handle_compress (origin5-bz2.c:4750)
+ at 0x........: handle_compress (origin5-bz2.c:4686)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
@@ -22,8 +20,7 @@
at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
- at 0x........: copy_input_until_stop (origin5-bz2.c:4686)
- by 0x........: handle_compress (origin5-bz2.c:4750)
+ at 0x........: handle_compress (origin5-bz2.c:4686)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
@@ -120,6 +117,12 @@
Conditional jump or move depends on uninitialised value(s)
at 0x........: main (origin5-bz2.c:6512)
- Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6479)
+ Uninitialised value was created by a heap allocation
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: g_serviceFn (origin5-bz2.c:6429)
+ by 0x........: default_bzalloc (origin5-bz2.c:4470)
+ by 0x........: BZ2_decompress (origin5-bz2.c:1578)
+ by 0x........: BZ2_bzDecompress (origin5-bz2.c:5192)
+ by 0x........: BZ2_bzBuffToBuffDecompress (origin5-bz2.c:5678)
+ by 0x........: main (origin5-bz2.c:6498)
=================================================
./valgrind-old/memcheck/tests/origin5-bz2.stderr.diff-glibc25-amd64
=================================================
--- origin5-bz2.stderr.exp-glibc25-amd64 2011-10-03 21:30:21.840413299 -0500
+++ origin5-bz2.stderr.out 2011-10-03 21:37:45.188523071 -0500
@@ -117,6 +117,12 @@
Conditional jump or move depends on uninitialised value(s)
at 0x........: main (origin5-bz2.c:6512)
- Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6479)
+ Uninitialised value was created by a heap allocation
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: g_serviceFn (origin5-bz2.c:6429)
+ by 0x........: default_bzalloc (origin5-bz2.c:4470)
+ by 0x........: BZ2_decompress (origin5-bz2.c:1578)
+ by 0x........: BZ2_bzDecompress (origin5-bz2.c:5192)
+ by 0x........: BZ2_bzBuffToBuffDecompress (origin5-bz2.c:5678)
+ by 0x........: main (origin5-bz2.c:6498)
=================================================
./valgrind-old/memcheck/tests/origin5-bz2.stderr.diff-glibc25-x86
=================================================
--- origin5-bz2.stderr.exp-glibc25-x86 2011-10-03 21:30:21.900415343 -0500
+++ origin5-bz2.stderr.out 2011-10-03 21:37:45.188523071 -0500
@@ -11,7 +11,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 4
+Use of uninitialised value of size 8
at 0x........: handle_compress (origin5-bz2.c:4686)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
@@ -19,7 +19,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 4
+Use of uninitialised value of size 8
at 0x........: handle_compress (origin5-bz2.c:4686)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
@@ -27,7 +27,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 4
+Use of uninitialised value of size 8
at 0x........: mainSort (origin5-bz2.c:2820)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -38,7 +38,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 4
+Use of uninitialised value of size 8
at 0x........: mainSort (origin5-bz2.c:2823)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -49,7 +49,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 4
+Use of uninitialised value of size 8
at 0x........: mainSort (origin5-bz2.c:2854)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -60,7 +60,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 4
+Use of uninitialised value of size 8
at 0x........: mainSort (origin5-bz2.c:2858)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -71,7 +71,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 4
+Use of uninitialised value of size 8
at 0x........: mainSort (origin5-bz2.c:2963)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -82,7 +82,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 4
+Use of uninitialised value of size 8
at 0x........: mainSort (origin5-bz2.c:2964)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -93,7 +93,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 4
+Use of uninitialised value of size 8
at 0x........: fallbackSort (origin5-bz2.c:2269)
by 0x........: BZ2_blockSort (origin5-bz2.c:3116)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -104,7 +104,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 4
+Use of uninitialised value of size 8
at 0x........: fallbackSort (origin5-bz2.c:2275)
by 0x........: BZ2_blockSort (origin5-bz2.c:3116)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -117,6 +117,12 @@
Conditional jump or move depends on uninitialised value(s)
at 0x........: main (origin5-bz2.c:6512)
- Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6479)
+ Uninitialised value was created by a heap allocation
+ at 0x........: malloc (vg_replace_malloc.c:...)
<truncated beyond 100 lines>
=================================================
./valgrind-old/memcheck/tests/origin5-bz2.stderr.diff-glibc27-ppc64
=================================================
--- origin5-bz2.stderr.exp-glibc27-ppc64 2011-10-03 21:30:21.838413231 -0500
+++ origin5-bz2.stderr.out 2011-10-03 21:37:45.188523071 -0500
@@ -1,7 +1,7 @@
Conditional jump or move depends on uninitialised value(s)
at 0x........: main (origin5-bz2.c:6481)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
Conditional jump or move depends on uninitialised value(s)
at 0x........: handle_compress (origin5-bz2.c:4686)
@@ -9,7 +9,7 @@
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
at 0x........: handle_compress (origin5-bz2.c:4686)
@@ -17,7 +17,7 @@
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
at 0x........: handle_compress (origin5-bz2.c:4686)
@@ -25,7 +25,7 @@
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
at 0x........: mainSort (origin5-bz2.c:2820)
@@ -36,7 +36,7 @@
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
at 0x........: mainSort (origin5-bz2.c:2823)
@@ -47,7 +47,7 @@
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
at 0x........: mainSort (origin5-bz2.c:2854)
@@ -58,7 +58,7 @@
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
at 0x........: mainSort (origin5-bz2.c:2858)
@@ -69,7 +69,7 @@
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
at 0x........: mainSort (origin5-bz2.c:2963)
@@ -80,7 +80,7 @@
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
at 0x........: mainSort (origin5-bz2.c:2964)
@@ -91,7 +91,7 @@
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
at 0x........: fallbackSort (origin5-bz2.c:2269)
@@ -102,7 +102,7 @@
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
<truncated beyond 100 lines>
|
|
From: Tom H. <th...@cy...> - 2011-10-04 02:58:12
|
Nightly build on bristol ( x86_64, Fedora 11 ) Started at 2011-10-04 03:30:35 BST Ended at 2011-10-04 03:57:50 BST Results differ from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 574 tests, 7 stderr failures, 4 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures == memcheck/tests/amd64-linux/defcfaexpr (stderr) memcheck/tests/execve1 (stderr) memcheck/tests/execve2 (stderr) memcheck/tests/fwrite (stderr) memcheck/tests/linux/stack_switch (stderr) memcheck/tests/long_namespace_xml (stderr) memcheck/tests/writev (stderr) none/tests/amd64/bug132918 (stdout) none/tests/amd64/fxtract (stdout) none/tests/amd64/sse4-64 (stdout) none/tests/x86/fxtract (stdout) ================================================= == Results from 24 hours ago == ================================================= Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 574 tests, 4 stderr failures, 4 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures == memcheck/tests/err_disable3 (stderr) memcheck/tests/err_disable4 (stderr) memcheck/tests/linux/stack_switch (stderr) memcheck/tests/long_namespace_xml (stderr) none/tests/amd64/bug132918 (stdout) none/tests/amd64/fxtract (stdout) none/tests/amd64/sse4-64 (stdout) none/tests/x86/fxtract (stdout) ================================================= == Difference between 24 hours ago and now == ================================================= *** old.short Tue Oct 4 03:40:34 2011 --- new.short Tue Oct 4 03:57:50 2011 *************** *** 8,14 **** ! == 574 tests, 4 stderr failures, 4 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures == ! memcheck/tests/err_disable3 (stderr) ! memcheck/tests/err_disable4 (stderr) memcheck/tests/linux/stack_switch (stderr) memcheck/tests/long_namespace_xml (stderr) none/tests/amd64/bug132918 (stdout) --- 8,17 ---- ! == 574 tests, 7 stderr failures, 4 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures == ! memcheck/tests/amd64-linux/defcfaexpr (stderr) ! memcheck/tests/execve1 (stderr) ! memcheck/tests/execve2 (stderr) ! memcheck/tests/fwrite (stderr) memcheck/tests/linux/stack_switch (stderr) memcheck/tests/long_namespace_xml (stderr) + memcheck/tests/writev (stderr) none/tests/amd64/bug132918 (stdout) |
|
From: Tom H. <th...@cy...> - 2011-10-04 02:43:00
|
Nightly build on bristol ( x86_64, Fedora 13 ) Started at 2011-10-04 03:21:04 BST Ended at 2011-10-04 03:42:45 BST Results differ from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 574 tests, 7 stderr failures, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures == memcheck/tests/amd64-linux/defcfaexpr (stderr) memcheck/tests/execve1 (stderr) memcheck/tests/execve2 (stderr) memcheck/tests/fwrite (stderr) memcheck/tests/linux/stack_switch (stderr) memcheck/tests/writev (stderr) helgrind/tests/pth_barrier3 (stderr) ================================================= == Results from 24 hours ago == ================================================= Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 574 tests, 4 stderr failures, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures == memcheck/tests/err_disable3 (stderr) memcheck/tests/err_disable4 (stderr) memcheck/tests/linux/stack_switch (stderr) helgrind/tests/pth_barrier3 (stderr) ================================================= == Difference between 24 hours ago and now == ================================================= *** old.short Tue Oct 4 03:32:03 2011 --- new.short Tue Oct 4 03:42:45 2011 *************** *** 8,13 **** ! == 574 tests, 4 stderr failures, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures == ! memcheck/tests/err_disable3 (stderr) ! memcheck/tests/err_disable4 (stderr) memcheck/tests/linux/stack_switch (stderr) helgrind/tests/pth_barrier3 (stderr) --- 8,16 ---- ! == 574 tests, 7 stderr failures, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures == ! memcheck/tests/amd64-linux/defcfaexpr (stderr) ! memcheck/tests/execve1 (stderr) ! memcheck/tests/execve2 (stderr) ! memcheck/tests/fwrite (stderr) memcheck/tests/linux/stack_switch (stderr) + memcheck/tests/writev (stderr) helgrind/tests/pth_barrier3 (stderr) |
|
From: Tom H. <th...@cy...> - 2011-10-04 02:36:13
|
Nightly build on bristol ( x86_64, Fedora 14 ) Started at 2011-10-04 03:11:07 BST Ended at 2011-10-04 03:35:51 BST Results differ from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 588 tests, 8 stderr failures, 0 stdout failures, 9 stderrB failures, 0 stdoutB failures, 0 post failures == gdbserver_tests/mcbreak (stderrB) gdbserver_tests/mcclean_after_fork (stderrB) gdbserver_tests/mcinfcallWSRU (stderrB) gdbserver_tests/mcleak (stderrB) gdbserver_tests/mcmain_pic (stderrB) gdbserver_tests/mcvabits (stderrB) gdbserver_tests/mssnapshot (stderrB) gdbserver_tests/nlpasssigalrm (stderrB) gdbserver_tests/nlsigvgdb (stderrB) memcheck/tests/amd64-linux/defcfaexpr (stderr) memcheck/tests/execve1 (stderr) memcheck/tests/execve2 (stderr) memcheck/tests/fwrite (stderr) memcheck/tests/linux/stack_switch (stderr) memcheck/tests/origin5-bz2 (stderr) memcheck/tests/writev (stderr) exp-sgcheck/tests/bad_percentify (stderr) ================================================= == Results from 24 hours ago == ================================================= Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 588 tests, 5 stderr failures, 0 stdout failures, 9 stderrB failures, 0 stdoutB failures, 0 post failures == gdbserver_tests/mcbreak (stderrB) gdbserver_tests/mcclean_after_fork (stderrB) gdbserver_tests/mcinfcallWSRU (stderrB) gdbserver_tests/mcleak (stderrB) gdbserver_tests/mcmain_pic (stderrB) gdbserver_tests/mcvabits (stderrB) gdbserver_tests/mssnapshot (stderrB) gdbserver_tests/nlpasssigalrm (stderrB) gdbserver_tests/nlsigvgdb (stderrB) memcheck/tests/err_disable3 (stderr) memcheck/tests/err_disable4 (stderr) memcheck/tests/linux/stack_switch (stderr) memcheck/tests/origin5-bz2 (stderr) exp-sgcheck/tests/bad_percentify (stderr) ================================================= == Difference between 24 hours ago and now == ================================================= *** old.short Tue Oct 4 03:23:25 2011 --- new.short Tue Oct 4 03:35:51 2011 *************** *** 8,10 **** ! == 588 tests, 5 stderr failures, 0 stdout failures, 9 stderrB failures, 0 stdoutB failures, 0 post failures == gdbserver_tests/mcbreak (stderrB) --- 8,10 ---- ! == 588 tests, 8 stderr failures, 0 stdout failures, 9 stderrB failures, 0 stdoutB failures, 0 post failures == gdbserver_tests/mcbreak (stderrB) *************** *** 18,23 **** gdbserver_tests/nlsigvgdb (stderrB) ! memcheck/tests/err_disable3 (stderr) ! memcheck/tests/err_disable4 (stderr) memcheck/tests/linux/stack_switch (stderr) memcheck/tests/origin5-bz2 (stderr) exp-sgcheck/tests/bad_percentify (stderr) --- 18,26 ---- gdbserver_tests/nlsigvgdb (stderrB) ! memcheck/tests/amd64-linux/defcfaexpr (stderr) ! memcheck/tests/execve1 (stderr) ! memcheck/tests/execve2 (stderr) ! memcheck/tests/fwrite (stderr) memcheck/tests/linux/stack_switch (stderr) memcheck/tests/origin5-bz2 (stderr) + memcheck/tests/writev (stderr) exp-sgcheck/tests/bad_percentify (stderr) |
|
From: Tom H. <th...@cy...> - 2011-10-04 02:26:48
|
Nightly build on bristol ( x86_64, Fedora 15 ) Started at 2011-10-04 03:01:50 BST Ended at 2011-10-04 03:26:32 BST Results differ from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 588 tests, 10 stderr failures, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures == memcheck/tests/amd64-linux/defcfaexpr (stderr) memcheck/tests/execve1 (stderr) memcheck/tests/execve2 (stderr) memcheck/tests/fwrite (stderr) memcheck/tests/origin5-bz2 (stderr) memcheck/tests/overlap (stderr) memcheck/tests/writev (stderr) none/tests/shell (stderr) helgrind/tests/hg05_race2 (stderr) exp-sgcheck/tests/bad_percentify (stderr) ================================================= == Results from 24 hours ago == ================================================= Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 588 tests, 7 stderr failures, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures == memcheck/tests/err_disable3 (stderr) memcheck/tests/err_disable4 (stderr) memcheck/tests/origin5-bz2 (stderr) memcheck/tests/overlap (stderr) none/tests/shell (stderr) helgrind/tests/hg05_race2 (stderr) exp-sgcheck/tests/bad_percentify (stderr) ================================================= == Difference between 24 hours ago and now == ================================================= *** old.short Tue Oct 4 03:14:15 2011 --- new.short Tue Oct 4 03:26:32 2011 *************** *** 8,14 **** ! == 588 tests, 7 stderr failures, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures == ! memcheck/tests/err_disable3 (stderr) ! memcheck/tests/err_disable4 (stderr) memcheck/tests/origin5-bz2 (stderr) memcheck/tests/overlap (stderr) none/tests/shell (stderr) --- 8,17 ---- ! == 588 tests, 10 stderr failures, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures == ! memcheck/tests/amd64-linux/defcfaexpr (stderr) ! memcheck/tests/execve1 (stderr) ! memcheck/tests/execve2 (stderr) ! memcheck/tests/fwrite (stderr) memcheck/tests/origin5-bz2 (stderr) memcheck/tests/overlap (stderr) + memcheck/tests/writev (stderr) none/tests/shell (stderr) |