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
(44) |
2
(9) |
3
(30) |
4
(28) |
5
(42) |
6
(14) |
7
(10) |
|
8
(7) |
9
(8) |
10
(6) |
11
(15) |
12
(13) |
13
(14) |
14
(23) |
|
15
(17) |
16
(10) |
17
(82) |
18
(14) |
19
(21) |
20
(14) |
21
(21) |
|
22
(7) |
23
(13) |
24
(16) |
25
(11) |
26
(11) |
27
(6) |
28
(7) |
|
29
(8) |
30
(13) |
31
(8) |
|
|
|
|
|
From: Julian S. <js...@ac...> - 2006-10-06 23:38:50
|
> So, it appears that 64K is now a possible page size that valgrind does not
> handle.
Ah, well spotted. Turns out there was a short exchange with Paul
Mackerras on this list on that very topic on Sun Jul 2 23:38:10 2006
but so far nothing came of it ("[Valgrind-developers] 64k pages on PPC")
Paul proposed turning the page size (VKI_PAGE_SIZE) into a variable
and that seems like a good scheme. The launcher would detect the
page size at valgrind-startup time.
As a first sanity check, can you get a working system with current
sources by changing VKI_PAGE_SIZE/SHIFT to be suitable for 64k pages?
It would be a useful quick check to find out if anything is going to
break in the presence of 64k pages.
J
|
|
From: Dave N. <dc...@us...> - 2006-10-06 22:52:33
|
I tracked down why valgrind 3.2.1 doesn't work at all on my RHEL5 beta 1, PPC970
machine. valgrind is failing in the first call to mmap() and the reason is that
the start address obtained from VG_(am_get_advisory) returns something that is
not page aligned on this machine. I wrote a simple test program using the same
arguments that are used in the failing call to mmap():
------------------------------------------------------------------------------------
#include <stdio.h>
#include <unistd.h>
#include <sys/mman.h>
int main()
{
void *map;
printf("pagesize=%x\n", getpagesize());
map = mmap ((void *)0x402001000, (size_t)0x100000, 0x7, 0x32, 0x0, 0x0);
if (map == MAP_FAILED) {
perror("map failed");
}
}
-----------------------------------------------------------------------------------
pagesize=10000
map failed: Invalid argument
So, it appears that 64K is now a possible page size that valgrind does not handle.
from include/vki-ppc64-linux.h:
//----------------------------------------------------------------------
// From linux-2.6.13/include/asm-ppc64/page.h
//----------------------------------------------------------------------
/* PAGE_SHIFT determines the page size */
#define VKI_PAGE_SHIFT 12
#define VKI_PAGE_SIZE (1UL << VKI_PAGE_SHIFT)
VKI_PAGE_SHIFT is apparently hard coded to be 12, but from
/usr/src/kernels/2.6.17-1.2519.4.21.el5-ppc64/include/asm-powerpc/page.h:
/*
* On PPC32 page size is 4K. For PPC64 we support either 4K or 64K software
* page size. When using 64K pages however, whether we are really supporting
* 64K pages in HW or not is irrelevant to those definitions.
*/
#ifdef CONFIG_PPC_64K_PAGES
#define PAGE_SHIFT 16
#else
#define PAGE_SHIFT 12
#endif
#define PAGE_SIZE (ASM_CONST(1) << PAGE_SHIFT)
===================================================================
I'm guessing this is a job for autoconf but am not really sure how to proceed.
This information seems to be buried in the kernel source that normally isn't
available to autoconf.
Are you aware of any existing configuration mechanism for obtaining the pagesize?
If not then would the correct way to discover this information is to have
configure.in generate a program that calls getpagesize() and uses it to define a
VG_PAGESIZE macro?
|
|
From: Nicholas N. <nj...@cs...> - 2006-10-06 22:03:50
|
On Fri, 6 Oct 2006, Edward Walker wrote: > > I'm researching ways of adding speculative (or non-speculative) > parallelism into the translation-run component in Valgrind. Can I ask what is the motivation for this? I'm curious... > Over the last couple of days, I've been experimenting with just invoking > run_thread_for_a_while (in scheduler.c) in a separate thread. > > I do this by invoking the clone sys call that starts a helper thread > that invokes run_thread_for_a_while when VG_(scheduler)() tells it to. > The clone syscall I use includes the VKI_CLONE_VM|VKI_CLONE_FS| etc. > flags, with a stack I give it allocated from VG_(am_alloc_VgStack)(). > For now, everything runs serially, i.e. VG_(scheduler)() stops when > run_thread_for_a_while() runs. No rocket science so far ... > > However, when I run valgrind (with the "none" tool) all works for a > while, and then my helper thread crashes with the message: > > ==16024== Stack overflow in thread 0: can't grow stack to 0xBE873FD4 > (sig=11) > > I've checked the stack of the helper thread, and its 0x621DBFEC, so it's > nowhere near the location where it is complaining about. > > I'm pretty sure I'm doing something trivially stupid. Any help will be > greatly appreciated. I don't think you're doing something trivially stupid, rather something that Valgrind is not at all designed to handle. Valgrind's execution is deliberately serialised, for reasons described in the first paragraph of section 2.3.9 in http://www.valgrind.org/docs/phd2004.pdf. I'm surprised it ran successfully for as long as it did. Nick |
|
From: Edward W. <ew...@ta...> - 2006-10-06 20:08:16
|
Hi, I'm researching ways of adding speculative (or non-speculative) parallelism into the translation-run component in Valgrind. Over the last couple of days, I've been experimenting with just invoking run_thread_for_a_while (in scheduler.c) in a separate thread. =20 I do this by invoking the clone sys call that starts a helper thread that invokes run_thread_for_a_while when VG_(scheduler)() tells it to. The clone syscall I use includes the VKI_CLONE_VM|VKI_CLONE_FS| etc. flags, with a stack I give it allocated from VG_(am_alloc_VgStack)(). For now, everything runs serially, i.e. VG_(scheduler)() stops when run_thread_for_a_while() runs. No rocket science so far ... However, when I run valgrind (with the "none" tool) all works for a while, and then my helper thread crashes with the message: =3D=3D16024=3D=3D Stack overflow in thread 0: can't grow stack to = 0xBE873FD4 (sig=3D11) I've checked the stack of the helper thread, and its 0x621DBFEC, so it's nowhere near the location where it is complaining about. I'm pretty sure I'm doing something trivially stupid. Any help will be greatly appreciated. =20 Thanks, Ed |
|
From: <js...@ac...> - 2006-10-06 13:31:25
|
Nightly build on minnie ( SuSE 10.0, ppc32 ) started at 2006-10-06 09:00:02 BST Results unchanged from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 208 tests, 10 stderr failures, 7 stdout failures, 0 posttest failures == memcheck/tests/leak-cycle (stderr) memcheck/tests/leak-tree (stderr) memcheck/tests/leakotron (stdout) memcheck/tests/pointer-trace (stderr) memcheck/tests/stack_changes (stderr) memcheck/tests/xml1 (stderr) none/tests/faultstatus (stderr) none/tests/mremap (stderr) none/tests/mremap2 (stdout) none/tests/ppc32/jm-fp (stdout) none/tests/ppc32/jm-fp (stderr) none/tests/ppc32/jm-int (stdout) none/tests/ppc32/round (stdout) none/tests/ppc32/round (stderr) none/tests/ppc32/test_fx (stdout) none/tests/ppc32/test_fx (stderr) none/tests/ppc32/test_gx (stdout) |
|
From: <sv...@va...> - 2006-10-06 13:04:06
|
Author: sewardj
Date: 2006-10-06 14:04:01 +0100 (Fri, 06 Oct 2006)
New Revision: 6200
Log:
Update.
Modified:
trunk/docs/internals/3_2_BUGSTATUS.txt
Modified: trunk/docs/internals/3_2_BUGSTATUS.txt
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/docs/internals/3_2_BUGSTATUS.txt 2006-10-06 11:47:01 UTC (rev 6=
199)
+++ trunk/docs/internals/3_2_BUGSTATUS.txt 2006-10-06 13:04:01 UTC (rev 6=
200)
@@ -12,7 +12,8 @@
=20
pending pending 129390 ppc?->IR: some kind of VMX prefetch (dstt=
)
pending pending 129968 amd64->IR: 0xF 0xAE 0x0 (fxsave)
-pending pending [W] 133054 'make install' fails with syntax errors
+ =3D=3D134319
+pending pending 133054 'make install' fails with syntax errors
pending wontfix 133154 crash when using client requests to=20
register/deregister stack
pending pending 132998 startup fails in when running on UML
@@ -20,6 +21,7 @@
pending pending 133679 Callgrind does not write path names to=20
sources with dwarf debug info
pending pending 133962 amd64->IR: 0xF2 0x4C 0xF 0x10
+pending pending 134207 pkg-config output contains @VG_PLATFORM@
vx1660 pending n-i-bz %eflags rule for SUBL-CondNLE
Signal race condition (users list, 13 June, Johannes Berg)
Unrecognised instruction at address 0x70198EC2 (users, 19 July, Bennee)
@@ -30,6 +32,9 @@
v6084 pending 134727 valgrind exits with "Value too large for =
defined data type"
vx1667 pending n-i-bz ppc32/64: support mcrfs
=20
+x86 'int 3'
+
+
------- Bugs reported and fixed in 3.2.0 ------
=20
SSE3 commits: vx1635,1636, v5997
|
|
From: <sv...@va...> - 2006-10-06 11:47:08
|
Author: sewardj Date: 2006-10-06 12:47:01 +0100 (Fri, 06 Oct 2006) New Revision: 6199 Log: Expand the first para of the custom-allocator section so it says what this section actually describes. Modified: trunk/memcheck/docs/mc-manual.xml Modified: trunk/memcheck/docs/mc-manual.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/memcheck/docs/mc-manual.xml 2006-10-06 11:45:00 UTC (rev 6198) +++ trunk/memcheck/docs/mc-manual.xml 2006-10-06 11:47:01 UTC (rev 6199) @@ -1080,7 +1080,13 @@ <title>Memory Pools: describing and working with custom allocators</titl= e> =20 <para>Some programs use custom memory allocators, often for performance -reasons. There are many different sorts of memory pool, so Memcheck +reasons. Left to itself, Memcheck is unable to "understand" the +behaviour of custom allocation schemes and so may miss errors and +leaks in your program. What this section describes is a way to give +Memcheck enough of a description of your custom allocator that it can +make at least some sense of what is happening.</para> + +<para>There are many different sorts of custom allocator, so Memcheck attempts to reason about them using a loose, abstract model. We use the following terminology when describing custom allocation systems:</para> |
|
From: <sv...@va...> - 2006-10-06 11:45:07
|
Author: sewardj
Date: 2006-10-06 12:45:00 +0100 (Fri, 06 Oct 2006)
New Revision: 6198
Log:
Regression tests for Graydon Hoare's enhanced mempool stuff, from
Graydon himself.
Added:
trunk/memcheck/tests/leak-pool-0.stderr.exp
trunk/memcheck/tests/leak-pool-0.vgtest
trunk/memcheck/tests/leak-pool-1.stderr.exp
trunk/memcheck/tests/leak-pool-1.vgtest
trunk/memcheck/tests/leak-pool-2.stderr.exp
trunk/memcheck/tests/leak-pool-2.vgtest
trunk/memcheck/tests/leak-pool-3.stderr.exp
trunk/memcheck/tests/leak-pool-3.vgtest
trunk/memcheck/tests/leak-pool-4.stderr.exp
trunk/memcheck/tests/leak-pool-4.vgtest
trunk/memcheck/tests/leak-pool-5.stderr.exp
trunk/memcheck/tests/leak-pool-5.vgtest
trunk/memcheck/tests/leak-pool.c
Modified:
trunk/memcheck/tests/Makefile.am
Modified: trunk/memcheck/tests/Makefile.am
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/memcheck/tests/Makefile.am 2006-10-05 17:59:23 UTC (rev 6197)
+++ trunk/memcheck/tests/Makefile.am 2006-10-06 11:45:00 UTC (rev 6198)
@@ -54,6 +54,12 @@
inline.stderr.exp inline.stdout.exp inline.vgtest \
leak-0.vgtest leak-0.stderr.exp \
leak-cycle.vgtest leak-cycle.stderr.exp leak-cycle.stderr.exp64 \
+ leak-pool-0.vgtest leak-pool-0.stderr.exp \
+ leak-pool-1.vgtest leak-pool-1.stderr.exp \
+ leak-pool-2.vgtest leak-pool-2.stderr.exp \
+ leak-pool-3.vgtest leak-pool-3.stderr.exp \
+ leak-pool-4.vgtest leak-pool-4.stderr.exp \
+ leak-pool-5.vgtest leak-pool-5.stderr.exp \
leak-tree.vgtest leak-tree.stderr.exp \
leak-tree.stderr.exp2 leak-tree.stderr.exp64 \
leak-regroot.vgtest leak-regroot.stderr.exp \
@@ -144,7 +150,7 @@
describe-block \
doublefree error_counts errs1 exitprog execve execve2 erringfds \
fprw fwrite hello inits inline \
- leak-0 leak-cycle leak-tree leak-regroot leakotron \
+ leak-0 leak-cycle leak-pool leak-tree leak-regroot leakotron \
malloc_usable malloc1 malloc2 malloc3 manuel1 manuel2 manuel3 \
match-overrun \
memalign_test memalign2 memcmptest mempool mmaptest \
Added: trunk/memcheck/tests/leak-pool-0.stderr.exp
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/memcheck/tests/leak-pool-0.stderr.exp (=
rev 0)
+++ trunk/memcheck/tests/leak-pool-0.stderr.exp 2006-10-06 11:45:00 UTC (=
rev 6198)
@@ -0,0 +1,7 @@
+
+
+ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
+malloc/free: in use at exit: 4,108 bytes in 2 blocks.
+malloc/free: 102 allocs, 0 frees, 4,908 bytes allocated.
+For a detailed leak analysis, rerun with: --leak-check=3Dyes
+For counts of detected errors, rerun with: -v
Added: trunk/memcheck/tests/leak-pool-0.vgtest
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/memcheck/tests/leak-pool-0.vgtest (rev =
0)
+++ trunk/memcheck/tests/leak-pool-0.vgtest 2006-10-06 11:45:00 UTC (rev =
6198)
@@ -0,0 +1,2 @@
+prog: leak-pool
+args: 0
Added: trunk/memcheck/tests/leak-pool-1.stderr.exp
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/memcheck/tests/leak-pool-1.stderr.exp (=
rev 0)
+++ trunk/memcheck/tests/leak-pool-1.stderr.exp 2006-10-06 11:45:00 UTC (=
rev 6198)
@@ -0,0 +1,7 @@
+
+
+ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
+malloc/free: in use at exit: 4,108 bytes in 2 blocks.
+malloc/free: 102 allocs, 0 frees, 4,908 bytes allocated.
+For a detailed leak analysis, rerun with: --leak-check=3Dyes
+For counts of detected errors, rerun with: -v
Added: trunk/memcheck/tests/leak-pool-1.vgtest
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/memcheck/tests/leak-pool-1.vgtest (rev =
0)
+++ trunk/memcheck/tests/leak-pool-1.vgtest 2006-10-06 11:45:00 UTC (rev =
6198)
@@ -0,0 +1,2 @@
+prog: leak-pool
+args: 1
Added: trunk/memcheck/tests/leak-pool-2.stderr.exp
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/memcheck/tests/leak-pool-2.stderr.exp (=
rev 0)
+++ trunk/memcheck/tests/leak-pool-2.stderr.exp 2006-10-06 11:45:00 UTC (=
rev 6198)
@@ -0,0 +1,7 @@
+
+
+ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
+malloc/free: in use at exit: 4,108 bytes in 2 blocks.
+malloc/free: 102 allocs, 0 frees, 4,908 bytes allocated.
+For a detailed leak analysis, rerun with: --leak-check=3Dyes
+For counts of detected errors, rerun with: -v
Added: trunk/memcheck/tests/leak-pool-2.vgtest
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/memcheck/tests/leak-pool-2.vgtest (rev =
0)
+++ trunk/memcheck/tests/leak-pool-2.vgtest 2006-10-06 11:45:00 UTC (rev =
6198)
@@ -0,0 +1,2 @@
+prog: leak-pool
+args: 2
Added: trunk/memcheck/tests/leak-pool-3.stderr.exp
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/memcheck/tests/leak-pool-3.stderr.exp (=
rev 0)
+++ trunk/memcheck/tests/leak-pool-3.stderr.exp 2006-10-06 11:45:00 UTC (=
rev 6198)
@@ -0,0 +1,7 @@
+
+
+ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
+malloc/free: in use at exit: 4,108 bytes in 2 blocks.
+malloc/free: 102 allocs, 0 frees, 4,908 bytes allocated.
+For a detailed leak analysis, rerun with: --leak-check=3Dyes
+For counts of detected errors, rerun with: -v
Added: trunk/memcheck/tests/leak-pool-3.vgtest
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/memcheck/tests/leak-pool-3.vgtest (rev =
0)
+++ trunk/memcheck/tests/leak-pool-3.vgtest 2006-10-06 11:45:00 UTC (rev =
6198)
@@ -0,0 +1,2 @@
+prog: leak-pool
+args: 3
Added: trunk/memcheck/tests/leak-pool-4.stderr.exp
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/memcheck/tests/leak-pool-4.stderr.exp (=
rev 0)
+++ trunk/memcheck/tests/leak-pool-4.stderr.exp 2006-10-06 11:45:00 UTC (=
rev 6198)
@@ -0,0 +1,7 @@
+
+
+ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
+malloc/free: in use at exit: 4,108 bytes in 2 blocks.
+malloc/free: 102 allocs, 0 frees, 4,908 bytes allocated.
+For a detailed leak analysis, rerun with: --leak-check=3Dyes
+For counts of detected errors, rerun with: -v
Added: trunk/memcheck/tests/leak-pool-4.vgtest
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/memcheck/tests/leak-pool-4.vgtest (rev =
0)
+++ trunk/memcheck/tests/leak-pool-4.vgtest 2006-10-06 11:45:00 UTC (rev =
6198)
@@ -0,0 +1,2 @@
+prog: leak-pool
+args: 4
Added: trunk/memcheck/tests/leak-pool-5.stderr.exp
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/memcheck/tests/leak-pool-5.stderr.exp (=
rev 0)
+++ trunk/memcheck/tests/leak-pool-5.stderr.exp 2006-10-06 11:45:00 UTC (=
rev 6198)
@@ -0,0 +1,7 @@
+
+
+ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
+malloc/free: in use at exit: 4,108 bytes in 2 blocks.
+malloc/free: 102 allocs, 0 frees, 4,908 bytes allocated.
+For a detailed leak analysis, rerun with: --leak-check=3Dyes
+For counts of detected errors, rerun with: -v
Added: trunk/memcheck/tests/leak-pool-5.vgtest
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/memcheck/tests/leak-pool-5.vgtest (rev =
0)
+++ trunk/memcheck/tests/leak-pool-5.vgtest 2006-10-06 11:45:00 UTC (rev =
6198)
@@ -0,0 +1,2 @@
+prog: leak-pool
+args: 5
Added: trunk/memcheck/tests/leak-pool.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/memcheck/tests/leak-pool.c (rev 0)
+++ trunk/memcheck/tests/leak-pool.c 2006-10-06 11:45:00 UTC (rev 6198)
@@ -0,0 +1,126 @@
+
+#include <stdlib.h>
+#include <stdint.h>
+#include <assert.h>
+#include <string.h>
+
+#include "../memcheck.h"
+
+struct cell
+{ =20
+ struct cell *next;
+ int x;
+};
+
+struct pool
+{
+ size_t allocated;
+ size_t used;
+ uint8_t *buf;
+};
+
+void *=20
+allocate_from_pool(struct pool *p, size_t n)
+{
+ void *a =3D p->buf + p->used;
+ assert(p->used + n < p->allocated);
+ VALGRIND_MEMPOOL_ALLOC(p, a, n);
+ p->used +=3D n;
+ return a;
+}
+
+struct pool *
+allocate_pool()
+{
+ struct pool *p =3D malloc(sizeof(struct pool));
+ assert(p);
+ p->allocated =3D 4096;
+ p->used =3D 0;
+ p->buf =3D malloc(p->allocated);
+ assert(p->buf);
+ memset(p->buf, 0, p->allocated);
+ VALGRIND_CREATE_MEMPOOL(p, 0, 0);
+ VALGRIND_MAKE_NOACCESS(p->buf, p->allocated);
+ return p;
+}
+
+#define N 100
+
+/* flags */
+int static_roots =3D 0;
+int trim_pool =3D 0;
+int destroy_pool =3D 0;
+void set_flags ( int n )
+{
+ switch (n) {
+ case 0:
+ static_roots =3D 0;
+ trim_pool =3D 0;
+ destroy_pool =3D 0;
+ break;
+ case 1:
+ static_roots =3D 0;
+ trim_pool =3D 1;
+ destroy_pool =3D 0;
+ break;
+ case 2:
+ static_roots =3D 0;
+ trim_pool =3D 0;
+ destroy_pool =3D 1;
+ break;
+ case 3:
+ static_roots =3D 1;
+ trim_pool =3D 0;
+ destroy_pool =3D 0;
+ break;
+ case 4:
+ static_roots =3D 1;
+ trim_pool =3D 1;
+ destroy_pool =3D 0;
+ break;
+ case 5:
+ static_roots =3D 1;
+ trim_pool =3D 0;
+ destroy_pool =3D 1;
+ break;
+ default:
+ assert(0);
+ }
+}
+
+
+struct cell *cells_static[N];
+
+
+int main( int argc, char** argv )
+{
+ struct cell *cells_local[N];
+ int arg;
+ size_t i;
+ struct pool *p =3D allocate_pool();
+ struct cell **cells =3D static_roots ? cells_static : cells_local;
+
+ assert(argc =3D=3D 2);
+ assert(argv[1]);
+ assert(strlen(argv[1]) =3D=3D 1);
+ assert(argv[1][0] >=3D '0' && argv[1][0] <=3D '5');
+ arg =3D atoi( argv[1] );
+ set_flags( arg );
+
+ memset(cells_static, 0, sizeof(cells_static));
+ memset(cells_local, 0, sizeof(cells_local));
+
+ for (i =3D 0; i < N; ++i) {
+ cells[i] =3D allocate_from_pool(p, sizeof(struct cell)); =20
+ }
+
+ if (trim_pool)
+ VALGRIND_MEMPOOL_TRIM(p,=20
+ p->buf+(10 * sizeof(struct cell)),=20
+ 20 * sizeof(struct cell) + 2);
+
+ if (destroy_pool)
+ VALGRIND_DESTROY_MEMPOOL(p);
+
+ return 0;
+}
|
|
From: <js...@ac...> - 2006-10-06 04:01:01
|
Nightly build on phoenix ( SuSE 10.0 ) started at 2006-10-06 04:30:02 BST Checking out vex source tree ... done Building vex ... done Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 238 tests, 5 stderr failures, 1 stdout failure, 0 posttest failures == memcheck/tests/leak-tree (stderr) memcheck/tests/stack_switch (stderr) memcheck/tests/x86/scalar (stderr) memcheck/tests/x86/scalar_supp (stderr) none/tests/mremap (stderr) none/tests/mremap2 (stdout) |
|
From: Tom H. <to...@co...> - 2006-10-06 02:44:47
|
Nightly build on dunsmere ( athlon, Fedora Core 5 ) started at 2006-10-06 03:30:05 BST Results unchanged from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 240 tests, 4 stderr failures, 1 stdout failure, 0 posttest failures == memcheck/tests/pointer-trace (stderr) memcheck/tests/stack_switch (stderr) memcheck/tests/x86/scalar (stderr) none/tests/mremap (stderr) none/tests/mremap2 (stdout) |
|
From: Tom H. <th...@cy...> - 2006-10-06 02:41:20
|
Nightly build on gill ( x86_64, Fedora Core 2 ) started at 2006-10-06 03:00:13 BST Results unchanged from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 270 tests, 6 stderr failures, 1 stdout failure, 0 posttest failures == memcheck/tests/mempool (stderr) memcheck/tests/stack_switch (stderr) memcheck/tests/x86/scalar (stderr) memcheck/tests/x86/scalar_supp (stderr) none/tests/fdleak_fcntl (stderr) none/tests/mremap (stderr) none/tests/mremap2 (stdout) |
|
From: Tom H. <th...@cy...> - 2006-10-06 02:25:43
|
Nightly build on dellow ( x86_64, Fedora Core 5 ) started at 2006-10-06 03:10:04 BST Results unchanged from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 268 tests, 14 stderr failures, 1 stdout failure, 0 posttest failures == memcheck/tests/mempool (stderr) memcheck/tests/x86/scalar (stderr) memcheck/tests/xml1 (stderr) none/tests/fdleak_cmsg (stderr) none/tests/fdleak_creat (stderr) none/tests/fdleak_dup (stderr) none/tests/fdleak_dup2 (stderr) none/tests/fdleak_fcntl (stderr) none/tests/fdleak_ipv4 (stderr) none/tests/fdleak_open (stderr) none/tests/fdleak_pipe (stderr) none/tests/fdleak_socketpair (stderr) none/tests/mremap (stderr) none/tests/mremap2 (stdout) none/tests/rlimit_nofile (stderr) |
|
From: Tom H. <th...@cy...> - 2006-10-06 02:24:35
|
Nightly build on alvis ( i686, Red Hat 7.3 ) started at 2006-10-06 03:15:02 BST Results differ from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Last 20 lines of verbose log follow echo /tmp/ccYujJAT.s:4393: Error: no such instruction: `fisttpq -56(%ebp)' /tmp/ccYujJAT.s:4513: Error: no such instruction: `fisttpq -56(%ebp)' /tmp/ccYujJAT.s:4633: Error: no such instruction: `fisttpq -56(%ebp)' /tmp/ccYujJAT.s:4753: Error: no such instruction: `fisttpq -56(%ebp)' /tmp/ccYujJAT.s:4873: Error: no such instruction: `fisttpq -56(%ebp)' /tmp/ccYujJAT.s:4993: Error: no such instruction: `fisttpq -56(%ebp)' /tmp/ccYujJAT.s:5113: Error: no such instruction: `fisttpq -56(%ebp)' /tmp/ccYujJAT.s:5233: Error: no such instruction: `fisttpq -56(%ebp)' make[5]: *** [insn_sse3.o] Error 1 rm insn_mmx.c insn_sse2.c insn_fpu.c insn_mmxext.c insn_sse.c insn_sse3.c insn_cmov.c insn_basic.c make[5]: Leaving directory `/tmp/valgrind.26811/valgrind/none/tests/x86' make[4]: *** [check-am] Error 2 make[4]: Leaving directory `/tmp/valgrind.26811/valgrind/none/tests/x86' make[3]: *** [check-recursive] Error 1 make[3]: Leaving directory `/tmp/valgrind.26811/valgrind/none/tests' make[2]: *** [check-recursive] Error 1 make[2]: Leaving directory `/tmp/valgrind.26811/valgrind/none' make[1]: *** [check-recursive] Error 1 make[1]: Leaving directory `/tmp/valgrind.26811/valgrind' make: *** [check] Error 2 ================================================= == Results from 24 hours ago == ================================================= Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Last 20 lines of verbose log follow echo /tmp/ccMX3pay.s:4393: Error: no such instruction: `fisttpq -56(%ebp)' /tmp/ccMX3pay.s:4513: Error: no such instruction: `fisttpq -56(%ebp)' /tmp/ccMX3pay.s:4633: Error: no such instruction: `fisttpq -56(%ebp)' /tmp/ccMX3pay.s:4753: Error: no such instruction: `fisttpq -56(%ebp)' /tmp/ccMX3pay.s:4873: Error: no such instruction: `fisttpq -56(%ebp)' /tmp/ccMX3pay.s:4993: Error: no such instruction: `fisttpq -56(%ebp)' /tmp/ccMX3pay.s:5113: Error: no such instruction: `fisttpq -56(%ebp)' /tmp/ccMX3pay.s:5233: Error: no such instruction: `fisttpq -56(%ebp)' make[5]: *** [insn_sse3.o] Error 1 rm insn_mmx.c insn_sse2.c insn_fpu.c insn_mmxext.c insn_sse.c insn_sse3.c insn_cmov.c insn_basic.c make[5]: Leaving directory `/tmp/valgrind.26811/valgrind/none/tests/x86' make[4]: *** [check-am] Error 2 make[4]: Leaving directory `/tmp/valgrind.26811/valgrind/none/tests/x86' make[3]: *** [check-recursive] Error 1 make[3]: Leaving directory `/tmp/valgrind.26811/valgrind/none/tests' make[2]: *** [check-recursive] Error 1 make[2]: Leaving directory `/tmp/valgrind.26811/valgrind/none' make[1]: *** [check-recursive] Error 1 make[1]: Leaving directory `/tmp/valgrind.26811/valgrind' make: *** [check] Error 2 ================================================= == Difference between 24 hours ago and now == ================================================= *** old.short Fri Oct 6 03:19:47 2006 --- new.short Fri Oct 6 03:24:30 2006 *************** *** 7,16 **** Last 20 lines of verbose log follow echo ! /tmp/ccMX3pay.s:4393: Error: no such instruction: `fisttpq -56(%ebp)' ! /tmp/ccMX3pay.s:4513: Error: no such instruction: `fisttpq -56(%ebp)' ! /tmp/ccMX3pay.s:4633: Error: no such instruction: `fisttpq -56(%ebp)' ! /tmp/ccMX3pay.s:4753: Error: no such instruction: `fisttpq -56(%ebp)' ! /tmp/ccMX3pay.s:4873: Error: no such instruction: `fisttpq -56(%ebp)' ! /tmp/ccMX3pay.s:4993: Error: no such instruction: `fisttpq -56(%ebp)' ! /tmp/ccMX3pay.s:5113: Error: no such instruction: `fisttpq -56(%ebp)' ! /tmp/ccMX3pay.s:5233: Error: no such instruction: `fisttpq -56(%ebp)' make[5]: *** [insn_sse3.o] Error 1 --- 7,16 ---- Last 20 lines of verbose log follow echo ! /tmp/ccYujJAT.s:4393: Error: no such instruction: `fisttpq -56(%ebp)' ! /tmp/ccYujJAT.s:4513: Error: no such instruction: `fisttpq -56(%ebp)' ! /tmp/ccYujJAT.s:4633: Error: no such instruction: `fisttpq -56(%ebp)' ! /tmp/ccYujJAT.s:4753: Error: no such instruction: `fisttpq -56(%ebp)' ! /tmp/ccYujJAT.s:4873: Error: no such instruction: `fisttpq -56(%ebp)' ! /tmp/ccYujJAT.s:4993: Error: no such instruction: `fisttpq -56(%ebp)' ! /tmp/ccYujJAT.s:5113: Error: no such instruction: `fisttpq -56(%ebp)' ! /tmp/ccYujJAT.s:5233: Error: no such instruction: `fisttpq -56(%ebp)' make[5]: *** [insn_sse3.o] Error 1 |
|
From: Tom H. <th...@cy...> - 2006-10-06 02:20:06
|
Nightly build on lloyd ( x86_64, Fedora Core 3 ) started at 2006-10-06 03:05:04 BST Results unchanged from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 268 tests, 6 stderr failures, 2 stdout failures, 0 posttest failures == memcheck/tests/leakotron (stdout) memcheck/tests/mempool (stderr) memcheck/tests/pointer-trace (stderr) memcheck/tests/stack_switch (stderr) memcheck/tests/x86/scalar (stderr) memcheck/tests/x86/scalar_supp (stderr) none/tests/mremap (stderr) none/tests/mremap2 (stdout) |