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
(13) |
2
(15) |
|
3
(16) |
4
(42) |
5
(9) |
6
(20) |
7
(22) |
8
(24) |
9
(12) |
|
10
(24) |
11
(11) |
12
(2) |
13
(13) |
14
(8) |
15
|
16
(16) |
|
17
(24) |
18
(36) |
19
(100) |
20
(94) |
21
(50) |
22
(39) |
23
(10) |
|
24
(14) |
25
(19) |
26
(2) |
27
(6) |
28
(17) |
29
(9) |
30
(8) |
|
31
(21) |
|
|
|
|
|
|
|
From: <sv...@va...> - 2009-05-18 23:26:57
|
Author: njn Date: 2009-05-19 00:26:45 +0100 (Tue, 19 May 2009) New Revision: 9906 Log: Merge r9905 (make dist fixes) from the trunk. Modified: branches/DARWIN/drd/tests/Makefile.am branches/DARWIN/memcheck/tests/Makefile.am branches/DARWIN/none/tests/Makefile.am Modified: branches/DARWIN/drd/tests/Makefile.am =================================================================== --- branches/DARWIN/drd/tests/Makefile.am 2009-05-18 23:24:26 UTC (rev 9905) +++ branches/DARWIN/drd/tests/Makefile.am 2009-05-18 23:26:45 UTC (rev 9906) @@ -118,6 +118,7 @@ pth_mutex_reinit.vgtest \ pth_process_shared_mutex.c \ pth_process_shared_mutex.vgtest \ + pth_process_shared_mutex.stderr.exp \ pth_spinlock.stderr.exp \ pth_spinlock.vgtest \ qt4_mutex.stderr.exp \ Modified: branches/DARWIN/memcheck/tests/Makefile.am =================================================================== --- branches/DARWIN/memcheck/tests/Makefile.am 2009-05-18 23:24:26 UTC (rev 9905) +++ branches/DARWIN/memcheck/tests/Makefile.am 2009-05-18 23:26:45 UTC (rev 9906) @@ -32,6 +32,8 @@ filter_stderr filter_xml \ filter_varinfo3 +noinst_HEADERS = leak.h + EXTRA_DIST = $(noinst_SCRIPTS) \ addressable.stderr.exp addressable.stdout.exp addressable.vgtest \ badaddrvalue.stderr.exp \ Modified: branches/DARWIN/none/tests/Makefile.am =================================================================== --- branches/DARWIN/none/tests/Makefile.am 2009-05-18 23:24:26 UTC (rev 9905) +++ branches/DARWIN/none/tests/Makefile.am 2009-05-18 23:26:45 UTC (rev 9906) @@ -30,7 +30,7 @@ SUBDIRS += x86-linux endif -DIST_SUBDIRS = x86 amd64 ppc32 ppc64 linux . +DIST_SUBDIRS = x86 amd64 ppc32 ppc64 linux x86-linux . noinst_SCRIPTS = \ filter_cmdline0 filter_linenos \ |
|
From: <sv...@va...> - 2009-05-18 23:24:38
|
Author: njn Date: 2009-05-19 00:24:26 +0100 (Tue, 19 May 2009) New Revision: 9905 Log: Merge r9900 (make dist fixes) from the MESSAGING_TIDYUP branch. Modified: trunk/drd/tests/Makefile.am trunk/memcheck/tests/Makefile.am trunk/none/tests/Makefile.am Modified: trunk/drd/tests/Makefile.am =================================================================== --- trunk/drd/tests/Makefile.am 2009-05-18 23:12:47 UTC (rev 9904) +++ trunk/drd/tests/Makefile.am 2009-05-18 23:24:26 UTC (rev 9905) @@ -118,6 +118,7 @@ pth_mutex_reinit.vgtest \ pth_process_shared_mutex.c \ pth_process_shared_mutex.vgtest \ + pth_process_shared_mutex.stderr.exp \ pth_spinlock.stderr.exp \ pth_spinlock.vgtest \ qt4_mutex.stderr.exp \ Modified: trunk/memcheck/tests/Makefile.am =================================================================== --- trunk/memcheck/tests/Makefile.am 2009-05-18 23:12:47 UTC (rev 9904) +++ trunk/memcheck/tests/Makefile.am 2009-05-18 23:24:26 UTC (rev 9905) @@ -29,6 +29,8 @@ filter_stderr filter_xml \ filter_varinfo3 +noinst_HEADERS = leak.h + EXTRA_DIST = $(noinst_SCRIPTS) \ addressable.stderr.exp addressable.stdout.exp addressable.vgtest \ badaddrvalue.stderr.exp \ Modified: trunk/none/tests/Makefile.am =================================================================== --- trunk/none/tests/Makefile.am 2009-05-18 23:12:47 UTC (rev 9904) +++ trunk/none/tests/Makefile.am 2009-05-18 23:24:26 UTC (rev 9905) @@ -27,7 +27,7 @@ SUBDIRS += x86-linux endif -DIST_SUBDIRS = x86 amd64 ppc32 ppc64 linux . +DIST_SUBDIRS = x86 amd64 ppc32 ppc64 linux x86-linux . noinst_SCRIPTS = \ filter_cmdline0 filter_linenos \ |
|
From: <sv...@va...> - 2009-05-18 23:13:00
|
Author: njn Date: 2009-05-19 00:12:47 +0100 (Tue, 19 May 2009) New Revision: 9904 Log: Merge r9903 (docs README addition) from the trunk. Modified: branches/DARWIN/docs/README Modified: branches/DARWIN/docs/README =================================================================== --- branches/DARWIN/docs/README 2009-05-18 23:11:49 UTC (rev 9903) +++ branches/DARWIN/docs/README 2009-05-18 23:12:47 UTC (rev 9904) @@ -119,6 +119,24 @@ in recent distros. +Notes [May 2009] +----------------- +For Ubuntu 9.04, to do non-print-docs builds (ie. with BUILD_ALL_DOCS +commented out) I had to: + + sudo apt-get install docbook docbook-xsl + +Actually, I'm not sure if the 'docbook' is necessary, but 'docbook-xsl' +definitely is. + +Then I had to change the value of XSL_MAN_STYLE from this: + + /usr/share/xml/docbook/stylesheet/nwalsh/current/manpages/docbook.xsl + +to this: + + /usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl + Notes [Mar. 2007] ----------------- For SuSE 10.1, I have to install the following packages to get a |
|
From: <sv...@va...> - 2009-05-18 23:11:59
|
Author: njn Date: 2009-05-19 00:11:49 +0100 (Tue, 19 May 2009) New Revision: 9903 Log: Add some info about building the docs on Ubuntu 9.04. Modified: trunk/docs/README Modified: trunk/docs/README =================================================================== --- trunk/docs/README 2009-05-18 23:06:24 UTC (rev 9902) +++ trunk/docs/README 2009-05-18 23:11:49 UTC (rev 9903) @@ -119,6 +119,24 @@ in recent distros. +Notes [May 2009] +----------------- +For Ubuntu 9.04, to do non-print-docs builds (ie. with BUILD_ALL_DOCS +commented out) I had to: + + sudo apt-get install docbook docbook-xsl + +Actually, I'm not sure if the 'docbook' is necessary, but 'docbook-xsl' +definitely is. + +Then I had to change the value of XSL_MAN_STYLE from this: + + /usr/share/xml/docbook/stylesheet/nwalsh/current/manpages/docbook.xsl + +to this: + + /usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl + Notes [Mar. 2007] ----------------- For SuSE 10.1, I have to install the following packages to get a |
|
From: <sv...@va...> - 2009-05-18 23:06:40
|
Author: njn
Date: 2009-05-19 00:06:24 +0100 (Tue, 19 May 2009)
New Revision: 9902
Log:
Merge r9901 (xml tag fixes) from the trunk.
Modified:
branches/DARWIN/docs/xml/FAQ.xml
branches/DARWIN/memcheck/docs/mc-manual.xml
Modified: branches/DARWIN/docs/xml/FAQ.xml
===================================================================
--- branches/DARWIN/docs/xml/FAQ.xml 2009-05-18 23:03:52 UTC (rev 9901)
+++ branches/DARWIN/docs/xml/FAQ.xml 2009-05-18 23:06:24 UTC (rev 9902)
@@ -145,7 +145,7 @@
<screen>valgrind: m_mallocfree.c:248 (get_bszB_as_is): Assertion 'bszB_lo == bszB_hi' failed.</screen>
<para>or like this:</para>
<screen>valgrind: m_mallocfree.c:442 (mk_inuse_bszB): Assertion 'bszB != 0' failed.</screen>
- <para>or otherwise aborts or crashes in m_mallocfree.c.<para/>
+ <para>or otherwise aborts or crashes in m_mallocfree.c.</para>
</question>
<answer id="a-bugdeath">
Modified: branches/DARWIN/memcheck/docs/mc-manual.xml
===================================================================
--- branches/DARWIN/memcheck/docs/mc-manual.xml 2009-05-18 23:03:52 UTC (rev 9901)
+++ branches/DARWIN/memcheck/docs/mc-manual.xml 2009-05-18 23:06:24 UTC (rev 9902)
@@ -154,7 +154,7 @@
shows "reachable" and "indirectly lost" blocks. (In other words, it
shows all blocks, except suppressed ones, so
<computeroutput>--show-all</computeroutput> would be a better name for
- it.)
+ it.)</para>
</listitem>
</varlistentry>
|
|
From: <sv...@va...> - 2009-05-18 23:04:12
|
Author: njn
Date: 2009-05-19 00:03:52 +0100 (Tue, 19 May 2009)
New Revision: 9901
Log:
Fix some broken XML tags.
Modified:
trunk/docs/xml/FAQ.xml
trunk/memcheck/docs/mc-manual.xml
Modified: trunk/docs/xml/FAQ.xml
===================================================================
--- trunk/docs/xml/FAQ.xml 2009-05-18 09:22:39 UTC (rev 9900)
+++ trunk/docs/xml/FAQ.xml 2009-05-18 23:03:52 UTC (rev 9901)
@@ -145,7 +145,7 @@
<screen>valgrind: m_mallocfree.c:248 (get_bszB_as_is): Assertion 'bszB_lo == bszB_hi' failed.</screen>
<para>or like this:</para>
<screen>valgrind: m_mallocfree.c:442 (mk_inuse_bszB): Assertion 'bszB != 0' failed.</screen>
- <para>or otherwise aborts or crashes in m_mallocfree.c.<para/>
+ <para>or otherwise aborts or crashes in m_mallocfree.c.</para>
</question>
<answer id="a-bugdeath">
Modified: trunk/memcheck/docs/mc-manual.xml
===================================================================
--- trunk/memcheck/docs/mc-manual.xml 2009-05-18 09:22:39 UTC (rev 9900)
+++ trunk/memcheck/docs/mc-manual.xml 2009-05-18 23:03:52 UTC (rev 9901)
@@ -154,7 +154,7 @@
shows "reachable" and "indirectly lost" blocks. (In other words, it
shows all blocks, except suppressed ones, so
<computeroutput>--show-all</computeroutput> would be a better name for
- it.)
+ it.)</para>
</listitem>
</varlistentry>
|
|
From: Nicholas N. <n.n...@gm...> - 2009-05-18 22:29:39
|
On Mon, May 18, 2009 at 6:11 PM, Konstantin Serebryany
<kon...@gm...> wrote:
> Hello Memcheckers,
>
> I've got a complain from a novice memcheck user about a confusing message:
>
> % cat stack_uninit.c
> int main() {
> int unrelated[100];
> // ...
> int uninited[10];
> return uninited[3] ? 1 : 0;
> }
> % ~/valgrind/trunk/Inst/bin/valgrind -q --track-origins=yes ./a.out
> ==25539== Syscall param exit_group(status) contains uninitialised byte(s)
> ...
> ==25539== Uninitialised value was created by a stack allocation
> ==25539== at 0x4004B0: main (stack_uninit.c:1)
>
> The stack 'main (stack_uninit.c:1)' points to the beginning of the
> function's code .
> Is it possible to get the exact line where the uninitialized stack
> object was created (line 4 instead of line 1)?
>
> If this is hard or impossible, could you change the message text to
> make it less confusing?
> Something like: 'Uninitialised value was created by a stack allocation
> at or after this point:'.
I think the current behaviour is reasonable. The stack memory is
allocated upon entry to the function; if you have more than one stack
variable they will be allocated all at once, not one at a time.
Because of this, the debug info, which Valgrind relies on, identifies
the stack allocation with the opening brace of the function, which is
often on its own line but in your example is on the same line as the
declaration for main().
N
|
|
From: <sv...@va...> - 2009-05-18 09:22:43
|
Author: sewardj Date: 2009-05-18 10:22:39 +0100 (Mon, 18 May 2009) New Revision: 9900 Log: Some make dist fixes, all of which include missing files or directories in the tarball. Modified: branches/MESSAGING_TIDYUP/drd/tests/Makefile.am branches/MESSAGING_TIDYUP/memcheck/tests/Makefile.am branches/MESSAGING_TIDYUP/none/tests/Makefile.am Modified: branches/MESSAGING_TIDYUP/drd/tests/Makefile.am =================================================================== --- branches/MESSAGING_TIDYUP/drd/tests/Makefile.am 2009-05-18 08:19:24 UTC (rev 9899) +++ branches/MESSAGING_TIDYUP/drd/tests/Makefile.am 2009-05-18 09:22:39 UTC (rev 9900) @@ -115,7 +115,7 @@ pth_inconsistent_cond_wait.stderr.exp2 \ pth_inconsistent_cond_wait.vgtest \ pth_process_shared_mutex.vgtest \ - pth_process_shared_mutex.c \ + pth_process_shared_mutex.stderr.exp \ pth_spinlock.stderr.exp \ pth_spinlock.vgtest \ qt4_mutex.stderr.exp \ Modified: branches/MESSAGING_TIDYUP/memcheck/tests/Makefile.am =================================================================== --- branches/MESSAGING_TIDYUP/memcheck/tests/Makefile.am 2009-05-18 08:19:24 UTC (rev 9899) +++ branches/MESSAGING_TIDYUP/memcheck/tests/Makefile.am 2009-05-18 09:22:39 UTC (rev 9900) @@ -29,6 +29,8 @@ filter_stderr filter_xml \ filter_varinfo3 +noinst_HEADERS = leak.h + EXTRA_DIST = $(noinst_SCRIPTS) \ addressable.stderr.exp addressable.stdout.exp addressable.vgtest \ badaddrvalue.stderr.exp \ Modified: branches/MESSAGING_TIDYUP/none/tests/Makefile.am =================================================================== --- branches/MESSAGING_TIDYUP/none/tests/Makefile.am 2009-05-18 08:19:24 UTC (rev 9899) +++ branches/MESSAGING_TIDYUP/none/tests/Makefile.am 2009-05-18 09:22:39 UTC (rev 9900) @@ -27,7 +27,7 @@ SUBDIRS += x86-linux endif -DIST_SUBDIRS = x86 amd64 ppc32 ppc64 linux . +DIST_SUBDIRS = x86 amd64 ppc32 ppc64 linux x86-linux . noinst_SCRIPTS = \ filter_cmdline0 filter_linenos \ |
|
From: <sv...@va...> - 2009-05-18 08:19:33
|
Author: sewardj Date: 2009-05-18 09:19:24 +0100 (Mon, 18 May 2009) New Revision: 9899 Log: It appears that 'make dist' needs a make rule for libmpiwrap-@VGCONF_ARCH_SEC@-@VGCONF_OS@.c even for a single-arch build. Don't ask me why. Modified: branches/MESSAGING_TIDYUP/auxprogs/Makefile.am Modified: branches/MESSAGING_TIDYUP/auxprogs/Makefile.am =================================================================== --- branches/MESSAGING_TIDYUP/auxprogs/Makefile.am 2009-05-18 06:23:25 UTC (rev 9898) +++ branches/MESSAGING_TIDYUP/auxprogs/Makefile.am 2009-05-18 08:19:24 UTC (rev 9899) @@ -109,11 +109,9 @@ rm -f libmpiwrap-@VGCONF_ARCH_PRI@-@VGCONF_OS@.c touch libmpiwrap-@VGCONF_ARCH_PRI@-@VGCONF_OS@.c -if VGCONF_HAVE_PLATFORM_SEC_CAPS libmpiwrap-@VGCONF_ARCH_SEC@-@VGCONF_OS@.c: rm -f libmpiwrap-@VGCONF_ARCH_SEC@-@VGCONF_OS@.c touch libmpiwrap-@VGCONF_ARCH_SEC@-@VGCONF_OS@.c -endif ## cleanery clean-local: |
|
From: Konstantin S. <kon...@gm...> - 2009-05-18 08:11:30
|
Hello Memcheckers,
I've got a complain from a novice memcheck user about a confusing message:
% cat stack_uninit.c
int main() {
int unrelated[100];
// ...
int uninited[10];
return uninited[3] ? 1 : 0;
}
% ~/valgrind/trunk/Inst/bin/valgrind -q --track-origins=yes ./a.out
==25539== Syscall param exit_group(status) contains uninitialised byte(s)
...
==25539== Uninitialised value was created by a stack allocation
==25539== at 0x4004B0: main (stack_uninit.c:1)
The stack 'main (stack_uninit.c:1)' points to the beginning of the
function's code .
Is it possible to get the exact line where the uninitialized stack
object was created (line 4 instead of line 1)?
If this is hard or impossible, could you change the message text to
make it less confusing?
Something like: 'Uninitialised value was created by a stack allocation
at or after this point:'.
Thanks,
--kcc
|
|
From: <sv...@va...> - 2009-05-18 06:23:29
|
Author: njn
Date: 2009-05-18 07:23:25 +0100 (Mon, 18 May 2009)
New Revision: 9898
Log:
Merge r9897 (x86_amd64_features.c simplifcation) from the DARWIN branch.
Modified:
trunk/tests/x86_amd64_features.c
Modified: trunk/tests/x86_amd64_features.c
===================================================================
--- trunk/tests/x86_amd64_features.c 2009-05-18 05:45:42 UTC (rev 9897)
+++ trunk/tests/x86_amd64_features.c 2009-05-18 06:23:25 UTC (rev 9898)
@@ -17,10 +17,8 @@
#define True 1
typedef int Bool;
-//---------------------------------------------------------------------------
-// {x86,amd64}-linux (part 1 of 2)
-//---------------------------------------------------------------------------
-#if defined(VGP_x86_linux) || defined(VGP_amd64_linux)
+
+#if defined(VGA_x86) || defined(VGA_amd64)
static void cpuid ( unsigned int n,
unsigned int* a, unsigned int* b,
unsigned int* c, unsigned int* d )
@@ -31,12 +29,6 @@
: "0" (n) /* input */
);
}
-#endif // VGP_x86_linux || VGP_amd64_linux
-
-//---------------------------------------------------------------------------
-// {x86,amd64}-linux (part 2 of 2)
-//---------------------------------------------------------------------------
-#if defined(VGA_x86) || defined(VGA_amd64)
static Bool go(char* cpu)
{
unsigned int level = 0, cmask = 0, dmask = 0, a, b, c, d;
|
|
From: <sv...@va...> - 2009-05-18 05:45:47
|
Author: njn
Date: 2009-05-18 06:45:42 +0100 (Mon, 18 May 2009)
New Revision: 9897
Log:
Use -mdynamic-no-pic for x86_amd64_features. With that, the x86-darwin
version doesn't need special treatment.
Modified:
branches/DARWIN/tests/Makefile.am
branches/DARWIN/tests/x86_amd64_features.c
Modified: branches/DARWIN/tests/Makefile.am
===================================================================
--- branches/DARWIN/tests/Makefile.am 2009-05-18 05:36:22 UTC (rev 9896)
+++ branches/DARWIN/tests/Makefile.am 2009-05-18 05:45:42 UTC (rev 9897)
@@ -27,3 +27,7 @@
AM_CFLAGS += $(AM_FLAG_M3264_PRI)
AM_CXXFLAGS += $(AM_FLAG_M3264_PRI)
+if VGCONF_OS_IS_DARWIN
+x86_amd64_features_CFLAGS = $(AM_CFLAGS) -mdynamic-no-pic
+endif
+
Modified: branches/DARWIN/tests/x86_amd64_features.c
===================================================================
--- branches/DARWIN/tests/x86_amd64_features.c 2009-05-18 05:36:22 UTC (rev 9896)
+++ branches/DARWIN/tests/x86_amd64_features.c 2009-05-18 05:45:42 UTC (rev 9897)
@@ -17,11 +17,8 @@
#define True 1
typedef int Bool;
-//---------------------------------------------------------------------------
-// {x86,amd64}-linux (part 1 of 2)
-//---------------------------------------------------------------------------
-#if defined(VGP_x86_linux) || defined(VGP_amd64_linux) || \
- defined(VGP_amd64_darwin)
+
+#if defined(VGA_x86) || defined(VGA_amd64)
static void cpuid ( unsigned int n,
unsigned int* a, unsigned int* b,
unsigned int* c, unsigned int* d )
@@ -32,49 +29,6 @@
: "0" (n) /* input */
);
}
-#endif // VGP_x86_linux || VGP_amd64_linux || VGP_amd64_darwin
-
-//---------------------------------------------------------------------------
-// x86-darwin (part 1 of 2)
-//---------------------------------------------------------------------------
-// We can't use the one above for x86-darwin, because we get this:
-//
-// arch_test.c:88: error: can't find a register in class ‘BREG’ while
-// reloading ‘asm’
-//
-// because %ebx is reserved for PIC. This version preserves %ebx.
-#if defined(VGP_x86_darwin)
-static void cpuid ( unsigned int n,
- unsigned int* a, unsigned int* b,
- unsigned int* c, unsigned int* d )
-{
- unsigned int abcd[4] = { n, 0, 0, 0 };
-
- __asm__ __volatile__ (
- "\tmovl %%ebx,%%esi\n"
- "\tmovl 0(%0),%%eax\n"
- "\tcpuid\n"
- "\tmovl %%eax,0(%0)\n"
- "\tmovl %%ebx,4(%0)\n"
- "\tmovl %%ecx,8(%0)\n"
- "\tmovl %%edx,12(%0)\n"
- "\tmovl %%esi,%%ebx\n"
- : /*out*/
- : /*in*/ "r"(abcd)
- : /*clobber*/ "eax", "esi", "ecx", "edx", "memory", "cc"
- );
-
- *a = abcd[0];
- *b = abcd[1];
- *c = abcd[2];
- *d = abcd[3];
-}
-#endif // VGP_x86_darwin
-
-//---------------------------------------------------------------------------
-// {x86,amd64}-{linux,darwin} (part 2 of 2)
-//---------------------------------------------------------------------------
-#if defined(VGA_x86) || defined(VGA_amd64)
static Bool go(char* cpu)
{
unsigned int level = 0, cmask = 0, dmask = 0, a, b, c, d;
|
|
From: <sv...@va...> - 2009-05-18 05:36:29
|
Author: njn Date: 2009-05-18 06:36:22 +0100 (Mon, 18 May 2009) New Revision: 9896 Log: Add a missing file. Modified: branches/DARWIN/memcheck/tests/Makefile.am Modified: branches/DARWIN/memcheck/tests/Makefile.am =================================================================== --- branches/DARWIN/memcheck/tests/Makefile.am 2009-05-18 05:33:21 UTC (rev 9895) +++ branches/DARWIN/memcheck/tests/Makefile.am 2009-05-18 05:36:22 UTC (rev 9896) @@ -139,7 +139,7 @@ sh-mem-random.stderr.exp sh-mem-random.stdout.exp64 \ sh-mem-random.stdout.exp sh-mem-random.vgtest \ sigaltstack.stderr.exp sigaltstack.vgtest \ - sigkill.stderr.exp sigkill.vgtest \ + sigkill.stderr.exp sigkill.stderr.exp-darwin sigkill.vgtest \ signal2.stderr.exp signal2.stdout.exp signal2.vgtest \ sigprocmask.stderr.exp sigprocmask.stderr.exp2 sigprocmask.vgtest \ stack_changes.stderr.exp stack_changes.stdout.exp \ |
|
From: <sv...@va...> - 2009-05-18 05:33:29
|
Author: njn
Date: 2009-05-18 06:33:21 +0100 (Mon, 18 May 2009)
New Revision: 9895
Log:
Remove a dead declaration.
Modified:
trunk/coregrind/pub_core_mallocfree.h
Modified: trunk/coregrind/pub_core_mallocfree.h
===================================================================
--- trunk/coregrind/pub_core_mallocfree.h 2009-05-18 05:30:59 UTC (rev 9894)
+++ trunk/coregrind/pub_core_mallocfree.h 2009-05-18 05:33:21 UTC (rev 9895)
@@ -97,9 +97,6 @@
extern Char* VG_(arena_strdup) ( ArenaId aid, HChar* cc,
const Char* s);
-// Nb: The ThreadId doesn't matter, it's not used.
-extern SizeT VG_(arena_payload_szB) ( ThreadId tid, ArenaId aid, void* payload );
-
extern SizeT VG_(arena_malloc_usable_size) ( ArenaId aid, void* payload );
extern void VG_(mallinfo) ( ThreadId tid, struct vg_mallinfo* mi );
|
|
From: <sv...@va...> - 2009-05-18 05:31:07
|
Author: njn
Date: 2009-05-18 06:30:59 +0100 (Mon, 18 May 2009)
New Revision: 9894
Log:
Tweak a comment.
Modified:
branches/DARWIN/coregrind/pub_core_mallocfree.h
Modified: branches/DARWIN/coregrind/pub_core_mallocfree.h
===================================================================
--- branches/DARWIN/coregrind/pub_core_mallocfree.h 2009-05-18 05:29:41 UTC (rev 9893)
+++ branches/DARWIN/coregrind/pub_core_mallocfree.h 2009-05-18 05:30:59 UTC (rev 9894)
@@ -74,7 +74,7 @@
defined(VGP_ppc32_aix5)
# define VG_MIN_MALLOC_SZB 8
// Nb: We always use 16 bytes for Darwin, even on 32-bits, so it can be used
-// for any AltiVec- or SSE-related type.
+// for any AltiVec- or SSE-related type. This matches the Darwin libc.
#elif defined(VGP_amd64_linux) || \
defined(VGP_ppc64_linux) || \
defined(VGP_ppc64_aix5) || \
|
|
From: <sv...@va...> - 2009-05-18 05:29:48
|
Author: njn
Date: 2009-05-18 06:29:41 +0100 (Mon, 18 May 2009)
New Revision: 9893
Log:
Merge part (filter tweaks) of 8943 from the DARWIN branch.
Modified:
trunk/tests/filter_addresses
trunk/tests/filter_stderr_basic
Modified: trunk/tests/filter_addresses
===================================================================
--- trunk/tests/filter_addresses 2009-05-18 05:13:22 UTC (rev 9892)
+++ trunk/tests/filter_addresses 2009-05-18 05:29:41 UTC (rev 9893)
@@ -1,4 +1,4 @@
#! /bin/sh
-sed "s/0x[0-9A-Fa-f]\+/0x......../g"
+perl -p -e 's/0x[0-9A-Fa-f]+/0x......../g'
Modified: trunk/tests/filter_stderr_basic
===================================================================
--- trunk/tests/filter_stderr_basic 2009-05-18 05:13:22 UTC (rev 9892)
+++ trunk/tests/filter_stderr_basic 2009-05-18 05:29:41 UTC (rev 9893)
@@ -2,11 +2,15 @@
# This filter should be applied to *every* stderr result. It removes
# Valgrind startup stuff and pid numbers.
+#
+# Nb: The GNU and BSD implementations of 'sed' are quite different, so
+# anything remotely complicated (e.g. "\(a\|b\)" alternatives) can't be
+# easily done. Use Perl instead for any such cases.
dir=`dirname $0`
# Remove ==pid== and --pid-- and ++pid++ and **pid** strings
-sed "s/\(==\|--\|\+\+\|\*\*\)[0-9]\{1,7\}\1 //" |
+perl -p -e 's/(==|--|\+\+|\*\*)[0-9]{1,7}\1 //' |
# Remove any --pid:0: strings (debuglog level zero output)
sed "/^--[0-9]\{1,7\}:0:*/d" |
@@ -22,27 +26,26 @@
sed "/^Using LibVEX rev .*, a library for dynamic binary translation/ , /./ d" |
# Remove other introductory lines
-sed "/Estimated CPU clock rate is [0-9]* MHz/d" |
-sed "/For more details, rerun with: -v/d" |
+sed "/Estimated CPU clock rate is [0-9]* MHz/d" |
+sed "/For more details, rerun with: -v/d" |
# Anonymise line numbers in vg_replace_malloc.c, remove dirname if present
-sed "s/\(m_replacemalloc\/\)\?vg_replace_malloc.c:[0-9]*/vg_replace_malloc.c:.../" |
+perl -p -e "s/(m_replacemalloc\/)?vg_replace_malloc.c:[0-9]*/vg_replace_malloc.c:.../" |
# Hide suppressed error counts
sed "s/^\(ERROR SUMMARY[^(]*(suppressed: \)[0-9]*\( from \)[0-9]*)$/\10\20)/" |
-
# Reduce some libc incompatibility
-$dir/filter_libc |
+$dir/filter_libc |
# Remove line info out of order warnings
-sed "/warning: line info addresses out of order/d" |
+sed "/warning: line info addresses out of order/d" |
# Older bash versions print abnormal termination messages on the stderr
# of the bash process. Newer bash versions redirect such messages properly.
# Suppress any redirected abnormal termination messages. You can find the
# complete list of messages in the bash source file siglist.c.
-sed -r "/^(Segmentation fault|Alarm clock|Aborted|Bus error)( \(core dumped\))?$/d" |
+perl -n -e 'print if !/^(Segmentation fault|Alarm clock|Aborted|Bus error)( \(core dumped\))?$/' |
# Remove any ": dumping core" message as the user might have a
# limit set that prevents the core dump
|
|
From: <sv...@va...> - 2009-05-18 05:13:25
|
Author: njn Date: 2009-05-18 06:13:22 +0100 (Mon, 18 May 2009) New Revision: 9892 Log: Merged r8977 (callgrind filter_stderr portability tweak) from the DARWIN branch. Modified: trunk/callgrind/tests/filter_stderr Modified: trunk/callgrind/tests/filter_stderr =================================================================== --- trunk/callgrind/tests/filter_stderr 2009-05-18 05:10:56 UTC (rev 9891) +++ trunk/callgrind/tests/filter_stderr 2009-05-18 05:13:22 UTC (rev 9892) @@ -14,10 +14,10 @@ sed "s/^\(Collected *:\)[ 0-9]*$/\1/" | # Remove numbers from I/D/L2 "refs:" lines -sed "s/\(\(I\|D\|L2\) *refs:\)[ 0-9,()+rdw]*$/\1/" | +perl -p -e 's/((I|D|L2) *refs:)[ 0-9,()+rdw]*$/\1/' | # Remove numbers from I1/D1/L2/L2i/L2d "misses:" and "miss rates:" lines -sed "s/\(\(I1\|D1\|L2\|L2i\|L2d\) *\(misses\|miss rate\):\)[ 0-9,()+rdw%\.]*$/\1/" | +perl -p -e 's/((I1|D1|L2|L2i|L2d) *(misses|miss rate):)[ 0-9,()+rdw%\.]*$/\1/' | # Remove CPUID warnings lines for P4s and other machines sed "/warning: Pentium 4 with 12 KB micro-op instruction trace cache/d" | |
|
From: <sv...@va...> - 2009-05-18 05:11:01
|
Author: njn
Date: 2009-05-18 06:10:56 +0100 (Mon, 18 May 2009)
New Revision: 9891
Log:
Whitespace tweak.
Modified:
trunk/callgrind/fn.c
Modified: trunk/callgrind/fn.c
===================================================================
--- trunk/callgrind/fn.c 2009-05-18 05:10:00 UTC (rev 9890)
+++ trunk/callgrind/fn.c 2009-05-18 05:10:56 UTC (rev 9891)
@@ -103,8 +103,8 @@
CLG_DEBUG(1, " found nothing.\n");
return False;
}
-
+
/* _ld_runtime_resolve, located in ld.so, needs special handling:
* The jump at end into the resolved function should not be
* represented as a call (as usually done in callgrind with jumps),
|
|
From: <sv...@va...> - 2009-05-18 05:10:03
|
Author: njn
Date: 2009-05-18 06:10:00 +0100 (Mon, 18 May 2009)
New Revision: 9890
Log:
Merge part of r9250 (add unused attribute to callgrind/fn.c:check_code()
from the DARWIN branch.
Modified:
trunk/callgrind/fn.c
Modified: trunk/callgrind/fn.c
===================================================================
--- trunk/callgrind/fn.c 2009-05-18 05:07:19 UTC (rev 9889)
+++ trunk/callgrind/fn.c 2009-05-18 05:10:00 UTC (rev 9890)
@@ -47,6 +47,7 @@
/* Scan for a pattern in the code of an ELF object.
* If found, return true and set runtime_resolve_{addr,length}
*/
+__attribute__((unused)) // Possibly; depends on the platform.
static Bool check_code(obj_node* obj,
unsigned char code[], struct pattern* pat)
{
|
|
From: <sv...@va...> - 2009-05-18 05:07:25
|
Author: njn
Date: 2009-05-18 06:07:19 +0100 (Mon, 18 May 2009)
New Revision: 9889
Log:
Merged r9083 (ptrcheck tweaks) from the trunk.
Modified:
branches/DARWIN/exp-ptrcheck/h_main.c
Modified: branches/DARWIN/exp-ptrcheck/h_main.c
===================================================================
--- branches/DARWIN/exp-ptrcheck/h_main.c 2009-05-18 05:05:21 UTC (rev 9888)
+++ branches/DARWIN/exp-ptrcheck/h_main.c 2009-05-18 05:07:19 UTC (rev 9889)
@@ -854,7 +854,7 @@
points to a real block, which must have a start address
greater than a. */
tl_assert(kMax == ((Seg*)vMax)->addr);
- if (kMax == (UWord)&maxSeg) {
+ if (vMax == (UWord)&maxSeg) {
/* nothing we can check */
} else {
tl_assert(a < kMax); /* hence also a < ((Seg*)vMax)->addr */
@@ -2240,6 +2240,7 @@
# if defined(__NR_getgid32)
ADD(0, __NR_getgid32);
# endif
+ ADD(0, __NR_getgroups);
ADD(0, __NR_getitimer);
# if defined(__NR_getpeername)
ADD(0, __NR_getpeername);
@@ -2336,13 +2337,18 @@
ADD(0, __NR_set_thread_area);
# endif
ADD(0, __NR_set_tid_address);
+ ADD(0, __NR_setfsgid);
+ ADD(0, __NR_setfsuid);
+ ADD(0, __NR_setgid);
ADD(0, __NR_setitimer);
ADD(0, __NR_setpgid);
+ ADD(0, __NR_setresgid);
ADD(0, __NR_setrlimit);
ADD(0, __NR_setsid);
# if defined(__NR_setsockopt)
ADD(0, __NR_setsockopt);
# endif
+ ADD(0, __NR_setuid);
# if defined(__NR_shmctl)
ADD(0, __NR_shmctl);
ADD(0, __NR_shmdt);
|
|
From: <sv...@va...> - 2009-05-18 05:05:26
|
Author: njn
Date: 2009-05-18 06:05:21 +0100 (Mon, 18 May 2009)
New Revision: 9888
Log:
Merge r9056 (ptrcheck tweaks) from the trunk.
Modified:
branches/DARWIN/exp-ptrcheck/h_main.c
Modified: branches/DARWIN/exp-ptrcheck/h_main.c
===================================================================
--- branches/DARWIN/exp-ptrcheck/h_main.c 2009-05-18 05:02:08 UTC (rev 9887)
+++ branches/DARWIN/exp-ptrcheck/h_main.c 2009-05-18 05:05:21 UTC (rev 9888)
@@ -2185,6 +2185,9 @@
# endif
ADD(0, __NR_chmod);
ADD(0, __NR_chown);
+# if defined(__NR_chown32)
+ ADD(0, __NR_chown32);
+# endif
ADD(0, __NR_clock_getres);
ADD(0, __NR_clock_gettime);
ADD(0, __NR_clone);
@@ -2257,6 +2260,7 @@
# if defined(__NR_getsockopt)
ADD(0, __NR_getsockopt);
# endif
+ ADD(0, __NR_gettid);
ADD(0, __NR_gettimeofday);
ADD(0, __NR_getuid);
# if defined(__NR_getuid32)
@@ -2308,6 +2312,7 @@
ADD(0, __NR_sched_getaffinity);
ADD(0, __NR_sched_getparam);
ADD(0, __NR_sched_getscheduler);
+ ADD(0, __NR_sched_setaffinity);
ADD(0, __NR_sched_setscheduler);
ADD(0, __NR_sched_yield);
ADD(0, __NR_select);
@@ -2345,6 +2350,7 @@
# if defined(__NR_shutdown)
ADD(0, __NR_shutdown);
# endif
+ ADD(0, __NR_sigaltstack);
# if defined(__NR_socket)
ADD(0, __NR_socket);
# endif
|
|
From: <sv...@va...> - 2009-05-18 05:02:14
|
Author: njn
Date: 2009-05-18 06:02:08 +0100 (Mon, 18 May 2009)
New Revision: 9887
Log:
Merge most of r9061 (ptrcheck tweaks) from the trunk.
Modified:
branches/DARWIN/exp-ptrcheck/h_main.c
branches/DARWIN/exp-ptrcheck/pc_common.c
Modified: branches/DARWIN/exp-ptrcheck/h_main.c
===================================================================
--- branches/DARWIN/exp-ptrcheck/h_main.c 2009-05-18 04:56:42 UTC (rev 9886)
+++ branches/DARWIN/exp-ptrcheck/h_main.c 2009-05-18 05:02:08 UTC (rev 9887)
@@ -2210,6 +2210,7 @@
ADD(0, __NR_fcntl64);
# endif
ADD(0, __NR_fdatasync);
+ ADD(0, __NR_flock);
ADD(0, __NR_fstat);
# if defined(__NR_fstat64)
ADD(0, __NR_fstat64);
@@ -2266,6 +2267,7 @@
ADD(0, __NR_inotify_init);
ADD(0, __NR_inotify_rm_watch);
ADD(0, __NR_ioctl); // ioctl -- assuming no pointers returned
+ ADD(0, __NR_ioprio_get);
ADD(0, __NR_kill);
ADD(0, __NR_link);
# if defined(__NR_listen)
@@ -2278,6 +2280,7 @@
# endif
ADD(0, __NR_madvise);
ADD(0, __NR_mkdir);
+ ADD(0, __NR_mlock);
ADD(0, __NR_mprotect);
ADD(0, __NR_munmap); // die_mem_munmap already called, segment remove);
ADD(0, __NR_nanosleep);
@@ -2308,6 +2311,15 @@
ADD(0, __NR_sched_setscheduler);
ADD(0, __NR_sched_yield);
ADD(0, __NR_select);
+# if defined(__NR_semctl)
+ ADD(0, __NR_semctl);
+# endif
+# if defined(__NR_semget)
+ ADD(0, __NR_semget);
+# endif
+# if defined(__NR_semop)
+ ADD(0, __NR_semop);
+# endif
# if defined(__NR_sendto)
ADD(0, __NR_sendto);
# endif
Modified: branches/DARWIN/exp-ptrcheck/pc_common.c
===================================================================
--- branches/DARWIN/exp-ptrcheck/pc_common.c 2009-05-18 04:56:42 UTC (rev 9886)
+++ branches/DARWIN/exp-ptrcheck/pc_common.c 2009-05-18 05:02:08 UTC (rev 9887)
@@ -397,7 +397,7 @@
VG_(pp_ExeContext)( VG_(get_error_where)(err) );
VG_(message)(Vg_UserMsg, " Address %#lx is %ld bytes inside a "
- "%ld-byte block alloc'd",
+ "%ld-byte block free'd",
lo, lo-Seg__addr(seglo),
Seg__size(seglo) );
VG_(pp_ExeContext)(Seg__where(seglo));
|
|
From: <sv...@va...> - 2009-05-18 04:56:48
|
Author: njn
Date: 2009-05-18 05:56:42 +0100 (Mon, 18 May 2009)
New Revision: 9886
Log:
Merge part of r9060 (add exp-ptrcheck strnlen intercept) from the trunk.
Modified:
branches/DARWIN/exp-ptrcheck/h_intercepts.c
Modified: branches/DARWIN/exp-ptrcheck/h_intercepts.c
===================================================================
--- branches/DARWIN/exp-ptrcheck/h_intercepts.c 2009-05-18 04:49:56 UTC (rev 9885)
+++ branches/DARWIN/exp-ptrcheck/h_intercepts.c 2009-05-18 04:56:42 UTC (rev 9886)
@@ -44,6 +44,19 @@
memcheck/mc_replace_strmem.c. If you copy more in, please keep
them in the same order as in mc_replace_strmem.c. */
+
+#define STRNLEN(soname, fnname) \
+ SizeT VG_REPLACE_FUNCTION_ZU(soname,fnname) ( const char* str, SizeT n ); \
+ SizeT VG_REPLACE_FUNCTION_ZU(soname,fnname) ( const char* str, SizeT n ) \
+ { \
+ SizeT i = 0; \
+ while (i < n && str[i] != 0) i++; \
+ return i; \
+ }
+
+STRNLEN(VG_Z_LIBC_SONAME, strnlen)
+
+
// Note that this replacement often doesn't get used because gcc inlines
// calls to strlen() with its own built-in version. This can be very
// confusing if you aren't expecting it. Other small functions in this file
|
|
From: <sv...@va...> - 2009-05-18 04:50:03
|
Author: njn Date: 2009-05-18 05:49:56 +0100 (Mon, 18 May 2009) New Revision: 9885 Log: This should have gone in with r9884. Modified: trunk/helgrind/tests/Makefile.am Modified: trunk/helgrind/tests/Makefile.am =================================================================== --- trunk/helgrind/tests/Makefile.am 2009-05-18 04:49:20 UTC (rev 9884) +++ trunk/helgrind/tests/Makefile.am 2009-05-18 04:49:56 UTC (rev 9885) @@ -91,7 +91,6 @@ tc17_sembar \ tc18_semabuse \ tc19_shadowmem \ - tc20_verifywrap \ tc21_pthonce \ tc22_exit_w_lock \ tc23_bogus_condwait \ |
|
From: <sv...@va...> - 2009-05-18 04:49:23
|
Author: njn Date: 2009-05-18 05:49:20 +0100 (Mon, 18 May 2009) New Revision: 9884 Log: Merge part of r9229 (Helgrind test build tweak) from the DARWIN branch to the trunk. Modified: trunk/helgrind/tests/Makefile.am Modified: trunk/helgrind/tests/Makefile.am =================================================================== --- trunk/helgrind/tests/Makefile.am 2009-05-18 04:41:48 UTC (rev 9883) +++ trunk/helgrind/tests/Makefile.am 2009-05-18 04:49:20 UTC (rev 9884) @@ -101,6 +101,10 @@ check_PROGRAMS += bar_bad bar_trivial endif +if HAVE_PTHREAD_MUTEX_TIMEDLOCK +check_PROGRAMS += tc20_verifywrap +endif + AM_CFLAGS += $(AM_FLAG_M3264_PRI) AM_CXXFLAGS += $(AM_FLAG_M3264_PRI) |