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
(7) |
2
(9) |
3
(7) |
4
(5) |
5
(5) |
6
(16) |
|
7
(20) |
8
(9) |
9
(15) |
10
(11) |
11
(13) |
12
(12) |
13
(10) |
|
14
(13) |
15
(6) |
16
(10) |
17
(12) |
18
(17) |
19
(3) |
20
(10) |
|
21
(11) |
22
(7) |
23
(6) |
24
(7) |
25
(5) |
26
(5) |
27
(14) |
|
28
(6) |
29
(4) |
30
(5) |
|
|
|
|
|
From: <sv...@va...> - 2008-09-12 22:38:18
|
Author: sewardj
Date: 2008-09-12 23:38:28 +0100 (Fri, 12 Sep 2008)
New Revision: 8607
Log:
Add a new test, real-world code, stack overrun.
Added:
branches/PTRCHECK/exp-ptrcheck/tests/bad_percentify.c
branches/PTRCHECK/exp-ptrcheck/tests/bad_percentify.stderr.exp-glibc28-amd64
branches/PTRCHECK/exp-ptrcheck/tests/bad_percentify.stdout.exp
branches/PTRCHECK/exp-ptrcheck/tests/bad_percentify.vgtest
Modified:
branches/PTRCHECK/exp-ptrcheck/tests/Makefile.am
Modified: branches/PTRCHECK/exp-ptrcheck/tests/Makefile.am
===================================================================
--- branches/PTRCHECK/exp-ptrcheck/tests/Makefile.am 2008-09-12 22:37:08 UTC (rev 8606)
+++ branches/PTRCHECK/exp-ptrcheck/tests/Makefile.am 2008-09-12 22:38:28 UTC (rev 8607)
@@ -26,11 +26,13 @@
and.vgtest-disabled and.stderr.exp \
arith.vgtest-disabled arith.stderr.exp \
arith_include1.c arith_include2.c \
+ bad_percentify.vgtest bad_percentify.c \
+ bad_percentify.stdout.exp bad_percentify.stderr.exp-glibc28-amd64 \
base.vgtest \
base.stderr.exp-glibc25-amd64 base.stderr.exp-glibc25-x86 \
ccc.vgtest \
ccc.stderr.exp-glibc25-x86 ccc.stderr.exp-glibc25-amd64 \
- ccc.stderr.exp-glibc27-x86 \
+ ccc.stderr.exp-glibc27-x86 ccc.stderr.exp-glibc28-amd64 \
cmp.vgtest-disabled cmp.stderr.exp \
globalerr.vgtest globalerr.stdout.exp \
globalerr.stderr.exp-glibc28-amd64 \
@@ -71,7 +73,7 @@
zero.vgtest zero.stderr.exp
check_PROGRAMS = \
- add and arith base ccc cmp fp \
+ add and arith bad_percentify base ccc cmp fp \
globalerr \
hp_bounds hp_dangle idiv imul \
justify mm not neg or partial pth_create pth_specific realloc \
@@ -88,6 +90,7 @@
add_SOURCES = add.c
and_SOURCES = and.c
arith_SOURCES = arith.c
+bad_percentify_SOURCES = bad_percentify.c
base_SOURCES = base.c
cmp_SOURCES = cmp.c
fp_SOURCES = fp.c
Added: branches/PTRCHECK/exp-ptrcheck/tests/bad_percentify.c
===================================================================
--- branches/PTRCHECK/exp-ptrcheck/tests/bad_percentify.c (rev 0)
+++ branches/PTRCHECK/exp-ptrcheck/tests/bad_percentify.c 2008-09-12 22:38:28 UTC (rev 8607)
@@ -0,0 +1,109 @@
+
+/* This demonstrates a stack overrun bug that exp-ptrcheck found while
+ running Valgrind itself (self hosting). As at 12 Sept 08 this bug
+ is still in Valgrind. */
+
+#include <stdio.h>
+#include <stdlib.h>
+#include <assert.h>
+#include <string.h>
+
+typedef unsigned long long int ULong;
+typedef unsigned int UInt;
+typedef signed int Int;
+typedef char Char;
+
+/* ---------------------------------------------------------------------
+ percentify()
+ ------------------------------------------------------------------ */
+
+/* This part excerpted from coregrind/m_libcbase.c */
+
+// Percentify n/m with d decimal places. Includes the '%' symbol at the end.
+// Right justifies in 'buf'.
+void VG_percentify(ULong n, ULong m, UInt d, Int n_buf, char buf[])
+{
+ Int i, len, space;
+ ULong p1;
+ Char fmt[32];
+
+ if (m == 0) {
+ // Have to generate the format string in order to be flexible about
+ // the width of the field.
+ sprintf(fmt, "%%-%ds", n_buf);
+ // fmt is now "%<n_buf>s" where <d> is 1,2,3...
+ sprintf(buf, fmt, "--%");
+ return;
+ }
+
+ p1 = (100*n) / m;
+
+ if (d == 0) {
+ sprintf(buf, "%lld%%", p1);
+ } else {
+ ULong p2;
+ UInt ex;
+ switch (d) {
+ case 1: ex = 10; break;
+ case 2: ex = 100; break;
+ case 3: ex = 1000; break;
+ default: assert(0);
+ /* was: VG_(tool_panic)("Currently can only handle 3 decimal places"); */
+ }
+ p2 = ((100*n*ex) / m) % ex;
+ // Have to generate the format string in order to be flexible about
+ // the width of the post-decimal-point part.
+ sprintf(fmt, "%%lld.%%0%dlld%%%%", d);
+ // fmt is now "%lld.%0<d>lld%%" where <d> is 1,2,3...
+ sprintf(buf, fmt, p1, p2);
+ }
+
+ len = strlen(buf);
+ space = n_buf - len;
+ if (space < 0) space = 0; /* Allow for v. small field_width */
+ i = len;
+
+ /* Right justify in field */
+ for ( ; i >= 0; i--) buf[i + space] = buf[i];
+ for (i = 0; i < space; i++) buf[i] = ' ';
+}
+
+
+/*------------------------------------------------------------*/
+/*--- Stats ---*/
+/*------------------------------------------------------------*/
+
+/* This part excerpted from coregrind/m_translate.c */
+
+static UInt n_SP_updates_fast = 0;
+static UInt n_SP_updates_generic_known = 0;
+static UInt n_SP_updates_generic_unknown = 0;
+
+void VG_print_translation_stats ( void )
+{
+ Char buf[6];
+ UInt n_SP_updates = n_SP_updates_fast + n_SP_updates_generic_known
+ + n_SP_updates_generic_unknown;
+ VG_percentify(n_SP_updates_fast, n_SP_updates, 1, 6, buf);
+ printf(
+ "translate: fast SP updates identified: %'u (%s)\n",
+ n_SP_updates_fast, buf );
+
+ VG_percentify(n_SP_updates_generic_known, n_SP_updates, 1, 6, buf);
+ printf(
+ "translate: generic_known SP updates identified: %'u (%s)\n",
+ n_SP_updates_generic_known, buf );
+
+ VG_percentify(n_SP_updates_generic_unknown, n_SP_updates, 1, 6, buf);
+ printf(
+ "translate: generic_unknown SP updates identified: %'u (%s)\n",
+ n_SP_updates_generic_unknown, buf );
+}
+
+
+
+int main ( void )
+{
+ VG_print_translation_stats();
+ return 0;
+}
Added: branches/PTRCHECK/exp-ptrcheck/tests/bad_percentify.stderr.exp-glibc28-amd64
===================================================================
--- branches/PTRCHECK/exp-ptrcheck/tests/bad_percentify.stderr.exp-glibc28-amd64 (rev 0)
+++ branches/PTRCHECK/exp-ptrcheck/tests/bad_percentify.stderr.exp-glibc28-amd64 2008-09-12 22:38:28 UTC (rev 8607)
@@ -0,0 +1,32 @@
+
+Invalid read of size 1
+ at 0x........: strlen (h_intercepts.c:109)
+ by 0x........: ...
+ by 0x........: ...
+ by 0x........: VG_print_translation_stats (bad_percentify.c:88)
+ by 0x........: main (bad_percentify.c:107)
+ Address 0x........ expected vs actual:
+ Expected: stack array "buf" in frame 3 back from here
+ Actual: unknown
+
+Invalid read of size 1
+ at 0x........: strlen (h_intercepts.c:109)
+ by 0x........: ...
+ by 0x........: ...
+ by 0x........: VG_print_translation_stats (bad_percentify.c:93)
+ by 0x........: main (bad_percentify.c:107)
+ Address 0x........ expected vs actual:
+ Expected: stack array "buf" in frame 3 back from here
+ Actual: unknown
+
+Invalid read of size 1
+ at 0x........: strlen (h_intercepts.c:109)
+ by 0x........: ...
+ by 0x........: ...
+ by 0x........: VG_print_translation_stats (bad_percentify.c:98)
+ by 0x........: main (bad_percentify.c:107)
+ Address 0x........ expected vs actual:
+ Expected: stack array "buf" in frame 3 back from here
+ Actual: unknown
+
+ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
Added: branches/PTRCHECK/exp-ptrcheck/tests/bad_percentify.stdout.exp
===================================================================
--- branches/PTRCHECK/exp-ptrcheck/tests/bad_percentify.stdout.exp (rev 0)
+++ branches/PTRCHECK/exp-ptrcheck/tests/bad_percentify.stdout.exp 2008-09-12 22:38:28 UTC (rev 8607)
@@ -0,0 +1,3 @@
+translate: fast SP updates identified: 0 (--% )
+translate: generic_known SP updates identified: 0 (--% )
+translate: generic_unknown SP updates identified: 0 (--% )
Added: branches/PTRCHECK/exp-ptrcheck/tests/bad_percentify.vgtest
===================================================================
--- branches/PTRCHECK/exp-ptrcheck/tests/bad_percentify.vgtest (rev 0)
+++ branches/PTRCHECK/exp-ptrcheck/tests/bad_percentify.vgtest 2008-09-12 22:38:28 UTC (rev 8607)
@@ -0,0 +1 @@
+prog: bad_percentify
|
|
From: <sv...@va...> - 2008-09-12 22:37:01
|
Author: sewardj Date: 2008-09-12 23:37:08 +0100 (Fri, 12 Sep 2008) New Revision: 8606 Log: Add yet another expected output for test 'ccc'. Added: branches/PTRCHECK/exp-ptrcheck/tests/ccc.stderr.exp-glibc28-amd64 Added: branches/PTRCHECK/exp-ptrcheck/tests/ccc.stderr.exp-glibc28-amd64 =================================================================== --- branches/PTRCHECK/exp-ptrcheck/tests/ccc.stderr.exp-glibc28-amd64 (rev 0) +++ branches/PTRCHECK/exp-ptrcheck/tests/ccc.stderr.exp-glibc28-amd64 2008-09-12 22:37:08 UTC (rev 8606) @@ -0,0 +1,45 @@ + +Invalid read of size 4 + at 0x........: main (ccc.cpp:20) + Address 0x........ is 4 bytes before the accessing pointer's + legitimate range, a block of size 4 alloc'd + at 0x........: malloc (vg_replace_malloc.c:...) + by 0x........: main (ccc.cpp:8) + +Invalid read of size 4 + at 0x........: main (ccc.cpp:21) + Address 0x........ is 4 bytes before the accessing pointer's + legitimate range, a block of size 4 alloc'd + at 0x........: operator new(unsigned long) (vg_replace_malloc.c:...) + by 0x........: main (ccc.cpp:9) + +Invalid read of size 4 + at 0x........: main (ccc.cpp:22) + Address 0x........ is 4 bytes before the accessing pointer's + legitimate range, a block of size 40 alloc'd + at 0x........: operator new[](unsigned long) (vg_replace_malloc.c:...) + by 0x........: main (ccc.cpp:10) + +Invalid read of size 4 + at 0x........: main (ccc.cpp:23) + Address 0x........ is 4 bytes before the accessing pointer's + legitimate range, a block of size 4 alloc'd + at 0x........: calloc (vg_replace_malloc.c:...) + by 0x........: main (ccc.cpp:11) + +Invalid read of size 4 + at 0x........: main (ccc.cpp:24) + Address 0x........ is 4 bytes before the accessing pointer's + legitimate range, a block of size 4 alloc'd + at 0x........: memalign (vg_replace_malloc.c:...) + by 0x........: main (ccc.cpp:12) + +Invalid read of size 4 + at 0x........: main (ccc.cpp:22) + Address 0x........ is 4 bytes before the accessing pointer's + legitimate range, a block of size 4 alloc'd + at 0x........: memalign (vg_replace_malloc.c:...) + by 0x........: posix_memalign (vg_replace_malloc.c:...) + by 0x........: main (ccc.cpp:14) + +ERROR SUMMARY: 6 errors from 6 contexts (suppressed: 0 from 0) |
|
From: <sv...@va...> - 2008-09-12 20:30:04
|
Author: sewardj
Date: 2008-09-12 21:30:14 +0100 (Fri, 12 Sep 2008)
New Revision: 8605
Log:
Add some regtest expected outputs, and fix nonsense code in stackerr.c.
Added:
branches/PTRCHECK/exp-ptrcheck/tests/ccc.stderr.exp-glibc27-x86
branches/PTRCHECK/exp-ptrcheck/tests/stackerr.stderr.exp-glibc27-x86
Modified:
branches/PTRCHECK/exp-ptrcheck/tests/Makefile.am
branches/PTRCHECK/exp-ptrcheck/tests/stackerr.c
Modified: branches/PTRCHECK/exp-ptrcheck/tests/Makefile.am
===================================================================
--- branches/PTRCHECK/exp-ptrcheck/tests/Makefile.am 2008-09-12 20:29:35 UTC (rev 8604)
+++ branches/PTRCHECK/exp-ptrcheck/tests/Makefile.am 2008-09-12 20:30:14 UTC (rev 8605)
@@ -30,6 +30,7 @@
base.stderr.exp-glibc25-amd64 base.stderr.exp-glibc25-x86 \
ccc.vgtest \
ccc.stderr.exp-glibc25-x86 ccc.stderr.exp-glibc25-amd64 \
+ ccc.stderr.exp-glibc27-x86 \
cmp.vgtest-disabled cmp.stderr.exp \
globalerr.vgtest globalerr.stdout.exp \
globalerr.stderr.exp-glibc28-amd64 \
@@ -55,7 +56,7 @@
realloc.stderr.exp-glibc25-x86 realloc.stderr.exp-glibc25-amd64 \
sh_script.vgtest-disabled sh_script.stderr.exp \
stackerr.vgtest stackerr.stdout.exp \
- stackerr.stderr.exp-glibc28-amd64 \
+ stackerr.stderr.exp-glibc28-amd64 stackerr.stderr.exp-glibc27-x86 \
strcpy.vgtest strcpy.stderr.exp \
strlen_bad.vgtest-disabled strlen_bad.stderr.exp \
strlen_good.vgtest-disabled strlen_good.stderr.exp \
Added: branches/PTRCHECK/exp-ptrcheck/tests/ccc.stderr.exp-glibc27-x86
===================================================================
--- branches/PTRCHECK/exp-ptrcheck/tests/ccc.stderr.exp-glibc27-x86 (rev 0)
+++ branches/PTRCHECK/exp-ptrcheck/tests/ccc.stderr.exp-glibc27-x86 2008-09-12 20:30:14 UTC (rev 8605)
@@ -0,0 +1,45 @@
+
+Invalid read of size 4
+ at 0x........: main (ccc.cpp:20)
+ Address 0x........ is 4 bytes before the accessing pointer's
+ legitimate range, a block of size 4 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (ccc.cpp:8)
+
+Invalid read of size 4
+ at 0x........: main (ccc.cpp:21)
+ Address 0x........ is 4 bytes before the accessing pointer's
+ legitimate range, a block of size 4 alloc'd
+ at 0x........: operator new(unsigned) (vg_replace_malloc.c:...)
+ by 0x........: main (ccc.cpp:9)
+
+Invalid read of size 4
+ at 0x........: main (ccc.cpp:22)
+ Address 0x........ is 4 bytes before the accessing pointer's
+ legitimate range, a block of size 40 alloc'd
+ at 0x........: operator new[](unsigned) (vg_replace_malloc.c:...)
+ by 0x........: main (ccc.cpp:10)
+
+Invalid read of size 4
+ at 0x........: main (ccc.cpp:23)
+ Address 0x........ is 4 bytes before the accessing pointer's
+ legitimate range, a block of size 4 alloc'd
+ at 0x........: calloc (vg_replace_malloc.c:...)
+ by 0x........: main (ccc.cpp:11)
+
+Invalid read of size 4
+ at 0x........: main (ccc.cpp:24)
+ Address 0x........ is 4 bytes before the accessing pointer's
+ legitimate range, a block of size 4 alloc'd
+ at 0x........: memalign (vg_replace_malloc.c:...)
+ by 0x........: main (ccc.cpp:12)
+
+Invalid read of size 4
+ at 0x........: main (ccc.cpp:25)
+ Address 0x........ is 4 bytes before the accessing pointer's
+ legitimate range, a block of size 4 alloc'd
+ at 0x........: memalign (vg_replace_malloc.c:...)
+ by 0x........: posix_memalign (vg_replace_malloc.c:...)
+ by 0x........: main (ccc.cpp:14)
+
+ERROR SUMMARY: 6 errors from 6 contexts (suppressed: 0 from 0)
Modified: branches/PTRCHECK/exp-ptrcheck/tests/stackerr.c
===================================================================
--- branches/PTRCHECK/exp-ptrcheck/tests/stackerr.c 2008-09-12 20:29:35 UTC (rev 8604)
+++ branches/PTRCHECK/exp-ptrcheck/tests/stackerr.c 2008-09-12 20:30:14 UTC (rev 8605)
@@ -20,14 +20,14 @@
#include <stdio.h>
-__attribute__((noinline)) foo ( long* sa, int n )
+__attribute__((noinline)) void foo ( long* sa, int n )
{
int i;
for (i = 0; i < n; i++)
sa[i] = 0;
}
-__attribute__((noinline)) bar ( long* sa, int n )
+__attribute__((noinline)) void bar ( long* sa, int n )
{
foo(sa, n);
}
Added: branches/PTRCHECK/exp-ptrcheck/tests/stackerr.stderr.exp-glibc27-x86
===================================================================
--- branches/PTRCHECK/exp-ptrcheck/tests/stackerr.stderr.exp-glibc27-x86 (rev 0)
+++ branches/PTRCHECK/exp-ptrcheck/tests/stackerr.stderr.exp-glibc27-x86 2008-09-12 20:30:14 UTC (rev 8605)
@@ -0,0 +1,26 @@
+
+Invalid write of size 4
+ at 0x........: foo (stackerr.c:27)
+ by 0x........: bar (stackerr.c:32)
+ by 0x........: main (stackerr.c:41)
+ Address 0x........ expected vs actual:
+ Expected: stack array "a" in frame 2 back from here
+ Actual: stack array "beforea" in frame 2 back from here
+
+Invalid write of size 4
+ at 0x........: main (stackerr.c:44)
+ Address 0x........ expected vs actual:
+ Expected: stack array "a" in this frame
+ Actual: stack array "beforea" in this frame
+
+Invalid write of size 1
+ at 0x........: _IO_default_xsputn (in /...libc...)
+ by 0x........: ...
+ by 0x........: ...
+ by 0x........: ...
+ by 0x........: main (stackerr.c:49)
+ Address 0x........ expected vs actual:
+ Expected: stack array "buf" in frame 4 back from here
+ Actual: stack array "beforebuf" in frame 4 back from here
+
+ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
|
|
From: <sv...@va...> - 2008-09-12 20:29:28
|
Author: sewardj
Date: 2008-09-12 21:29:35 +0100 (Fri, 12 Sep 2008)
New Revision: 8604
Log:
Fix uninitialised value. Curiously, gcc-4.3 makes no comment; only a
build with gcc-4.2 (correctly) reported it as uninitialised.
Modified:
branches/PTRCHECK/coregrind/m_debuginfo/readdwarf3.c
Modified: branches/PTRCHECK/coregrind/m_debuginfo/readdwarf3.c
===================================================================
--- branches/PTRCHECK/coregrind/m_debuginfo/readdwarf3.c 2008-09-12 17:11:57 UTC (rev 8603)
+++ branches/PTRCHECK/coregrind/m_debuginfo/readdwarf3.c 2008-09-12 20:29:35 UTC (rev 8604)
@@ -2907,6 +2907,7 @@
above (a commoning pass followed by a substitution pass), but
checking it on every iteration is excessively expensive. Note,
this loop also computes 'm' for the stats printing below it. */
+ m = 0;
n = VG_(sizeXA)( ents );
for (i = 0; i < n; i++) {
TyEnt *ent, *ind;
|
|
From: <sv...@va...> - 2008-09-12 17:11:47
|
Author: sewardj
Date: 2008-09-12 18:11:57 +0100 (Fri, 12 Sep 2008)
New Revision: 8603
Log:
Minor cleanups. Use Seg__is_freed instead of explicit tests, where
possible.
Modified:
branches/PTRCHECK/exp-ptrcheck/h_main.c
Modified: branches/PTRCHECK/exp-ptrcheck/h_main.c
===================================================================
--- branches/PTRCHECK/exp-ptrcheck/h_main.c 2008-09-12 17:10:33 UTC (rev 8602)
+++ branches/PTRCHECK/exp-ptrcheck/h_main.c 2008-09-12 17:11:57 UTC (rev 8603)
@@ -267,7 +267,7 @@
// NONPTR, UNKNOWN, BOTTOM defined in h_main.h since
// pc_common.c needs to see them, for error processing
-
+// we only start recycling segs when this many exist
#define N_FREED_SEGS (1 * 1000 * 1000)
struct _Seg {
@@ -280,6 +280,49 @@
struct _Seg* nextfree;
};
+// Determines if 'a' is before, within, or after seg's range. Sets 'cmp' to
+// -1/0/1 accordingly. Sets 'n' to the number of bytes before/within/after.
+void Seg__cmp(Seg* seg, Addr a, Int* cmp, UWord* n)
+{
+ if (a < seg->addr) {
+ *cmp = -1;
+ *n = seg->addr - a;
+ } else if (a < seg->addr + seg->szB && seg->szB > 0) {
+ *cmp = 0;
+ *n = a - seg->addr;
+ } else {
+ *cmp = 1;
+ *n = a - (seg->addr + seg->szB);
+ }
+}
+
+inline Bool Seg__is_freed(Seg* seg)
+{
+ if (!is_known_segment(seg))
+ return False;
+ else
+ return seg->nextfree != (Seg*)1;
+}
+
+ExeContext* Seg__where(Seg* seg)
+{
+ tl_assert(is_known_segment(seg));
+ return seg->ec;
+}
+
+SizeT Seg__size(Seg* seg)
+{
+ tl_assert(is_known_segment(seg));
+ return seg->szB;
+}
+
+Addr Seg__addr(Seg* seg)
+{
+ tl_assert(is_known_segment(seg));
+ return seg->addr;
+}
+
+
#define N_SEGS_PER_GROUP 10000
typedef
@@ -348,7 +391,7 @@
static void set_Seg_freed ( Seg* seg )
{
tl_assert(seg);
- tl_assert(seg->nextfree == (Seg*)1);
+ tl_assert(!Seg__is_freed(seg));
if (nFreeSegs == 0) {
tl_assert(freesegs_oldest == NULL);
tl_assert(freesegs_youngest == NULL);
@@ -374,6 +417,7 @@
}
static WordFM* addr_to_seg_map = NULL;
+
static void addr_to_seg_map_ENSURE_INIT ( void )
{
if (UNLIKELY(addr_to_seg_map == NULL)) {
@@ -413,49 +457,7 @@
tl_assert(valW != 0);
}
-// Determines if 'a' is before, within, or after seg's range. Sets 'cmp' to
-// -1/0/1 accordingly. Sets 'n' to the number of bytes before/within/after.
-void Seg__cmp(Seg* seg, Addr a, Int* cmp, UWord* n)
-{
- if (a < seg->addr) {
- *cmp = -1;
- *n = seg->addr - a;
- } else if (a < seg->addr + seg->szB && seg->szB > 0) {
- *cmp = 0;
- *n = a - seg->addr;
- } else {
- *cmp = 1;
- *n = a - (seg->addr + seg->szB);
- }
-}
-Bool Seg__is_freed(Seg* seg)
-{
- if (!is_known_segment(seg))
- return False;
- else
- return seg->nextfree != (Seg*)1;
-}
-
-ExeContext* Seg__where(Seg* seg)
-{
- tl_assert(is_known_segment(seg));
- return seg->ec;
-}
-
-SizeT Seg__size(Seg* seg)
-{
- tl_assert(is_known_segment(seg));
- return seg->szB;
-}
-
-Addr Seg__addr(Seg* seg)
-{
- tl_assert(is_known_segment(seg));
- return seg->addr;
-}
-
-
//////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////
@@ -471,7 +473,7 @@
seg->addr = p;
seg->szB = size;
seg->ec = VG_(record_ExeContext)( tid, 0/*first_ip_delta*/ );
- tl_assert(seg->nextfree == (Seg*)1);
+ tl_assert(!Seg__is_freed(seg));
bind_addr_to_Seg(p, seg);
@@ -507,7 +509,7 @@
static void die_and_free_mem_heap ( ThreadId tid, Seg* seg )
{
// Empty and free the actual block
- tl_assert(seg->nextfree == (Seg*)1);
+ tl_assert(!Seg__is_freed(seg));
set_mem_unknown( seg->addr, seg->szB );
VG_(cli_free)( (void*)seg->addr );
@@ -787,7 +789,7 @@
for (group = group_list; group; group = group->admin) {
for (i = 0; i < group->nextfree; i++) {
stats__slow_totcmps++;
- if (group->segs[i].nextfree != (Seg*)1)
+ if (Seg__is_freed(&group->segs[i]))
continue;
if (group->segs[i].addr <= a
&& a < group->segs[i].addr + group->segs[i].szB)
@@ -2485,24 +2487,13 @@
mhi = m+sz-1;
}
- #if 0
- while (True) {
- lo = curr->data;
- lim = lo + curr->size;
- if (m >= lo && mlim <= lim) { is_ok = True; break; }
- curr = curr->links;
- if (curr == mptr_vseg) { break; }
- }
- #else
- // This version doesn't do the link-segment chasing
if (0) VG_(printf)("calling seg_ci %p %#lx %#lx\n", curr,m,mhi);
is_ok = curr->addr <= m && mhi < curr->addr + curr->szB;
- #endif
// If it's an overrun/underrun of a freed block, don't give both
// warnings, since the first one mentions that the block has been
// freed.
- if ( ! is_ok || curr->nextfree != (Seg*)1/*curr is freed*/ )
+ if ( ! is_ok || Seg__is_freed(curr) )
h_record_heap_error( m, sz, mptr_vseg, is_write );
}
}
|
|
From: <sv...@va...> - 2008-09-12 17:10:26
|
Author: sewardj
Date: 2008-09-12 18:10:33 +0100 (Fri, 12 Sep 2008)
New Revision: 8602
Log:
Add some basic tests for detection of overruns of global and stack arrays.
Added:
branches/PTRCHECK/exp-ptrcheck/tests/globalerr.c
branches/PTRCHECK/exp-ptrcheck/tests/globalerr.stderr.exp-glibc28-amd64
branches/PTRCHECK/exp-ptrcheck/tests/globalerr.vgtest
branches/PTRCHECK/exp-ptrcheck/tests/stackerr.c
branches/PTRCHECK/exp-ptrcheck/tests/stackerr.stderr.exp-glibc28-amd64
branches/PTRCHECK/exp-ptrcheck/tests/stackerr.vgtest
Modified:
branches/PTRCHECK/exp-ptrcheck/tests/Makefile.am
Modified: branches/PTRCHECK/exp-ptrcheck/tests/Makefile.am
===================================================================
--- branches/PTRCHECK/exp-ptrcheck/tests/Makefile.am 2008-09-11 22:17:19 UTC (rev 8601)
+++ branches/PTRCHECK/exp-ptrcheck/tests/Makefile.am 2008-09-12 17:10:33 UTC (rev 8602)
@@ -31,6 +31,8 @@
ccc.vgtest \
ccc.stderr.exp-glibc25-x86 ccc.stderr.exp-glibc25-amd64 \
cmp.vgtest-disabled cmp.stderr.exp \
+ globalerr.vgtest globalerr.stdout.exp \
+ globalerr.stderr.exp-glibc28-amd64 \
fp.vgtest fp.stderr.exp \
hp_bounds.vgtest hp_bounds.stderr.exp \
hp_dangle.vgtest hp_dangle.stderr.exp \
@@ -52,6 +54,8 @@
realloc.vgtest \
realloc.stderr.exp-glibc25-x86 realloc.stderr.exp-glibc25-amd64 \
sh_script.vgtest-disabled sh_script.stderr.exp \
+ stackerr.vgtest stackerr.stdout.exp \
+ stackerr.stderr.exp-glibc28-amd64 \
strcpy.vgtest strcpy.stderr.exp \
strlen_bad.vgtest-disabled strlen_bad.stderr.exp \
strlen_good.vgtest-disabled strlen_good.stderr.exp \
@@ -66,8 +70,11 @@
zero.vgtest zero.stderr.exp
check_PROGRAMS = \
- add and arith base ccc cmp fp hp_bounds hp_dangle idiv imul \
+ add and arith base ccc cmp fp \
+ globalerr \
+ hp_bounds hp_dangle idiv imul \
justify mm not neg or partial pth_create pth_specific realloc \
+ stackerr \
strcpy strlen sub supp syscall tricky unaligned xor zero
AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \
@@ -83,6 +90,7 @@
base_SOURCES = base.c
cmp_SOURCES = cmp.c
fp_SOURCES = fp.c
+globalerr_SOURCE = globalerr.c
hp_bounds_SOURCES = hp_bounds.c
hp_dangle_SOURCES = hp_dangle.c
idiv_SOURCES = idiv.c
@@ -98,6 +106,7 @@
pth_specific_SOURCES = pth_specific.c
pth_specific_LDADD = -lpthread
realloc_SOURCES = realloc.c
+stackerr_SOURCES = stackerr.c
strcpy_SOURCES = strcpy.c
strlen_SOURCES = strlen.c
sub_SOURCES = sub.c
Added: branches/PTRCHECK/exp-ptrcheck/tests/globalerr.c
===================================================================
--- branches/PTRCHECK/exp-ptrcheck/tests/globalerr.c (rev 0)
+++ branches/PTRCHECK/exp-ptrcheck/tests/globalerr.c 2008-09-12 17:10:33 UTC (rev 8602)
@@ -0,0 +1,15 @@
+
+#include <stdio.h>
+
+short a[7];
+static short b[7];
+
+int main ( void )
+{
+ int i;
+ short sum;
+ for (i = 0; i < 7+1; i++) {
+ sum += a[i] * b[i];
+ }
+ return 1 & ((unsigned int)sum / 1000000);
+}
Added: branches/PTRCHECK/exp-ptrcheck/tests/globalerr.stderr.exp-glibc28-amd64
===================================================================
--- branches/PTRCHECK/exp-ptrcheck/tests/globalerr.stderr.exp-glibc28-amd64 (rev 0)
+++ branches/PTRCHECK/exp-ptrcheck/tests/globalerr.stderr.exp-glibc28-amd64 2008-09-12 17:10:33 UTC (rev 8602)
@@ -0,0 +1,14 @@
+
+Invalid read of size 2
+ at 0x........: main (globalerr.c:12)
+ Address 0x........ expected vs actual:
+ Expected: global array "a" in object with soname "NONE"
+ Actual: unknown
+
+Invalid read of size 2
+ at 0x........: main (globalerr.c:12)
+ Address 0x........ expected vs actual:
+ Expected: global array "b" in object with soname "NONE"
+ Actual: unknown
+
+ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
Added: branches/PTRCHECK/exp-ptrcheck/tests/globalerr.vgtest
===================================================================
--- branches/PTRCHECK/exp-ptrcheck/tests/globalerr.vgtest (rev 0)
+++ branches/PTRCHECK/exp-ptrcheck/tests/globalerr.vgtest 2008-09-12 17:10:33 UTC (rev 8602)
@@ -0,0 +1 @@
+prog: globalerr
Added: branches/PTRCHECK/exp-ptrcheck/tests/stackerr.c
===================================================================
--- branches/PTRCHECK/exp-ptrcheck/tests/stackerr.c (rev 0)
+++ branches/PTRCHECK/exp-ptrcheck/tests/stackerr.c 2008-09-12 17:10:33 UTC (rev 8602)
@@ -0,0 +1,52 @@
+
+/* Check basic stack overflow detection.
+
+ It's difficult to get consistent behaviour across all platforms.
+ For example, x86 w/ gcc-4.3.1 gives
+
+ Expected: stack array "a" in frame 2 back from here
+ Actual: stack array "beforea" in frame 2 back from here
+
+ whereas amd64 w/ gcc-4.3.1 gives
+
+ Expected: stack array "a" in frame 2 back from here
+ Actual: unknown
+
+ This happens because on x86 the arrays are placed on the
+ stack without holes in between, but not so for amd64. I don't
+ know why.
+*/
+
+
+#include <stdio.h>
+
+__attribute__((noinline)) foo ( long* sa, int n )
+{
+ int i;
+ for (i = 0; i < n; i++)
+ sa[i] = 0;
+}
+
+__attribute__((noinline)) bar ( long* sa, int n )
+{
+ foo(sa, n);
+}
+
+int main ( void )
+{
+ int i;
+ long beforea[3];
+ long a[7];
+ long aftera[3];
+ bar(a, 7+1); /* generates error */
+ bar(a, 7+0); /* generates no error */
+ for (i = 0; i < 7+1; i++) {
+ a[i] = 0;
+ }
+ char beforebuf[8];
+ char buf[8];
+ char afterbuf[8];
+ sprintf(buf, "%d", 123456789);
+ return 1 & ((a[4] + beforea[1] + aftera[1] + beforebuf[1]
+ + buf[2] + afterbuf[3]) / 100000) ;
+}
Added: branches/PTRCHECK/exp-ptrcheck/tests/stackerr.stderr.exp-glibc28-amd64
===================================================================
--- branches/PTRCHECK/exp-ptrcheck/tests/stackerr.stderr.exp-glibc28-amd64 (rev 0)
+++ branches/PTRCHECK/exp-ptrcheck/tests/stackerr.stderr.exp-glibc28-amd64 2008-09-12 17:10:33 UTC (rev 8602)
@@ -0,0 +1,26 @@
+
+Invalid write of size 8
+ at 0x........: foo (stackerr.c:27)
+ by 0x........: bar (stackerr.c:32)
+ by 0x........: main (stackerr.c:41)
+ Address 0x........ expected vs actual:
+ Expected: stack array "a" in frame 2 back from here
+ Actual: unknown
+
+Invalid write of size 8
+ at 0x........: main (stackerr.c:44)
+ Address 0x........ expected vs actual:
+ Expected: stack array "a" in this frame
+ Actual: unknown
+
+Invalid write of size 1
+ at 0x........: _IO_default_xsputn (in /...libc...)
+ by 0x........: ...
+ by 0x........: ...
+ by 0x........: ...
+ by 0x........: main (stackerr.c:49)
+ Address 0x........ expected vs actual:
+ Expected: stack array "buf" in frame 4 back from here
+ Actual: unknown
+
+ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
Added: branches/PTRCHECK/exp-ptrcheck/tests/stackerr.vgtest
===================================================================
--- branches/PTRCHECK/exp-ptrcheck/tests/stackerr.vgtest (rev 0)
+++ branches/PTRCHECK/exp-ptrcheck/tests/stackerr.vgtest 2008-09-12 17:10:33 UTC (rev 8602)
@@ -0,0 +1 @@
+prog: stackerr
|
|
From: <bar...@gm...> - 2008-09-12 07:39:56
|
Nightly build on georgia-tech-cellbuzz ( IBM BladeCenter QS20 ) started at 2008-09-12 03:00:01 EDT Results unchanged from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... done Regression test results follow == 368 tests, 21 stderr failures, 11 stdout failures, 1 post failure == drd/tests/pth_create_chain (stderr) helgrind/tests/hg05_race2 (stderr) helgrind/tests/tc07_hbl1 (stderr) helgrind/tests/tc08_hbl2 (stderr) helgrind/tests/tc11_XCHG (stderr) helgrind/tests/tc20_verifywrap (stderr) massif/tests/long-names (post) memcheck/tests/deep_templates (stdout) memcheck/tests/file_locking (stderr) memcheck/tests/leak-cycle (stderr) memcheck/tests/leak-tree (stderr) memcheck/tests/malloc_free_fill (stderr) memcheck/tests/pointer-trace (stderr) memcheck/tests/varinfo1 (stderr) memcheck/tests/varinfo2 (stderr) memcheck/tests/varinfo3 (stderr) memcheck/tests/varinfo4 (stderr) memcheck/tests/varinfo5 (stderr) memcheck/tests/varinfo6 (stderr) memcheck/tests/zeropage (stdout) none/tests/async-sigs (stdout) none/tests/blockfault (stderr) none/tests/faultstatus (stderr) none/tests/fdleak_cmsg (stderr) none/tests/mremap (stderr) none/tests/mremap2 (stdout) none/tests/ppc32/jm-fp (stdout) none/tests/ppc32/jm-vmx (stdout) none/tests/ppc32/round (stdout) none/tests/ppc32/test_gx (stdout) none/tests/ppc64/jm-fp (stdout) none/tests/ppc64/jm-vmx (stdout) none/tests/ppc64/round (stdout) |
|
From: Tom H. <th...@cy...> - 2008-09-12 03:23:59
|
Nightly build on alvis ( i686, Red Hat 7.3 ) started at 2008-09-12 03:15:03 BST Results unchanged from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 346 tests, 60 stderr failures, 1 stdout failure, 29 post failures == helgrind/tests/hg01_all_ok (stderr) helgrind/tests/hg02_deadlock (stderr) helgrind/tests/hg03_inherit (stderr) helgrind/tests/hg04_race (stderr) helgrind/tests/hg05_race2 (stderr) helgrind/tests/hg06_readshared (stderr) helgrind/tests/tc01_simple_race (stderr) helgrind/tests/tc02_simple_tls (stderr) helgrind/tests/tc03_re_excl (stderr) helgrind/tests/tc05_simple_race (stderr) helgrind/tests/tc06_two_races (stderr) helgrind/tests/tc07_hbl1 (stderr) helgrind/tests/tc08_hbl2 (stderr) helgrind/tests/tc09_bad_unlock (stderr) helgrind/tests/tc11_XCHG (stderr) helgrind/tests/tc12_rwl_trivial (stderr) helgrind/tests/tc14_laog_dinphils (stderr) helgrind/tests/tc16_byterace (stderr) helgrind/tests/tc17_sembar (stderr) helgrind/tests/tc18_semabuse (stderr) helgrind/tests/tc19_shadowmem (stderr) helgrind/tests/tc20_verifywrap (stderr) helgrind/tests/tc21_pthonce (stderr) helgrind/tests/tc22_exit_w_lock (stderr) helgrind/tests/tc23_bogus_condwait (stderr) helgrind/tests/tc24_nonzero_sem (stderr) massif/tests/alloc-fns-A (post) massif/tests/alloc-fns-B (post) massif/tests/basic (post) massif/tests/basic2 (post) massif/tests/big-alloc (post) massif/tests/culling1 (stderr) massif/tests/culling2 (stderr) massif/tests/custom_alloc (post) massif/tests/deep-A (post) massif/tests/deep-B (stderr) massif/tests/deep-B (post) massif/tests/deep-C (stderr) massif/tests/deep-C (post) massif/tests/deep-D (post) massif/tests/ignoring (post) massif/tests/insig (post) massif/tests/long-names (post) massif/tests/long-time (post) massif/tests/new-cpp (post) massif/tests/null (post) massif/tests/one (post) massif/tests/overloaded-new (post) massif/tests/peak (post) massif/tests/peak2 (stderr) massif/tests/peak2 (post) massif/tests/realloc (stderr) massif/tests/realloc (post) massif/tests/thresholds_0_0 (post) massif/tests/thresholds_0_10 (post) massif/tests/thresholds_10_0 (post) massif/tests/thresholds_10_10 (post) massif/tests/thresholds_5_0 (post) massif/tests/thresholds_5_10 (post) massif/tests/zero1 (post) massif/tests/zero2 (post) memcheck/tests/file_locking (stderr) memcheck/tests/leak-0 (stderr) memcheck/tests/leak-cycle (stderr) memcheck/tests/leak-regroot (stderr) memcheck/tests/leak-tree (stderr) memcheck/tests/long_namespace_xml (stderr) memcheck/tests/malloc_free_fill (stderr) memcheck/tests/origin1-yes (stderr) memcheck/tests/origin4-many (stderr) memcheck/tests/origin5-bz2 (stderr) memcheck/tests/pointer-trace (stderr) memcheck/tests/stack_changes (stderr) memcheck/tests/varinfo1 (stderr) memcheck/tests/varinfo2 (stderr) memcheck/tests/varinfo3 (stderr) memcheck/tests/varinfo4 (stderr) memcheck/tests/varinfo5 (stderr) memcheck/tests/varinfo6 (stderr) memcheck/tests/x86/bug152022 (stderr) memcheck/tests/x86/scalar (stderr) memcheck/tests/x86/scalar_supp (stderr) memcheck/tests/x86/xor-undef-x86 (stderr) memcheck/tests/xml1 (stderr) none/tests/blockfault (stderr) none/tests/mremap2 (stdout) none/tests/shell (stderr) none/tests/shell_valid1 (stderr) none/tests/shell_valid2 (stderr) none/tests/shell_valid3 (stderr) |
|
From: Tom H. <th...@cy...> - 2008-09-12 02:59:01
|
Nightly build on aston ( x86_64, Fedora Core 5 ) started at 2008-09-12 03:20:05 BST Results unchanged from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 444 tests, 8 stderr failures, 1 stdout failure, 0 post failures == helgrind/tests/tc20_verifywrap (stderr) helgrind/tests/tc21_pthonce (stderr) helgrind/tests/tc22_exit_w_lock (stderr) memcheck/tests/file_locking (stderr) memcheck/tests/malloc_free_fill (stderr) memcheck/tests/pointer-trace (stderr) memcheck/tests/x86/scalar (stderr) none/tests/blockfault (stderr) none/tests/mremap2 (stdout) |
|
From: Tom H. <th...@cy...> - 2008-09-12 02:51:10
|
Nightly build on lloyd ( x86_64, Fedora 7 ) started at 2008-09-12 03:05:04 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 == 438 tests, 8 stderr failures, 2 stdout failures, 0 post failures == helgrind/tests/tc20_verifywrap (stderr) helgrind/tests/tc21_pthonce (stderr) helgrind/tests/tc22_exit_w_lock (stderr) memcheck/tests/file_locking (stderr) memcheck/tests/malloc_free_fill (stderr) memcheck/tests/pointer-trace (stderr) memcheck/tests/vcpu_fnfns (stdout) memcheck/tests/x86/scalar (stderr) none/tests/blockfault (stderr) none/tests/mremap2 (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 == 438 tests, 7 stderr failures, 2 stdout failures, 0 post failures == helgrind/tests/tc20_verifywrap (stderr) helgrind/tests/tc22_exit_w_lock (stderr) memcheck/tests/file_locking (stderr) memcheck/tests/malloc_free_fill (stderr) memcheck/tests/pointer-trace (stderr) memcheck/tests/vcpu_fnfns (stdout) memcheck/tests/x86/scalar (stderr) none/tests/blockfault (stderr) none/tests/mremap2 (stdout) ================================================= == Difference between 24 hours ago and now == ================================================= *** old.short Fri Sep 12 03:23:54 2008 --- new.short Fri Sep 12 03:51:19 2008 *************** *** 8,11 **** ! == 438 tests, 7 stderr failures, 2 stdout failures, 0 post failures == helgrind/tests/tc20_verifywrap (stderr) helgrind/tests/tc22_exit_w_lock (stderr) --- 8,12 ---- ! == 438 tests, 8 stderr failures, 2 stdout failures, 0 post failures == helgrind/tests/tc20_verifywrap (stderr) + helgrind/tests/tc21_pthonce (stderr) helgrind/tests/tc22_exit_w_lock (stderr) |
|
From: Tom H. <th...@cy...> - 2008-09-12 02:50:11
|
Nightly build on trojan ( x86_64, Fedora Core 6 ) started at 2008-09-12 03:25:05 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 == 442 tests, 9 stderr failures, 6 stdout failures, 0 post failures == drd/tests/pth_detached_sem (stdout) helgrind/tests/tc20_verifywrap (stderr) helgrind/tests/tc21_pthonce (stderr) helgrind/tests/tc22_exit_w_lock (stderr) memcheck/tests/file_locking (stderr) memcheck/tests/malloc_free_fill (stderr) memcheck/tests/pointer-trace (stderr) memcheck/tests/vcpu_fnfns (stdout) memcheck/tests/x86/bug133694 (stdout) memcheck/tests/x86/bug133694 (stderr) memcheck/tests/x86/scalar (stderr) none/tests/blockfault (stderr) none/tests/cmdline1 (stdout) none/tests/cmdline2 (stdout) none/tests/mremap2 (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 == 442 tests, 9 stderr failures, 5 stdout failures, 0 post failures == helgrind/tests/tc20_verifywrap (stderr) helgrind/tests/tc21_pthonce (stderr) helgrind/tests/tc22_exit_w_lock (stderr) memcheck/tests/file_locking (stderr) memcheck/tests/malloc_free_fill (stderr) memcheck/tests/pointer-trace (stderr) memcheck/tests/vcpu_fnfns (stdout) memcheck/tests/x86/bug133694 (stdout) memcheck/tests/x86/bug133694 (stderr) memcheck/tests/x86/scalar (stderr) none/tests/blockfault (stderr) none/tests/cmdline1 (stdout) none/tests/cmdline2 (stdout) none/tests/mremap2 (stdout) ================================================= == Difference between 24 hours ago and now == ================================================= *** old.short Fri Sep 12 03:35:33 2008 --- new.short Fri Sep 12 03:50:18 2008 *************** *** 8,10 **** ! == 442 tests, 9 stderr failures, 5 stdout failures, 0 post failures == helgrind/tests/tc20_verifywrap (stderr) --- 8,11 ---- ! == 442 tests, 9 stderr failures, 6 stdout failures, 0 post failures == ! drd/tests/pth_detached_sem (stdout) helgrind/tests/tc20_verifywrap (stderr) |
|
From: Tom H. <th...@cy...> - 2008-09-12 02:28:02
|
Nightly build on gill ( x86_64, Fedora Core 2 ) started at 2008-09-12 03:00:05 BST Results unchanged from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 444 tests, 31 stderr failures, 3 stdout failures, 0 post failures == helgrind/tests/hg01_all_ok (stderr) helgrind/tests/hg02_deadlock (stderr) helgrind/tests/hg03_inherit (stderr) helgrind/tests/hg04_race (stderr) helgrind/tests/hg05_race2 (stderr) helgrind/tests/tc01_simple_race (stderr) helgrind/tests/tc05_simple_race (stderr) helgrind/tests/tc06_two_races (stderr) helgrind/tests/tc09_bad_unlock (stderr) helgrind/tests/tc14_laog_dinphils (stderr) helgrind/tests/tc16_byterace (stderr) helgrind/tests/tc17_sembar (stderr) helgrind/tests/tc19_shadowmem (stderr) helgrind/tests/tc20_verifywrap (stderr) helgrind/tests/tc21_pthonce (stderr) helgrind/tests/tc22_exit_w_lock (stderr) helgrind/tests/tc23_bogus_condwait (stderr) memcheck/tests/file_locking (stderr) memcheck/tests/malloc_free_fill (stderr) memcheck/tests/origin5-bz2 (stderr) memcheck/tests/pointer-trace (stderr) memcheck/tests/stack_switch (stderr) memcheck/tests/varinfo6 (stderr) memcheck/tests/x86/scalar (stderr) memcheck/tests/x86/scalar_supp (stderr) none/tests/amd64/insn_ssse3 (stdout) none/tests/amd64/insn_ssse3 (stderr) none/tests/amd64/ssse3_misaligned (stderr) none/tests/blockfault (stderr) none/tests/fdleak_fcntl (stderr) none/tests/mremap2 (stdout) none/tests/x86/insn_ssse3 (stdout) none/tests/x86/insn_ssse3 (stderr) none/tests/x86/ssse3_misaligned (stderr) |