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
(8) |
2
(8) |
3
(15) |
4
(14) |
5
(12) |
6
(40) |
7
(9) |
|
8
(5) |
9
(12) |
10
(9) |
11
(13) |
12
(7) |
13
(7) |
14
(19) |
|
15
(18) |
16
(13) |
17
(16) |
18
(8) |
19
(16) |
20
(16) |
21
(12) |
|
22
(21) |
23
(39) |
24
(27) |
25
(33) |
26
(41) |
27
(17) |
28
(15) |
|
From: Nicholas N. <n.n...@gm...> - 2009-02-25 23:26:38
|
On Wed, Feb 25, 2009 at 9:46 PM, chenping19850429 <che...@16...> wrote: > Hi all, > > I want to use Valgrind to debug the program.I wonder whether Valgrind > has the capabability of checkpoint/restart? > > That is to say, > > (1)Valgrind checkpointing the program, saving the state of program, > > (2)When the program crashes, Valgrind can rollback the program to the > checkpoint and restart it? > > Is there any plugin tool or coregrind function can help me to finish my > goal? Not in the normal Valgrind distribution. But this may be of interest: http://article.gmane.org/gmane.comp.debugging.valgrind.devel/5116/match=record+replay Nick |
|
From: <sv...@va...> - 2009-02-25 23:25:09
|
Author: njn Date: 2009-02-25 23:25:02 +0000 (Wed, 25 Feb 2009) New Revision: 9268 Log: Merge r9267 (kill WERROR) from the trunk. Modified: branches/DARWIN/Makefile.flags.am branches/DARWIN/Makefile.tool-tests.am branches/DARWIN/massif/perf/Makefile.am branches/DARWIN/perf/Makefile.am Modified: branches/DARWIN/Makefile.flags.am =================================================================== --- branches/DARWIN/Makefile.flags.am 2009-02-25 23:19:46 UTC (rev 9267) +++ branches/DARWIN/Makefile.flags.am 2009-02-25 23:25:02 UTC (rev 9268) @@ -30,7 +30,7 @@ -DVGA_x86=1 \ -DVGO_linux=1 \ -DVGP_x86_linux=1 -AM_CFLAGS_X86_LINUX = $(WERROR) @FLAG_M32@ @PREFERRED_STACK_BOUNDARY@ \ +AM_CFLAGS_X86_LINUX = @FLAG_M32@ @PREFERRED_STACK_BOUNDARY@ \ $(AM_CFLAGS_BASE) AM_CCASFLAGS_X86_LINUX = @FLAG_M32@ -g @@ -39,7 +39,7 @@ -DVGA_amd64=1 \ -DVGO_linux=1 \ -DVGP_amd64_linux=1 -AM_CFLAGS_AMD64_LINUX = $(WERROR) @FLAG_M64@ -fomit-frame-pointer \ +AM_CFLAGS_AMD64_LINUX = @FLAG_M64@ -fomit-frame-pointer \ @PREFERRED_STACK_BOUNDARY@ $(AM_CFLAGS_BASE) AM_CCASFLAGS_AMD64_LINUX = @FLAG_M64@ -g @@ -48,7 +48,7 @@ -DVGA_ppc32=1 \ -DVGO_linux=1 \ -DVGP_ppc32_linux=1 -AM_CFLAGS_PPC32_LINUX = $(WERROR) @FLAG_M32@ $(AM_CFLAGS_BASE) +AM_CFLAGS_PPC32_LINUX = @FLAG_M32@ $(AM_CFLAGS_BASE) AM_CCASFLAGS_PPC32_LINUX = @FLAG_M32@ -g AM_FLAG_M3264_PPC64_LINUX = @FLAG_M64@ @@ -56,7 +56,7 @@ -DVGA_ppc64=1 \ -DVGO_linux=1 \ -DVGP_ppc64_linux=1 -AM_CFLAGS_PPC64_LINUX = $(WERROR) @FLAG_M64@ $(AM_CFLAGS_BASE) +AM_CFLAGS_PPC64_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE) AM_CCASFLAGS_PPC64_LINUX = @FLAG_M64@ -g AM_FLAG_M3264_PPC32_AIX5 = @FLAG_MAIX32@ @@ -64,7 +64,7 @@ -DVGA_ppc32=1 \ -DVGO_aix5=1 \ -DVGP_ppc32_aix5=1 -AM_CFLAGS_PPC32_AIX5 = $(WERROR) @FLAG_MAIX32@ -mcpu=powerpc $(AM_CFLAGS_BASE) +AM_CFLAGS_PPC32_AIX5 = @FLAG_MAIX32@ -mcpu=powerpc $(AM_CFLAGS_BASE) AM_CCASFLAGS_PPC32_AIX5 = @FLAG_MAIX32@ -mcpu=powerpc -g AM_FLAG_M3264_PPC64_AIX5 = @FLAG_MAIX64@ @@ -72,7 +72,7 @@ -DVGA_ppc64=1 \ -DVGO_aix5=1 \ -DVGP_ppc64_aix5=1 -AM_CFLAGS_PPC64_AIX5 = $(WERROR) @FLAG_MAIX64@ -mcpu=powerpc64 $(AM_CFLAGS_BASE) +AM_CFLAGS_PPC64_AIX5 = @FLAG_MAIX64@ -mcpu=powerpc64 $(AM_CFLAGS_BASE) AM_CCASFLAGS_PPC64_AIX5 = @FLAG_MAIX64@ -mcpu=powerpc64 -g AM_FLAG_M3264_X86_DARWIN = -arch i386 Modified: branches/DARWIN/Makefile.tool-tests.am =================================================================== --- branches/DARWIN/Makefile.tool-tests.am 2009-02-25 23:19:46 UTC (rev 9267) +++ branches/DARWIN/Makefile.tool-tests.am 2009-02-25 23:25:02 UTC (rev 9268) @@ -9,8 +9,8 @@ -DVGP_$(VGCONF_ARCH_PRI)_$(VGCONF_OS)=1 # Nb: Tools need to augment these flags with an arch-selection option, such # as $(AM_FLAG_M3264_PRI). -AM_CFLAGS = $(WERROR) -Winline -Wall -Wshadow -g -AM_CXXFLAGS = $(WERROR) -Winline -Wall -Wshadow -g +AM_CFLAGS = -Winline -Wall -Wshadow -g +AM_CXXFLAGS = -Winline -Wall -Wshadow -g # On Darwin, for a program 'p', the DWARF debug info is stored in the Modified: branches/DARWIN/massif/perf/Makefile.am =================================================================== --- branches/DARWIN/massif/perf/Makefile.am 2009-02-25 23:19:46 UTC (rev 9267) +++ branches/DARWIN/massif/perf/Makefile.am 2009-02-25 23:25:02 UTC (rev 9268) @@ -8,6 +8,6 @@ check_PROGRAMS = \ many-xpts -AM_CFLAGS = $(WERROR) -Winline -Wall -Wshadow -g -O $(AM_FLAG_M3264_PRI) +AM_CFLAGS = -Winline -Wall -Wshadow -g -O $(AM_FLAG_M3264_PRI) AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include -I$(top_builddir)/include AM_CXXFLAGS = $(AM_CFLAGS) Modified: branches/DARWIN/perf/Makefile.am =================================================================== --- branches/DARWIN/perf/Makefile.am 2009-02-25 23:19:46 UTC (rev 9267) +++ branches/DARWIN/perf/Makefile.am 2009-02-25 23:25:02 UTC (rev 9268) @@ -19,7 +19,7 @@ bigcode bz2 fbench ffbench heap sarp tinycc AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include -I$(top_builddir)/include -AM_CFLAGS = $(WERROR) -Winline -Wall -Wshadow -g -O $(AM_FLAG_M3264_PRI) +AM_CFLAGS = -Winline -Wall -Wshadow -g -O $(AM_FLAG_M3264_PRI) AM_CXXFLAGS = $(AM_CFLAGS) # Extra stuff |
|
From: <sv...@va...> - 2009-02-25 23:24:49
|
Author: sewardj
Date: 2009-02-25 23:15:17 +0000 (Wed, 25 Feb 2009)
New Revision: 9266
Log:
merge r9265:
Generalise a couple of Qt4 suppressions (David Faure).
Modified:
branches/VALGRIND_3_4_BRANCH/glibc-2.34567-NPTL-helgrind.supp
Modified: branches/VALGRIND_3_4_BRANCH/glibc-2.34567-NPTL-helgrind.supp
===================================================================
--- branches/VALGRIND_3_4_BRANCH/glibc-2.34567-NPTL-helgrind.supp 2009-02-25 21:28:38 UTC (rev 9265)
+++ branches/VALGRIND_3_4_BRANCH/glibc-2.34567-NPTL-helgrind.supp 2009-02-25 23:15:17 UTC (rev 9266)
@@ -152,6 +152,7 @@
{
helgrind-qt4---QMutex::lock()-QMutex::lock()
Helgrind:Race
+ ...
fun:_ZN6QMutex4lockEv
fun:_ZN6QMutex4lockEv
}
@@ -159,6 +160,7 @@
{
helgrind-qt4---QMutex::unlock()-QMutex::unlock()
Helgrind:Race
+ ...
fun:_ZN6QMutex6unlockEv
fun:_ZN6QMutex6unlockEv
}
|
|
From: <sv...@va...> - 2009-02-25 23:19:52
|
Author: njn Date: 2009-02-25 23:19:46 +0000 (Wed, 25 Feb 2009) New Revision: 9267 Log: Remove WERROR. It's not much use because getting Valgrind to build without errors on all platforms is very difficult. Modified: trunk/Makefile.flags.am trunk/Makefile.tool-tests.am trunk/massif/perf/Makefile.am trunk/perf/Makefile.am Modified: trunk/Makefile.flags.am =================================================================== --- trunk/Makefile.flags.am 2009-02-25 23:15:17 UTC (rev 9266) +++ trunk/Makefile.flags.am 2009-02-25 23:19:46 UTC (rev 9267) @@ -24,7 +24,7 @@ -DVGA_x86=1 \ -DVGO_linux=1 \ -DVGP_x86_linux=1 -AM_CFLAGS_X86_LINUX = $(WERROR) @FLAG_M32@ @PREFERRED_STACK_BOUNDARY@ \ +AM_CFLAGS_X86_LINUX = @FLAG_M32@ @PREFERRED_STACK_BOUNDARY@ \ $(AM_CFLAGS_BASE) AM_CCASFLAGS_X86_LINUX = @FLAG_M32@ -g @@ -33,7 +33,7 @@ -DVGA_amd64=1 \ -DVGO_linux=1 \ -DVGP_amd64_linux=1 -AM_CFLAGS_AMD64_LINUX = $(WERROR) @FLAG_M64@ -fomit-frame-pointer \ +AM_CFLAGS_AMD64_LINUX = @FLAG_M64@ -fomit-frame-pointer \ @PREFERRED_STACK_BOUNDARY@ $(AM_CFLAGS_BASE) AM_CCASFLAGS_AMD64_LINUX = @FLAG_M64@ -g @@ -42,7 +42,7 @@ -DVGA_ppc32=1 \ -DVGO_linux=1 \ -DVGP_ppc32_linux=1 -AM_CFLAGS_PPC32_LINUX = $(WERROR) @FLAG_M32@ $(AM_CFLAGS_BASE) +AM_CFLAGS_PPC32_LINUX = @FLAG_M32@ $(AM_CFLAGS_BASE) AM_CCASFLAGS_PPC32_LINUX = @FLAG_M32@ -g AM_FLAG_M3264_PPC64_LINUX = @FLAG_M64@ @@ -50,7 +50,7 @@ -DVGA_ppc64=1 \ -DVGO_linux=1 \ -DVGP_ppc64_linux=1 -AM_CFLAGS_PPC64_LINUX = $(WERROR) @FLAG_M64@ $(AM_CFLAGS_BASE) +AM_CFLAGS_PPC64_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE) AM_CCASFLAGS_PPC64_LINUX = @FLAG_M64@ -g AM_FLAG_M3264_PPC32_AIX5 = @FLAG_MAIX32@ @@ -58,7 +58,7 @@ -DVGA_ppc32=1 \ -DVGO_aix5=1 \ -DVGP_ppc32_aix5=1 -AM_CFLAGS_PPC32_AIX5 = $(WERROR) @FLAG_MAIX32@ -mcpu=powerpc $(AM_CFLAGS_BASE) +AM_CFLAGS_PPC32_AIX5 = @FLAG_MAIX32@ -mcpu=powerpc $(AM_CFLAGS_BASE) AM_CCASFLAGS_PPC32_AIX5 = @FLAG_MAIX32@ -mcpu=powerpc -g AM_FLAG_M3264_PPC64_AIX5 = @FLAG_MAIX64@ @@ -66,7 +66,7 @@ -DVGA_ppc64=1 \ -DVGO_aix5=1 \ -DVGP_ppc64_aix5=1 -AM_CFLAGS_PPC64_AIX5 = $(WERROR) @FLAG_MAIX64@ -mcpu=powerpc64 $(AM_CFLAGS_BASE) +AM_CFLAGS_PPC64_AIX5 = @FLAG_MAIX64@ -mcpu=powerpc64 $(AM_CFLAGS_BASE) AM_CCASFLAGS_PPC64_AIX5 = @FLAG_MAIX64@ -mcpu=powerpc64 -g # Flags for the primary target. These must be used to build the Modified: trunk/Makefile.tool-tests.am =================================================================== --- trunk/Makefile.tool-tests.am 2009-02-25 23:15:17 UTC (rev 9266) +++ trunk/Makefile.tool-tests.am 2009-02-25 23:19:46 UTC (rev 9267) @@ -8,6 +8,6 @@ -DVGP_$(VGCONF_ARCH_PRI)_$(VGCONF_OS)=1 # Nb: Tools need to augment these flags with an arch-selection option, such # as $(AM_FLAG_M3264_PRI). -AM_CFLAGS = $(WERROR) -Winline -Wall -Wshadow -g -AM_CXXFLAGS = $(WERROR) -Winline -Wall -Wshadow -g +AM_CFLAGS = -Winline -Wall -Wshadow -g +AM_CXXFLAGS = -Winline -Wall -Wshadow -g Modified: trunk/massif/perf/Makefile.am =================================================================== --- trunk/massif/perf/Makefile.am 2009-02-25 23:15:17 UTC (rev 9266) +++ trunk/massif/perf/Makefile.am 2009-02-25 23:19:46 UTC (rev 9267) @@ -8,6 +8,6 @@ check_PROGRAMS = \ many-xpts -AM_CFLAGS = $(WERROR) -Winline -Wall -Wshadow -g -O $(AM_FLAG_M3264_PRI) +AM_CFLAGS = -Winline -Wall -Wshadow -g -O $(AM_FLAG_M3264_PRI) AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include -I$(top_builddir)/include AM_CXXFLAGS = $(AM_CFLAGS) Modified: trunk/perf/Makefile.am =================================================================== --- trunk/perf/Makefile.am 2009-02-25 23:15:17 UTC (rev 9266) +++ trunk/perf/Makefile.am 2009-02-25 23:19:46 UTC (rev 9267) @@ -19,7 +19,7 @@ bigcode bz2 fbench ffbench heap sarp tinycc AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include -I$(top_builddir)/include -AM_CFLAGS = $(WERROR) -Winline -Wall -Wshadow -g -O $(AM_FLAG_M3264_PRI) +AM_CFLAGS = -Winline -Wall -Wshadow -g -O $(AM_FLAG_M3264_PRI) AM_CXXFLAGS = $(AM_CFLAGS) # Extra stuff |
|
From: <sv...@va...> - 2009-02-25 21:28:49
|
Author: sewardj
Date: 2009-02-25 21:28:38 +0000 (Wed, 25 Feb 2009)
New Revision: 9265
Log:
Generalise a couple of Qt4 suppressions (David Faure).
Modified:
trunk/glibc-2.34567-NPTL-helgrind.supp
Modified: trunk/glibc-2.34567-NPTL-helgrind.supp
===================================================================
--- trunk/glibc-2.34567-NPTL-helgrind.supp 2009-02-25 04:59:50 UTC (rev 9264)
+++ trunk/glibc-2.34567-NPTL-helgrind.supp 2009-02-25 21:28:38 UTC (rev 9265)
@@ -152,6 +152,7 @@
{
helgrind-qt4---QMutex::lock()-QMutex::lock()
Helgrind:Race
+ ...
fun:_ZN6QMutex4lockEv
fun:_ZN6QMutex4lockEv
}
@@ -159,6 +160,7 @@
{
helgrind-qt4---QMutex::unlock()-QMutex::unlock()
Helgrind:Race
+ ...
fun:_ZN6QMutex6unlockEv
fun:_ZN6QMutex6unlockEv
}
|
|
From: Bart V. A. <bar...@gm...> - 2009-02-25 18:24:29
|
On Wed, Feb 25, 2009 at 7:01 PM, Konstantin Serebryany <kon...@gm...> wrote: > On Wed, Feb 25, 2009 at 8:21 PM, Bart Van Assche > <bar...@gm...> wrote: >> On Tue, Feb 24, 2009 at 8:23 PM, Stefan Kost <en...@ho...> wrote: >>> but then you can anyway do >>> make CFLAGS=-Werror >>> :) >> >> What will the above command to with the CFLAGS variable that has >> already been defined in each Makefile ? > > make CFLAGS+=-Werror > > note "+=" I have tried the above command, but it had the same effect as make CFLAGS=-Werror -- the CFLAGS defined in the Makefile were discarded. Bart. |
|
From: Konstantin S. <kon...@gm...> - 2009-02-25 18:01:21
|
On Wed, Feb 25, 2009 at 8:21 PM, Bart Van Assche <bar...@gm...> wrote: > On Tue, Feb 24, 2009 at 8:23 PM, Stefan Kost <en...@ho...> wrote: >> but then you can anyway do >> make CFLAGS=-Werror >> :) > > What will the above command to with the CFLAGS variable that has > already been defined in each Makefile ? make CFLAGS+=-Werror note "+=" > > $ grep '^CFLAGS =' Makefile > CFLAGS = -Wno-long-long -Wno-pointer-sign > -Wdeclaration-after-statement -fno-stack-protector > > Bart. > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA > -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise > -Strategies to boost innovation and cut costs with open source participation > -Receive a $600 discount off the registration fee with the source code: SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > Valgrind-developers mailing list > Val...@li... > https://lists.sourceforge.net/lists/listinfo/valgrind-developers > |
|
From: Bart V. A. <bar...@gm...> - 2009-02-25 17:29:45
|
On Wed, Feb 25, 2009 at 10:50 AM, Johan Björk <jb...@gm...> wrote: > I agree that multiple .exp files is pain. One thing I've been hitting > is that the filters now process so much of the .exp files, that it's > hard to know what is actually expected, and what variations are "ok". > (Ie, filter_error_summary in DRD, it only keeps the summary line) Regarding the DRD regression tests: there are indeed some tests where only the summary line is kept. The reason is because for those tests the order in which the output appears can vary between each run. Filtering only the summary line is much more convenient than having multiple output files. And no variations are allowed for these tests. Summary filtering is only a problem IMHO if it is applied to most or all to all tests of a tool. This is not the case for DRD however: summary filtering is only applied to 10 out of 75 tests. Bart. |
|
From: Bart V. A. <bar...@gm...> - 2009-02-25 17:21:28
|
On Tue, Feb 24, 2009 at 8:23 PM, Stefan Kost <en...@ho...> wrote: > but then you can anyway do > make CFLAGS=-Werror > :) What will the above command to with the CFLAGS variable that has already been defined in each Makefile ? $ grep '^CFLAGS =' Makefile CFLAGS = -Wno-long-long -Wno-pointer-sign -Wdeclaration-after-statement -fno-stack-protector Bart. |
|
From: chenping19850429 <che...@16...> - 2009-02-25 10:46:34
|
Hi all,
I want to use Valgrind to debug the program.I wonder whether Valgrind has the capabability of checkpoint/restart?
That is to say,
(1)Valgrind checkpointing the program, saving the state of program,
(2)When the program crashes, Valgrind can rollback the program to the checkpoint and restart it?
Is there any plugin tool or coregrind function can help me to finish my goal?
Can anybody help me ?
Thanks!
|
|
From: Tom H. <to...@co...> - 2009-02-25 10:25:01
|
Johan Björk wrote: > Either way, I am actually seeing legitimate errors in VEX (albeit on > arm) that only shows up in the last digit, so please leave it as is. It looks like that test depends on the implementation of the math functions in the C library, so maybe it isn't that surprising that you get slightly different results on different platforms? Tom -- Tom Hughes (to...@co...) http://www.compton.nu/ |
|
From: Johan B. <jb...@gm...> - 2009-02-25 09:51:04
|
I agree that multiple .exp files is pain. One thing I've been hitting is that the filters now process so much of the .exp files, that it's hard to know what is actually expected, and what variations are "ok". (Ie, filter_error_summary in DRD, it only keeps the summary line) I was thinking a little bit about including a unfiltered .exp file, and then run the filters on both the .out and .exp, and compare that result. This would also solve the issue where the .exp files gets out of date (See most of the -x86 testfiles in helgrind/tests, the thread number is not filtered) Either way, I am actually seeing legitimate errors in VEX (albeit on arm) that only shows up in the last digit, so please leave it as is. /Johan On Tue, Feb 24, 2009 at 9:04 PM, Nicholas Nethercote <n.n...@gm...> wrote: > On Wed, Feb 25, 2009 at 3:23 PM, Johan Björk <jb...@gm...> wrote: >> I assume this test reports the same errors when running it outside of >> valgrind on darwin? >> I still haven't managed to get the code generation in valgrind/ARM >> good enough to pass this testcase (I think I'm failing like 4 of the >> double-tests now), but I used to see errors that would cause an >> invalid 13th digit. > > The difference between native and Valgrind execution of that test on > my Mac is this: > > --- native 2009-02-25 16:01:45.000000000 +1100 > +++ vg 2009-02-25 16:01:51.000000000 +1100 > @@ -536,7 +536,7 @@ > logD(+9.9999999900000e-02) = -2.3025850939940e+00 > logD(+1.9999999980000e-01) = -1.6094379134341e+00 > logD(+2.9999999970000e-01) = -1.2039728053259e+00 > - logD(+3.9999999960000e-01) = -9.1629073287415e-01 > + logD(+3.9999999960000e-01) = -9.1629073287416e-01 > logD(+4.9999999950000e-01) = -6.9314718155995e-01 > logD(+5.9999999940000e-01) = -5.1082562476599e-01 > logD(+6.9999999930000e-01) = -3.5667494493873e-01 > > On AMD64/Linux the results are identical. > >> I would prefer if you just added a different .exp file for darwin, if >> it reports the same errors when running it outside of VG. > > I've recently been doing my best to eliminate multiple .exp files > wherever possible because they are a maintenance headache. > > Nick > |
|
From: Bart V. A. <bar...@gm...> - 2009-02-25 08:39:41
|
Nightly build on georgia-tech-cellbuzz-native ( cellbuzz, ppc64, Fedora 7, native ) started at 2009-02-25 02:00:01 EST Results differ from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... done Regression test results follow == 406 tests, 39 stderr failures, 9 stdout failures, 0 post failures == exp-ptrcheck/tests/bad_percentify (stderr) exp-ptrcheck/tests/base (stderr) exp-ptrcheck/tests/ccc (stderr) exp-ptrcheck/tests/fp (stderr) exp-ptrcheck/tests/globalerr (stderr) exp-ptrcheck/tests/hackedbz2 (stderr) exp-ptrcheck/tests/hp_bounds (stderr) exp-ptrcheck/tests/hp_dangle (stderr) exp-ptrcheck/tests/justify (stderr) exp-ptrcheck/tests/partial_bad (stderr) exp-ptrcheck/tests/partial_good (stderr) exp-ptrcheck/tests/preen_invars (stderr) exp-ptrcheck/tests/pth_create (stderr) exp-ptrcheck/tests/pth_specific (stderr) exp-ptrcheck/tests/realloc (stderr) exp-ptrcheck/tests/stackerr (stderr) exp-ptrcheck/tests/strcpy (stderr) exp-ptrcheck/tests/supp (stderr) exp-ptrcheck/tests/tricky (stderr) exp-ptrcheck/tests/unaligned (stderr) exp-ptrcheck/tests/zero (stderr) helgrind/tests/hg05_race2 (stderr) helgrind/tests/tc18_semabuse (stderr) helgrind/tests/tc20_verifywrap (stderr) memcheck/tests/deep_templates (stdout) memcheck/tests/leak-cycle (stderr) memcheck/tests/leak-tree (stderr) memcheck/tests/origin5-bz2 (stderr) memcheck/tests/pointer-trace (stderr) memcheck/tests/varinfo1 (stderr) memcheck/tests/varinfo2 (stderr) memcheck/tests/varinfo3 (stderr) memcheck/tests/varinfo4 (stderr) memcheck/tests/varinfo5 (stderr) memcheck/tests/varinfo6 (stderr) memcheck/tests/wrap8 (stderr) none/tests/faultstatus (stderr) none/tests/linux/mremap (stderr) none/tests/linux/mremap2 (stdout) none/tests/ppc32/jm-fp (stdout) none/tests/ppc32/jm-vmx (stdout) none/tests/ppc32/round (stdout) none/tests/ppc32/test_gx (stdout) none/tests/ppc64/jm-fp (stdout) none/tests/ppc64/jm-vmx (stdout) none/tests/ppc64/round (stdout) none/tests/shell_valid2 (stderr) none/tests/shell_valid3 (stderr) ================================================= == Results from 24 hours ago == ================================================= Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... done Regression test results follow == 409 tests, 39 stderr failures, 10 stdout failures, 0 post failures == exp-ptrcheck/tests/bad_percentify (stderr) exp-ptrcheck/tests/base (stderr) exp-ptrcheck/tests/ccc (stderr) exp-ptrcheck/tests/fp (stderr) exp-ptrcheck/tests/globalerr (stderr) exp-ptrcheck/tests/hackedbz2 (stderr) exp-ptrcheck/tests/hp_bounds (stderr) exp-ptrcheck/tests/hp_dangle (stderr) exp-ptrcheck/tests/justify (stderr) exp-ptrcheck/tests/partial_bad (stderr) exp-ptrcheck/tests/partial_good (stderr) exp-ptrcheck/tests/preen_invars (stderr) exp-ptrcheck/tests/pth_create (stderr) exp-ptrcheck/tests/pth_specific (stderr) exp-ptrcheck/tests/realloc (stderr) exp-ptrcheck/tests/stackerr (stderr) exp-ptrcheck/tests/strcpy (stderr) exp-ptrcheck/tests/supp (stderr) exp-ptrcheck/tests/tricky (stderr) exp-ptrcheck/tests/unaligned (stderr) exp-ptrcheck/tests/zero (stderr) helgrind/tests/hg05_race2 (stderr) helgrind/tests/tc18_semabuse (stderr) helgrind/tests/tc20_verifywrap (stderr) memcheck/tests/deep_templates (stdout) memcheck/tests/leak-cycle (stderr) memcheck/tests/leak-tree (stderr) memcheck/tests/origin5-bz2 (stderr) memcheck/tests/pointer-trace (stderr) memcheck/tests/varinfo1 (stderr) memcheck/tests/varinfo2 (stderr) memcheck/tests/varinfo3 (stderr) memcheck/tests/varinfo4 (stderr) memcheck/tests/varinfo5 (stderr) memcheck/tests/varinfo6 (stderr) memcheck/tests/wrap8 (stderr) memcheck/tests/zeropage (stdout) none/tests/faultstatus (stderr) none/tests/linux/mremap (stderr) none/tests/linux/mremap2 (stdout) none/tests/ppc32/jm-fp (stdout) none/tests/ppc32/jm-vmx (stdout) none/tests/ppc32/round (stdout) none/tests/ppc32/test_gx (stdout) none/tests/ppc64/jm-fp (stdout) none/tests/ppc64/jm-vmx (stdout) none/tests/ppc64/round (stdout) none/tests/shell_valid2 (stderr) none/tests/shell_valid3 (stderr) ================================================= == Difference between 24 hours ago and now == ================================================= *** old.short Wed Feb 25 02:47:25 2009 --- new.short Wed Feb 25 03:39:36 2009 *************** *** 8,10 **** ! == 409 tests, 39 stderr failures, 10 stdout failures, 0 post failures == exp-ptrcheck/tests/bad_percentify (stderr) --- 8,10 ---- ! == 406 tests, 39 stderr failures, 9 stdout failures, 0 post failures == exp-ptrcheck/tests/bad_percentify (stderr) *************** *** 45,47 **** memcheck/tests/wrap8 (stderr) - memcheck/tests/zeropage (stdout) none/tests/faultstatus (stderr) --- 45,46 ---- |
|
From: Bart V. A. <bar...@gm...> - 2009-02-25 06:57:03
|
On Wed, Feb 25, 2009 at 3:50 AM, Nicholas Nethercote <n.n...@gm...> wrote: > x86/Linux assembly code and x86/Darwin assembly code appear to be > different dialects. Some of the tests in none/tests/x86/ and > memcheck/tests/x86/ compile on x86/Darwin, eg. > memcheck/tests/bug152022. But some don't, eg. pushfpopf, because > x86/Darwin assembler doesn't accept the .type and .size options. > > The easiest thing to do is move the ones that don't compile on Darwin > into an x86-linux/ directory. Anyone have any strong opinons about > this, or other insights? Which standards apply to x86 assembler syntax ? Bart. |
|
From: Nicholas N. <n.n...@gm...> - 2009-02-25 06:40:57
|
On Tue, Feb 10, 2009 at 12:51 AM, Konstantin Serebryany <kon...@gm...> wrote: > > First: I've hit a performance issue in VG_(maybe_record_error). > I was running a test that uses openssl library. > This library has a hand-written assembly file which is not friendly to > valgrind (valgrind produces broken stack traces, see the recent > discussion at http://sourceforge.net/mailarchive/forum.php?thread_name=59e975c10902052331r2bf43900qec86f336cba6e531%40mail.gmail.com&forum_name=valgrind-developers). > This assembly file results in memcheck warnings, like this: > ==27019== Use of uninitialised value of size 8 > ==27019== at 0xBD3214F: bn_mul_mont > ==27019== by 0x7A2C730C750BD1E8: ??? > ==27019== by 0xD075D9E9E5D0101: ??? > ==27019== by 0x4EAF8BD8815341D7: ??? > Since the stack traces are broken, each warning found by memcheck is distinct. > Memcheck boils out after 1000-th report. > > So, I needed to suppress these reports. > { > fun:bn_mul_mont > Memcheck:Value8 > fun:bn_mul_mont > } > > As the result, memcheck is slowed down by >100x (from 1 minute to few hours). > Since all the errors found by memcheck are different, > VG_(maybe_record_error) tries to add each of them to the list > static Error* errors = NULL; > Since all these errors are suppressed, memcheck does not boil out > after 1000-th and goes quadratic. > > The simple fix which seems to work for me is to check > is_suppressible_error before checking the 'errors' list. > > *** 556,561 **** > --- 556,569 ---- > em_errlist_searches++; > p = errors; > p_prev = NULL; > + > + Supp *supp = is_suppressible_error(&err); > + if (supp) { > + n_errs_suppressed++; > + supp->count++; > + return ERROR_IS_SUPPRESSED; > + } > + > while (p != NULL) { > em_errlist_cmps++; > if (eq_Error(exe_res, p, &err)) { > > Is there any hidden reason not to do that? This means that is_suppressible_error occurs before the tool has had a chance to update the 'extra' field. In some cases Memcheck uses the 'extra' field to decide whether an error matches a suppression. With this change the 'extra' field won't have been initialised, which I think may cause crashes or similar behaviour. Also, for those suppressions that don't cause a crash, no record will be made of the suppression, so the list of suppression records printed at the end with -v will be incomplete. I can't see a good way to preserve existing behaviour while also fixing your problem. I wonder if including suppressed errors in the don't-report-errors-after-too-many-have-been-found count is the best approach. Nick |
|
From: Nicholas N. <n.n...@gm...> - 2009-02-25 05:04:46
|
On Wed, Feb 25, 2009 at 3:23 PM, Johan Björk <jb...@gm...> wrote: > I assume this test reports the same errors when running it outside of > valgrind on darwin? > I still haven't managed to get the code generation in valgrind/ARM > good enough to pass this testcase (I think I'm failing like 4 of the > double-tests now), but I used to see errors that would cause an > invalid 13th digit. The difference between native and Valgrind execution of that test on my Mac is this: --- native 2009-02-25 16:01:45.000000000 +1100 +++ vg 2009-02-25 16:01:51.000000000 +1100 @@ -536,7 +536,7 @@ logD(+9.9999999900000e-02) = -2.3025850939940e+00 logD(+1.9999999980000e-01) = -1.6094379134341e+00 logD(+2.9999999970000e-01) = -1.2039728053259e+00 - logD(+3.9999999960000e-01) = -9.1629073287415e-01 + logD(+3.9999999960000e-01) = -9.1629073287416e-01 logD(+4.9999999950000e-01) = -6.9314718155995e-01 logD(+5.9999999940000e-01) = -5.1082562476599e-01 logD(+6.9999999930000e-01) = -3.5667494493873e-01 On AMD64/Linux the results are identical. > I would prefer if you just added a different .exp file for darwin, if > it reports the same errors when running it outside of VG. I've recently been doing my best to eliminate multiple .exp files wherever possible because they are a maintenance headache. Nick |
|
From: <sv...@va...> - 2009-02-25 04:59:56
|
Author: njn
Date: 2009-02-25 04:59:50 +0000 (Wed, 25 Feb 2009)
New Revision: 9264
Log:
Merge r9263 (use 'diff -u' if supported) from the trunk.
Modified:
branches/DARWIN/configure.in
branches/DARWIN/tests/vg_regtest.in
Modified: branches/DARWIN/configure.in
===================================================================
--- branches/DARWIN/configure.in 2009-02-25 04:57:56 UTC (rev 9263)
+++ branches/DARWIN/configure.in 2009-02-25 04:59:50 UTC (rev 9264)
@@ -115,6 +115,23 @@
#esac
+# Check if 'diff' supports -u (universal diffs) and use it if possible.
+
+AC_MSG_CHECKING([for diff -u])
+AC_SUBST(DIFF)
+
+# Comparing two identical files results in 0, unless -u isn't supported (as
+# it's not on AIX).
+touch tmp-xxx;
+if diff -u tmp-xxx tmp-xxx ; then
+ AC_MSG_RESULT([yes])
+ DIFF="diff -u"
+else
+ AC_MSG_RESULT([no])
+ DIFF="diff"
+fi
+
+
# We don't want gcc < 3.0
AC_MSG_CHECKING([for a supported version of gcc])
Modified: branches/DARWIN/tests/vg_regtest.in
===================================================================
--- branches/DARWIN/tests/vg_regtest.in 2009-02-25 04:57:56 UTC (rev 9263)
+++ branches/DARWIN/tests/vg_regtest.in 2009-02-25 04:59:50 UTC (rev 9264)
@@ -278,7 +278,7 @@
($f_exp eq "/dev/null") or die "Unexpected .exp file: $f_exp\n";
}
- mysystem("diff $f_exp $name.$mid.out > $name.$mid.diff$n");
+ mysystem("@DIFF@ $f_exp $name.$mid.out > $name.$mid.diff$n");
if (not -s "$name.$mid.diff$n") {
# A match; remove .out and any previously created .diff files.
|
|
From: <sv...@va...> - 2009-02-25 04:58:01
|
Author: njn
Date: 2009-02-25 04:57:56 +0000 (Wed, 25 Feb 2009)
New Revision: 9263
Log:
Use 'diff -u' for regtests if it's supported, its output it much easier to
read than plain 'diff'.
Modified:
trunk/configure.in
trunk/tests/vg_regtest.in
Modified: trunk/configure.in
===================================================================
--- trunk/configure.in 2009-02-25 04:44:45 UTC (rev 9262)
+++ trunk/configure.in 2009-02-25 04:57:56 UTC (rev 9263)
@@ -114,6 +114,23 @@
esac
+# Check if 'diff' supports -u (universal diffs) and use it if possible.
+
+AC_MSG_CHECKING([for diff -u])
+AC_SUBST(DIFF)
+
+# Comparing two identical files results in 0, unless -u isn't supported (as
+# it's not on AIX).
+touch tmp-xxx;
+if diff -u tmp-xxx tmp-xxx ; then
+ AC_MSG_RESULT([yes])
+ DIFF="diff -u"
+else
+ AC_MSG_RESULT([no])
+ DIFF="diff"
+fi
+
+
# We don't want gcc < 3.0
AC_MSG_CHECKING([for a supported version of gcc])
Modified: trunk/tests/vg_regtest.in
===================================================================
--- trunk/tests/vg_regtest.in 2009-02-25 04:44:45 UTC (rev 9262)
+++ trunk/tests/vg_regtest.in 2009-02-25 04:57:56 UTC (rev 9263)
@@ -277,7 +277,7 @@
($f_exp eq "/dev/null") or die "Unexpected .exp file: $f_exp\n";
}
- mysystem("diff $f_exp $name.$mid.out > $name.$mid.diff$n");
+ mysystem("@DIFF@ $f_exp $name.$mid.out > $name.$mid.diff$n");
if (not -s "$name.$mid.diff$n") {
# A match; remove .out and any previously created .diff files.
|
|
From: Johan B. <jb...@gm...> - 2009-02-25 04:47:19
|
This one is actually failing on ARM, due to 64bit intermediate loads
or something like that.
Anyway, guess not it's a big deal, I'll fix the issue before merging
this from trunk
/Johan
On Tue, Feb 24, 2009 at 8:34 PM, <sv...@va...> wrote:
> Author: njn
> Date: 2009-02-25 04:34:44 +0000 (Wed, 25 Feb 2009)
> New Revision: 9261
>
> Log:
> Remove toobig-allocs.c -- it was unreliable and didn't test any
> functionality of note.
>
>
>
> Removed:
> trunk/massif/tests/toobig-allocs.stderr.exp
> trunk/massif/tests/toobig-allocs.vgtest
> trunk/memcheck/tests/toobig-allocs.stderr.exp
> trunk/memcheck/tests/toobig-allocs.vgtest
> trunk/tests/toobig-allocs.c
> Modified:
> trunk/massif/tests/Makefile.am
> trunk/memcheck/tests/Makefile.am
> trunk/tests/Makefile.am
>
>
> Modified: trunk/massif/tests/Makefile.am
> ===================================================================
> --- trunk/massif/tests/Makefile.am 2009-02-25 04:27:25 UTC (rev 9260)
> +++ trunk/massif/tests/Makefile.am 2009-02-25 04:34:44 UTC (rev 9261)
> @@ -36,7 +36,6 @@
> thresholds_5_0.post.exp thresholds_5_0.stderr.exp thresholds_5_0.vgtest \
> thresholds_5_10.post.exp thresholds_5_10.stderr.exp thresholds_5_10.vgtest \
> thresholds_10_10.post.exp thresholds_10_10.stderr.exp thresholds_10_10.vgtest \
> - toobig-allocs.stderr.exp toobig-allocs.vgtest \
> zero1.post.exp zero1.stderr.exp zero1.vgtest \
> zero2.post.exp zero2.stderr.exp zero2.vgtest
>
>
> Deleted: trunk/massif/tests/toobig-allocs.stderr.exp
> ===================================================================
> --- trunk/massif/tests/toobig-allocs.stderr.exp 2009-02-25 04:27:25 UTC (rev 9260)
> +++ trunk/massif/tests/toobig-allocs.stderr.exp 2009-02-25 04:34:44 UTC (rev 9261)
> @@ -1,4 +0,0 @@
> -
> -Attempting too-big malloc()...
> -Attempting too-big mmap()...
> -
>
> Deleted: trunk/massif/tests/toobig-allocs.vgtest
> ===================================================================
> --- trunk/massif/tests/toobig-allocs.vgtest 2009-02-25 04:27:25 UTC (rev 9260)
> +++ trunk/massif/tests/toobig-allocs.vgtest 2009-02-25 04:34:44 UTC (rev 9261)
> @@ -1,3 +0,0 @@
> -prog: ../../tests/toobig-allocs
> -vgopts: --massif-out-file=massif.out
> -cleanup: rm massif.out
>
> Modified: trunk/memcheck/tests/Makefile.am
> ===================================================================
> --- trunk/memcheck/tests/Makefile.am 2009-02-25 04:27:25 UTC (rev 9260)
> +++ trunk/memcheck/tests/Makefile.am 2009-02-25 04:34:44 UTC (rev 9261)
> @@ -149,7 +149,6 @@
> supp2.stderr.exp supp2.vgtest \
> supp.supp \
> suppfree.stderr.exp suppfree.vgtest \
> - toobig-allocs.stderr.exp toobig-allocs.vgtest \
> trivialleak.stderr.exp trivialleak.vgtest \
> unit_libcbase.stderr.exp unit_libcbase.stdout.exp unit_libcbase.vgtest \
> unit_oset.stderr.exp unit_oset.stdout.exp unit_oset.vgtest \
>
> Deleted: trunk/memcheck/tests/toobig-allocs.stderr.exp
> ===================================================================
> --- trunk/memcheck/tests/toobig-allocs.stderr.exp 2009-02-25 04:27:25 UTC (rev 9260)
> +++ trunk/memcheck/tests/toobig-allocs.stderr.exp 2009-02-25 04:34:44 UTC (rev 9261)
> @@ -1,2 +0,0 @@
> -Attempting too-big malloc()...
> -Attempting too-big mmap()...
>
> Deleted: trunk/memcheck/tests/toobig-allocs.vgtest
> ===================================================================
> --- trunk/memcheck/tests/toobig-allocs.vgtest 2009-02-25 04:27:25 UTC (rev 9260)
> +++ trunk/memcheck/tests/toobig-allocs.vgtest 2009-02-25 04:34:44 UTC (rev 9261)
> @@ -1,2 +0,0 @@
> -prog: ../../tests/toobig-allocs
> -vgopts: -q
>
> Modified: trunk/tests/Makefile.am
> ===================================================================
> --- trunk/tests/Makefile.am 2009-02-25 04:27:25 UTC (rev 9260)
> +++ trunk/tests/Makefile.am 2009-02-25 04:34:44 UTC (rev 9261)
> @@ -16,7 +16,6 @@
>
> check_PROGRAMS = \
> arch_test \
> - toobig-allocs \
> true
>
> AM_CFLAGS += $(AM_FLAG_M3264_PRI)
>
> Deleted: trunk/tests/toobig-allocs.c
> ===================================================================
> --- trunk/tests/toobig-allocs.c 2009-02-25 04:27:25 UTC (rev 9260)
> +++ trunk/tests/toobig-allocs.c 2009-02-25 04:34:44 UTC (rev 9261)
> @@ -1,27 +0,0 @@
> -#include <stdlib.h>
> -#include <sys/mman.h>
> -#include <stdio.h>
> -
> -int main(void)
> -{
> - void *p;
> -
> - // This is the biggest word-sized signed number. We use a signed number,
> - // even though malloc takes an unsigned SizeT, because the "silly malloc
> - // 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 = (~(0UL)) >> 1;
> -
> - fprintf(stderr, "Attempting too-big malloc()...\n");
> - p = malloc(size); // way too big!
> - if (p)
> - fprintf(stderr, "huge malloc() succeeded??\n");
> -
> - fprintf(stderr, "Attempting too-big mmap()...\n");
> - p = mmap( 0, size, PROT_READ|PROT_WRITE|PROT_EXEC,
> - MAP_PRIVATE|MAP_ANON, -1, 0 );
> - if (-1 != (long)p)
> - fprintf(stderr, "huge mmap() succeeded??\n");
> -
> - return 0;
> -}
>
>
> ------------------------------------------------------------------------------
> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
> -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
> -Strategies to boost innovation and cut costs with open source participation
> -Receive a $600 discount off the registration fee with the source code: SFAD
> http://p.sf.net/sfu/XcvMzF8H
> _______________________________________________
> Valgrind-developers mailing list
> Val...@li...
> https://lists.sourceforge.net/lists/listinfo/valgrind-developers
>
|
|
From: <sv...@va...> - 2009-02-25 04:44:52
|
Author: njn
Date: 2009-02-25 04:44:45 +0000 (Wed, 25 Feb 2009)
New Revision: 9262
Log:
Merged r9261 (kill toobig-allocs) from the trunk.
Removed:
branches/DARWIN/massif/tests/toobig-allocs.stderr.exp
branches/DARWIN/massif/tests/toobig-allocs.vgtest
branches/DARWIN/memcheck/tests/toobig-allocs.stderr.exp
branches/DARWIN/memcheck/tests/toobig-allocs.vgtest
branches/DARWIN/tests/toobig-allocs.c
Modified:
branches/DARWIN/massif/tests/Makefile.am
branches/DARWIN/memcheck/tests/Makefile.am
branches/DARWIN/tests/Makefile.am
Modified: branches/DARWIN/massif/tests/Makefile.am
===================================================================
--- branches/DARWIN/massif/tests/Makefile.am 2009-02-25 04:34:44 UTC (rev 9261)
+++ branches/DARWIN/massif/tests/Makefile.am 2009-02-25 04:44:45 UTC (rev 9262)
@@ -37,7 +37,6 @@
thresholds_5_0.post.exp thresholds_5_0.stderr.exp thresholds_5_0.vgtest \
thresholds_5_10.post.exp thresholds_5_10.stderr.exp thresholds_5_10.vgtest \
thresholds_10_10.post.exp thresholds_10_10.stderr.exp thresholds_10_10.vgtest \
- toobig-allocs.stderr.exp toobig-allocs.vgtest \
zero1.post.exp zero1.stderr.exp zero1.vgtest \
zero2.post.exp zero2.stderr.exp zero2.vgtest
Deleted: branches/DARWIN/massif/tests/toobig-allocs.stderr.exp
===================================================================
--- branches/DARWIN/massif/tests/toobig-allocs.stderr.exp 2009-02-25 04:34:44 UTC (rev 9261)
+++ branches/DARWIN/massif/tests/toobig-allocs.stderr.exp 2009-02-25 04:44:45 UTC (rev 9262)
@@ -1,4 +0,0 @@
-
-Attempting too-big malloc()...
-Attempting too-big mmap()...
-
Deleted: branches/DARWIN/massif/tests/toobig-allocs.vgtest
===================================================================
--- branches/DARWIN/massif/tests/toobig-allocs.vgtest 2009-02-25 04:34:44 UTC (rev 9261)
+++ branches/DARWIN/massif/tests/toobig-allocs.vgtest 2009-02-25 04:44:45 UTC (rev 9262)
@@ -1,3 +0,0 @@
-prog: ../../tests/toobig-allocs
-vgopts: --massif-out-file=massif.out
-cleanup: rm massif.out
Modified: branches/DARWIN/memcheck/tests/Makefile.am
===================================================================
--- branches/DARWIN/memcheck/tests/Makefile.am 2009-02-25 04:34:44 UTC (rev 9261)
+++ branches/DARWIN/memcheck/tests/Makefile.am 2009-02-25 04:44:45 UTC (rev 9262)
@@ -149,7 +149,6 @@
supp2.stderr.exp supp2.vgtest \
supp.supp \
suppfree.stderr.exp suppfree.vgtest \
- toobig-allocs.stderr.exp toobig-allocs.vgtest \
trivialleak.stderr.exp trivialleak.vgtest \
unit_libcbase.stderr.exp unit_libcbase.stdout.exp unit_libcbase.vgtest \
unit_oset.stderr.exp unit_oset.stdout.exp unit_oset.vgtest \
Deleted: branches/DARWIN/memcheck/tests/toobig-allocs.stderr.exp
===================================================================
--- branches/DARWIN/memcheck/tests/toobig-allocs.stderr.exp 2009-02-25 04:34:44 UTC (rev 9261)
+++ branches/DARWIN/memcheck/tests/toobig-allocs.stderr.exp 2009-02-25 04:44:45 UTC (rev 9262)
@@ -1,2 +0,0 @@
-Attempting too-big malloc()...
-Attempting too-big mmap()...
Deleted: branches/DARWIN/memcheck/tests/toobig-allocs.vgtest
===================================================================
--- branches/DARWIN/memcheck/tests/toobig-allocs.vgtest 2009-02-25 04:34:44 UTC (rev 9261)
+++ branches/DARWIN/memcheck/tests/toobig-allocs.vgtest 2009-02-25 04:44:45 UTC (rev 9262)
@@ -1,2 +0,0 @@
-prog: ../../tests/toobig-allocs
-vgopts: -q
Modified: branches/DARWIN/tests/Makefile.am
===================================================================
--- branches/DARWIN/tests/Makefile.am 2009-02-25 04:34:44 UTC (rev 9261)
+++ branches/DARWIN/tests/Makefile.am 2009-02-25 04:44:45 UTC (rev 9262)
@@ -16,7 +16,6 @@
check_PROGRAMS = \
arch_test \
- toobig-allocs \
true
AM_CFLAGS += $(AM_FLAG_M3264_PRI)
Deleted: branches/DARWIN/tests/toobig-allocs.c
===================================================================
--- branches/DARWIN/tests/toobig-allocs.c 2009-02-25 04:34:44 UTC (rev 9261)
+++ branches/DARWIN/tests/toobig-allocs.c 2009-02-25 04:44:45 UTC (rev 9262)
@@ -1,27 +0,0 @@
-#include <stdlib.h>
-#include <sys/mman.h>
-#include <stdio.h>
-
-int main(void)
-{
- void *p;
-
- // This is the biggest word-sized signed number. We use a signed number,
- // even though malloc takes an unsigned SizeT, because the "silly malloc
- // 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 = (~(0UL)) >> 1;
-
- fprintf(stderr, "Attempting too-big malloc()...\n");
- p = malloc(size); // way too big!
- if (p)
- fprintf(stderr, "huge malloc() succeeded??\n");
-
- fprintf(stderr, "Attempting too-big mmap()...\n");
- p = mmap( 0, size, PROT_READ|PROT_WRITE|PROT_EXEC,
- MAP_PRIVATE|MAP_ANON, -1, 0 );
- if (-1 != (long)p)
- fprintf(stderr, "huge mmap() succeeded??\n");
-
- return 0;
-}
|
|
From: <sv...@va...> - 2009-02-25 04:34:57
|
Author: njn
Date: 2009-02-25 04:34:44 +0000 (Wed, 25 Feb 2009)
New Revision: 9261
Log:
Remove toobig-allocs.c -- it was unreliable and didn't test any
functionality of note.
Removed:
trunk/massif/tests/toobig-allocs.stderr.exp
trunk/massif/tests/toobig-allocs.vgtest
trunk/memcheck/tests/toobig-allocs.stderr.exp
trunk/memcheck/tests/toobig-allocs.vgtest
trunk/tests/toobig-allocs.c
Modified:
trunk/massif/tests/Makefile.am
trunk/memcheck/tests/Makefile.am
trunk/tests/Makefile.am
Modified: trunk/massif/tests/Makefile.am
===================================================================
--- trunk/massif/tests/Makefile.am 2009-02-25 04:27:25 UTC (rev 9260)
+++ trunk/massif/tests/Makefile.am 2009-02-25 04:34:44 UTC (rev 9261)
@@ -36,7 +36,6 @@
thresholds_5_0.post.exp thresholds_5_0.stderr.exp thresholds_5_0.vgtest \
thresholds_5_10.post.exp thresholds_5_10.stderr.exp thresholds_5_10.vgtest \
thresholds_10_10.post.exp thresholds_10_10.stderr.exp thresholds_10_10.vgtest \
- toobig-allocs.stderr.exp toobig-allocs.vgtest \
zero1.post.exp zero1.stderr.exp zero1.vgtest \
zero2.post.exp zero2.stderr.exp zero2.vgtest
Deleted: trunk/massif/tests/toobig-allocs.stderr.exp
===================================================================
--- trunk/massif/tests/toobig-allocs.stderr.exp 2009-02-25 04:27:25 UTC (rev 9260)
+++ trunk/massif/tests/toobig-allocs.stderr.exp 2009-02-25 04:34:44 UTC (rev 9261)
@@ -1,4 +0,0 @@
-
-Attempting too-big malloc()...
-Attempting too-big mmap()...
-
Deleted: trunk/massif/tests/toobig-allocs.vgtest
===================================================================
--- trunk/massif/tests/toobig-allocs.vgtest 2009-02-25 04:27:25 UTC (rev 9260)
+++ trunk/massif/tests/toobig-allocs.vgtest 2009-02-25 04:34:44 UTC (rev 9261)
@@ -1,3 +0,0 @@
-prog: ../../tests/toobig-allocs
-vgopts: --massif-out-file=massif.out
-cleanup: rm massif.out
Modified: trunk/memcheck/tests/Makefile.am
===================================================================
--- trunk/memcheck/tests/Makefile.am 2009-02-25 04:27:25 UTC (rev 9260)
+++ trunk/memcheck/tests/Makefile.am 2009-02-25 04:34:44 UTC (rev 9261)
@@ -149,7 +149,6 @@
supp2.stderr.exp supp2.vgtest \
supp.supp \
suppfree.stderr.exp suppfree.vgtest \
- toobig-allocs.stderr.exp toobig-allocs.vgtest \
trivialleak.stderr.exp trivialleak.vgtest \
unit_libcbase.stderr.exp unit_libcbase.stdout.exp unit_libcbase.vgtest \
unit_oset.stderr.exp unit_oset.stdout.exp unit_oset.vgtest \
Deleted: trunk/memcheck/tests/toobig-allocs.stderr.exp
===================================================================
--- trunk/memcheck/tests/toobig-allocs.stderr.exp 2009-02-25 04:27:25 UTC (rev 9260)
+++ trunk/memcheck/tests/toobig-allocs.stderr.exp 2009-02-25 04:34:44 UTC (rev 9261)
@@ -1,2 +0,0 @@
-Attempting too-big malloc()...
-Attempting too-big mmap()...
Deleted: trunk/memcheck/tests/toobig-allocs.vgtest
===================================================================
--- trunk/memcheck/tests/toobig-allocs.vgtest 2009-02-25 04:27:25 UTC (rev 9260)
+++ trunk/memcheck/tests/toobig-allocs.vgtest 2009-02-25 04:34:44 UTC (rev 9261)
@@ -1,2 +0,0 @@
-prog: ../../tests/toobig-allocs
-vgopts: -q
Modified: trunk/tests/Makefile.am
===================================================================
--- trunk/tests/Makefile.am 2009-02-25 04:27:25 UTC (rev 9260)
+++ trunk/tests/Makefile.am 2009-02-25 04:34:44 UTC (rev 9261)
@@ -16,7 +16,6 @@
check_PROGRAMS = \
arch_test \
- toobig-allocs \
true
AM_CFLAGS += $(AM_FLAG_M3264_PRI)
Deleted: trunk/tests/toobig-allocs.c
===================================================================
--- trunk/tests/toobig-allocs.c 2009-02-25 04:27:25 UTC (rev 9260)
+++ trunk/tests/toobig-allocs.c 2009-02-25 04:34:44 UTC (rev 9261)
@@ -1,27 +0,0 @@
-#include <stdlib.h>
-#include <sys/mman.h>
-#include <stdio.h>
-
-int main(void)
-{
- void *p;
-
- // This is the biggest word-sized signed number. We use a signed number,
- // even though malloc takes an unsigned SizeT, because the "silly malloc
- // 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 = (~(0UL)) >> 1;
-
- fprintf(stderr, "Attempting too-big malloc()...\n");
- p = malloc(size); // way too big!
- if (p)
- fprintf(stderr, "huge malloc() succeeded??\n");
-
- fprintf(stderr, "Attempting too-big mmap()...\n");
- p = mmap( 0, size, PROT_READ|PROT_WRITE|PROT_EXEC,
- MAP_PRIVATE|MAP_ANON, -1, 0 );
- if (-1 != (long)p)
- fprintf(stderr, "huge mmap() succeeded??\n");
-
- return 0;
-}
|
|
From: <sv...@va...> - 2009-02-25 04:27:31
|
Author: njn
Date: 2009-02-25 04:27:25 +0000 (Wed, 25 Feb 2009)
New Revision: 9260
Log:
Merge r9259 (move bug133594) from the trunk.
Added:
branches/DARWIN/memcheck/tests/x86-linux/bug133694.c
branches/DARWIN/memcheck/tests/x86-linux/bug133694.stderr.exp
branches/DARWIN/memcheck/tests/x86-linux/bug133694.stdout.exp
branches/DARWIN/memcheck/tests/x86-linux/bug133694.vgtest
Removed:
branches/DARWIN/memcheck/tests/x86/bug133694.c
branches/DARWIN/memcheck/tests/x86/bug133694.stderr.exp
branches/DARWIN/memcheck/tests/x86/bug133694.stdout.exp
branches/DARWIN/memcheck/tests/x86/bug133694.vgtest
Modified:
branches/DARWIN/memcheck/tests/x86-linux/Makefile.am
branches/DARWIN/memcheck/tests/x86/Makefile.am
Modified: branches/DARWIN/memcheck/tests/x86/Makefile.am
===================================================================
--- branches/DARWIN/memcheck/tests/x86/Makefile.am 2009-02-25 04:20:54 UTC (rev 9259)
+++ branches/DARWIN/memcheck/tests/x86/Makefile.am 2009-02-25 04:27:25 UTC (rev 9260)
@@ -6,7 +6,6 @@
INSN_TESTS = insn_basic insn_fpu insn_cmov insn_mmx insn_mmxext insn_sse insn_sse2
EXTRA_DIST = $(noinst_SCRIPTS) \
- bug133694.vgtest bug133694.stderr.exp bug133694.stdout.exp \
bug152022.vgtest bug152022.stderr.exp bug152022.stdout.exp \
espindola2.vgtest espindola2.stderr.exp \
fpeflags.stderr.exp fpeflags.vgtest \
@@ -27,7 +26,6 @@
xor-undef-x86.vgtest
check_PROGRAMS = \
- bug133694 \
bug152022 \
espindola2 \
fpeflags \
Deleted: branches/DARWIN/memcheck/tests/x86/bug133694.c
===================================================================
--- branches/DARWIN/memcheck/tests/x86/bug133694.c 2009-02-25 04:20:54 UTC (rev 9259)
+++ branches/DARWIN/memcheck/tests/x86/bug133694.c 2009-02-25 04:27:25 UTC (rev 9260)
@@ -1,39 +0,0 @@
-#include <stdio.h>
-#include <stdlib.h>
-#include <sys/mman.h>
-
-#if defined(__APPLE__)
-# define MAP_ANONYMOUS MAP_ANON
-#endif
-
-int main(int argc, char **argv)
-{
- void *a1;
-
- if ((a1 = mmap((void *)0x200000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0)) == MAP_FAILED)
- {
- perror("mmap1");
- exit(1);
- }
-
- if (munmap(a1, 4096) < 0)
- {
- perror("munmap1");
- exit(1);
- }
-
- if (mmap((void *)0x100000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) == MAP_FAILED)
- {
- perror("mmap2");
- exit(1);
- }
-
- if (mmap((void *)0x100000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) == MAP_FAILED)
- {
- perror("mmap2");
- exit(1);
- }
-
- printf("success\n");
- exit(0);
-}
Deleted: branches/DARWIN/memcheck/tests/x86/bug133694.stderr.exp
===================================================================
Deleted: branches/DARWIN/memcheck/tests/x86/bug133694.stdout.exp
===================================================================
--- branches/DARWIN/memcheck/tests/x86/bug133694.stdout.exp 2009-02-25 04:20:54 UTC (rev 9259)
+++ branches/DARWIN/memcheck/tests/x86/bug133694.stdout.exp 2009-02-25 04:27:25 UTC (rev 9260)
@@ -1 +0,0 @@
-success
Deleted: branches/DARWIN/memcheck/tests/x86/bug133694.vgtest
===================================================================
--- branches/DARWIN/memcheck/tests/x86/bug133694.vgtest 2009-02-25 04:20:54 UTC (rev 9259)
+++ branches/DARWIN/memcheck/tests/x86/bug133694.vgtest 2009-02-25 04:27:25 UTC (rev 9260)
@@ -1,2 +0,0 @@
-prog: bug133694
-vgopts: -q
Modified: branches/DARWIN/memcheck/tests/x86-linux/Makefile.am
===================================================================
--- branches/DARWIN/memcheck/tests/x86-linux/Makefile.am 2009-02-25 04:20:54 UTC (rev 9259)
+++ branches/DARWIN/memcheck/tests/x86-linux/Makefile.am 2009-02-25 04:27:25 UTC (rev 9260)
@@ -6,6 +6,7 @@
noinst_HEADERS = scalar.h
EXTRA_DIST = $(noinst_SCRIPTS) \
+ bug133694.vgtest bug133694.stderr.exp bug133694.stdout.exp \
scalar.stderr.exp scalar.vgtest \
scalar_fork.stderr.exp scalar_fork.vgtest \
scalar_exit_group.stderr.exp \
@@ -15,6 +16,7 @@
scalar_vfork.stderr.exp scalar_vfork.vgtest
check_PROGRAMS = \
+ bug133694 \
scalar scalar_exit_group scalar_fork scalar_supp scalar_vfork
Copied: branches/DARWIN/memcheck/tests/x86-linux/bug133694.c (from rev 9259, trunk/memcheck/tests/x86-linux/bug133694.c)
===================================================================
--- branches/DARWIN/memcheck/tests/x86-linux/bug133694.c (rev 0)
+++ branches/DARWIN/memcheck/tests/x86-linux/bug133694.c 2009-02-25 04:27:25 UTC (rev 9260)
@@ -0,0 +1,35 @@
+#include <stdio.h>
+#include <stdlib.h>
+#include <sys/mman.h>
+
+int main(int argc, char **argv)
+{
+ void *a1;
+
+ if ((a1 = mmap((void *)0x200000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0)) == MAP_FAILED)
+ {
+ perror("mmap1");
+ exit(1);
+ }
+
+ if (munmap(a1, 4096) < 0)
+ {
+ perror("munmap1");
+ exit(1);
+ }
+
+ if (mmap((void *)0x100000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) == MAP_FAILED)
+ {
+ perror("mmap2");
+ exit(1);
+ }
+
+ if (mmap((void *)0x100000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) == MAP_FAILED)
+ {
+ perror("mmap2");
+ exit(1);
+ }
+
+ printf("success\n");
+ exit(0);
+}
Copied: branches/DARWIN/memcheck/tests/x86-linux/bug133694.stderr.exp (from rev 9259, trunk/memcheck/tests/x86-linux/bug133694.stderr.exp)
===================================================================
Copied: branches/DARWIN/memcheck/tests/x86-linux/bug133694.stdout.exp (from rev 9259, trunk/memcheck/tests/x86-linux/bug133694.stdout.exp)
===================================================================
--- branches/DARWIN/memcheck/tests/x86-linux/bug133694.stdout.exp (rev 0)
+++ branches/DARWIN/memcheck/tests/x86-linux/bug133694.stdout.exp 2009-02-25 04:27:25 UTC (rev 9260)
@@ -0,0 +1 @@
+success
Copied: branches/DARWIN/memcheck/tests/x86-linux/bug133694.vgtest (from rev 9259, trunk/memcheck/tests/x86-linux/bug133694.vgtest)
===================================================================
--- branches/DARWIN/memcheck/tests/x86-linux/bug133694.vgtest (rev 0)
+++ branches/DARWIN/memcheck/tests/x86-linux/bug133694.vgtest 2009-02-25 04:27:25 UTC (rev 9260)
@@ -0,0 +1,2 @@
+prog: bug133694
+vgopts: -q
|
|
From: Johan B. <jb...@gm...> - 2009-02-25 04:23:36
|
I assume this test reports the same errors when running it outside of valgrind on darwin? I still haven't managed to get the code generation in valgrind/ARM good enough to pass this testcase (I think I'm failing like 4 of the double-tests now), but I used to see errors that would cause an invalid 13th digit. I would prefer if you just added a different .exp file for darwin, if it reports the same errors when running it outside of VG. /Johan On Tue, Feb 24, 2009 at 5:14 PM, Nicholas Nethercote <n.n...@gm...> wrote: > Hi, > > On my Mac, memcheck/tests/vcpu_fnfns fails due to some tiny FP > differences (see below). > I propose changing the test to omit the +/- at the start of the > answers (to remove +0 and -0 differences), to print 12 decimal places > rather than 13 (to remove the difference in the 13th decimal place), > and possibly to filter the sign of the exponent if its zero (to remove > the difference between 1.0000e-00 and 1.0000e+00). > > Does this sound reasonable? > > Nick > > > 94,103c94,103 > < ceilD(-9.0000000110000e-01) = -0.0000000000000e+00 > < ceilD(-8.0000000120000e-01) = -0.0000000000000e+00 > < ceilD(-7.0000000130000e-01) = -0.0000000000000e+00 > < ceilD(-6.0000000140000e-01) = -0.0000000000000e+00 > < ceilD(-5.0000000150000e-01) = -0.0000000000000e+00 > < ceilD(-4.0000000160000e-01) = -0.0000000000000e+00 > < ceilD(-3.0000000170000e-01) = -0.0000000000000e+00 > < ceilD(-2.0000000180000e-01) = -0.0000000000000e+00 > < ceilD(-1.0000000190000e-01) = -0.0000000000000e+00 > < ceilD(-1.9999992495467e-09) = -0.0000000000000e+00 > --- >> ceilD(-9.0000000110000e-01) = +0.0000000000000e+00 >> ceilD(-8.0000000120000e-01) = +0.0000000000000e+00 >> ceilD(-7.0000000130000e-01) = +0.0000000000000e+00 >> ceilD(-6.0000000140000e-01) = +0.0000000000000e+00 >> ceilD(-5.0000000150000e-01) = +0.0000000000000e+00 >> ceilD(-4.0000000160000e-01) = +0.0000000000000e+00 >> ceilD(-3.0000000170000e-01) = +0.0000000000000e+00 >> ceilD(-2.0000000180000e-01) = +0.0000000000000e+00 >> ceilD(-1.0000000190000e-01) = +0.0000000000000e+00 >> ceilD(-1.9999992495467e-09) = +0.0000000000000e+00 > 135,144c135,144 > < ceilF( -9.0110e-01) = -0.0000e+00 > < ceilF( -8.0120e-01) = -0.0000e+00 > < ceilF( -7.0130e-01) = -0.0000e+00 > < ceilF( -6.0140e-01) = -0.0000e+00 > < ceilF( -5.0150e-01) = -0.0000e+00 > < ceilF( -4.0160e-01) = -0.0000e+00 > < ceilF( -3.0170e-01) = -0.0000e+00 > < ceilF( -2.0180e-01) = -0.0000e+00 > < ceilF( -1.0190e-01) = -0.0000e+00 > < ceilF( -1.9999e-03) = -0.0000e+00 > --- >> ceilF( -9.0110e-01) = +0.0000e+00 >> ceilF( -8.0120e-01) = +0.0000e+00 >> ceilF( -7.0130e-01) = +0.0000e+00 >> ceilF( -6.0140e-01) = +0.0000e+00 >> ceilF( -5.0150e-01) = +0.0000e+00 >> ceilF( -4.0160e-01) = +0.0000e+00 >> ceilF( -3.0170e-01) = +0.0000e+00 >> ceilF( -2.0180e-01) = +0.0000e+00 >> ceilF( -1.0190e-01) = +0.0000e+00 >> ceilF( -1.9999e-03) = +0.0000e+00 > 308c308 > < cosF( -1.9999e-03) = +1.0000e-00 > --- >> cosF( -1.9999e-03) = +1.0000e+00 > 539c539 > < logD(+3.9999999960000e-01) = -9.1629073287415e-01 > --- >> logD(+3.9999999960000e-01) = -9.1629073287416e-01 > 620c620 > < asinD(-9.0000000010000e-01) = -1.1197695152281e+00 > --- >> asinD(-9.0000000010000e-01) = -1.1197695152280e+00 > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA > -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise > -Strategies to boost innovation and cut costs with open source participation > -Receive a $600 discount off the registration fee with the source code: SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > Valgrind-developers mailing list > Val...@li... > https://lists.sourceforge.net/lists/listinfo/valgrind-developers > |
|
From: <sv...@va...> - 2009-02-25 04:21:01
|
Author: njn
Date: 2009-02-25 04:20:54 +0000 (Wed, 25 Feb 2009)
New Revision: 9259
Log:
Move memcheck/tests/x86/bug133694 into memcheck/tests/x86-linux -- it uses
MAP_FIXED and so is highly unportable, and doesn't work on x86/Darwin.
Added:
trunk/memcheck/tests/x86-linux/bug133694.c
trunk/memcheck/tests/x86-linux/bug133694.stderr.exp
trunk/memcheck/tests/x86-linux/bug133694.stdout.exp
trunk/memcheck/tests/x86-linux/bug133694.vgtest
Removed:
trunk/memcheck/tests/x86/bug133694.c
trunk/memcheck/tests/x86/bug133694.stderr.exp
trunk/memcheck/tests/x86/bug133694.stdout.exp
trunk/memcheck/tests/x86/bug133694.vgtest
Modified:
trunk/memcheck/tests/x86-linux/Makefile.am
trunk/memcheck/tests/x86/Makefile.am
Modified: trunk/memcheck/tests/x86/Makefile.am
===================================================================
--- trunk/memcheck/tests/x86/Makefile.am 2009-02-25 04:07:56 UTC (rev 9258)
+++ trunk/memcheck/tests/x86/Makefile.am 2009-02-25 04:20:54 UTC (rev 9259)
@@ -6,7 +6,6 @@
INSN_TESTS = insn_basic insn_fpu insn_cmov insn_mmx insn_mmxext insn_sse insn_sse2
EXTRA_DIST = $(noinst_SCRIPTS) \
- bug133694.vgtest bug133694.stderr.exp bug133694.stdout.exp \
bug152022.vgtest bug152022.stderr.exp bug152022.stdout.exp \
espindola2.vgtest espindola2.stderr.exp \
fpeflags.stderr.exp fpeflags.vgtest \
@@ -27,7 +26,6 @@
xor-undef-x86.vgtest
check_PROGRAMS = \
- bug133694 \
bug152022 \
espindola2 \
fxsave \
Deleted: trunk/memcheck/tests/x86/bug133694.c
===================================================================
--- trunk/memcheck/tests/x86/bug133694.c 2009-02-25 04:07:56 UTC (rev 9258)
+++ trunk/memcheck/tests/x86/bug133694.c 2009-02-25 04:20:54 UTC (rev 9259)
@@ -1,35 +0,0 @@
-#include <stdio.h>
-#include <stdlib.h>
-#include <sys/mman.h>
-
-int main(int argc, char **argv)
-{
- void *a1;
-
- if ((a1 = mmap((void *)0x200000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0)) == MAP_FAILED)
- {
- perror("mmap1");
- exit(1);
- }
-
- if (munmap(a1, 4096) < 0)
- {
- perror("munmap1");
- exit(1);
- }
-
- if (mmap((void *)0x100000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) == MAP_FAILED)
- {
- perror("mmap2");
- exit(1);
- }
-
- if (mmap((void *)0x100000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) == MAP_FAILED)
- {
- perror("mmap2");
- exit(1);
- }
-
- printf("success\n");
- exit(0);
-}
Deleted: trunk/memcheck/tests/x86/bug133694.stderr.exp
===================================================================
Deleted: trunk/memcheck/tests/x86/bug133694.stdout.exp
===================================================================
--- trunk/memcheck/tests/x86/bug133694.stdout.exp 2009-02-25 04:07:56 UTC (rev 9258)
+++ trunk/memcheck/tests/x86/bug133694.stdout.exp 2009-02-25 04:20:54 UTC (rev 9259)
@@ -1 +0,0 @@
-success
Deleted: trunk/memcheck/tests/x86/bug133694.vgtest
===================================================================
--- trunk/memcheck/tests/x86/bug133694.vgtest 2009-02-25 04:07:56 UTC (rev 9258)
+++ trunk/memcheck/tests/x86/bug133694.vgtest 2009-02-25 04:20:54 UTC (rev 9259)
@@ -1,2 +0,0 @@
-prog: bug133694
-vgopts: -q
Modified: trunk/memcheck/tests/x86-linux/Makefile.am
===================================================================
--- trunk/memcheck/tests/x86-linux/Makefile.am 2009-02-25 04:07:56 UTC (rev 9258)
+++ trunk/memcheck/tests/x86-linux/Makefile.am 2009-02-25 04:20:54 UTC (rev 9259)
@@ -6,6 +6,7 @@
noinst_HEADERS = scalar.h
EXTRA_DIST = $(noinst_SCRIPTS) \
+ bug133694.vgtest bug133694.stderr.exp bug133694.stdout.exp \
scalar.stderr.exp scalar.vgtest \
scalar_fork.stderr.exp scalar_fork.vgtest \
scalar_exit_group.stderr.exp \
@@ -15,6 +16,7 @@
scalar_vfork.stderr.exp scalar_vfork.vgtest
check_PROGRAMS = \
+ bug133694 \
scalar scalar_exit_group scalar_fork scalar_supp scalar_vfork
Copied: trunk/memcheck/tests/x86-linux/bug133694.c (from rev 9246, trunk/memcheck/tests/x86/bug133694.c)
===================================================================
--- trunk/memcheck/tests/x86-linux/bug133694.c (rev 0)
+++ trunk/memcheck/tests/x86-linux/bug133694.c 2009-02-25 04:20:54 UTC (rev 9259)
@@ -0,0 +1,35 @@
+#include <stdio.h>
+#include <stdlib.h>
+#include <sys/mman.h>
+
+int main(int argc, char **argv)
+{
+ void *a1;
+
+ if ((a1 = mmap((void *)0x200000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0)) == MAP_FAILED)
+ {
+ perror("mmap1");
+ exit(1);
+ }
+
+ if (munmap(a1, 4096) < 0)
+ {
+ perror("munmap1");
+ exit(1);
+ }
+
+ if (mmap((void *)0x100000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) == MAP_FAILED)
+ {
+ perror("mmap2");
+ exit(1);
+ }
+
+ if (mmap((void *)0x100000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) == MAP_FAILED)
+ {
+ perror("mmap2");
+ exit(1);
+ }
+
+ printf("success\n");
+ exit(0);
+}
Property changes on: trunk/memcheck/tests/x86-linux/bug133694.c
___________________________________________________________________
Name: svn:mergeinfo
+
Copied: trunk/memcheck/tests/x86-linux/bug133694.stderr.exp (from rev 9246, trunk/memcheck/tests/x86/bug133694.stderr.exp)
===================================================================
Property changes on: trunk/memcheck/tests/x86-linux/bug133694.stderr.exp
___________________________________________________________________
Name: svn:mergeinfo
+
Copied: trunk/memcheck/tests/x86-linux/bug133694.stdout.exp (from rev 9246, trunk/memcheck/tests/x86/bug133694.stdout.exp)
===================================================================
--- trunk/memcheck/tests/x86-linux/bug133694.stdout.exp (rev 0)
+++ trunk/memcheck/tests/x86-linux/bug133694.stdout.exp 2009-02-25 04:20:54 UTC (rev 9259)
@@ -0,0 +1 @@
+success
Property changes on: trunk/memcheck/tests/x86-linux/bug133694.stdout.exp
___________________________________________________________________
Name: svn:mergeinfo
+
Copied: trunk/memcheck/tests/x86-linux/bug133694.vgtest (from rev 9246, trunk/memcheck/tests/x86/bug133694.vgtest)
===================================================================
--- trunk/memcheck/tests/x86-linux/bug133694.vgtest (rev 0)
+++ trunk/memcheck/tests/x86-linux/bug133694.vgtest 2009-02-25 04:20:54 UTC (rev 9259)
@@ -0,0 +1,2 @@
+prog: bug133694
+vgopts: -q
Property changes on: trunk/memcheck/tests/x86-linux/bug133694.vgtest
___________________________________________________________________
Name: svn:mergeinfo
+
|
|
From: <sv...@va...> - 2009-02-25 04:08:04
|
Author: njn
Date: 2009-02-25 04:07:56 +0000 (Wed, 25 Feb 2009)
New Revision: 9258
Log:
Merge r9257 (delete memcheck/tests/zeropage) from the trunk.
Removed:
branches/DARWIN/memcheck/tests/zeropage.c
branches/DARWIN/memcheck/tests/zeropage.stderr.exp
branches/DARWIN/memcheck/tests/zeropage.stderr.exp2
branches/DARWIN/memcheck/tests/zeropage.stdout.exp
branches/DARWIN/memcheck/tests/zeropage.stdout.exp-glibc27
branches/DARWIN/memcheck/tests/zeropage.vgtest
Modified:
branches/DARWIN/memcheck/tests/Makefile.am
Modified: branches/DARWIN/memcheck/tests/Makefile.am
===================================================================
--- branches/DARWIN/memcheck/tests/Makefile.am 2009-02-25 04:04:29 UTC (rev 9257)
+++ branches/DARWIN/memcheck/tests/Makefile.am 2009-02-25 04:07:56 UTC (rev 9258)
@@ -177,9 +177,7 @@
writev.stderr.exp writev.vgtest \
xml1.stderr.exp xml1.stderr.exp2 \
xml1.stderr.exp64 xml1.stdout.exp \
- xml1.vgtest \
- zeropage.stderr.exp zeropage.stderr.exp2 zeropage.stdout.exp \
- zeropage.vgtest
+ xml1.vgtest
check_PROGRAMS = \
addressable \
@@ -224,7 +222,7 @@
vcpu_fbench vcpu_fnfns \
xml1 \
wrap1 wrap2 wrap3 wrap4 wrap5 wrap6 wrap7 wrap7so.so wrap8 \
- writev zeropage
+ writev
AM_CFLAGS += $(AM_FLAG_M3264_PRI)
Deleted: branches/DARWIN/memcheck/tests/zeropage.c
===================================================================
--- branches/DARWIN/memcheck/tests/zeropage.c 2009-02-25 04:04:29 UTC (rev 9257)
+++ branches/DARWIN/memcheck/tests/zeropage.c 2009-02-25 04:07:56 UTC (rev 9258)
@@ -1,38 +0,0 @@
-#include <sys/mman.h>
-#include <stdlib.h>
-#include <stdio.h>
-#include <sys/types.h>
-#include <unistd.h>
-
-/* The quick sanity check of Memcheck (and other tools with shadow memory)
- relies on the first 64KB of memory never being used. So our mmap()
- refuses to touch this area. This program tests for that.
- [actually, no longer true, these all now succeed.] */
-int main(void)
-{
- /* mmap(0x0, ... FIXED) should fail */
- int* m = mmap(0x0, 4096, PROT_READ|PROT_WRITE,
- MAP_PRIVATE|MAP_ANON|MAP_FIXED, -1, 0);
- if (m != (int*)-1)
- printf("succeeded?!\n");
-
- /* mmap(0x1000, ... FIXED) should fail */
- m = mmap((void*)0x1000, 4096, PROT_READ|PROT_WRITE,
- MAP_PRIVATE|MAP_ANON|MAP_FIXED, -1, 0);
- if (m != (int*)-1)
- printf("succeeded?!\n");
-
- /* mmap(0xa000, ... FIXED) should fail */
- m = mmap((void*)0xa000, 4096, PROT_READ|PROT_WRITE,
- MAP_PRIVATE|MAP_ANON|MAP_FIXED, -1, 0);
- if (m != (int*)-1)
- printf("succeeded?!\n");
-
- /* mmap(0x10000, ... FIXED) should fail */
- m = mmap((void*)0x10000, 4096, PROT_READ|PROT_WRITE,
- MAP_PRIVATE|MAP_ANON|MAP_FIXED, -1, 0);
- if (m == (int*)-1)
- printf("failed?!\n");
-
- return 0;
-}
Deleted: branches/DARWIN/memcheck/tests/zeropage.stderr.exp
===================================================================
Deleted: branches/DARWIN/memcheck/tests/zeropage.stderr.exp2
===================================================================
--- branches/DARWIN/memcheck/tests/zeropage.stderr.exp2 2009-02-25 04:04:29 UTC (rev 9257)
+++ branches/DARWIN/memcheck/tests/zeropage.stderr.exp2 2009-02-25 04:07:56 UTC (rev 9258)
@@ -1,3 +0,0 @@
-Warning: client syscall old_mmap tried to modify addresses 0x........-0x........
-Warning: client syscall old_mmap tried to modify addresses 0x........-0x........
-Warning: client syscall old_mmap tried to modify addresses 0x........-0x........
Deleted: branches/DARWIN/memcheck/tests/zeropage.stdout.exp
===================================================================
--- branches/DARWIN/memcheck/tests/zeropage.stdout.exp 2009-02-25 04:04:29 UTC (rev 9257)
+++ branches/DARWIN/memcheck/tests/zeropage.stdout.exp 2009-02-25 04:07:56 UTC (rev 9258)
@@ -1,3 +0,0 @@
-succeeded?!
-succeeded?!
-succeeded?!
Deleted: branches/DARWIN/memcheck/tests/zeropage.stdout.exp-glibc27
===================================================================
Deleted: branches/DARWIN/memcheck/tests/zeropage.vgtest
===================================================================
--- branches/DARWIN/memcheck/tests/zeropage.vgtest 2009-02-25 04:04:29 UTC (rev 9257)
+++ branches/DARWIN/memcheck/tests/zeropage.vgtest 2009-02-25 04:07:56 UTC (rev 9258)
@@ -1,2 +0,0 @@
-prog: zeropage
-vgopts: -q
|