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
(21) |
2
(18) |
3
(19) |
4
(17) |
|
5
(6) |
6
(5) |
7
(9) |
8
(21) |
9
(16) |
10
(21) |
11
(22) |
|
12
(19) |
13
(19) |
14
(8) |
15
(16) |
16
(17) |
17
(16) |
18
(33) |
|
19
(33) |
20
(34) |
21
(32) |
22
(26) |
23
(23) |
24
(16) |
25
(21) |
|
26
(19) |
27
(7) |
28
(29) |
29
(27) |
30
(55) |
|
|
|
From: <sv...@va...> - 2005-06-30 04:09:14
|
Author: njn Date: 2005-06-30 05:09:11 +0100 (Thu, 30 Jun 2005) New Revision: 4064 Log: Avoid compiler warning. Modified: trunk/coregrind/m_syswrap/syswrap-linux.c Modified: trunk/coregrind/m_syswrap/syswrap-linux.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/coregrind/m_syswrap/syswrap-linux.c 2005-06-30 04:06:38 UTC (re= v 4063) +++ trunk/coregrind/m_syswrap/syswrap-linux.c 2005-06-30 04:09:11 UTC (re= v 4064) @@ -194,10 +194,12 @@ //zz PRE_REG_READ1(long, "adjtimex", struct timex *, buf); //zz PRE_MEM_READ( "adjtimex(timex->modes)", ARG1, sizeof(tx->modes))= ; //zz=20 -//zz #define ADJX(bit,field) \ -//zz if (tx->modes & bit) \ -//zz PRE_MEM_READ( "adjtimex(timex->"#field")", \ -//zz (Addr)&tx->field, sizeof(tx->field)) +#if 0 //zz (avoiding warnings about multi-line comments) +zz #define ADJX(bit,field) \ +zz if (tx->modes & bit) \ +zz PRE_MEM_READ( "adjtimex(timex->"#field")", \ +zz (Addr)&tx->field, sizeof(tx->field)) +#endif //zz ADJX(ADJ_FREQUENCY, freq); //zz ADJX(ADJ_MAXERROR, maxerror); //zz ADJX(ADJ_ESTERROR, esterror); |
|
From: Nicholas N. <nj...@cs...> - 2005-06-30 04:07:51
|
On Thu, 16 Jun 2005, Dirk Mueller wrote: > I need the attached patches to compile valgrind 2.4.0 against gcc4 / glibc2.4. > > As i got burned when I tried to checkin something last time, I'm posting the > patches here for review first. > > I'd like to apply them to valgrind-3.0 too btw. I've committed the entire 2nd patch, which added support for glibc-2.4 to configure.in. I also added an empty 2.4 suppression file, Dirk can you fill that in when you find time? I didn't use the first patch (except removing asm/ipc.h from scalar.c) because we didn't resolve whether the extra MMX/SSE flags were necessary. I only put them in the 3.0 repository. I don't think we'll be doing a 2.4.1 release, in which case the 2.4 repo is effectively dead and there's no point updating it. N |
|
From: <sv...@va...> - 2005-06-30 04:06:41
|
Author: njn
Date: 2005-06-30 05:06:38 +0100 (Thu, 30 Jun 2005)
New Revision: 4063
Log:
Allow for glibc-2.4.
Added:
trunk/glibc-2.4.supp
Modified:
trunk/Makefile.am
trunk/configure.in
trunk/memcheck/tests/x86/scalar.c
Modified: trunk/Makefile.am
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/Makefile.am 2005-06-30 03:44:55 UTC (rev 4062)
+++ trunk/Makefile.am 2005-06-30 04:06:38 UTC (rev 4063)
@@ -21,7 +21,7 @@
DIST_SUBDIRS =3D $(SUBDIRS) addrcheck
=20
SUPP_FILES =3D \
- glibc-2.1.supp glibc-2.2.supp glibc-2.3.supp \
+ glibc-2.1.supp glibc-2.2.supp glibc-2.3.supp glibc-2.4.supp \
xfree-3.supp xfree-4.supp
=20
dist_val_DATA =3D $(SUPP_FILES) default.supp
Modified: trunk/configure.in
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/configure.in 2005-06-30 03:44:55 UTC (rev 4062)
+++ trunk/configure.in 2005-06-30 04:06:38 UTC (rev 4063)
@@ -265,6 +265,16 @@
],
glibc=3D"2.3")
=20
+AC_EGREP_CPP([GLIBC_24], [
+#include <features.h>
+#ifdef __GNU_LIBRARY__
+ #if (__GLIBC__ =3D=3D 2 && __GLIBC_MINOR__ =3D=3D 4)
+ GLIBC_24
+ #endif
+#endif
+],
+glibc=3D"2.4")
+
AC_MSG_CHECKING([the glibc version])
=20
case "${glibc}" in
@@ -286,9 +296,15 @@
DEFAULT_SUPP=3D"${DEFAULT_SUPP} glibc-2.3.supp"
;;
=20
+ 2.4)
+ AC_MSG_RESULT(2.4 family)
+ AC_DEFINE([GLIBC_2_4], 1, [Define to 1 if you're using glibc 2.4.x])
+ DEFAULT_SUPP=3D"${DEFAULT_SUPP} glibc-2.4.supp"
+ ;;
+
*)
AC_MSG_RESULT(unsupported version)
- AC_MSG_ERROR([Valgrind requires the glibc version 2.1, 2.2 or 2.3])
+ AC_MSG_ERROR([Valgrind requires glibc version 2.1, 2.2, 2.3 or 2.4])
;;
esac
=20
Added: trunk/glibc-2.4.supp
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/glibc-2.4.supp 2005-06-30 03:44:55 UTC (rev 4062)
+++ trunk/glibc-2.4.supp 2005-06-30 04:06:38 UTC (rev 4063)
@@ -0,0 +1,27 @@
+
+##----------------------------------------------------------------------=
##
+
+# Errors to suppress by default with glibc 2.4.x
+
+# Format of this file is:
+# {
+# name_of_suppression
+# tool_name:supp_kind
+# (optional extra info for some suppression types)
+# caller0 name, or /name/of/so/file.so
+# caller1 name, or ditto
+# (optionally: caller2 name)
+# (optionally: caller3 name)
+# }
+#
+# For Memcheck, the supp_kinds are:
+#
+# Param Value1 Value2 Value4 Value8 Value16
+# Free Addr1 Addr2 Addr4 Addr8 Addr16
+# Cond (previously known as Value0)
+#
+# and the optional extra info is:
+# if Param: name of system call param
+# if Free: name of free-ing fn)
+
+# ... insert suppressions here ...
Modified: trunk/memcheck/tests/x86/scalar.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/memcheck/tests/x86/scalar.c 2005-06-30 03:44:55 UTC (rev 4062)
+++ trunk/memcheck/tests/x86/scalar.c 2005-06-30 04:06:38 UTC (rev 4063)
@@ -14,7 +14,7 @@
// PRE_MEM_READ/PRE_MEM_WRITE calls. (Note that Memcheck and Addrcheck =
will
// always issue an error message immediately before these seg faults occ=
ur).
=20
-#include <asm/ipc.h>
+//#include <asm/ipc.h>
#include <sched.h>
#include <signal.h>
=20
|
|
From: Nicholas N. <nj...@cs...> - 2005-06-30 03:54:08
|
On Thu, 30 Jun 2005, Josef Weidendorfer wrote:
> Linking with valgrind at build time would make RPMs independent, i.e. a
> callgrind installation could exist without valgrind at all or with another
> valgrind release. Similar, currently I am forced to install into the same
> prefix, as valgrind has to find the tool.
That's a good point. I was assuming that Callgrind would have to link
with the already installed Valgrind, but it can have its own copy in the
RPM.
This would give you more independence from the main Valgrind releases,
because you don't necessarily have to update Callgrind when a new Valgrind
is released -- there's no danger of someone having a new Valgrind which
doesn't match an old Callgrind. (Although if the new Valgrind had a new
feature that you wanted, you'd have to rebuild and release a new Callgrind
to take advantage of it.)
We also wouldn't have to worry about having a version number for the
core/tool interface any more, which is nice -- one fewer thing to get
wrong.
>> Alternatively, adjust the core/tool interface so that multiple
>> tools can be linked into the core all at once. This sounds
>> attractive, and could save disk space.
>
> For external tools you still have to provide the library to link against.
> I.e. each external tools would get its own executable. As I am used to install
> my wrapper script ("callgrind"), which would become the executable, AFAICS it
> would not make a big difference.
It would be more consistent to build every tool into a separate
executable, so that internal tools and external tools can be treated the
same way.
It would make sense to have a minimal "stage1" which just looks for the
--tool option and invokes the appropriate executable. This could even
work for external tools if they were installed in the same place. But
Josef could still use his "callgrind" wrapper script.
After Josef's good comments, and with Greg saying that this will make
things easier on MacOS, I'm all in favour of this idea.
N
|
|
From: <sv...@va...> - 2005-06-30 03:44:59
|
Author: njn Date: 2005-06-30 04:44:55 +0100 (Thu, 30 Jun 2005) New Revision: 4062 Log: Update valgrind.spec.in for all the new files in include/. Modified: trunk/valgrind.spec.in Modified: trunk/valgrind.spec.in =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/valgrind.spec.in 2005-06-30 02:34:32 UTC (rev 4061) +++ trunk/valgrind.spec.in 2005-06-30 03:44:55 UTC (rev 4062) @@ -36,19 +36,41 @@ /usr/include/valgrind/valgrind.h /usr/include/valgrind/memcheck.h #/usr/include/valgrind/helgrind.h -/usr/include/valgrind/basic_types.h -/usr/include/valgrind/tool.h -/usr/include/valgrind/tool_asm.h -/usr/include/valgrind/amd64/tool_arch.h -/usr/include/valgrind/arm/tool_arch.h -/usr/include/valgrind/x86/tool_arch.h -/usr/include/valgrind/linux/vki.h -/usr/include/valgrind/amd64-linux/vki_arch.h -/usr/include/valgrind/amd64-linux/vki_arch_posixtypes.h -/usr/include/valgrind/arm-linux/vki_arch.h -/usr/include/valgrind/arm-linux/vki_arch_posixtypes.h -/usr/include/valgrind/x86-linux/vki_arch.h -/usr/include/valgrind/x86-linux/vki_arch_posixtypes.h +/usr/include/valgrind/pub_tool_aspacemgr.h =20 +/usr/include/valgrind/pub_tool_basics.h =20 +/usr/include/valgrind/pub_tool_basics_asm.h=20 +/usr/include/valgrind/pub_tool_cpuid.h =20 +/usr/include/valgrind/pub_tool_debuginfo.h =20 +/usr/include/valgrind/pub_tool_errormgr.h =20 +/usr/include/valgrind/pub_tool_execontext.h=20 +/usr/include/valgrind/pub_tool_hashtable.h =20 +/usr/include/valgrind/pub_tool_libcassert.h=20 +/usr/include/valgrind/pub_tool_libcbase.h =20 +/usr/include/valgrind/pub_tool_libcfile.h =20 +/usr/include/valgrind/pub_tool_libcmman.h =20 +/usr/include/valgrind/pub_tool_libcprint.h =20 +/usr/include/valgrind/pub_tool_libcproc.h =20 +/usr/include/valgrind/pub_tool_libcsignal.h=20 +/usr/include/valgrind/pub_tool_machine.h =20 +/usr/include/valgrind/pub_tool_mallocfree.h=20 +/usr/include/valgrind/pub_tool_options.h =20 +/usr/include/valgrind/pub_tool_profile.h +/usr/include/valgrind/pub_tool_redir.h +/usr/include/valgrind/pub_tool_replacemalloc.h +/usr/include/valgrind/pub_tool_signals.h +/usr/include/valgrind/pub_tool_skiplist.h +/usr/include/valgrind/pub_tool_stacktrace.h +/usr/include/valgrind/pub_tool_threadstate.h +/usr/include/valgrind/pub_tool_tooliface.h +/usr/include/valgrind/vki-amd64-linux.h +/usr/include/valgrind/vki-arm-linux.h +/usr/include/valgrind/vki-linux.h +/usr/include/valgrind/vki-ppc32-linux.h +/usr/include/valgrind/vki-x86-linux.h +/usr/include/valgrind/vki_posixtypes-amd64-linux.h +/usr/include/valgrind/vki_posixtypes-arm-linux.h +/usr/include/valgrind/vki_posixtypes-ppc32-linux.h +/usr/include/valgrind/vki_posixtypes-x86-linux.h /usr/bin/valgrind /usr/bin/cg_annotate /usr/bin/valgrind-listener |
|
From: Tom H. <th...@cy...> - 2005-06-30 03:07:34
|
Nightly build on audi ( i686, Red Hat 9 ) started at 2005-06-30 03:25:02 BST Checking out vex source tree ... done Building vex ... done Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 178 tests, 7 stderr failures, 1 stdout failure ================= memcheck/tests/sigaltstack (stderr) memcheck/tests/xml1 (stderr) none/tests/faultstatus (stderr) none/tests/pth_blockedsig (stderr) none/tests/pth_cancel1 (stdout) none/tests/pth_cancel1 (stderr) none/tests/pth_cancel2 (stderr) none/tests/x86/int (stderr) |
|
From: <js...@ac...> - 2005-06-30 02:40:10
|
Nightly build on phoenix ( SuSE 9.1 ) started at 2005-06-30 03:30:00 BST Checking out vex source tree ... done Building vex ... done Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 176 tests, 3 stderr failures, 0 stdout failures ================= memcheck/tests/xml1 (stderr) none/tests/faultstatus (stderr) none/tests/x86/int (stderr) |
|
From: <sv...@va...> - 2005-06-30 02:35:24
|
Author: njn
Date: 2005-06-30 03:34:32 +0100 (Thu, 30 Jun 2005)
New Revision: 4061
Log:
Try to make toobig-allocs work on 64-bit platforms.
Removed:
trunk/memcheck/tests/toobig-allocs.stderr.exp2
Modified:
trunk/memcheck/mac_malloc_wrappers.c
trunk/memcheck/tests/toobig-allocs.stderr.exp
trunk/memcheck/tests/toobig-allocs.vgtest
trunk/tests/toobig-allocs.c
Modified: trunk/memcheck/mac_malloc_wrappers.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/memcheck/mac_malloc_wrappers.c 2005-06-30 02:15:59 UTC (rev 406=
0)
+++ trunk/memcheck/mac_malloc_wrappers.c 2005-06-30 02:34:32 UTC (rev 406=
1)
@@ -198,7 +198,6 @@
{
VGP_PUSHCC(VgpCliMalloc);
cmalloc_n_mallocs ++;
- cmalloc_bs_mallocd +=3D size;
=20
// Allocate and zero if necessary
if (p) {
@@ -213,6 +212,9 @@
if (is_zeroed) VG_(memset)((void*)p, 0, size);
}
=20
+ // Only update this stat if allocation succeeded.
+ cmalloc_bs_mallocd +=3D size;
+
add_MAC_Chunk( tid, p, size, kind, table );
=20
MAC_(ban_mem_heap)( p-rzB, rzB );
Modified: trunk/memcheck/tests/toobig-allocs.stderr.exp
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/memcheck/tests/toobig-allocs.stderr.exp 2005-06-30 02:15:59 UTC=
(rev 4060)
+++ trunk/memcheck/tests/toobig-allocs.stderr.exp 2005-06-30 02:34:32 UTC=
(rev 4061)
@@ -1,9 +1,2 @@
-
Attempting too-big malloc()...
Attempting too-big mmap()...
-
-ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
-malloc/free: in use at exit: 0 bytes in 0 blocks.
-malloc/free: 1 allocs, 0 frees, 2145386496 bytes allocated.
-For a detailed leak analysis, rerun with: --leak-check=3Dyes
-For counts of detected errors, rerun with: -v
Deleted: trunk/memcheck/tests/toobig-allocs.stderr.exp2
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/memcheck/tests/toobig-allocs.stderr.exp2 2005-06-30 02:15:59 UT=
C (rev 4060)
+++ trunk/memcheck/tests/toobig-allocs.stderr.exp2 2005-06-30 02:34:32 UT=
C (rev 4061)
@@ -1,9 +0,0 @@
-
-Attempting too-big malloc()...
-Attempting too-big mmap()...
-
-ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
-malloc/free: in use at exit: 0 bytes in 0 blocks.
-malloc/free: 2 allocs, 1 frees, 2145386520 bytes allocated.
-For a detailed leak analysis, rerun with: --leak-check=3Dyes
-For counts of detected errors, rerun with: -v
Modified: trunk/memcheck/tests/toobig-allocs.vgtest
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/memcheck/tests/toobig-allocs.vgtest 2005-06-30 02:15:59 UTC (re=
v 4060)
+++ trunk/memcheck/tests/toobig-allocs.vgtest 2005-06-30 02:34:32 UTC (re=
v 4061)
@@ -1 +1,2 @@
prog: ../../tests/toobig-allocs
+vgopts: -q
Modified: trunk/tests/toobig-allocs.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/tests/toobig-allocs.c 2005-06-30 02:15:59 UTC (rev 4060)
+++ trunk/tests/toobig-allocs.c 2005-06-30 02:34:32 UTC (rev 4061)
@@ -6,7 +6,11 @@
{
void *p;
=20
- unsigned long size =3D 2ul * 1023ul * 1024ul * 1024ul; // just un=
der 2^31 (4GB)
+ // This is the biggest word-sized signed number. We use a signed num=
ber,
+ // even though malloc takes an unsigned SizeT, because the "silly mal=
loc
+ // arg" checking done by memcheck treats the arg like a signed int in
+ // order to detect the passing of a silly size arg like -1.
+ unsigned long size =3D (~(0UL)) >> 1;
=20
fprintf(stderr, "Attempting too-big malloc()...\n");
p =3D malloc(size); // way too big!
|
|
From: Tom H. <to...@co...> - 2005-06-30 02:32:21
|
Nightly build on dunsmere ( athlon, Fedora Core 4 ) started at 2005-06-30 03:30:03 BST Checking out vex source tree ... done Building vex ... done Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Last 20 lines of log.verbose follow insn_fpu.c: In function 'fsubrl_1': insn_fpu.c:16391: error: unknown register name 'mm6' in 'asm' insn_fpu.c: In function 'fsubrl_2': insn_fpu.c:16429: error: unknown register name 'mm6' in 'asm' insn_fpu.c: In function 'fsubrl_3': insn_fpu.c:16467: error: unknown register name 'mm6' in 'asm' insn_fpu.c: In function 'fsubrl_4': insn_fpu.c:16505: error: unknown register name 'mm6' in 'asm' make[5]: *** [insn_fpu.o] Error 1 rm insn_fpu.c insn_basic.c make[5]: Leaving directory `/tmp/valgrind.27473/valgrind/none/tests/x86' make[4]: *** [check-am] Error 2 make[4]: Leaving directory `/tmp/valgrind.27473/valgrind/none/tests/x86' make[3]: *** [check-recursive] Error 1 make[3]: Leaving directory `/tmp/valgrind.27473/valgrind/none/tests' make[2]: *** [check-recursive] Error 1 make[2]: Leaving directory `/tmp/valgrind.27473/valgrind/none' make[1]: *** [check-recursive] Error 1 make[1]: Leaving directory `/tmp/valgrind.27473/valgrind' make: *** [check] Error 2 |
|
From: Tom H. <th...@cy...> - 2005-06-30 02:21:24
|
Nightly build on dellow ( x86_64, Fedora Core 4 ) started at 2005-06-30 03:10:07 BST Checking out vex source tree ... done Building vex ... done Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 158 tests, 10 stderr failures, 1 stdout failure ================= memcheck/tests/brk (stderr) memcheck/tests/sigaltstack (stderr) memcheck/tests/sigprocmask (stderr) memcheck/tests/strchr (stderr) memcheck/tests/toobig-allocs (stderr) memcheck/tests/weirdioctl (stderr) memcheck/tests/xml1 (stderr) massif/tests/toobig-allocs (stderr) none/tests/faultstatus (stderr) none/tests/selfrun (stdout) none/tests/selfrun (stderr) |
|
From: Tom H. <th...@cy...> - 2005-06-30 02:21:18
|
Nightly build on alvis ( i686, Red Hat 7.3 ) started at 2005-06-30 03:15:03 BST Checking out vex source tree ... done Building vex ... done Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 177 tests, 11 stderr failures, 1 stdout failure ================= memcheck/tests/addressable (stderr) memcheck/tests/describe-block (stderr) memcheck/tests/leak-0 (stderr) memcheck/tests/leak-cycle (stderr) memcheck/tests/leak-regroot (stderr) memcheck/tests/leak-tree (stderr) memcheck/tests/match-overrun (stderr) memcheck/tests/pointer-trace (stderr) memcheck/tests/xml1 (stderr) none/tests/faultstatus (stderr) none/tests/x86/int (stderr) none/tests/yield (stdout) |
|
From: Tom H. <th...@cy...> - 2005-06-30 02:16:24
|
Nightly build on aston ( x86_64, Fedora Core 3 ) started at 2005-06-30 03:05:09 BST Checking out vex source tree ... done Building vex ... done Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 158 tests, 10 stderr failures, 2 stdout failures ================= memcheck/tests/brk (stderr) memcheck/tests/sigaltstack (stderr) memcheck/tests/sigprocmask (stderr) memcheck/tests/strchr (stderr) memcheck/tests/toobig-allocs (stderr) memcheck/tests/weirdioctl (stderr) memcheck/tests/xml1 (stderr) massif/tests/toobig-allocs (stderr) none/tests/faultstatus (stderr) none/tests/selfrun (stdout) none/tests/selfrun (stderr) none/tests/yield (stdout) |
|
From: <sv...@va...> - 2005-06-30 02:16:04
|
Author: njn
Date: 2005-06-30 03:15:59 +0100 (Thu, 30 Jun 2005)
New Revision: 4060
Log:
Move a bunch of tests from corecheck/tests/ to none/tests/.
Added:
trunk/none/tests/pth_atfork1.c
trunk/none/tests/pth_atfork1.stderr.exp
trunk/none/tests/pth_atfork1.stdout.exp
trunk/none/tests/pth_atfork1.vgtest
trunk/none/tests/pth_cancel1.c
trunk/none/tests/pth_cancel1.stderr.exp
trunk/none/tests/pth_cancel1.stdout.exp
trunk/none/tests/pth_cancel1.vgtest
trunk/none/tests/pth_cancel2.c
trunk/none/tests/pth_cancel2.stderr.exp
trunk/none/tests/pth_cancel2.vgtest
trunk/none/tests/pth_cvsimple.c
trunk/none/tests/pth_cvsimple.stderr.exp
trunk/none/tests/pth_cvsimple.stdout.exp
trunk/none/tests/pth_cvsimple.vgtest
trunk/none/tests/pth_empty.c
trunk/none/tests/pth_empty.stderr.exp
trunk/none/tests/pth_empty.vgtest
trunk/none/tests/pth_exit.c
trunk/none/tests/pth_exit.stderr.exp
trunk/none/tests/pth_exit.vgtest
trunk/none/tests/pth_exit2.c
trunk/none/tests/pth_exit2.stderr.exp
trunk/none/tests/pth_exit2.vgtest
trunk/none/tests/pth_mutexspeed.c
trunk/none/tests/pth_mutexspeed.stderr.exp
trunk/none/tests/pth_mutexspeed.stdout.exp
trunk/none/tests/pth_mutexspeed.vgtest
trunk/none/tests/pth_once.c
trunk/none/tests/pth_once.stderr.exp
trunk/none/tests/pth_once.stdout.exp
trunk/none/tests/pth_once.vgtest
trunk/none/tests/pth_rwlock.c
trunk/none/tests/pth_rwlock.stderr.exp
trunk/none/tests/pth_rwlock.vgtest
Removed:
trunk/corecheck/tests/pth_atfork1.c
trunk/corecheck/tests/pth_atfork1.stderr.exp
trunk/corecheck/tests/pth_atfork1.stdout.exp
trunk/corecheck/tests/pth_atfork1.vgtest
trunk/corecheck/tests/pth_cancel1.c
trunk/corecheck/tests/pth_cancel1.stderr.exp
trunk/corecheck/tests/pth_cancel1.stdout.exp
trunk/corecheck/tests/pth_cancel1.vgtest
trunk/corecheck/tests/pth_cancel2.c
trunk/corecheck/tests/pth_cancel2.stderr.exp
trunk/corecheck/tests/pth_cancel2.vgtest
trunk/corecheck/tests/pth_cvsimple.c
trunk/corecheck/tests/pth_cvsimple.stderr.exp
trunk/corecheck/tests/pth_cvsimple.stdout.exp
trunk/corecheck/tests/pth_cvsimple.vgtest
trunk/corecheck/tests/pth_empty.c
trunk/corecheck/tests/pth_empty.stderr.exp
trunk/corecheck/tests/pth_empty.vgtest
trunk/corecheck/tests/pth_exit.c
trunk/corecheck/tests/pth_exit.stderr.exp
trunk/corecheck/tests/pth_exit.vgtest
trunk/corecheck/tests/pth_exit2.c
trunk/corecheck/tests/pth_exit2.stderr.exp
trunk/corecheck/tests/pth_exit2.vgtest
trunk/corecheck/tests/pth_mutexspeed.c
trunk/corecheck/tests/pth_mutexspeed.stderr.exp
trunk/corecheck/tests/pth_mutexspeed.stdout.exp
trunk/corecheck/tests/pth_mutexspeed.vgtest
trunk/corecheck/tests/pth_once.c
trunk/corecheck/tests/pth_once.stderr.exp
trunk/corecheck/tests/pth_once.stdout.exp
trunk/corecheck/tests/pth_once.vgtest
trunk/corecheck/tests/pth_rwlock.c
trunk/corecheck/tests/pth_rwlock.stderr.exp
trunk/corecheck/tests/pth_rwlock.vgtest
Modified:
trunk/corecheck/tests/Makefile.am
trunk/none/tests/Makefile.am
Modified: trunk/corecheck/tests/Makefile.am
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/corecheck/tests/Makefile.am 2005-06-30 00:54:02 UTC (rev 4059)
+++ trunk/corecheck/tests/Makefile.am 2005-06-30 02:15:59 UTC (rev 4060)
@@ -8,17 +8,6 @@
=20
EXTRA_DIST =3D $(noinst_SCRIPTS) \
erringfds.stderr.exp erringfds.stdout.exp erringfds.vgtest \
- pth_atfork1.stderr.exp pth_atfork1.stdout.exp pth_atfork1.vgtest \
- pth_cancel1.stderr.exp pth_cancel1.stdout.exp pth_cancel1.vgtest \
- pth_cancel2.stderr.exp pth_cancel2.vgtest \
- pth_cvsimple.stderr.exp pth_cvsimple.stdout.exp pth_cvsimple.vgtest \
- pth_empty.stderr.exp pth_empty.vgtest \
- pth_exit.stderr.exp pth_exit.vgtest \
- pth_exit2.stderr.exp pth_exit2.vgtest \
- pth_mutexspeed.stderr.exp \
- pth_mutexspeed.stdout.exp pth_mutexspeed.vgtest \
- pth_once.stderr.exp pth_once.stdout.exp pth_once.vgtest \
- pth_rwlock.stderr.exp pth_rwlock.vgtest \
sigkill.stderr.exp sigkill.stderr.exp2 sigkill.vgtest \
stack_changes.vgtest \
res_search.stderr.exp res_search.stdout.exp res_search.vgtest \
@@ -28,8 +17,6 @@
check_PROGRAMS =3D \
erringfds \
sigkill res_search \
- pth_atfork1 pth_cancel1 pth_cancel2 pth_cvsimple pth_empty \
- pth_exit pth_exit2 pth_mutexspeed pth_once pth_rwlock \
threadederrno \
stack_changes
=20
@@ -39,27 +26,6 @@
=20
sigkill_SOURCES =3D sigkill.c
=20
-# Pthread ones
-pth_atfork1_SOURCES =3D pth_atfork1.c
-pth_atfork1_LDADD =3D -lpthread
-pth_cancel1_SOURCES =3D pth_cancel1.c
-pth_cancel1_LDADD =3D -lpthread
-pth_cancel2_SOURCES =3D pth_cancel2.c
-pth_cancel2_LDADD =3D -lpthread
-pth_cvsimple_SOURCES =3D pth_cvsimple.c
-pth_cvsimple_LDADD =3D -lpthread
-pth_empty_SOURCES =3D pth_empty.c
-pth_empty_LDADD =3D -lpthread
-pth_exit_SOURCES =3D pth_exit.c
-pth_exit_LDADD =3D -lpthread
-pth_exit2_SOURCES =3D pth_exit2.c
-pth_exit2_LDADD =3D -lpthread
-pth_mutexspeed_SOURCES =3D pth_mutexspeed.c
-pth_mutexspeed_LDADD =3D -lpthread
-pth_once_SOURCES =3D pth_once.c
-pth_once_LDADD =3D -lpthread
-pth_rwlock_SOURCES =3D pth_rwlock.c
-pth_rwlock_LDADD =3D -lpthread
res_search_SOURCES =3D res_search.c
res_search_LDADD =3D -lresolv -lpthread
threadederrno_SOURCES =3D threadederrno.c
Deleted: trunk/corecheck/tests/pth_atfork1.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/corecheck/tests/pth_atfork1.c 2005-06-30 00:54:02 UTC (rev 4059=
)
+++ trunk/corecheck/tests/pth_atfork1.c 2005-06-30 02:15:59 UTC (rev 4060=
)
@@ -1,106 +0,0 @@
-/* Tests for fork in multi-threaded environment.
- Copyright (C) 2000 Free Software Foundation, Inc.
- Contributed by Ulrich Drepper <dr...@cy...>, 2000.
-
- The GNU C Library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Library General Public License a=
s
- published by the Free Software Foundation; either version 2 of the
- License, or (at your option) any later version.
-
- The GNU C Library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Library General Public License for more details.
-
- You should have received a copy of the GNU Library General Public
- License along with the GNU C Library; see the file COPYING.LIB. If n=
ot,
- write to the Free Software Foundation, Inc., 59 Temple Place - Suite =
330,
- Boston, MA 02111-1307, USA. */
-
-#include <errno.h>
-#include <error.h>
-#include <stdlib.h>
-#include <pthread.h>
-#include <unistd.h>
-#include <sys/wait.h>
-#include <stdio.h>
-
-enum
-{
- PREPARE_BIT =3D 1,
- PARENT_BIT =3D 2,
- CHILD_BIT =3D 4
-};
-
-static int var;
-
-static void
-prepare (void)
-{
- var |=3D PREPARE_BIT;
-}
-
-static void
-parent (void)
-{
- var |=3D PARENT_BIT;
-}
-
-static void
-child (void)
-{
- var |=3D CHILD_BIT;
-}
-
-
-static void *thread (void *arg);
-
-
-int
-main (void)
-{
- pthread_t th;
- void *res;
-
- pthread_atfork (prepare, parent, child);
-
- if (pthread_create (&th, NULL, thread, NULL) !=3D 0)
- error (EXIT_FAILURE, 0, "cannot create thread");
-
- pthread_join (th, &res);
-
- if ( ( int ) ( long int ) res !=3D 0 )
- error(EXIT_FAILURE, 0, "pthread_join res !=3D 0" );
-
- printf ( "all ok\n" );
- return 0;
-}
-
-
-static void *
-thread (void *arg)
-{
- int status;
- pid_t pid;
-
- pid =3D fork ();
- if (pid =3D=3D 0)
- {
- /* We check whether the `prepare' and `child' function ran. */
- exit (var !=3D (PREPARE_BIT | CHILD_BIT));
- }
- else if (pid =3D=3D (pid_t) -1)
- error (EXIT_FAILURE, errno, "cannot fork");
-
- if (waitpid (pid, &status, 0) !=3D pid)
- error (EXIT_FAILURE, errno, "wrong child");
-
- if (WTERMSIG (status) !=3D 0)
- error (EXIT_FAILURE, 0, "Child terminated incorrectly");
- status =3D WEXITSTATUS (status);
-
- if (status =3D=3D 0)
- status =3D var !=3D (PREPARE_BIT | PARENT_BIT);
-
- return (void *) (long int) status;
-}
Deleted: trunk/corecheck/tests/pth_atfork1.stderr.exp
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/corecheck/tests/pth_atfork1.stderr.exp 2005-06-30 00:54:02 UTC =
(rev 4059)
+++ trunk/corecheck/tests/pth_atfork1.stderr.exp 2005-06-30 02:15:59 UTC =
(rev 4060)
@@ -1,5 +0,0 @@
-
-
-ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
-
-ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
Deleted: trunk/corecheck/tests/pth_atfork1.stdout.exp
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/corecheck/tests/pth_atfork1.stdout.exp 2005-06-30 00:54:02 UTC =
(rev 4059)
+++ trunk/corecheck/tests/pth_atfork1.stdout.exp 2005-06-30 02:15:59 UTC =
(rev 4060)
@@ -1 +0,0 @@
-all ok
Deleted: trunk/corecheck/tests/pth_atfork1.vgtest
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/corecheck/tests/pth_atfork1.vgtest 2005-06-30 00:54:02 UTC (rev=
4059)
+++ trunk/corecheck/tests/pth_atfork1.vgtest 2005-06-30 02:15:59 UTC (rev=
4060)
@@ -1 +0,0 @@
-prog: pth_atfork1
Deleted: trunk/corecheck/tests/pth_cancel1.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/corecheck/tests/pth_cancel1.c 2005-06-30 00:54:02 UTC (rev 4059=
)
+++ trunk/corecheck/tests/pth_cancel1.c 2005-06-30 02:15:59 UTC (rev 4060=
)
@@ -1,66 +0,0 @@
-#include <stdio.h>
-#include <stdlib.h>
-#include <pthread.h>
-#include <unistd.h>
-
-static void thread_cleanup(void *arg)
-{
- printf("cleaning up %p\n", arg);
-
- return;
-}
-
-static void *thread_main(void *arg)
-{
- pthread_cleanup_push(thread_cleanup, (void *)0x1234);
- pthread_cleanup_push(thread_cleanup, (void *)0x5678);
-
- if (pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS, NULL) !=3D 0)
- {
- perror("pthread_setcanceltype");
- return NULL;
- }
- =20
- if (pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, NULL) !=3D 0)
- {
- perror("pthread_setcancelstate");
- return NULL;
- }
-
- pause();
-
- pthread_cleanup_pop(0);
- pthread_cleanup_pop(0);
-
- return NULL;
-}
-
-int main(int argc, char **argv)
-{
- pthread_t tid;
- void *result;
- =20
- if (pthread_create(&tid, NULL, thread_main, NULL) !=3D 0)
- {
- perror("pthread_create");
- exit(1);
- }
-
- sleep(1);
-
- if (pthread_cancel(tid) !=3D 0)
- {
- perror("pthread_cancel");
- exit(1);
- }
-
- if (pthread_join(tid, &result) !=3D 0)
- {
- perror("pthread_join");
- exit(1);
- }
-
- printf("result is %s\n", result =3D=3D PTHREAD_CANCELED ? "correct" : =
"incorrect");
- =20
- exit(0);
-}
Deleted: trunk/corecheck/tests/pth_cancel1.stderr.exp
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/corecheck/tests/pth_cancel1.stderr.exp 2005-06-30 00:54:02 UTC =
(rev 4059)
+++ trunk/corecheck/tests/pth_cancel1.stderr.exp 2005-06-30 02:15:59 UTC =
(rev 4060)
@@ -1,3 +0,0 @@
-
-
-ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
Deleted: trunk/corecheck/tests/pth_cancel1.stdout.exp
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/corecheck/tests/pth_cancel1.stdout.exp 2005-06-30 00:54:02 UTC =
(rev 4059)
+++ trunk/corecheck/tests/pth_cancel1.stdout.exp 2005-06-30 02:15:59 UTC =
(rev 4060)
@@ -1,3 +0,0 @@
-cleaning up 0x5678
-cleaning up 0x1234
-result is correct
Deleted: trunk/corecheck/tests/pth_cancel1.vgtest
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/corecheck/tests/pth_cancel1.vgtest 2005-06-30 00:54:02 UTC (rev=
4059)
+++ trunk/corecheck/tests/pth_cancel1.vgtest 2005-06-30 02:15:59 UTC (rev=
4060)
@@ -1 +0,0 @@
-prog: pth_cancel1
Deleted: trunk/corecheck/tests/pth_cancel2.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/corecheck/tests/pth_cancel2.c 2005-06-30 00:54:02 UTC (rev 4059=
)
+++ trunk/corecheck/tests/pth_cancel2.c 2005-06-30 02:15:59 UTC (rev 4060=
)
@@ -1,101 +0,0 @@
-/********************************************************
- * An example source module to accompany...
- *
- * "Using POSIX Threads: Programming with Pthreads"
- * by Brad nichols, Dick Buttlar, Jackie Farrell
- * O'Reilly & Associates, Inc.
- *
- ********************************************************
- * async_safe --
- *
- * Example showing macro wrappers for calling non-async
- * safe routines when the caller has asynchronous=20
- * cancellation turned on
- */
-
-#include <stdlib.h>
-#include <stdio.h>
-#include <unistd.h>
-#include <fcntl.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-
-#include <pthread.h>
-
-
-#define async_cancel_safe_read(fd,buf,amt) \
- { \
- int oldtype; \
- pthread_setcanceltype(PTHREAD_CANCEL_DEFERRED, &oldtype); \
- if (read(fd,buf,amt) < 0) \
- perror("read"),exit(1); \
- pthread_setcanceltype(oldtype,NULL); \
- pthread_testcancel(); \
- }=20
- =20
-
-#define async_cancel_safe_write(fd,buf,amt) \
- { \
- int oldtype; \
- pthread_setcanceltype(PTHREAD_CANCEL_DEFERRED, &oldtype); \
- if (write(fd,buf,amt) < 0) \
- perror("write"), exit(1); \
- pthread_setcanceltype(oldtype,NULL); \
- pthread_testcancel(); \
- }
-
-
-static int fd;
- =20
-void *io(void *arg)
-{
- int *fd2=3D(int *)arg;=20
- char buf[20]=3D"String";
- int amt=3D20;
-
- for (;;) {
- async_cancel_safe_write(*fd2,buf,amt);
- async_cancel_safe_read(*fd2,buf,amt);
- }
- return(NULL);
-}
-
-void *killer(void *arg)
-{=20
- pthread_t * target =3D (pthread_t *)arg;
- sleep(1);
- pthread_cancel(*target);
- return(NULL);
-}
-
-extern int
-main(void)
-{
- pthread_t io_thread, killer_thread; =20
-
- // extern void *io(void *);
- // extern void *killer(void *);
-
- if ((fd =3D open(".ktemp",O_CREAT | O_RDWR, 0666)) < 0)
- perror("open"), exit(1);
-
- pthread_create(&io_thread,=20
- NULL,
- io,
- (void *)&fd);
- pthread_create(&killer_thread,
- NULL,
- killer,
- (void *)&io_thread);
-
- pthread_join(io_thread, NULL);
-
- pthread_join(killer_thread,NULL);
-
- if ((close(fd)) < 0)
- perror("close"),exit(1);
- if ((unlink(".ktemp")) < 0)
- perror("unlink"),exit(1);
-
- return 0;
-}
Deleted: trunk/corecheck/tests/pth_cancel2.stderr.exp
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/corecheck/tests/pth_cancel2.stderr.exp 2005-06-30 00:54:02 UTC =
(rev 4059)
+++ trunk/corecheck/tests/pth_cancel2.stderr.exp 2005-06-30 02:15:59 UTC =
(rev 4060)
@@ -1,3 +0,0 @@
-
-
-ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
Deleted: trunk/corecheck/tests/pth_cancel2.vgtest
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/corecheck/tests/pth_cancel2.vgtest 2005-06-30 00:54:02 UTC (rev=
4059)
+++ trunk/corecheck/tests/pth_cancel2.vgtest 2005-06-30 02:15:59 UTC (rev=
4060)
@@ -1 +0,0 @@
-prog: pth_cancel2
Deleted: trunk/corecheck/tests/pth_cvsimple.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/corecheck/tests/pth_cvsimple.c 2005-06-30 00:54:02 UTC (rev 405=
9)
+++ trunk/corecheck/tests/pth_cvsimple.c 2005-06-30 02:15:59 UTC (rev 406=
0)
@@ -1,90 +0,0 @@
-/********************************************************
- * An example source module to accompany...
- *
- * "Using POSIX Threads: Programming with Pthreads"
- * by Brad nichols, Dick Buttlar, Jackie Farrell
- * O'Reilly & Associates, Inc.
- *
- ********************************************************
- *
- * cvsimple.c
- *
- * Demonstrates pthread condvars.
- *
- */
-
-#include <stdio.h>
-#include <pthread.h>
-
-#define NUM_THREADS 3
-#define TCOUNT 10
-#define COUNT_THRES 12
-
-int condvar_was_hit =3D 0;
-int count =3D 0;
-int thread_ids[3] =3D {0,1,2};
-pthread_mutex_t count_lock=3DPTHREAD_MUTEX_INITIALIZER;=20
-pthread_cond_t count_hit_threshold=3DPTHREAD_COND_INITIALIZER;=20
-
-void *inc_count(void *null)
-{
- int i=3D0;
-
- for (i=3D0; i<TCOUNT; i++) {
- pthread_mutex_lock(&count_lock);
- count++;
- printf("inc_counter(): count =3D %d, unlocking mutex\n", count);
- if (count =3D=3D COUNT_THRES) {
- printf("hit threshold!\n");
- pthread_cond_signal(&count_hit_threshold);
- }
- pthread_mutex_unlock(&count_lock);
- }
- =20
- return(NULL);
-}
-
-void *watch_count(void *null)
-{
- pthread_mutex_lock(&count_lock);
-
- while (count < COUNT_THRES) {
- pthread_cond_wait(&count_hit_threshold, &count_lock);
- condvar_was_hit =3D 1;
- }
-
- pthread_mutex_unlock(&count_lock);
- =20
- return(NULL);
-}
-
-extern int
-main(void)
-{
- int i;
- pthread_t threads[3];
-
- pthread_create(&threads[0], NULL, watch_count, NULL);
- pthread_create(&threads[1], NULL, inc_count, NULL);
- pthread_create(&threads[2], NULL, inc_count, NULL);
-
- for (i =3D 0; i < NUM_THREADS; i++) {
- pthread_join(threads[i], NULL);
- }
-
- // Nb: it's not certain that we'll hit here. It's possible that the t=
wo
- // inc_count threads could fully run before watch_count begins, and so
- // pthread_cond_wait() is never called. Or, we could get a spurious
- // wake-up in watch_count(). Nonetheless, it's very likely that thing=
s
- // will work out as expected, since we're starting watch_count() first=
.
- if (condvar_was_hit =3D=3D 1)
- printf("condvar was hit!\n");
- else if (condvar_was_hit > 1)
- printf("condvar was multi-hit...\n");
- else
- printf("condvar was missed...\n");
- =20
- return 0;
-}
-
-
Deleted: trunk/corecheck/tests/pth_cvsimple.stderr.exp
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/corecheck/tests/pth_cvsimple.stderr.exp 2005-06-30 00:54:02 UTC=
(rev 4059)
+++ trunk/corecheck/tests/pth_cvsimple.stderr.exp 2005-06-30 02:15:59 UTC=
(rev 4060)
@@ -1,3 +0,0 @@
-
-
-ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
Deleted: trunk/corecheck/tests/pth_cvsimple.stdout.exp
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/corecheck/tests/pth_cvsimple.stdout.exp 2005-06-30 00:54:02 UTC=
(rev 4059)
+++ trunk/corecheck/tests/pth_cvsimple.stdout.exp 2005-06-30 02:15:59 UTC=
(rev 4060)
@@ -1,22 +0,0 @@
-inc_counter(): count =3D 1, unlocking mutex
-inc_counter(): count =3D 2, unlocking mutex
-inc_counter(): count =3D 3, unlocking mutex
-inc_counter(): count =3D 4, unlocking mutex
-inc_counter(): count =3D 5, unlocking mutex
-inc_counter(): count =3D 6, unlocking mutex
-inc_counter(): count =3D 7, unlocking mutex
-inc_counter(): count =3D 8, unlocking mutex
-inc_counter(): count =3D 9, unlocking mutex
-inc_counter(): count =3D 10, unlocking mutex
-inc_counter(): count =3D 11, unlocking mutex
-inc_counter(): count =3D 12, unlocking mutex
-hit threshold!
-inc_counter(): count =3D 13, unlocking mutex
-inc_counter(): count =3D 14, unlocking mutex
-inc_counter(): count =3D 15, unlocking mutex
-inc_counter(): count =3D 16, unlocking mutex
-inc_counter(): count =3D 17, unlocking mutex
-inc_counter(): count =3D 18, unlocking mutex
-inc_counter(): count =3D 19, unlocking mutex
-inc_counter(): count =3D 20, unlocking mutex
-condvar was hit!
Deleted: trunk/corecheck/tests/pth_cvsimple.vgtest
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/corecheck/tests/pth_cvsimple.vgtest 2005-06-30 00:54:02 UTC (re=
v 4059)
+++ trunk/corecheck/tests/pth_cvsimple.vgtest 2005-06-30 02:15:59 UTC (re=
v 4060)
@@ -1 +0,0 @@
-prog: pth_cvsimple
Deleted: trunk/corecheck/tests/pth_empty.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/corecheck/tests/pth_empty.c 2005-06-30 00:54:02 UTC (rev 4059)
+++ trunk/corecheck/tests/pth_empty.c 2005-06-30 02:15:59 UTC (rev 4060)
@@ -1,7 +0,0 @@
-// Does nothing, but linking it with -lpthread is enough to trigger an e=
rror
-// that should be suppressed when it is run.
-
-int main(void)
-{
- return 0;
-}
Deleted: trunk/corecheck/tests/pth_empty.stderr.exp
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/corecheck/tests/pth_empty.stderr.exp 2005-06-30 00:54:02 UTC (r=
ev 4059)
+++ trunk/corecheck/tests/pth_empty.stderr.exp 2005-06-30 02:15:59 UTC (r=
ev 4060)
@@ -1,3 +0,0 @@
-
-
-ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
Deleted: trunk/corecheck/tests/pth_empty.vgtest
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/corecheck/tests/pth_empty.vgtest 2005-06-30 00:54:02 UTC (rev 4=
059)
+++ trunk/corecheck/tests/pth_empty.vgtest 2005-06-30 02:15:59 UTC (rev 4=
060)
@@ -1 +0,0 @@
-prog: pth_empty
Deleted: trunk/corecheck/tests/pth_exit.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/corecheck/tests/pth_exit.c 2005-06-30 00:54:02 UTC (rev 4059)
+++ trunk/corecheck/tests/pth_exit.c 2005-06-30 02:15:59 UTC (rev 4060)
@@ -1,20 +0,0 @@
-#include <pthread.h>
-#include <unistd.h>
-
-static void *th(void *v)
-{
- sleep(1);
- pthread_exit(0);
-}
-
-int main()
-{
- pthread_t a;
-
- pthread_create(&a, NULL, th, NULL);
- pthread_create(&a, NULL, th, NULL);
- pthread_create(&a, NULL, th, NULL);
- pthread_create(&a, NULL, th, NULL);
-
- pthread_exit(0);
-}
Deleted: trunk/corecheck/tests/pth_exit.stderr.exp
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/corecheck/tests/pth_exit.stderr.exp 2005-06-30 00:54:02 UTC (re=
v 4059)
+++ trunk/corecheck/tests/pth_exit.stderr.exp 2005-06-30 02:15:59 UTC (re=
v 4060)
@@ -1,3 +0,0 @@
-
-
-ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
Deleted: trunk/corecheck/tests/pth_exit.vgtest
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/corecheck/tests/pth_exit.vgtest 2005-06-30 00:54:02 UTC (rev 40=
59)
+++ trunk/corecheck/tests/pth_exit.vgtest 2005-06-30 02:15:59 UTC (rev 40=
60)
@@ -1 +0,0 @@
-prog: pth_exit
Deleted: trunk/corecheck/tests/pth_exit2.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/corecheck/tests/pth_exit2.c 2005-06-30 00:54:02 UTC (rev 4059)
+++ trunk/corecheck/tests/pth_exit2.c 2005-06-30 02:15:59 UTC (rev 4060)
@@ -1,6 +0,0 @@
-#include <pthread.h>
-
-int main()
-{
- pthread_exit(0);
-}
Deleted: trunk/corecheck/tests/pth_exit2.stderr.exp
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/corecheck/tests/pth_exit2.stderr.exp 2005-06-30 00:54:02 UTC (r=
ev 4059)
+++ trunk/corecheck/tests/pth_exit2.stderr.exp 2005-06-30 02:15:59 UTC (r=
ev 4060)
@@ -1,3 +0,0 @@
-
-
-ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
Deleted: trunk/corecheck/tests/pth_exit2.vgtest
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/corecheck/tests/pth_exit2.vgtest 2005-06-30 00:54:02 UTC (rev 4=
059)
+++ trunk/corecheck/tests/pth_exit2.vgtest 2005-06-30 02:15:59 UTC (rev 4=
060)
@@ -1 +0,0 @@
-prog: pth_exit2
Deleted: trunk/corecheck/tests/pth_mutexspeed.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/corecheck/tests/pth_mutexspeed.c 2005-06-30 00:54:02 UTC (rev 4=
059)
+++ trunk/corecheck/tests/pth_mutexspeed.c 2005-06-30 02:15:59 UTC (rev 4=
060)
@@ -1,19 +0,0 @@
-
-#include <stdio.h>
-#include <assert.h>
-#include <pthread.h>
-
-int main ( void )
-{
- const int n =3D 100000;
- int i, r;
- pthread_mutex_t mx =3D PTHREAD_MUTEX_INITIALIZER;
- printf("begin %d lock--unlocks\n", n);
- for (i =3D 0; i < n; i++) {
- r =3D pthread_mutex_lock(&mx);
- r |=3D pthread_mutex_unlock(&mx);
- assert(r =3D=3D 0);
- }
- printf("done %d lock--unlocks\n", n);
- return 0;
-}
Deleted: trunk/corecheck/tests/pth_mutexspeed.stderr.exp
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/corecheck/tests/pth_mutexspeed.stderr.exp 2005-06-30 00:54:02 U=
TC (rev 4059)
+++ trunk/corecheck/tests/pth_mutexspeed.stderr.exp 2005-06-30 02:15:59 U=
TC (rev 4060)
@@ -1,3 +0,0 @@
-
-
-ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
Deleted: trunk/corecheck/tests/pth_mutexspeed.stdout.exp
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/corecheck/tests/pth_mutexspeed.stdout.exp 2005-06-30 00:54:02 U=
TC (rev 4059)
+++ trunk/corecheck/tests/pth_mutexspeed.stdout.exp 2005-06-30 02:15:59 U=
TC (rev 4060)
@@ -1,2 +0,0 @@
-begin 100000 lock--unlocks
-done 100000 lock--unlocks
Deleted: trunk/corecheck/tests/pth_mutexspeed.vgtest
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/corecheck/tests/pth_mutexspeed.vgtest 2005-06-30 00:54:02 UTC (=
rev 4059)
+++ trunk/corecheck/tests/pth_mutexspeed.vgtest 2005-06-30 02:15:59 UTC (=
rev 4060)
@@ -1 +0,0 @@
-prog: pth_mutexspeed
Deleted: trunk/corecheck/tests/pth_once.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/corecheck/tests/pth_once.c 2005-06-30 00:54:02 UTC (rev 4059)
+++ trunk/corecheck/tests/pth_once.c 2005-06-30 02:15:59 UTC (rev 4060)
@@ -1,81 +0,0 @@
-/********************************************************
- * An example source module to accompany...
- *
- * "Using POSIX Threads: Programming with Pthreads"
- * by Brad nichols, Dick Buttlar, Jackie Farrell
- * O'Reilly & Associates, Inc.
- *
- ********************************************************
- * once_exam.c
- *
- * An example of using the pthreads_once() call to execute an
- * initialization procedure.
- *
- * A program spawns multiple threads and each one tries to
- * execute the routine welcome() using the once call. Only
- * the first thread into the once routine will actually
- * execute welcome().
- *
- * The program's main thread synchronizes its exit with the
- * exit of the threads using the pthread_join() operation.
- *
-*/
-
-#include <stdlib.h>
-#include <stdio.h>
-#include <unistd.h>
-#include <sys/types.h>
-
-#include <pthread.h>
-
-#define NUM_THREADS 10
-
-static pthread_once_t welcome_once_block =3D PTHREAD_ONCE_INIT;
-
-void welcome(void)
-{
- printf("welcome: Welcome\n");
-}
-
-void *identify_yourself(void *arg)
-{
- int rtn;
-
- if ((rtn =3D pthread_once(&welcome_once_block,
- welcome)) !=3D 0) {
- fprintf(stderr, "pthread_once failed with %d",rtn);
- pthread_exit((void *)NULL);
- }
- printf("identify_yourself: Hi, I'm a thread\n");
- return(NULL);
-}
-
-extern int
-main(void)
-{
- int *id_arg, thread_num, rtn;
- pthread_t threads[NUM_THREADS];
-
- id_arg =3D (int *)malloc(NUM_THREADS*sizeof(int));
-
- for (thread_num =3D 0; thread_num < NUM_THREADS; (thread_num)++) {
-
- id_arg[thread_num] =3D thread_num;
-
- if (( rtn =3D pthread_create(&threads[thread_num],=20
- NULL,
- identify_yourself,
- (void *) &(id_arg[thread_num])))=20
- !=3D 0) {
- fprintf(stderr, "pthread_create failed with %d",rtn);
- exit(1);
- }
- } =09
-
- for (thread_num =3D 0; thread_num < NUM_THREADS; thread_num++) {
- pthread_join(threads[thread_num], NULL);
- //printf("main: joined to thread %d\n", thread_num);
- }
- printf("main: Goodbye\n");
- return 0;
-}
Deleted: trunk/corecheck/tests/pth_once.stderr.exp
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/corecheck/tests/pth_once.stderr.exp 2005-06-30 00:54:02 UTC (re=
v 4059)
+++ trunk/corecheck/tests/pth_once.stderr.exp 2005-06-30 02:15:59 UTC (re=
v 4060)
@@ -1,3 +0,0 @@
-
-
-ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
Deleted: trunk/corecheck/tests/pth_once.stdout.exp
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/corecheck/tests/pth_once.stdout.exp 2005-06-30 00:54:02 UTC (re=
v 4059)
+++ trunk/corecheck/tests/pth_once.stdout.exp 2005-06-30 02:15:59 UTC (re=
v 4060)
@@ -1,12 +0,0 @@
-welcome: Welcome
-identify_yourself: Hi, I'm a thread
-identify_yourself: Hi, I'm a thread
-identify_yourself: Hi, I'm a thread
-identify_yourself: Hi, I'm a thread
-identify_yourself: Hi, I'm a thread
-identify_yourself: Hi, I'm a thread
-identify_yourself: Hi, I'm a thread
-identify_yourself: Hi, I'm a thread
-identify_yourself: Hi, I'm a thread
-identify_yourself: Hi, I'm a thread
-main: Goodbye
Deleted: trunk/corecheck/tests/pth_once.vgtest
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/corecheck/tests/pth_once.vgtest 2005-06-30 00:54:02 UTC (rev 40=
59)
+++ trunk/corecheck/tests/pth_once.vgtest 2005-06-30 02:15:59 UTC (rev 40=
60)
@@ -1 +0,0 @@
-prog: pth_once
Deleted: trunk/corecheck/tests/pth_rwlock.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/corecheck/tests/pth_rwlock.c 2005-06-30 00:54:02 UTC (rev 4059)
+++ trunk/corecheck/tests/pth_rwlock.c 2005-06-30 02:15:59 UTC (rev 4060)
@@ -1,31 +0,0 @@
-#define _XOPEN_SOURCE 600
-
-#include <pthread.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-
-#define LOCKS 2000
-
-int main(int argc, char **argv)
-{
- pthread_rwlock_t locks[LOCKS];
- int n;
- int e;
- =20
- for (n =3D 0; n < LOCKS; n++) {
- if ((e =3D pthread_rwlock_init(locks + n, NULL)) !=3D 0) {
- fprintf(stderr, "pthread_rwlock_init[%d]: %s\n", n, strerror(e));
- exit(1);
- }
- }
- =20
- for (n =3D 0; n < LOCKS; n++) {
- if ((e =3D pthread_rwlock_destroy(locks + n)) !=3D 0) {
- fprintf(stderr, "pthread_rwlock_destroy[%d]: %s\n", n, strerror(e)=
);
- exit(1);
- }
- }
-=20
- exit(0);
-}
Deleted: trunk/corecheck/tests/pth_rwlock.stderr.exp
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/corecheck/tests/pth_rwlock.stderr.exp 2005-06-30 00:54:02 UTC (=
rev 4059)
+++ trunk/corecheck/tests/pth_rwlock.stderr.exp 2005-06-30 02:15:59 UTC (=
rev 4060)
@@ -1,3 +0,0 @@
-
-
-ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
Deleted: trunk/corecheck/tests/pth_rwlock.vgtest
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/corecheck/tests/pth_rwlock.vgtest 2005-06-30 00:54:02 UTC (rev =
4059)
+++ trunk/corecheck/tests/pth_rwlock.vgtest 2005-06-30 02:15:59 UTC (rev =
4060)
@@ -1 +0,0 @@
-prog: pth_rwlock
Modified: trunk/none/tests/Makefile.am
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/none/tests/Makefile.am 2005-06-30 00:54:02 UTC (rev 4059)
+++ trunk/none/tests/Makefile.am 2005-06-30 02:15:59 UTC (rev 4060)
@@ -58,8 +58,19 @@
mremap.stderr.exp mremap.stdout.exp mremap.vgtest \
munmap_exe.stderr.exp munmap_exe.vgtest \
pending.stdout.exp pending.stderr.exp pending.vgtest \
+ pth_atfork1.stderr.exp pth_atfork1.stdout.exp pth_atfork1.vgtest \
pth_blockedsig.stderr.exp \
pth_blockedsig.stdout.exp pth_blockedsig.vgtest \
+ pth_cancel1.stderr.exp pth_cancel1.stdout.exp pth_cancel1.vgtest \
+ pth_cancel2.stderr.exp pth_cancel2.vgtest \
+ pth_cvsimple.stderr.exp pth_cvsimple.stdout.exp pth_cvsimple.vgtest \
+ pth_empty.stderr.exp pth_empty.vgtest \
+ pth_exit.stderr.exp pth_exit.vgtest \
+ pth_exit2.stderr.exp pth_exit2.vgtest \
+ pth_mutexspeed.stderr.exp \
+ pth_mutexspeed.stdout.exp pth_mutexspeed.vgtest \
+ pth_once.stderr.exp pth_once.stdout.exp pth_once.vgtest \
+ pth_rwlock.stderr.exp pth_rwlock.vgtest \
pth_stackalign.stderr.exp \
pth_stackalign.stdout.exp pth_stackalign.vgtest \
rcrl.stderr.exp rcrl.stdout.exp rcrl.vgtest \
@@ -94,11 +105,13 @@
fdleak_fcntl fdleak_ipv4 fdleak_open fdleak_pipe \
fdleak_socketpair \
floored fork fucomip manythreads \
- munmap_exe map_unaligned map_unmap mq mremap rcrl readline1 \
- resolv rlimit_nofile selfrun sem semlimit sha1_test \
- shortpush shorts \
- stackgrowth sigstackgrowth \
- smc1 susphello pending pth_blockedsig pth_stackalign \
+ munmap_exe map_unaligned map_unmap mq mremap \
+ pending \
+ pth_atfork1 pth_blockedsig pth_cancel1 pth_cancel2 pth_cvsimple \
+ pth_empty pth_exit pth_exit2 pth_mutexspeed pth_once pth_rwlock \
+ pth_stackalign \
+ rcrl readline1 resolv rlimit_nofile selfrun sem semlimit sha1_test \
+ shortpush shorts stackgrowth sigstackgrowth smc1 susphello \
syscall-restart1 syscall-restart2 system \
thread-exits threaded-fork \
tls tls.so tls2.so yield vgprintf \
@@ -146,8 +159,28 @@
mq_LDADD =3D -lrt
mremap_SOURCES =3D mremap.c
munmap_exe_SOURCES =3D munmap_exe.c
+pth_atfork1_SOURCES =3D pth_atfork1.c
+pth_atfork1_LDADD =3D -lpthread
pth_blockedsig_SOURCES =3D pth_blockedsig.c
pth_blockedsig_LDADD =3D -lpthread
+pth_cancel1_SOURCES =3D pth_cancel1.c
+pth_cancel1_LDADD =3D -lpthread
+pth_cancel2_SOURCES =3D pth_cancel2.c
+pth_cancel2_LDADD =3D -lpthread
+pth_cvsimple_SOURCES =3D pth_cvsimple.c
+pth_cvsimple_LDADD =3D -lpthread
+pth_empty_SOURCES =3D pth_empty.c
+pth_empty_LDADD =3D -lpthread
+pth_exit_SOURCES =3D pth_exit.c
+pth_exit_LDADD =3D -lpthread
+pth_exit2_SOURCES =3D pth_exit2.c
+pth_exit2_LDADD =3D -lpthread
+pth_mutexspeed_SOURCES =3D pth_mutexspeed.c
+pth_mutexspeed_LDADD =3D -lpthread
+pth_once_SOURCES =3D pth_once.c
+pth_once_LDADD =3D -lpthread
+pth_rwlock_SOURCES =3D pth_rwlock.c
+pth_rwlock_LDADD =3D -lpthread
pth_stackalign_SOURCES =3D pth_stackalign.c
pth_stackalign_LDADD =3D -lpthread
rcrl_SOURCES =3D rcrl.c
Copied: trunk/none/tests/pth_atfork1.c (from rev 4052, trunk/corecheck/te=
sts/pth_atfork1.c)
Copied: trunk/none/tests/pth_atfork1.stderr.exp (from rev 4052, trunk/cor=
echeck/tests/pth_atfork1.stderr.exp)
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/corecheck/tests/pth_atfork1.stderr.exp 2005-06-29 10:16:14 UTC =
(rev 4052)
+++ trunk/none/tests/pth_atfork1.stderr.exp 2005-06-30 02:15:59 UTC (rev =
4060)
@@ -0,0 +1,3 @@
+
+
+
Copied: trunk/none/tests/pth_atfork1.stdout.exp (from rev 4052, trunk/cor=
echeck/tests/pth_atfork1.stdout.exp)
Copied: trunk/none/tests/pth_atfork1.vgtest (from rev 4052, trunk/coreche=
ck/tests/pth_atfork1.vgtest)
Copied: trunk/none/tests/pth_cancel1.c (from rev 4052, trunk/corecheck/te=
sts/pth_cancel1.c)
Copied: trunk/none/tests/pth_cancel1.stderr.exp (from rev 4052, trunk/cor=
echeck/tests/pth_cancel1.stderr.exp)
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/corecheck/tests/pth_cancel1.stderr.exp 2005-06-29 10:16:14 UTC =
(rev 4052)
+++ trunk/none/tests/pth_cancel1.stderr.exp 2005-06-30 02:15:59 UTC (rev =
4060)
@@ -0,0 +1,2 @@
+
+
Copied: trunk/none/tests/pth_cancel1.stdout.exp (from rev 4052, trunk/cor=
echeck/tests/pth_cancel1.stdout.exp)
Copied: trunk/none/tests/pth_cancel1.vgtest (from rev 4052, trunk/coreche=
ck/tests/pth_cancel1.vgtest)
Copied: trunk/none/tests/pth_cancel2.c (from rev 4052, trunk/corecheck/te=
sts/pth_cancel2.c)
Copied: trunk/none/tests/pth_cancel2.stderr.exp (from rev 4052, trunk/cor=
echeck/tests/pth_cancel2.stderr.exp)
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/corecheck/tests/pth_cancel2.stderr.exp 2005-06-29 10:16:14 UTC =
(rev 4052)
+++ trunk/none/tests/pth_cancel2.stderr.exp 2005-06-30 02:15:59 UTC (rev =
4060)
@@ -0,0 +1,2 @@
+
+
Copied: trunk/none/tests/pth_cancel2.vgtest (from rev 4052, trunk/coreche=
ck/tests/pth_cancel2.vgtest)
Copied: trunk/none/tests/pth_cvsimple.c (from rev 4052, trunk/corecheck/t=
ests/pth_cvsimple.c)
Copied: trunk/none/tests/pth_cvsimple.stderr.exp (from rev 4052, trunk/co=
recheck/tests/pth_cvsimple.stderr.exp)
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/corecheck/tests/pth_cvsimple.stderr.exp 2005-06-29 10:16:14 UTC=
(rev 4052)
+++ trunk/none/tests/pth_cvsimple.stderr.exp 2005-06-30 02:15:59 UTC (rev=
4060)
@@ -0,0 +1,2 @@
+
+
Copied: trunk/none/tests/pth_cvsimple.stdout.exp (from rev 4052, trunk/co=
recheck/tests/pth_cvsimple.stdout.exp)
Copied: trunk/none/tests/pth_cvsimple.vgtest (from rev 4052, trunk/corech=
eck/tests/pth_cvsimple.vgtest)
Copied: trunk/none/tests/pth_empty.c (from rev 4052, trunk/corecheck/test=
s/pth_empty.c)
Copied: trunk/none/tests/pth_empty.stderr.exp (from rev 4052, trunk/corec=
heck/tests/pth_empty.stderr.exp)
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/corecheck/tests/pth_empty.stderr.exp 2005-06-29 10:16:14 UTC (r=
ev 4052)
+++ trunk/none/tests/pth_empty.stderr.exp 2005-06-30 02:15:59 UTC (rev 40=
60)
@@ -0,0 +1,2 @@
+
+
Copied: trunk/none/tests/pth_empty.vgtest (from rev 4052, trunk/corecheck=
/tests/pth_empty.vgtest)
Copied: trunk/none/tests/pth_exit.c (from rev 4052, trunk/corecheck/tests=
/pth_exit.c)
Copied: trunk/none/tests/pth_exit.stderr.exp (from rev 4052, trunk/corech=
eck/tests/pth_exit.stderr.exp)
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/corecheck/tests/pth_exit.stderr.exp 2005-06-29 10:16:14 UTC (re=
v 4052)
+++ trunk/none/tests/pth_exit.stderr.exp 2005-06-30 02:15:59 UTC (rev 406=
0)
@@ -0,0 +1,2 @@
+
+
Copied: trunk/none/tests/pth_exit.vgtest (from rev 4052, trunk/corecheck/=
tests/pth_exit.vgtest)
Copied: trunk/none/tests/pth_exit2.c (from rev 4052, trunk/corecheck/test=
s/pth_exit2.c)
Copied: trunk/none/tests/pth_exit2.stderr.exp (from rev 4052, trunk/corec=
heck/tests/pth_exit2.stderr.exp)
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/corecheck/tests/pth_exit2.stderr.exp 2005-06-29 10:16:14 UTC (r=
ev 4052)
+++ trunk/none/tests/pth_exit2.stderr.exp 2005-06-30 02:15:59 UTC (rev 40=
60)
@@ -0,0 +1,2 @@
+
+
Copied: trunk/none/tests/pth_exit2.vgtest (from rev 4052, trunk/corecheck=
/tests/pth_exit2.vgtest)
Copied: trunk/none/tests/pth_mutexspeed.c (from rev 4052, trunk/corecheck=
/tests/pth_mutexspeed.c)
Copied: trunk/none/tests/pth_mutexspeed.stderr.exp (from rev 4052, trunk/=
corecheck/tests/pth_mutexspeed.stderr.exp)
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/corecheck/tests/pth_mutexspeed.stderr.exp 2005-06-29 10:16:14 U=
TC (rev 4052)
+++ trunk/none/tests/pth_mutexspeed.stderr.exp 2005-06-30 02:15:59 UTC (r=
ev 4060)
@@ -0,0 +1,2 @@
+
+
Copied: trunk/none/tests/pth_mutexspeed.stdout.exp (from rev 4052, trunk/=
corecheck/tests/pth_mutexspeed.stdout.exp)
Copied: trunk/none/tests/pth_mutexspeed.vgtest (from rev 4052, trunk/core=
check/tests/pth_mutexspeed.vgtest)
Copied: trunk/none/tests/pth_once.c (from rev 4052, trunk/corecheck/tests=
/pth_once.c)
Copied: trunk/none/tests/pth_once.stderr.exp (from rev 4052, trunk/corech=
eck/tests/pth_once.stderr.exp)
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/corecheck/tests/pth_once.stderr.exp 2005-06-29 10:16:14 UTC (re=
v 4052)
+++ trunk/none/tests/pth_once.stderr.exp 2005-06-30 02:15:59 UTC (rev 406=
0)
@@ -0,0 +1,2 @@
+
+
Copied: trunk/none/tests/pth_once.stdout.exp (from rev 4052, trunk/corech=
eck/tests/pth_once.stdout.exp)
Copied: trunk/none/tests/pth_once.vgtest (from rev 4052, trunk/corecheck/=
tests/pth_once.vgtest)
Copied: trunk/none/tests/pth_rwlock.c (from rev 4052, trunk/corecheck/tes=
ts/pth_rwlock.c)
Copied: trunk/none/tests/pth_rwlock.stderr.exp (from rev 4052, trunk/core=
check/tests/pth_rwlock.stderr.exp)
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/corecheck/tests/pth_rwlock.stderr.exp 2005-06-29 10:16:14 UTC (=
rev 4052)
+++ trunk/none/tests/pth_rwlock.stderr.exp 2005-06-30 02:15:59 UTC (rev 4=
060)
@@ -0,0 +1,2 @@
+
+
Copied: trunk/none/tests/pth_rwlock.vgtest (from rev 4052, trunk/corechec=
k/tests/pth_rwlock.vgtest)
|
|
From: Tom H. <th...@cy...> - 2005-06-30 02:05:31
|
Nightly build on gill ( x86_64, Fedora Core 2 ) started at 2005-06-30 03:00:03 BST Checking out vex source tree ... done Building vex ... done Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 158 tests, 11 stderr failures, 2 stdout failures ================= memcheck/tests/brk (stderr) memcheck/tests/sigaltstack (stderr) memcheck/tests/sigprocmask (stderr) memcheck/tests/strchr (stderr) memcheck/tests/toobig-allocs (stderr) memcheck/tests/weirdioctl (stderr) memcheck/tests/xml1 (stderr) massif/tests/toobig-allocs (stderr) none/tests/faultstatus (stderr) none/tests/fdleak_fcntl (stderr) none/tests/selfrun (stdout) none/tests/selfrun (stderr) none/tests/yield (stdout) |
|
From: <sv...@va...> - 2005-06-30 01:54:22
|
Author: njn Date: 2005-06-30 02:54:20 +0100 (Thu, 30 Jun 2005) New Revision: 130 Log: Add missing <p> tags. Modified: trunk/support/contributing.html Modified: trunk/support/contributing.html =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/support/contributing.html 2005-06-30 01:50:45 UTC (rev 129) +++ trunk/support/contributing.html 2005-06-30 01:54:20 UTC (rev 130) @@ -1,14 +1,14 @@ <h1>Contributing to Valgrind</h1> =20 -If you would like to contribute to Valgrind's development, there are a -number of ways you can help. +<p>If you would like to contribute to Valgrind's development, there are = a +number of ways you can help.</p> =20 <h3>Bug Reports</h3> -Bug reports are good. Good bug reports are even better. They should be +<p>Bug reports are good. Good bug reports are even better. They should= be submitted to our Bugzilla site (instructions are=20 <a href=3D"/support/bug_reports.html">here</a>). Please follow the guid= elines about writing good bug reports. Small sample programs that exhibit a bu= g -are particularly helpful. +are particularly helpful.</p> =20 <h3>Testing</h3> <p>If you can regularly test Valgrind on a range of different systems, t= hat @@ -16,9 +16,9 @@ list for more information.</p> =20 <h3>Documentation</h3> -Valgrind's documentation is not always kept up to date. Any documentati= on +</p>Valgrind's documentation is not always kept up to date. Any documen= tation patches that help in this respect are welcome. Please send them to the -<?php echo vglink( 'vgdevel' ); ?> list. +<?php echo vglink( 'vgdevel' ); ?> list.</p> =20 <h3>Code</h3> <p>If you want to contribute new code to Valgrind, you should subscribe = to @@ -69,6 +69,6 @@ transport.</p> =20 <h3>Other</h3> -For any other questions about these matters, please=20 -<a href=3D"/info/contact.html#email">contact us</a>. +<p>For any other questions about these matters, please=20 +<a href=3D"/info/contact.html#email">contact us</a>.</p> =20 |
|
From: <sv...@va...> - 2005-06-30 01:50:47
|
Author: njn
Date: 2005-06-30 02:50:45 +0100 (Thu, 30 Jun 2005)
New Revision: 129
Log:
wibble bloody wibble
Modified:
trunk/php/.htconfx
trunk/support/bug_reports.html
trunk/support/features.html
Modified: trunk/php/.htconfx
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/php/.htconfx 2005-06-30 01:48:39 UTC (rev 128)
+++ trunk/php/.htconfx 2005-06-30 01:50:45 UTC (rev 129)
@@ -45,7 +45,7 @@
'url'=3D>'http://bugs.kde.org/enter_valgrind_bug.cgi' ),
'vgbugsquery' =3D> array(=20
'txt'=3D>'Bugzilla query',
- 'url'=3D>'http://bugs.kde.org/query.cgi?component=3Dvalgrind' ),
+ 'url'=3D>'http://bugs.kde.org/query.cgi' ),
'vgbugsopenlist' =3D> array(=20
'txt'=3D>'Bugzilla all open bugs',
'url'=3D>'http://bugs.kde.org/buglist.cgi?product=3Dvalgrind&bug_stat=
us=3DUNCONFIRMED&bug_status=3DNEW&bug_status=3DASSIGNED&bug_status=3DREOP=
ENED&cmdtype=3Ddoit' ),
Modified: trunk/support/bug_reports.html
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/support/bug_reports.html 2005-06-30 01:48:39 UTC (rev 128)
+++ trunk/support/bug_reports.html 2005-06-30 01:50:45 UTC (rev 129)
@@ -10,7 +10,7 @@
<?php echo vglink( 'vgbugsreport' ); ?> page. You can search for exist=
ing
bugs using the=20
<?php echo vglink( 'vgbugsquery' ); ?> page (make sure you choose Valgri=
nd
-as the "component"), or see all open bug reports at the=20
+as the "product"), or see all open bug reports at the=20
<?php echo vglink( 'vgbugsopenlist' ); ?> page. Anyone can search the
database, but you need to open a Bugzilla account (instructions are on t=
he
page) to report a bug.</p>
Modified: trunk/support/features.html
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/support/features.html 2005-06-30 01:48:39 UTC (rev 128)
+++ trunk/support/features.html 2005-06-30 01:50:45 UTC (rev 129)
@@ -4,7 +4,7 @@
<?php echo vglink( 'vgbugsreport' ); ?> page; make an entry with the
severity <code>wishlist</code>. You can search for existing bugs using =
the
<?php echo vglink( 'vgbugsquery' ); ?> page (make sure you choose Valgri=
nd
-as the "component", and "wishlist" as the severity).</p>
+as the "product", and "wishlist" as the severity).</p>
=20
<p>If you have trouble with Bugzilla, or for some reason you
don't think Bugzilla is appropriate for your request (although it
|
|
From: <sv...@va...> - 2005-06-30 01:48:41
|
Author: njn
Date: 2005-06-30 02:48:39 +0100 (Thu, 30 Jun 2005)
New Revision: 128
Log:
wibble
Modified:
trunk/php/.htconfx
Modified: trunk/php/.htconfx
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/php/.htconfx 2005-06-30 01:46:15 UTC (rev 127)
+++ trunk/php/.htconfx 2005-06-30 01:48:39 UTC (rev 128)
@@ -45,7 +45,7 @@
'url'=3D>'http://bugs.kde.org/enter_valgrind_bug.cgi' ),
'vgbugsquery' =3D> array(=20
'txt'=3D>'Bugzilla query',
- 'url'=3D>'http://bugs.kde.org/query.cgi' ),
+ 'url'=3D>'http://bugs.kde.org/query.cgi?component=3Dvalgrind' ),
'vgbugsopenlist' =3D> array(=20
'txt'=3D>'Bugzilla all open bugs',
'url'=3D>'http://bugs.kde.org/buglist.cgi?product=3Dvalgrind&bug_stat=
us=3DUNCONFIRMED&bug_status=3DNEW&bug_status=3DASSIGNED&bug_status=3DREOP=
ENED&cmdtype=3Ddoit' ),
|
|
From: <sv...@va...> - 2005-06-30 01:46:18
|
Author: njn
Date: 2005-06-30 02:46:15 +0100 (Thu, 30 Jun 2005)
New Revision: 127
Log:
whoops
Modified:
trunk/php/.htconfx
Modified: trunk/php/.htconfx
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/php/.htconfx 2005-06-30 01:43:59 UTC (rev 126)
+++ trunk/php/.htconfx 2005-06-30 01:46:15 UTC (rev 127)
@@ -48,7 +48,7 @@
'url'=3D>'http://bugs.kde.org/query.cgi' ),
'vgbugsopenlist' =3D> array(=20
'txt'=3D>'Bugzilla all open bugs',
- 'url'=3D>'http://bugs.kde.org/buglist.cgi?product=3Dvalgrind&bug_stat=
us=3DUNCONFIRMED&bug_status=3DNEW&bug_status=3DASSIGNED&bug_status=3DREOP=
ENED&cmdtype=3Ddoit ),
+ 'url'=3D>'http://bugs.kde.org/buglist.cgi?product=3Dvalgrind&bug_stat=
us=3DUNCONFIRMED&bug_status=3DNEW&bug_status=3DASSIGNED&bug_status=3DREOP=
ENED&cmdtype=3Ddoit' ),
=20
/* email addresses
The 'fwds' are set on exonetric in /usr/local/etc/postfix/virtual */
|
|
From: <sv...@va...> - 2005-06-30 01:44:04
|
Author: njn
Date: 2005-06-30 02:43:59 +0100 (Thu, 30 Jun 2005)
New Revision: 126
Log:
Give more helpful instructions for using Bugzilla.
Modified:
trunk/info/contact.html
trunk/php/.htconfx
trunk/support/bug_reports.html
trunk/support/features.html
Modified: trunk/info/contact.html
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/info/contact.html 2005-06-30 01:08:06 UTC (rev 125)
+++ trunk/info/contact.html 2005-06-30 01:43:59 UTC (rev 126)
@@ -11,7 +11,7 @@
=20
<dt>Submitting patches:</dt>
<dd>If you'd like to contribute a patch, please use our=20
-<?php echo vglink('vgbugs'); ?> page.</dd>
+<?php echo vglink('vgbugsreport'); ?> page.</dd>
=20
<dt>Bug reports:</dt>
<dd>Please see the=20
Modified: trunk/php/.htconfx
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/php/.htconfx 2005-06-30 01:08:06 UTC (rev 125)
+++ trunk/php/.htconfx 2005-06-30 01:43:59 UTC (rev 126)
@@ -40,9 +40,15 @@
'vgusers' =3D> array(=20
'txt'=3D>'valgrind-users',
'url'=3D>'http://lists.sourceforge.net/lists/listinfo/valgrind-users'=
),
- 'vgbugs' =3D> array(=20
- 'txt'=3D>'bugzilla',
+ 'vgbugsreport' =3D> array(=20
+ 'txt'=3D>'Bugzilla report',
'url'=3D>'http://bugs.kde.org/enter_valgrind_bug.cgi' ),
+ 'vgbugsquery' =3D> array(=20
+ 'txt'=3D>'Bugzilla query',
+ 'url'=3D>'http://bugs.kde.org/query.cgi' ),
+ 'vgbugsopenlist' =3D> array(=20
+ 'txt'=3D>'Bugzilla all open bugs',
+ 'url'=3D>'http://bugs.kde.org/buglist.cgi?product=3Dvalgrind&bug_stat=
us=3DUNCONFIRMED&bug_status=3DNEW&bug_status=3DASSIGNED&bug_status=3DREOP=
ENED&cmdtype=3Ddoit ),
=20
/* email addresses
The 'fwds' are set on exonetric in /usr/local/etc/postfix/virtual */
Modified: trunk/support/bug_reports.html
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/support/bug_reports.html 2005-06-30 01:08:06 UTC (rev 125)
+++ trunk/support/bug_reports.html 2005-06-30 01:43:59 UTC (rev 126)
@@ -7,9 +7,16 @@
the failures people seem to encounter in practice.</p>
=20
<p>If that fails, please file a report using our=20
-<?php echo vglink( 'vgbugs' ); ?> page. For how to report a bug
-effectively, check out these resources:</p>
+<?php echo vglink( 'vgbugsreport' ); ?> page. You can search for exist=
ing
+bugs using the=20
+<?php echo vglink( 'vgbugsquery' ); ?> page (make sure you choose Valgri=
nd
+as the "component"), or see all open bug reports at the=20
+<?php echo vglink( 'vgbugsopenlist' ); ?> page. Anyone can search the
+database, but you need to open a Bugzilla account (instructions are on t=
he
+page) to report a bug.</p>
=20
+</p>To help you write effective bug reports, check out these resources:<=
/p>
+
<ul>
<li> Eric Raymond's and Rick Moen's <a href=3D"http://www.catb.org/~esr=
/faqs/smart-questions.html">How To Ask Questions The Smart Way</a></li>
<li> mozilla.org's <a href=3D"http://www.mozilla.org/quality/bug-writin=
g-guidelines.html">bug writing guidelines</a></li>
Modified: trunk/support/features.html
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/support/features.html 2005-06-30 01:08:06 UTC (rev 125)
+++ trunk/support/features.html 2005-06-30 01:43:59 UTC (rev 126)
@@ -1,8 +1,10 @@
<h1>Feature Requests</h1>
=20
<p>To request a feature, please use our=20
-<?php echo vglink( 'vgbugs' ); ?> page; make an entry with the
-severity <code>wishlist</code>.</p>
+<?php echo vglink( 'vgbugsreport' ); ?> page; make an entry with the
+severity <code>wishlist</code>. You can search for existing bugs using =
the
+<?php echo vglink( 'vgbugsquery' ); ?> page (make sure you choose Valgri=
nd
+as the "component", and "wishlist" as the severity).</p>
=20
<p>If you have trouble with Bugzilla, or for some reason you
don't think Bugzilla is appropriate for your request (although it
|
|
From: Donna R. <do...@te...> - 2005-06-30 01:36:31
|
On Thursday 30 June 2005 02:26, Nicholas Nethercote wrote: > I want to streamline the survey some more > I'm planning to: > - kill questions 1,2,3,8,12,18,21 > - in 22, kill the "public or private", "license"; "num programmers > using valgrind", "development location" and "other comments" fields. - add > a general "any other comments" question. > - add "your country" to the contact details (I'm just curious :) Q1: Agree Q2: Agree Q3: Definitely Agree Q8: Do Not Agree Q12: Definitely Agree Q18: Agree Q21: Definitely Agree Q22: Agree > I figure it would be a good idea to run a second official survey later in > the year, once 3.0 is out and settled. The last one was in December 2003, > so it's been long enough to warrant another one. Agree de -- There is not a shred of evidence to suggest that life should be taken seriously |
|
From: Nicholas N. <nj...@cs...> - 2005-06-30 01:26:22
|
Hi,
I want to streamline the survey some more, to get rid of more
uninteresting questions. The shorter it is, the more likely people will
respond.
I'm planning to:
- kill questions 1,2,3,8,12,18,21
- in 22, kill the "public or private", "license"; "num programmers using
valgrind", "development location" and "other comments" fields.
- add a general "any other comments" question.
- add "your country" to the contact details (I'm just curious :)
If anyone objects to any of these (I doubt it) let me know. Thanks.
I figure it would be a good idea to run a second official survey later in
the year, once 3.0 is out and settled. The last one was in December 2003,
so it's been long enough to warrant another one.
N
|
|
From: <sv...@va...> - 2005-06-30 01:08:07
|
Author: njn
Date: 2005-06-30 02:08:06 +0100 (Thu, 30 Jun 2005)
New Revision: 125
Log:
add a base case
Modified:
trunk/info/contact.html
trunk/support/contributing.html
Modified: trunk/info/contact.html
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/info/contact.html 2005-06-30 01:02:54 UTC (rev 124)
+++ trunk/info/contact.html 2005-06-30 01:08:06 UTC (rev 125)
@@ -29,9 +29,8 @@
=20
<dt>Donations:</dt>
<dd>If you are interested in donating funds or equipment to
-Valgrind, please see our information on=20
-<a href=3D"/support/contributing.html">contributing to
-Valgrind</a>.</dd>
+Valgrind, please send email to <?php echo vgemail('valgrind'); ?>.
+</dd>
=20
<dt>Feedback:</dt>
<dd>If you would like to give us detailed, general feedback,
Modified: trunk/support/contributing.html
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/support/contributing.html 2005-06-30 01:02:54 UTC (rev 124)
+++ trunk/support/contributing.html 2005-06-30 01:08:06 UTC (rev 125)
@@ -12,7 +12,7 @@
=20
<h3>Testing</h3>
<p>If you can regularly test Valgrind on a range of different systems, t=
hat
-can be very helpful. Please contact the <?php echo vglink( 'vgdevel' ); =
?>
+can be very helpful. Please contact the <?php echo vglink( 'vgdevel' ); =
?>=20
list for more information.</p>
=20
<h3>Documentation</h3>
|
|
From: Julian S. <js...@ac...> - 2005-06-30 01:04:01
|
> > Thanks for chasing that. I was going to look at it this morning but I > > guess I don't need to now :-) > > I wasn't even chasing it -- I just stumbled across it while looking at > something else and got lucky :) Darn, man. Just take the credit and run :-) J |
|
From: <sv...@va...> - 2005-06-30 01:02:58
|
Author: njn Date: 2005-06-30 02:02:54 +0100 (Thu, 30 Jun 2005) New Revision: 124 Log: Completely overhaul the contributions page. Modified: trunk/support/contributing.html Modified: trunk/support/contributing.html =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/support/contributing.html 2005-06-30 00:44:02 UTC (rev 123) +++ trunk/support/contributing.html 2005-06-30 01:02:54 UTC (rev 124) @@ -1,96 +1,74 @@ <h1>Contributing to Valgrind</h1> =20 -<ul> - <li><a href=3D"#why">Why should I contribute?</a></li> - <li><a href=3D"#cost">Is there a cost to participate?</a></li> - <li><a href=3D"#fave">Become involved with your favorite tool</a></li> - <li><a href=3D"#where">If I donate financially, where would my donation= s go?</a></li> - <li><a href=3D"#talk">I'd like to talk to someone about supporting Valg= rind</a></li> - <li><a href=3D"#donate">Donations</a></li> -</ul> +If you would like to contribute to Valgrind's development, there are a +number of ways you can help. =20 +<h3>Bug Reports</h3> +Bug reports are good. Good bug reports are even better. They should be +submitted to our Bugzilla site (instructions are=20 +<a href=3D"/support/bug_reports.html">here</a>). Please follow the guid= elines +about writing good bug reports. Small sample programs that exhibit a bu= g +are particularly helpful. =20 -<a name=3D"why"></a> -<h3>Why should I contribute?</h3> +<h3>Testing</h3> +<p>If you can regularly test Valgrind on a range of different systems, t= hat +can be very helpful. Please contact the <?php echo vglink( 'vgdevel' ); = ?> +list for more information.</p> =20 -<p>As a volunteer-based organization, Valgrind stands most in -need of dedicated volunteers who can work on software, -documentation, or administrative issues. While all of the -administrative effort is currently through unpaid volunteers, we -need financial assistance to purchase bandwidth and keep our -servers running.</p> +<h3>Documentation</h3> +Valgrind's documentation is not always kept up to date. Any documentati= on +patches that help in this respect are welcome. Please send them to the +<?php echo vglink( 'vgdevel' ); ?> list. =20 +<h3>Code</h3> +<p>If you want to contribute new code to Valgrind, you should subscribe = to +the <?php echo vglink( 'vgdevel' ); ?> list.</p> =20 -<a name=3D"cost"></a> -<h3>Is there a cost to participate?</h3> +<p>There are various kinds of code you can contribute.</p> +<ul> +<li>Bug fixes are always welcome. Please consult the Bugzilla page for = the + current bug list. Patches should be submitted to the relevant Bugzi= lla + page.</li> =20 -<p>Absolutely not! Valgrind is committed to providing free access -to all interested participants. All of our code is distributed -under the=20 -<a href=3D"http://www.gnu.org/licenses/gpl.html">GNU Public -Licence</a>. The mailing lists are open to the public and -contributors are usually welcomed with open arms.</p> +<li>Ports to new platforms are also welcome. Note that porting is a big + task, and so it is worth asking on the + <?php echo vglink( 'vgdevel' ); ?> list + first if anyone else is working on a port to your chosen platform. + Ports require a very good knowledge of the platform you are porting = to. + Ports to widely used platforms are preferable.</li> =20 -<p>So, there is no cost required to contribute code. However, -there is usually a substantial time committment that is required -in order to contribute. For some, time is cheaper than money. For -others, money is cheaper than time (lucky you). We realize that, -and want to promote contributions from everyone - no matter the -form.</p> +<li>We are very conservative about adding new features. Only features + that are useful to many users, and that do not affect the code base = in + adverse ways are likely to be accepted. If you want to add a featur= e, + it is worth asking on the <?php echo vglink( 'vgdevel' ); ?> list if= it + is likely to be incorporated before starting.</li> +</ul> =20 +<p>Please understand that there is no guarantee that code you write will= be +incorporated into Valgrind. It depends on a number of factors: how well +written it is, how important are the issues it addresses, how does it af= fect +the code base's structure, and so on. Such is the nature of all free +software projects. However, if you consistently submit high quality +patches, you may be granted write access to the repository. This is how +most of the current developers got involved with Valgrind.</p> =20 -<a name=3D"fave"></a> -<h3>Become involved in your favorite tool</h3> +<h3>Money</h3> +<p>Donations are welcome, large or small. They help pay day-to-day +running costs, such as bandwidth, web-hosting, electricity, and hardware +maintenance, as well as helping with larger one-off costs such as +buying new machines.</p> =20 -<p>The first way you can help is to contribute your time to your -favorite tool. There is always a need for participants in each -tool. We also value reporting of problems to our tracking systems -- a valuable contribution.</p> +<p>Individuals and companies can donate funds to support Valgrind by che= que +or money order. Please <a href=3D"/info/contact.html#email">contact us<= /a> +if you wish to donate.</p> =20 +<h3>Equipment</h3> +<p>Equipment donations can be very useful. If you wish to donate some +equipment, please <a href=3D"/info/contact.html#email">contact us</a> to= find +out if the equipment would be useful, and if so, to arrange its +transport.</p> =20 -<a name=3D"where"></a> -<h3>If I donate financially, where would my donations go?</h3> +<h3>Other</h3> +For any other questions about these matters, please=20 +<a href=3D"/info/contact.html#email">contact us</a>. =20 -<p>If you'd like to contribute financially, we would greatly -appreciate it. Currently, the bulk of our financial obligations -are going towards providing our technical infrastructure - the -servers and bandwidth that we require.</p> - -<p>If you have a specific target or tool that you wish to -directly support, please=20 -<a href=3D"/info/contact.html#email">contact us</a> and we will do -our best to satisfy your wishes.</p> - -<p>If you wish to provide equipment for use by the Valgrind -Developers, please <a href=3D"/info/contact.html#email">contact -us</a> before attempting to send it "here" directly -- the nature -of our virtual enterprise is such that the equipment and services -used to support our projects are located all over the world.</p> - - -<a name=3D"talk"></a> -<h3>I'd like to talk to someone about supporting Valgrind</h3> - -<p>If you would like more information about supporting Valgrind, -please <a href=3D"/info/contact.html#email">contact us</a> for more -information. All information will be kept in strictest -confidence.</p> - - - -<a name=3D"donations"></a> -<h3>Donations</h3> - -<p>Individuals and companies can donate funds to support -Valgrind by cheque or money order. Please=20 -<a href=3D"/info/contact.html#email">contact us</a> for our snail -mail address.</p> - -<p>Please include the name under which you wish the donation to -be credited, either your own or the third-party if it is a gift -on behalf of someone else, and an e-mail address to which we can -acknowledge receipt. This information will not be used for any -other purpose. We will send a physical receipt by normal mail for -any donations of #100 or more, provided you include a return -address.</p> - |
|
From: <sv...@va...> - 2005-06-30 00:54:30
|
Author: njn Date: 2005-06-30 01:54:02 +0100 (Thu, 30 Jun 2005) New Revision: 4059 Log: Record important info about Segments and SegInfos. Added: trunk/coregrind/m_aspacemgr/README_SEGMENTS Modified: trunk/coregrind/m_aspacemgr/Makefile.am Modified: trunk/coregrind/m_aspacemgr/Makefile.am =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/coregrind/m_aspacemgr/Makefile.am 2005-06-30 00:22:38 UTC (rev = 4058) +++ trunk/coregrind/m_aspacemgr/Makefile.am 2005-06-30 00:54:02 UTC (rev = 4059) @@ -1,6 +1,8 @@ include $(top_srcdir)/Makefile.all.am include $(top_srcdir)/Makefile.core-AM_CPPFLAGS.am =20 +EXTRA_DIST =3D README_SEGMENTS + noinst_LIBRARIES =3D libaspacemgr.a =20 libaspacemgr_a_SOURCES =3D \ Added: trunk/coregrind/m_aspacemgr/README_SEGMENTS =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/coregrind/m_aspacemgr/README_SEGMENTS 2005-06-30 00:22:38 UTC (= rev 4058) +++ trunk/coregrind/m_aspacemgr/README_SEGMENTS 2005-06-30 00:54:02 UTC (= rev 4059) @@ -0,0 +1,59 @@ + +------------------------------------------------------------------------= ----- +Info about the relationship between Segments and SegInfos +------------------------------------------------------------------------= ----- + +SegInfo is from the very original Valgrind code, and so it predates +Segments. It's poorly named now; its really just a container for all +the object file metadata (symbols, debug info, etc). + +Segments describe memory mapped into the address space, and so any +address-space chaging operation needs to update the Segment structure. +After the process is initalized, this means one of: + + * mmap + * munmap + * mprotect + * brk + * stack growth + +A piece of address space may or may not be mmaped from a file. + +A SegInfo specifically describes memory mmaped from an ELF object file. +Because a single ELF file may be mmaped with multiple Segments, multiple +Segments can point to one Seginfo. A SegInfo can relate to a memory +range which is not yet mmaped. For example, if the process mmaps the +first page of an ELF file (the one containing the header), a SegInfo +will be created for that ELF file's mappings, which will include memory +which will be later mmaped by the client's ELF loader. If a new mmap +appears in the address range of an existing SegInfo, it will have that +SegInfo attached to it, presumably because its part of a .so file. +Similarly, if a Segment gets split (by mprotect, for example), the two +pieces will still be associated with the same SegInfo. For this reason, +the address/length info in a SegInfo is not a duplicate of the Segment +address/length. + +This is complex for several reasons: + + 1. We assume that if a process is mmaping a file which contains an + ELF header, it intends to use it as an ELF object. If a program + which just mmaps ELF files but just uses it as raw data (copy, for + example), we still treat it as a shared-library opening. + 2. Even if it is being loaded as a shared library/other ELF object, + Valgrind doesn't control the mmaps. It just observes the mmaps + being generated by the client and has to cope. One of the reasons + that Valgrind has to make its own mmap of each .so for reading + symtab information is because the client won't necessary mmap the + right pieces, or do so in the wrong order for us. + +SegInfos are reference counted, and freed when no Segments point to them= any +more. + +> Aha. So the range of a SegInfo will always be equal to or greater +> than the range of its parent Segment? Or can you eg. mmap a whole +> file plus some extra pages, and then the SegInfo won't cover the extra +> part of the range? + +That would be unusual, but possible. You could imagine ld generating an +ELF file via a mapping this way (which would probably upset Valgrind no +end). |