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
(14) |
2
(12) |
3
(14) |
4
(12) |
5
(15) |
6
(12) |
7
(20) |
|
8
(10) |
9
(2) |
10
(8) |
11
(12) |
12
(20) |
13
(12) |
14
(15) |
|
15
(12) |
16
(17) |
17
(16) |
18
(10) |
19
(7) |
20
(7) |
21
(9) |
|
22
(4) |
23
(8) |
24
(4) |
25
|
26
(8) |
27
(5) |
28
(10) |
|
29
(6) |
30
(20) |
31
(9) |
|
|
|
|
|
From: <sv...@va...> - 2015-03-12 23:09:35
|
Author: philippe
Date: Thu Mar 12 23:09:28 2015
New Revision: 15008
Log:
Fix a warnings introduced by rev 15005
Modified:
trunk/coregrind/m_transtab.c
Modified: trunk/coregrind/m_transtab.c
==============================================================================
--- trunk/coregrind/m_transtab.c (original)
+++ trunk/coregrind/m_transtab.c Thu Mar 12 23:09:28 2015
@@ -2302,7 +2302,7 @@
n_in_count, n_in_osize, n_in_tsize,
safe_idiv(10*n_in_tsize, n_in_osize),
n_in_sc_count,
- n_in_tsize / n_in_count);
+ (int) (n_in_tsize / n_in_count));
VG_(message)(Vg_DebugMsg,
" transtab: dumped %'llu (%'llu -> ?" "?) "
"(sectors recycled %'llu)\n",
|
|
From: <sv...@va...> - 2015-03-12 22:53:24
|
Author: philippe
Date: Thu Mar 12 22:53:18 2015
New Revision: 15007
Log:
Announce in NEWS the new option --valgrind-stacksize
Modified:
trunk/NEWS
Modified: trunk/NEWS
==============================================================================
--- trunk/NEWS (original)
+++ trunk/NEWS Thu Mar 12 22:53:18 2015
@@ -30,10 +30,15 @@
searching/extracting errors in output files mixing valgrind
errors with program output.
-* New Option --max-threads=<number> can be used to increase the
+* New Option --max-threads=<number> can be used to change the
number of threads valgrind can handle. The default is 500 threads
which should be more than enough for most applications.
+* New Option --valgrind-stacksize=<number> can be used to change
+ the size of the private thread stacks used by Valgrind.
+ Useful to reduce memory use or increase the stack size if Valgrind
+ segfaults due to stack exhausted.
+
* Valgrind can be built with Intel's ICC compiler. The required
compiler version is 14.0 or later.
|
|
From: <sv...@va...> - 2015-03-12 22:47:05
|
Author: philippe
Date: Thu Mar 12 22:46:58 2015
New Revision: 15006
Log:
Fix non portability spotted by Florian:
An array must have at least 1 element.
0 element is accepted by gcc but is not portable.
Modified:
trunk/coregrind/m_aspacemgr/aspacemgr-common.c
Modified: trunk/coregrind/m_aspacemgr/aspacemgr-common.c
==============================================================================
--- trunk/coregrind/m_aspacemgr/aspacemgr-common.c (original)
+++ trunk/coregrind/m_aspacemgr/aspacemgr-common.c Thu Mar 12 22:46:58 2015
@@ -354,7 +354,9 @@
/*--- ---*/
/*-----------------------------------------------------------------*/
struct _VgStack {
- HChar bytes[0];
+ HChar bytes[1];
+ // We use a fake size of 1. A bigger size is allocated
+ // by VG_(am_alloc_VgStack).
};
/* Allocate and initialise a VgStack (anonymous valgrind space).
|
|
From: <sv...@va...> - 2015-03-12 22:36:29
|
Author: philippe
Date: Thu Mar 12 22:36:22 2015
New Revision: 15005
Log:
m_transtab.c statistic/tracing
* common up the identical debug and clo_stat traces
* add in the stats the nr of sectors recycled
* add the avg translation size in each sector recycled
and in the final statistics
(no functional change)
Modified:
trunk/coregrind/m_transtab.c
Modified: trunk/coregrind/m_transtab.c
==============================================================================
--- trunk/coregrind/m_transtab.c (original)
+++ trunk/coregrind/m_transtab.c Thu Mar 12 22:36:22 2015
@@ -413,6 +413,7 @@
/* Number/osize of translations discarded due to lack of space. */
static ULong n_dump_count = 0;
static ULong n_dump_osize = 0;
+static ULong n_sectors_recycled = 0;
/* Number/osize of translations discarded due to requests to do so. */
static ULong n_disc_count = 0;
@@ -1377,8 +1378,7 @@
}
vg_assert(sec->host_extents == NULL);
- VG_(debugLog)(1,"transtab", "allocate sector %d\n", sno);
- if (VG_(clo_stats))
+ if (VG_(clo_stats) || VG_(debugLog_getLevel)() >= 1)
VG_(dmsg)("transtab: " "allocate sector %d\n", sno);
sres = VG_(am_mmap_anon_float_valgrind)( 8 * tc_sector_szQ );
@@ -1423,9 +1423,9 @@
} else {
/* Sector has been used before. Dump the old contents. */
- VG_(debugLog)(1,"transtab", "recycle sector %d\n", sno);
- if (VG_(clo_stats))
+ if (VG_(clo_stats) || VG_(debugLog_getLevel)() >= 1)
VG_(dmsg)("transtab: " "recycle sector %d\n", sno);
+ n_sectors_recycled++;
vg_assert(sec->tt != NULL);
vg_assert(sec->tc_next != NULL);
@@ -1568,15 +1568,12 @@
/ N_TTES_PER_SECTOR;
Int tc_loading_pct = (100 * (tc_sector_szQ - tcAvailQ))
/ tc_sector_szQ;
- VG_(debugLog)(1,"transtab",
- "declare sector %d full "
- "(TT loading %2d%%, TC loading %2d%%)\n",
- y, tt_loading_pct, tc_loading_pct);
- if (VG_(clo_stats)) {
+ if (VG_(clo_stats) || VG_(debugLog_getLevel)() >= 1) {
VG_(dmsg)("transtab: "
"declare sector %d full "
- "(TT loading %2d%%, TC loading %2d%%)\n",
- y, tt_loading_pct, tc_loading_pct);
+ "(TT loading %2d%%, TC loading %2d%%, avg tce size %d)\n",
+ y, tt_loading_pct, tc_loading_pct,
+ 8 * (tc_sector_szQ - tcAvailQ)/sectors[y].tt_n_inuse);
}
youngest_sector++;
if (youngest_sector >= n_sectors)
@@ -2300,13 +2297,16 @@
VG_(message)(Vg_DebugMsg,
" transtab: new %'lld "
- "(%'llu -> %'llu; ratio %'llu:10) [%'llu scs]\n",
+ "(%'llu -> %'llu; ratio %'llu:10) [%'llu scs] "
+ "avg tce size %d\n",
n_in_count, n_in_osize, n_in_tsize,
safe_idiv(10*n_in_tsize, n_in_osize),
- n_in_sc_count);
+ n_in_sc_count,
+ n_in_tsize / n_in_count);
VG_(message)(Vg_DebugMsg,
- " transtab: dumped %'llu (%'llu -> ?" "?)\n",
- n_dump_count, n_dump_osize );
+ " transtab: dumped %'llu (%'llu -> ?" "?) "
+ "(sectors recycled %'llu)\n",
+ n_dump_count, n_dump_osize, n_sectors_recycled );
VG_(message)(Vg_DebugMsg,
" transtab: discarded %'llu (%'llu -> ?" "?)\n",
n_disc_count, n_disc_osize );
|
|
From: Florian K. <fl...@ei...> - 2015-03-12 21:52:14
|
On 12.03.2015 21:43, sv...@va... wrote:
> +struct _VgStack {
> + HChar bytes[0];
> +};
This is not portable, although GCC will allow it.
C says that the number of elements in an array be > 0.
struct _VgStack {
HChar bytes[1];
};
should do the trick.
In case you're tempted to use a flexible array member, you cannot
as a flexible array member must not be the only member in a struct.
Florian
|
|
From: <sv...@va...> - 2015-03-12 20:43:55
|
Author: philippe
Date: Thu Mar 12 20:43:46 2015
New Revision: 15004
Log:
Implement command line option --valgrind-stacksize=<number>
This allows to decrease memory usage when using many threads,
if no big stacksize is needed by Valgrind.
If needed (e.g. for demangling big c++ symbols), the V stacksize
can be increased.
Modified:
trunk/coregrind/m_aspacemgr/aspacemgr-common.c
trunk/coregrind/m_libcassert.c
trunk/coregrind/m_main.c
trunk/coregrind/m_options.c
trunk/coregrind/m_scheduler/scheduler.c
trunk/coregrind/pub_core_aspacemgr.h
trunk/coregrind/pub_core_options.h
trunk/docs/xml/manual-core.xml
trunk/memcheck/tests/err_disable4.vgtest
trunk/none/tests/cmdline1.stdout.exp
trunk/none/tests/cmdline2.stdout.exp
Modified: trunk/coregrind/m_aspacemgr/aspacemgr-common.c
==============================================================================
--- trunk/coregrind/m_aspacemgr/aspacemgr-common.c (original)
+++ trunk/coregrind/m_aspacemgr/aspacemgr-common.c Thu Mar 12 20:43:46 2015
@@ -353,6 +353,9 @@
/*--- Manage stacks for Valgrind itself. ---*/
/*--- ---*/
/*-----------------------------------------------------------------*/
+struct _VgStack {
+ HChar bytes[0];
+};
/* Allocate and initialise a VgStack (anonymous valgrind space).
Protect the stack active area and the guard areas appropriately.
@@ -370,7 +373,7 @@
/* Allocate the stack. */
szB = VG_STACK_GUARD_SZB
- + VG_STACK_ACTIVE_SZB + VG_STACK_GUARD_SZB;
+ + VG_(clo_valgrind_stacksize) + VG_STACK_GUARD_SZB;
sres = VG_(am_mmap_anon_float_valgrind)( szB );
if (sr_isError(sres))
@@ -393,12 +396,12 @@
);
sres = local_do_mprotect_NO_NOTIFY(
- (Addr) &stack->bytes[VG_STACK_GUARD_SZB + VG_STACK_ACTIVE_SZB],
+ (Addr) &stack->bytes[VG_STACK_GUARD_SZB + VG_(clo_valgrind_stacksize)],
VG_STACK_GUARD_SZB, VKI_PROT_NONE
);
if (sr_isError(sres)) goto protect_failed;
VG_(am_notify_mprotect)(
- (Addr) &stack->bytes[VG_STACK_GUARD_SZB + VG_STACK_ACTIVE_SZB],
+ (Addr) &stack->bytes[VG_STACK_GUARD_SZB + VG_(clo_valgrind_stacksize)],
VG_STACK_GUARD_SZB, VKI_PROT_NONE
);
@@ -406,14 +409,15 @@
tell how much got used. */
p = (UInt*)&stack->bytes[VG_STACK_GUARD_SZB];
- for (i = 0; i < VG_STACK_ACTIVE_SZB/sizeof(UInt); i++)
+ for (i = 0; i < VG_(clo_valgrind_stacksize)/sizeof(UInt); i++)
p[i] = 0xDEADBEEF;
- *initial_sp = (Addr)&stack->bytes[VG_STACK_GUARD_SZB + VG_STACK_ACTIVE_SZB];
+ *initial_sp = (Addr)&stack->bytes[VG_STACK_GUARD_SZB + VG_(clo_valgrind_stacksize)];
*initial_sp -= 8;
*initial_sp &= ~((Addr)0x1F); /* 32-align it */
- VG_(debugLog)( 1,"aspacem","allocated thread stack at 0x%llx size %d\n",
+ VG_(debugLog)( 1,"aspacem",
+ "allocated valgrind thread stack at 0x%llx size %d\n",
(ULong)(Addr)stack, szB);
ML_(am_do_sanity_check)();
return stack;
@@ -436,7 +440,7 @@
const UInt* p;
p = (const UInt*)&stack->bytes[VG_STACK_GUARD_SZB];
- for (i = 0; i < VG_STACK_ACTIVE_SZB/sizeof(UInt); i++) {
+ for (i = 0; i < VG_(clo_valgrind_stacksize)/sizeof(UInt); i++) {
if (p[i] != 0xDEADBEEF)
break;
if (i * sizeof(UInt) >= limit)
Modified: trunk/coregrind/m_libcassert.c
==============================================================================
--- trunk/coregrind/m_libcassert.c (original)
+++ trunk/coregrind/m_libcassert.c Thu Mar 12 20:43:46 2015
@@ -365,10 +365,10 @@
}
if (stack_usage && stack != 0)
VG_(printf)("valgrind stack top usage: %ld of %ld\n",
- VG_STACK_ACTIVE_SZB
+ VG_(clo_valgrind_stacksize)
- VG_(am_get_VgStack_unused_szB)(stack,
- VG_STACK_ACTIVE_SZB),
- (SizeT) VG_STACK_ACTIVE_SZB);
+ VG_(clo_valgrind_stacksize)),
+ (SizeT) VG_(clo_valgrind_stacksize));
}
VG_(printf)("\n");
}
Modified: trunk/coregrind/m_main.c
==============================================================================
--- trunk/coregrind/m_main.c (original)
+++ trunk/coregrind/m_main.c Thu Mar 12 20:43:46 2015
@@ -195,6 +195,10 @@
" --num-transtab-sectors=<number> size of translated code cache [%d]\n"
" more sectors may increase performance, but use more memory.\n"
" --aspace-minaddr=0xPP avoid mapping memory below 0xPP [guessed]\n"
+" --valgrind-stacksize=<number> size of valgrind (host) thread's stack\n"
+" (in bytes) ["
+ VG_STRINGIFY(VG_DEFAULT_STACK_ACTIVE_SZB)
+ "]\n"
" --show-emwarns=no|yes show warnings about emulation limits? [no]\n"
" --require-text-symbol=:sonamepattern:symbolpattern abort run if the\n"
" stated shared object doesn't have the stated\n"
@@ -556,6 +560,12 @@
else if VG_STREQN(15, arg, "--redzone-size=") {}
else if VG_STREQN(17, arg, "--aspace-minaddr=") {}
+ else if VG_BINT_CLO(arg, "--valgrind-stacksize",
+ VG_(clo_valgrind_stacksize),
+ 2*VKI_PAGE_SIZE, 10*VG_DEFAULT_STACK_ACTIVE_SZB)
+ {VG_(clo_valgrind_stacksize)
+ = VG_PGROUNDUP(VG_(clo_valgrind_stacksize));}
+
/* Obsolete options. Report an error and exit */
else if VG_STREQN(34, arg, "--vex-iropt-precise-memory-exns=no") {
VG_(fmsg_bad_option)
@@ -1551,7 +1561,9 @@
marked global even though it isn't, because assembly code below
needs to reference the name. */
-/*static*/ VgStack VG_(interim_stack);
+/*static*/ struct {
+ HChar bytes [VG_STACK_GUARD_SZB + VG_DEFAULT_STACK_ACTIVE_SZB + VG_STACK_GUARD_SZB];
+} VG_(interim_stack);
/* These are the structures used to hold info for creating the initial
client image.
@@ -2506,7 +2518,6 @@
VG_(am_show_nsegments)(1,"Memory layout at client shutdown");
vg_assert(VG_(is_running_thread)(tid));
-
vg_assert(tids_schedretcode == VgSrc_ExitThread
|| tids_schedretcode == VgSrc_ExitProcess
|| tids_schedretcode == VgSrc_FatalSig );
@@ -2863,7 +2874,7 @@
/* set up the new stack in %eax */
"\tmovl $vgPlain_interim_stack, %eax\n"
"\taddl $"VG_STRINGIFY(VG_STACK_GUARD_SZB)", %eax\n"
- "\taddl $"VG_STRINGIFY(VG_STACK_ACTIVE_SZB)", %eax\n"
+ "\taddl $"VG_STRINGIFY(VG_DEFAULT_STACK_ACTIVE_SZB)", %eax\n"
"\tsubl $16, %eax\n"
"\tandl $~15, %eax\n"
/* install it, and collect the original one */
@@ -2883,7 +2894,7 @@
/* set up the new stack in %rdi */
"\tmovq $vgPlain_interim_stack, %rdi\n"
"\taddq $"VG_STRINGIFY(VG_STACK_GUARD_SZB)", %rdi\n"
- "\taddq $"VG_STRINGIFY(VG_STACK_ACTIVE_SZB)", %rdi\n"
+ "\taddq $"VG_STRINGIFY(VG_DEFAULT_STACK_ACTIVE_SZB)", %rdi\n"
"\tandq $~15, %rdi\n"
/* install it, and collect the original one */
"\txchgq %rdi, %rsp\n"
@@ -2903,13 +2914,13 @@
"\tla 16,vgPlain_interim_stack@l(16)\n"
"\tlis 17,("VG_STRINGIFY(VG_STACK_GUARD_SZB)" >> 16)\n"
"\tori 17,17,("VG_STRINGIFY(VG_STACK_GUARD_SZB)" & 0xFFFF)\n"
- "\tlis 18,("VG_STRINGIFY(VG_STACK_ACTIVE_SZB)" >> 16)\n"
- "\tori 18,18,("VG_STRINGIFY(VG_STACK_ACTIVE_SZB)" & 0xFFFF)\n"
+ "\tlis 18,("VG_STRINGIFY(VG_DEFAULT_STACK_ACTIVE_SZB)" >> 16)\n"
+ "\tori 18,18,("VG_STRINGIFY(VG_DEFAULT_STACK_ACTIVE_SZB)" & 0xFFFF)\n"
"\tadd 16,17,16\n"
"\tadd 16,18,16\n"
"\trlwinm 16,16,0,0,27\n"
/* now r16 = &vgPlain_interim_stack + VG_STACK_GUARD_SZB +
- VG_STACK_ACTIVE_SZB rounded down to the nearest 16-byte
+ VG_DEFAULT_STACK_ACTIVE_SZB rounded down to the nearest 16-byte
boundary. And r1 is the original SP. Set the SP to r16 and
call _start_in_C_linux, passing it the initial SP. */
"\tmr 3,1\n"
@@ -2942,13 +2953,13 @@
"\tlis 17,("VG_STRINGIFY(VG_STACK_GUARD_SZB)" >> 16)\n"
"\tori 17,17,("VG_STRINGIFY(VG_STACK_GUARD_SZB)" & 0xFFFF)\n"
"\txor 18,18,18\n"
- "\tlis 18,("VG_STRINGIFY(VG_STACK_ACTIVE_SZB)" >> 16)\n"
- "\tori 18,18,("VG_STRINGIFY(VG_STACK_ACTIVE_SZB)" & 0xFFFF)\n"
+ "\tlis 18,("VG_STRINGIFY(VG_DEFAULT_STACK_ACTIVE_SZB)" >> 16)\n"
+ "\tori 18,18,("VG_STRINGIFY(VG_DEFAULT_STACK_ACTIVE_SZB)" & 0xFFFF)\n"
"\tadd 16,17,16\n"
"\tadd 16,18,16\n"
"\trldicr 16,16,0,59\n"
/* now r16 = &vgPlain_interim_stack + VG_STACK_GUARD_SZB +
- VG_STACK_ACTIVE_SZB rounded down to the nearest 16-byte
+ VG_DEFAULT_STACK_ACTIVE_SZB rounded down to the nearest 16-byte
boundary. And r1 is the original SP. Set the SP to r16 and
call _start_in_C_linux, passing it the initial SP. */
"\tmr 3,1\n"
@@ -2988,13 +2999,13 @@
"\tlis 17,("VG_STRINGIFY(VG_STACK_GUARD_SZB)" >> 16)\n"
"\tori 17,17,("VG_STRINGIFY(VG_STACK_GUARD_SZB)" & 0xFFFF)\n"
"\txor 18,18,18\n"
- "\tlis 18,("VG_STRINGIFY(VG_STACK_ACTIVE_SZB)" >> 16)\n"
- "\tori 18,18,("VG_STRINGIFY(VG_STACK_ACTIVE_SZB)" & 0xFFFF)\n"
+ "\tlis 18,("VG_STRINGIFY(VG_DEFAULT_STACK_ACTIVE_SZB)" >> 16)\n"
+ "\tori 18,18,("VG_STRINGIFY(VG_DEFAULT_STACK_ACTIVE_SZB)" & 0xFFFF)\n"
"\tadd 16,17,16\n"
"\tadd 16,18,16\n"
"\trldicr 16,16,0,59\n"
/* now r16 = &vgPlain_interim_stack + VG_STACK_GUARD_SZB +
- VG_STACK_ACTIVE_SZB rounded down to the nearest 16-byte
+ VG_DEFAULT_STACK_ACTIVE_SZB rounded down to the nearest 16-byte
boundary. And r1 is the original SP. Set the SP to r16 and
call _start_in_C_linux, passing it the initial SP. */
"\tmr 3,1\n"
@@ -3047,7 +3058,7 @@
/* trigger execution of an invalid opcode -> halt machine */
"j .+2\n\t"
"1: .quad "VG_STRINGIFY(VG_STACK_GUARD_SZB)"\n\t"
- "2: .quad "VG_STRINGIFY(VG_STACK_ACTIVE_SZB)"\n\t"
+ "2: .quad "VG_STRINGIFY(VG_DEFAULT_STACK_ACTIVE_SZB)"\n\t"
".previous\n"
);
#elif defined(VGP_arm_linux)
@@ -3070,7 +3081,7 @@
"\tb _start_in_C_linux\n"
"\t.word vgPlain_interim_stack\n"
"\t.word "VG_STRINGIFY(VG_STACK_GUARD_SZB)"\n"
- "\t.word "VG_STRINGIFY(VG_STACK_ACTIVE_SZB)"\n"
+ "\t.word "VG_STRINGIFY(VG_DEFAULT_STACK_ACTIVE_SZB)"\n"
);
#elif defined(VGP_arm64_linux)
asm("\n"
@@ -3086,9 +3097,9 @@
"\tmovk x1, (("VG_STRINGIFY(VG_STACK_GUARD_SZB)") >> 16) & 0xFFFF,"
" lsl 16\n"
"\tadd x0, x0, x1\n"
- // The next 2 assume that VG_STACK_ACTIVE_SZB fits in 32 bits
- "\tmov x1, (("VG_STRINGIFY(VG_STACK_ACTIVE_SZB)") >> 0) & 0xFFFF\n"
- "\tmovk x1, (("VG_STRINGIFY(VG_STACK_ACTIVE_SZB)") >> 16) & 0xFFFF,"
+ // The next 2 assume that VG_DEFAULT_STACK_ACTIVE_SZB fits in 32 bits
+ "\tmov x1, (("VG_STRINGIFY(VG_DEFAULT_STACK_ACTIVE_SZB)") >> 0) & 0xFFFF\n"
+ "\tmovk x1, (("VG_STRINGIFY(VG_DEFAULT_STACK_ACTIVE_SZB)") >> 16) & 0xFFFF,"
" lsl 16\n"
"\tadd x0, x0, x1\n"
"\tand x0, x0, -16\n"
@@ -3120,14 +3131,14 @@
"\tli $10, "VG_STRINGIFY(VG_STACK_GUARD_SZB)"\n"
- "\tli $11, "VG_STRINGIFY(VG_STACK_ACTIVE_SZB)"\n"
+ "\tli $11, "VG_STRINGIFY(VG_DEFAULT_STACK_ACTIVE_SZB)"\n"
"\taddu $9, $9, $10\n"
"\taddu $9, $9, $11\n"
"\tli $12, 0xFFFFFFF0\n"
"\tand $9, $9, $12\n"
/* now t1/$9 = &vgPlain_interim_stack + VG_STACK_GUARD_SZB +
- VG_STACK_ACTIVE_SZB rounded down to the nearest 16-byte
+ VG_DEFAULT_STACK_ACTIVE_SZB rounded down to the nearest 16-byte
boundary. And $29 is the original SP. Set the SP to t1 and
call _start_in_C, passing it the initial SP. */
@@ -3156,14 +3167,14 @@
"\tdaddiu $9, %lo(vgPlain_interim_stack)\n"
"\tli $10, "VG_STRINGIFY(VG_STACK_GUARD_SZB)"\n"
- "\tli $11, "VG_STRINGIFY(VG_STACK_ACTIVE_SZB)"\n"
+ "\tli $11, "VG_STRINGIFY(VG_DEFAULT_STACK_ACTIVE_SZB)"\n"
"\tdaddu $9, $9, $10\n"
"\tdaddu $9, $9, $11\n"
"\tli $12, 0xFFFFFF00\n"
"\tand $9, $9, $12\n"
/* now t1/$9 = &vgPlain_interim_stack + VG_STACK_GUARD_SZB +
- VG_STACK_ACTIVE_SZB rounded down to the nearest 16-byte
+ VG_DEFAULT_STACK_ACTIVE_SZB rounded down to the nearest 16-byte
boundary. And $29 is the original SP. Set the SP to t1 and
call _start_in_C, passing it the initial SP. */
@@ -3285,7 +3296,7 @@
/* set up the new stack in %eax */
"\tmovl $_vgPlain_interim_stack, %eax\n"
"\taddl $"VG_STRINGIFY(VG_STACK_GUARD_SZB)", %eax\n"
- "\taddl $"VG_STRINGIFY(VG_STACK_ACTIVE_SZB)", %eax\n"
+ "\taddl $"VG_STRINGIFY(VG_DEFAULT_STACK_ACTIVE_SZB)", %eax\n"
"\tsubl $16, %eax\n"
"\tandl $~15, %eax\n"
/* install it, and collect the original one */
@@ -3306,7 +3317,7 @@
/* set up the new stack in %rdi */
"\tmovabsq $_vgPlain_interim_stack, %rdi\n"
"\taddq $"VG_STRINGIFY(VG_STACK_GUARD_SZB)", %rdi\n"
- "\taddq $"VG_STRINGIFY(VG_STACK_ACTIVE_SZB)", %rdi\n"
+ "\taddq $"VG_STRINGIFY(VG_DEFAULT_STACK_ACTIVE_SZB)", %rdi\n"
"\tandq $~15, %rdi\n"
/* install it, and collect the original one */
"\txchgq %rdi, %rsp\n"
Modified: trunk/coregrind/m_options.c
==============================================================================
--- trunk/coregrind/m_options.c (original)
+++ trunk/coregrind/m_options.c Thu Mar 12 20:43:46 2015
@@ -38,6 +38,7 @@
#include "pub_core_libcproc.h"
#include "pub_core_mallocfree.h"
#include "pub_core_seqmatch.h" // VG_(string_match)
+#include "pub_core_aspacemgr.h"
// See pub_{core,tool}_options.h for explanations of all these.
@@ -128,6 +129,7 @@
Word VG_(clo_max_stackframe) = 2000000;
UInt VG_(clo_max_threads) = MAX_THREADS_DEFAULT;
Word VG_(clo_main_stacksize) = 0; /* use client's rlimit.stack */
+Word VG_(clo_valgrind_stacksize) = VG_DEFAULT_STACK_ACTIVE_SZB;
Bool VG_(clo_wait_for_gdb) = False;
VgSmc VG_(clo_smc_check) = Vg_SmcStack;
UInt VG_(clo_kernel_variant) = 0;
Modified: trunk/coregrind/m_scheduler/scheduler.c
==============================================================================
--- trunk/coregrind/m_scheduler/scheduler.c (original)
+++ trunk/coregrind/m_scheduler/scheduler.c Thu Mar 12 20:43:46 2015
@@ -2236,7 +2236,9 @@
if (remains < limit)
VG_(message)(Vg_DebugMsg,
"WARNING: Thread %d is within %ld bytes "
- "of running out of stack!\n",
+ "of running out of valgrind stack!\n"
+ "Valgrind stack size can be increased "
+ "using --valgrind-stacksize=....\n",
tid, remains);
}
}
Modified: trunk/coregrind/pub_core_aspacemgr.h
==============================================================================
--- trunk/coregrind/pub_core_aspacemgr.h (original)
+++ trunk/coregrind/pub_core_aspacemgr.h Thu Mar 12 20:43:46 2015
@@ -305,24 +305,23 @@
// stacks. The address space manager provides and suitably
// protects such stacks.
+// VG_DEFAULT_STACK_ACTIVE_SZB is the default size of a Valgrind stack.
+// The effectively used size is controlled by the command line options
+// --valgrind-stack-size=xxxx (which must be page aligned).
+// Note that m_main.c needs an interim stack (just to startup), before
+// any command line option can be processed. This interim stack
+// (declared in m_main.c) will use the size VG_DEFAULT_STACK_ACTIVE_SZB.
#if defined(VGP_ppc32_linux) \
|| defined(VGP_ppc64be_linux) || defined(VGP_ppc64le_linux) \
|| defined(VGP_mips32_linux) || defined(VGP_mips64_linux) \
|| defined(VGP_arm64_linux)
# define VG_STACK_GUARD_SZB 65536 // 1 or 16 pages
-# define VG_STACK_ACTIVE_SZB (4096 * 256) // 1Mb
#else
# define VG_STACK_GUARD_SZB 8192 // 2 pages
-# define VG_STACK_ACTIVE_SZB (4096 * 256) // 1Mb
#endif
+# define VG_DEFAULT_STACK_ACTIVE_SZB 1048576 // (4096 * 256) = 1Mb
-typedef
- struct {
- HChar bytes[VG_STACK_GUARD_SZB
- + VG_STACK_ACTIVE_SZB
- + VG_STACK_GUARD_SZB];
- }
- VgStack;
+typedef struct _VgStack VgStack;
/* Allocate and initialise a VgStack (anonymous valgrind space).
Modified: trunk/coregrind/pub_core_options.h
==============================================================================
--- trunk/coregrind/pub_core_options.h (original)
+++ trunk/coregrind/pub_core_options.h Thu Mar 12 20:43:46 2015
@@ -314,6 +314,10 @@
VG_(clo_aspacem_minAddr). */
extern Addr VG_(clo_aspacem_minAddr);
+/* How large the Valgrind thread stacks should be.
+ Will be rounded up to a page.. */
+extern Word VG_(clo_valgrind_stacksize);
+
/* Delay startup to allow GDB to be attached? Default: NO */
extern Bool VG_(clo_wait_for_gdb);
Modified: trunk/docs/xml/manual-core.xml
==============================================================================
--- trunk/docs/xml/manual-core.xml (original)
+++ trunk/docs/xml/manual-core.xml Thu Mar 12 20:43:46 2015
@@ -2249,12 +2249,37 @@
provided <computeroutput>address</computeroutput> must be page
aligned and must be equal or bigger to 0x1000 (4KB). To find the
default value on your platform, do something such as
- <computeroutput>valgrind -d -d date 2>&1 | grep -i minaddr</computeroutput>. Values lower than 0x10000 (64KB) are known to create problems
+ <computeroutput>valgrind -d -d date 2>&1 | grep -i minaddr</computeroutput>.
+ Values lower than 0x10000 (64KB) are known to create problems
on some distributions.
</para>
</listitem>
</varlistentry>
+ <varlistentry id="opt.valgrind-stacksize" xreflabel="----valgrind-stacksize">
+ <term>
+ <option><![CDATA[--valgrind-stacksize=<number> [default: 1MB] ]]></option>
+ </term>
+ <listitem>
+ <para>For each thread, Valgrind needs its own 'private' stack.
+ The default size for these stacks is largely dimensioned, and so
+ should be sufficient in most cases. In case the size is too small,
+ Valgrind will segfault. Before segfaulting, a warning might be produced
+ by Valgrind when approaching the limit.
+ </para>
+ <para>
+ Use the option <option>--valgrind-stacksize</option> if such an (unlikely)
+ warning is produced, or Valgrind dies due to a segmentation violation.
+ Such segmentation violations have been seen when demangling huge C++
+ symbols.
+ </para>
+ <para>If your application uses many threads and needs a lot of memory, you can
+ gain some memory by reducing the size of these Valgrind stacks using
+ the option <option>--valgrind-stacksize</option>.
+ </para>
+ </listitem>
+ </varlistentry>
+
<varlistentry id="opt.show-emwarns" xreflabel="--show-emwarns">
<term>
<option><![CDATA[--show-emwarns=<yes|no> [default: no] ]]></option>
Modified: trunk/memcheck/tests/err_disable4.vgtest
==============================================================================
--- trunk/memcheck/tests/err_disable4.vgtest (original)
+++ trunk/memcheck/tests/err_disable4.vgtest Thu Mar 12 20:43:46 2015
@@ -1,5 +1,6 @@
prog: err_disable4
-vgopts: -q --num-callers=3
+vgopts: -q --num-callers=3 --valgrind-stacksize=131072
+## 131072 is the minimum value needed on ppc64 (2 pages of 64K)
stderr_filter: ../../helgrind/tests/filter_stderr
## This is so as to get rid of the "Thread #" lines, which
## otherwise perturb the output due to differences in
Modified: trunk/none/tests/cmdline1.stdout.exp
==============================================================================
--- trunk/none/tests/cmdline1.stdout.exp (original)
+++ trunk/none/tests/cmdline1.stdout.exp Thu Mar 12 20:43:46 2015
@@ -108,6 +108,8 @@
--num-transtab-sectors=<number> size of translated code cache [16]
more sectors may increase performance, but use more memory.
--aspace-minaddr=0xPP avoid mapping memory below 0xPP [guessed]
+ --valgrind-stacksize=<number> size of valgrind (host) thread's stack
+ (in bytes) [1048576]
--show-emwarns=no|yes show warnings about emulation limits? [no]
--require-text-symbol=:sonamepattern:symbolpattern abort run if the
stated shared object doesn't have the stated
Modified: trunk/none/tests/cmdline2.stdout.exp
==============================================================================
--- trunk/none/tests/cmdline2.stdout.exp (original)
+++ trunk/none/tests/cmdline2.stdout.exp Thu Mar 12 20:43:46 2015
@@ -108,6 +108,8 @@
--num-transtab-sectors=<number> size of translated code cache [16]
more sectors may increase performance, but use more memory.
--aspace-minaddr=0xPP avoid mapping memory below 0xPP [guessed]
+ --valgrind-stacksize=<number> size of valgrind (host) thread's stack
+ (in bytes) [1048576]
--show-emwarns=no|yes show warnings about emulation limits? [no]
--require-text-symbol=:sonamepattern:symbolpattern abort run if the
stated shared object doesn't have the stated
|
|
From: <sv...@va...> - 2015-03-12 18:56:28
|
Author: florian
Date: Thu Mar 12 18:56:21 2015
New Revision: 15003
Log:
Fix two bugs:
(1) In r14664 VG_(get_fnname_if_entry) was changed to always
return a function name, even if that function was *not* an
entry. That broke callgrind and was also confusing because
it contradicts what "get_fnname_if_entry" suggests.
(2) In r14189 a function call was removed because it was considered
redundant which it was not.
Both bugs were hunted down by Joseph Weidendorfer.
Modified:
trunk/coregrind/m_debuginfo/debuginfo.c
trunk/exp-bbv/bbv_main.c
Modified: trunk/coregrind/m_debuginfo/debuginfo.c
==============================================================================
--- trunk/coregrind/m_debuginfo/debuginfo.c (original)
+++ trunk/coregrind/m_debuginfo/debuginfo.c Thu Mar 12 18:56:21 2015
@@ -1724,7 +1724,7 @@
/* The whole point of this whole big deal: map a code address to a
plausible symbol name. Returns False if no idea; otherwise True.
- Caller supplies buf and nbuf. If do_cxx_demangling is False, don't do
+ Caller supplies buf. If do_cxx_demangling is False, don't do
C++ demangling, regardless of VG_(clo_demangle) -- probably because the
call has come from VG_(get_fnname_raw)(). findText
indicates whether we're looking for a text symbol or a data symbol
@@ -1850,13 +1850,19 @@
of the return string at function get_sym_name */
Bool VG_(get_fnname_if_entry) ( Addr a, const HChar** buf )
{
- return get_sym_name ( /*C++-demangle*/True, /*Z-demangle*/True,
+ const HChar *tmp;
+ Bool res;
+
+ res = get_sym_name ( /*C++-demangle*/True, /*Z-demangle*/True,
/*below-main-renaming*/True,
- a, buf,
+ a, &tmp,
/*match_anywhere_in_fun*/False,
/*show offset?*/False,
/*text syms only*/True,
/*offsetP*/NULL );
+ if (res)
+ *buf = tmp;
+ return res;
}
/* This is only available to core... don't C++-demangle, don't Z-demangle,
Modified: trunk/exp-bbv/bbv_main.c
==============================================================================
--- trunk/exp-bbv/bbv_main.c (original)
+++ trunk/exp-bbv/bbv_main.c Thu Mar 12 18:56:21 2015
@@ -392,6 +392,7 @@
block_num++;
/* get function name and entry point information */
const HChar *fn_name;
+ VG_(get_fnname)(origAddr, &fn_name);
bbInfo->is_entry=VG_(get_fnname_if_entry)(origAddr, &fn_name);
bbInfo->fn_name =VG_(strdup)("bbv_strings", fn_name);
/* insert structure into table */
|
|
From: <sv...@va...> - 2015-03-12 11:02:22
|
Author: florian
Date: Thu Mar 12 11:02:11 2015
New Revision: 15002
Log:
Announce fix for BZ #345079.
Modified:
trunk/NEWS
Modified: trunk/NEWS
==============================================================================
--- trunk/NEWS (original)
+++ trunk/NEWS Thu Mar 12 11:02:11 2015
@@ -532,6 +532,7 @@
338878 on MacOS: assertion 'VG_IS_PAGE_ALIGNED(clstack_end+1)' failed
338932 build V-trunk with gcc-trunk
338974 glibc 2.20 changed size of struct sigaction sa_flags field on s390
+345079 Fix build problems in VEX/useful/test_main.c
n-i-bz Fix KVM_CREATE_IRQCHIP ioctl handling
n-i-bz s390x: Fix memory corruption for multithreaded applications
n-i-bz vex arm->IR: allow PC as basereg in some LDRD cases
|
|
From: <sv...@va...> - 2015-03-12 11:01:20
|
Author: florian
Date: Thu Mar 12 11:01:12 2015
New Revision: 3102
Log:
Fix build problems. The code has been bitrotting for some time.
Note, that while the file compiles and links, not all IROps are handled.
So there may be runtime problems.
Fixes BZ #345079. Patch by Ivo Raisr (iv...@iv...).
Modified:
trunk/useful/test_main.c
Modified: trunk/useful/test_main.c
==============================================================================
--- trunk/useful/test_main.c (original)
+++ trunk/useful/test_main.c Thu Mar 12 11:01:12 2015
@@ -58,7 +58,7 @@
}
static
-void log_bytes ( HChar* bytes, Int nbytes )
+void log_bytes ( const HChar* bytes, SizeT nbytes )
{
fwrite ( bytes, 1, nbytes, stdout );
}
@@ -84,10 +84,11 @@
IRType gWordTy, IRType hWordTy );
#endif
-static Bool chase_into_not_ok ( void* opaque, Addr64 dst ) {
+static Bool chase_into_not_ok ( void* opaque, Addr dst ) {
return False;
}
-static UInt needs_self_check ( void* opaque, VexGuestExtents* vge ) {
+static UInt needs_self_check ( void *closureV, VexRegisterUpdates *pxControl,
+ const VexGuestExtents *vge ) {
return 0;
}
@@ -223,7 +224,7 @@
/* ARM/Thumb only hacks, that are needed to keep the ITstate
analyser in the front end happy. */
vta.guest_bytes = &origbuf[18 +1];
- vta.guest_bytes_addr = &origbuf[18 +1];
+ vta.guest_bytes_addr = (Addr) &origbuf[18 +1];
#endif
#if 1 /* no instrumentation */
@@ -1949,13 +1950,12 @@
return unary64F0x2(mce, vatom);
case Iop_Sqrt32Fx4:
- case Iop_RSqrt32Fx4:
- case Iop_Recip32Fx4:
+ case Iop_RecipEst32Fx4:
return unary32Fx4(mce, vatom);
case Iop_Sqrt32F0x4:
- case Iop_RSqrt32F0x4:
- case Iop_Recip32F0x4:
+ case Iop_RSqrtEst32F0x4:
+ case Iop_RecipEst32F0x4:
return unary32F0x4(mce, vatom);
case Iop_32UtoV128:
|
|
From: <sv...@va...> - 2015-03-12 10:21:37
|
Author: florian
Date: Thu Mar 12 10:21:29 2015
New Revision: 3101
Log:
Fix two undefined behaviours found by ubsan.
Signed integer overflow in multiplication.
Modified:
trunk/priv/guest_amd64_helpers.c
trunk/priv/guest_x86_helpers.c
Modified: trunk/priv/guest_amd64_helpers.c
==============================================================================
--- trunk/priv/guest_amd64_helpers.c (original)
+++ trunk/priv/guest_amd64_helpers.c Thu Mar 12 10:21:29 2015
@@ -439,8 +439,8 @@
{ ULong cf, pf, af, zf, sf, of; \
DATA_STYPE hi; \
DATA_STYPE lo \
- = NARROWtoS( ((DATA_STYPE)CC_DEP1) \
- * ((DATA_STYPE)CC_DEP2) ); \
+ = NARROWtoS( ((DATA_S2TYPE)(DATA_STYPE)CC_DEP1) \
+ * ((DATA_S2TYPE)(DATA_STYPE)CC_DEP2) ); \
DATA_S2TYPE rr \
= NARROWto2S( \
((DATA_S2TYPE)((DATA_STYPE)CC_DEP1)) \
Modified: trunk/priv/guest_x86_helpers.c
==============================================================================
--- trunk/priv/guest_x86_helpers.c (original)
+++ trunk/priv/guest_x86_helpers.c Thu Mar 12 10:21:29 2015
@@ -397,8 +397,8 @@
{ UInt cf, pf, af, zf, sf, of; \
DATA_STYPE hi; \
DATA_STYPE lo \
- = NARROWtoS( ((DATA_STYPE)CC_DEP1) \
- * ((DATA_STYPE)CC_DEP2) ); \
+ = NARROWtoS( ((DATA_S2TYPE)(DATA_STYPE)CC_DEP1) \
+ * ((DATA_S2TYPE)(DATA_STYPE)CC_DEP2) ); \
DATA_S2TYPE rr \
= NARROWto2S( \
((DATA_S2TYPE)((DATA_STYPE)CC_DEP1)) \
|
|
From: Christian B. <bor...@de...> - 2015-03-12 05:13:50
|
valgrind revision: 15001 VEX revision: 3100 C compiler: gcc (SUSE Linux) 4.3.4 [gcc-4_3-branch revision 152973] GDB: GNU gdb (GDB) SUSE (7.5.1-0.7.29) Assembler: GNU assembler (GNU Binutils; SUSE Linux Enterprise 11) 2.23.1 C library: GNU C Library stable release version 2.11.3 (20110527) uname -mrs: Linux 3.0.101-0.42-default s390x Vendor version: Welcome to SUSE Linux Enterprise Server 11 SP3 (s390x) - Kernel %r (%t). Nightly build on sless390 ( SUSE Linux Enterprise Server 11 SP3 gcc 4.3.4 on z196 (s390x) ) Started at 2015-03-12 03:45:01 CET Ended at 2015-03-12 06:13:35 CET 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 == 666 tests, 5 stderr failures, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures == memcheck/tests/memcmptest (stderr) memcheck/tests/origin5-bz2 (stderr) helgrind/tests/locked_vs_unlocked2 (stderr) helgrind/tests/pth_cond_destroy_busy (stderr) helgrind/tests/tc20_verifywrap (stderr) --tools=none,memcheck,callgrind,helgrind,cachegrind,drd,massif --reps=3 --vg=../valgrind-new --vg=../valgrind-old -- Running tests in perf ---------------------------------------------- -- bigcode1 -- bigcode1 valgrind-new:0.22s no: 4.8s (21.8x, -----) me: 6.7s (30.4x, -----) ca:26.2s (119.0x, -----) he: 5.4s (24.7x, -----) ca: 9.3s (42.4x, -----) dr: 4.4s (19.9x, -----) ma: 4.9s (22.2x, -----) bigcode1 valgrind-old:0.22s no: 4.8s (21.8x, 0.0%) me: 6.6s (30.2x, 0.7%) ca:26.3s (119.7x, -0.5%) he: 5.4s (24.5x, 0.7%) ca: 9.3s (42.4x, 0.1%) dr: 4.4s (19.9x, -0.2%) ma: 4.9s (22.2x, 0.0%) -- bigcode2 -- bigcode2 valgrind-new:0.23s no: 8.1s (35.1x, -----) me:14.7s (63.7x, -----) ca:39.8s (173.0x, -----) he:10.8s (46.7x, -----) ca:14.8s (64.5x, -----) dr: 9.6s (41.8x, -----) ma: 8.5s (37.0x, -----) bigcode2 valgrind-old:0.23s no: 8.1s (35.2x, -0.2%) me:14.5s (62.9x, 1.3%) ca:39.5s (171.6x, 0.8%) he:10.8s (46.8x, -0.2%) ca:14.8s (64.2x, 0.4%) dr: 9.7s (42.0x, -0.5%) ma: 8.5s (37.0x, 0.1%) -- bz2 -- bz2 valgrind-new:0.71s no: 6.0s ( 8.4x, -----) me:13.1s (18.5x, -----) ca:30.4s (42.9x, -----) he:20.4s (28.7x, -----) ca:34.8s (48.9x, -----) dr:29.7s (41.8x, -----) ma: 3.8s ( 5.3x, -----) bz2 valgrind-old:0.71s no: 6.0s ( 8.4x, 0.2%) me:13.2s (18.5x, -0.3%) ca:30.4s (42.9x, -0.0%) he:20.4s (28.8x, -0.3%) ca:34.8s (49.0x, -0.2%) dr:29.8s (42.0x, -0.4%) ma: 3.9s ( 5.5x, -3.7%) -- fbench -- fbench valgrind-new:0.41s no: 1.6s ( 4.0x, -----) me: 4.6s (11.1x, -----) ca: 9.3s (22.7x, -----) he: 6.5s (15.7x, -----) ca: 7.3s (17.9x, -----) dr: 5.9s (14.3x, -----) ma: 1.7s ( 4.1x, -----) fbench valgrind-old:0.41s no: 1.6s ( 4.0x, -0.6%) me: 4.6s (11.1x, 0.0%) ca: 9.3s (22.7x, -0.1%) he: 6.4s (15.7x, 0.2%) ca: 7.4s (18.0x, -0.4%) dr: 5.9s (14.4x, -0.5%) ma: 1.7s ( 4.1x, 0.6%) -- ffbench -- ffbench valgrind-new:0.20s no: 1.1s ( 5.6x, -----) me: 3.3s (16.6x, -----) ca: 3.0s (15.2x, -----) he:44.9s (224.6x, -----) ca: 9.5s (47.5x, -----) dr: 7.5s (37.8x, -----) ma: 1.0s ( 4.9x, -----) ffbench valgrind-old:0.20s no: 1.1s ( 5.6x, 0.0%) me: 3.4s (16.8x, -1.2%) ca: 3.1s (15.3x, -0.3%) he:45.0s (224.8x, -0.0%) ca: 9.5s (47.5x, 0.0%) dr: 7.5s (37.5x, 0.5%) ma: 1.0s ( 4.9x, 1.0%) -- heap -- heap valgrind-new:0.23s no: 2.2s ( 9.5x, -----) me: 9.3s (40.5x, -----) ca:13.2s (57.5x, -----) he:13.1s (56.9x, -----) ca:11.4s (49.7x, -----) dr: 8.3s (36.0x, -----) ma: 8.0s (34.9x, -----) heap valgrind-old:0.23s no: 2.2s ( 9.5x, 0.0%) me: 9.4s (40.8x, -0.8%) ca:13.2s (57.6x, -0.2%) he:13.2s (57.3x, -0.8%) ca:11.3s (49.3x, 0.9%) dr: 8.3s (36.3x, -0.7%) ma: 8.0s (34.8x, 0.2%) -- heap_pdb4 -- heap_pdb4 valgrind-new:0.23s no: 2.5s (11.0x, -----) me:13.5s (58.7x, -----) ca:14.4s (62.4x, -----) he:14.4s (62.6x, -----) ca:12.6s (54.7x, -----) dr: 9.2s (39.8x, -----) ma: 8.2s (35.7x, -----) heap_pdb4 valgrind-old:0.23s no: 2.5s (11.0x, 0.4%) me:13.6s (59.2x, -0.7%) ca:14.4s (62.5x, -0.1%) he:14.3s (62.3x, 0.4%) ca:12.5s (54.4x, 0.6%) dr: 9.2s (39.8x, 0.0%) ma: 8.2s (35.6x, 0.2%) -- many-loss-records -- many-loss-records valgrind-new:0.03s no: 0.5s (17.3x, -----) me: 2.4s (81.0x, -----) ca: 2.0s (65.3x, -----) he: 2.4s (81.0x, -----) ca: 1.9s (64.7x, -----) dr: 2.0s (68.3x, -----) ma: 1.7s (56.7x, -----) many-loss-records valgrind-old:0.03s no: 0.5s (16.7x, 3.8%) me: 2.4s (81.0x, 0.0%) ca: 2.0s (65.3x, 0.0%) he: 2.4s (81.0x, 0.0%) ca: 1.9s (64.7x, 0.0%) dr: 2.0s (68.3x, 0.0%) ma: 1.7s (56.3x, 0.6%) -- many-xpts -- many-xpts valgrind-new:0.07s no: 0.7s ( 9.6x, -----) me: 3.5s (50.6x, -----) ca:345.2s (4931.4x, -----) he: 6.9s (98.7x, -----) ca: 2.8s (40.3x, -----) dr: 2.9s (41.0x, -----) ma: 2.6s (37.9x, -----) many-xpts valgrind-old:0.07s no: 0.7s ( 9.7x, -1.5%) me: 3.5s (50.3x, 0.6%) ca:347.9s (4970.4x, -0.8%) he: 6.9s (98.7x, 0.0%) ca: 2.8s (40.1x, 0.4%) dr: 2.9s (41.0x, 0.0%) ma: 2.6s (37.9x, 0.0%) -- sarp -- sarp valgrind-new:0.03s no: 0.6s (20.3x, -----) me: 4.1s (136.0x, -----) ca: 3.2s (108.3x, -----) he:17.1s (570.0x, -----) ca: 2.1s (69.0x, -----) dr: 1.6s (53.7x, -----) ma: 0.5s (17.3x, -----) sarp valgrind-old:0.03s no: 0.6s (20.7x, -1.6%) me: 4.1s (135.3x, 0.5%) ca: 3.2s (108.3x, 0.0%) he:17.2s (573.3x, -0.6%) ca: 2.1s (69.0x, 0.0%) dr: 1.6s (54.0x, -0.6%) ma: 0.5s (17.3x, 0.0%) -- tinycc -- tinycc valgrind-new:0.22s no: 3.0s (13.9x, -----) me:15.2s (68.9x, -----) ca:30.3s (137.8x, -----) he:28.3s (128.6x, -----) ca:21.5s (97.6x, -----) dr:20.9s (94.8x, -----) ma: 4.1s (18.7x, -----) tinycc valgrind-old:0.22s no: 3.0s (13.9x, 0.0%) me:15.0s (68.1x, 1.1%) ca:30.3s (137.5x, 0.2%) he:28.2s (128.4x, 0.2%) ca:21.5s (97.6x, -0.0%) dr:20.9s (94.9x, -0.1%) ma: 4.1s (18.6x, 0.5%) -- Finished tests in perf ---------------------------------------------- == 11 programs, 154 timings ================= real 110m54.748s user 110m6.118s sys 0m39.797s |
|
From: Tom H. <to...@co...> - 2015-03-12 04:36:41
|
valgrind revision: 15001 VEX revision: 3100 C compiler: gcc (GCC) 4.6.3 20120306 (Red Hat 4.6.3-2) GDB: GNU gdb (GDB) Fedora (7.3.1-48.fc15) Assembler: GNU assembler version 2.21.51.0.6-6.fc15 20110118 C library: GNU C Library stable release version 2.14.1 uname -mrs: Linux 3.18.7-200.fc21.x86_64 x86_64 Vendor version: Nightly build on bristol ( x86_64, Fedora 15 ) Started at 2015-03-12 03:02:33 GMT Ended at 2015-03-12 04:14:01 GMT 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 == 700 tests, 1 stderr failure, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures == helgrind/tests/locked_vs_unlocked2 (stderr) --tools=none,memcheck,callgrind,helgrind,cachegrind,drd,massif --reps=3 --vg=../valgrind-new --vg=../valgrind-old -- Running tests in perf ---------------------------------------------- -- bigcode1 -- bigcode1 valgrind-new:0.11s no: 1.7s (15.1x, -----) me: 3.4s (31.0x, -----) ca:14.4s (130.5x, -----) he: 2.0s (18.6x, -----) ca: 3.9s (35.0x, -----) dr: 2.0s (18.3x, -----) ma: 2.0s (18.0x, -----) bigcode1 valgrind-old:0.11s no: 1.7s (15.2x, -0.6%) me: 3.3s (30.4x, 2.1%) ca:14.4s (130.8x, -0.2%) he: 2.0s (18.6x, 0.0%) ca: 3.9s (35.0x, 0.0%) dr: 2.0s (18.1x, 1.0%) ma: 2.0s (17.9x, 0.5%) -- bigcode2 -- bigcode2 valgrind-new:0.11s no: 4.0s (36.8x, -----) me: 8.5s (77.3x, -----) ca:25.6s (233.1x, -----) he: 5.0s (45.1x, -----) ca: 7.3s (66.7x, -----) dr: 4.8s (43.2x, -----) ma: 4.7s (42.3x, -----) bigcode2 valgrind-old:0.11s no: 4.0s (36.5x, 0.7%) me: 8.5s (77.6x, -0.5%) ca:25.8s (234.7x, -0.7%) he: 5.0s (45.1x, 0.0%) ca: 7.4s (67.1x, -0.5%) dr: 4.7s (42.7x, 1.1%) ma: 4.7s (42.3x, 0.0%) -- bz2 -- bz2 valgrind-new:0.52s no: 1.6s ( 3.1x, -----) me: 5.8s (11.1x, -----) ca:13.2s (25.4x, -----) he: 8.3s (16.0x, -----) ca:10.8s (20.8x, -----) dr:10.6s (20.3x, -----) ma: 1.6s ( 3.1x, -----) bz2 valgrind-old:0.52s no: 1.6s ( 3.1x, -0.0%) me: 5.8s (11.1x, 0.0%) ca:13.2s (25.4x, 0.2%) he: 8.3s (16.1x, -0.2%) ca:10.8s (20.8x, 0.1%) dr:10.5s (20.1x, 0.9%) ma: 1.6s ( 3.1x, 0.0%) -- fbench -- fbench valgrind-new:0.22s no: 1.0s ( 4.6x, -----) me: 3.7s (16.8x, -----) ca: 5.6s (25.4x, -----) he: 2.9s (13.1x, -----) ca: 3.1s (14.3x, -----) dr: 2.6s (11.7x, -----) ma: 1.1s ( 4.8x, -----) fbench valgrind-old:0.22s no: 1.0s ( 4.6x, -1.0%) me: 3.7s (16.8x, 0.3%) ca: 5.6s (25.3x, 0.2%) he: 2.9s (13.0x, 1.0%) ca: 3.1s (14.3x, 0.0%) dr: 2.6s (11.6x, 0.8%) ma: 1.0s ( 4.6x, 2.9%) -- ffbench -- ffbench valgrind-new:0.20s no: 0.9s ( 4.5x, -----) me: 2.8s (14.0x, -----) ca: 1.8s ( 9.0x, -----) he: 5.6s (28.1x, -----) ca: 4.2s (20.8x, -----) dr: 3.2s (16.2x, -----) ma: 0.9s ( 4.3x, -----) ffbench valgrind-old:0.20s no: 0.9s ( 4.5x, -1.1%) me: 2.8s (14.0x, 0.0%) ca: 1.8s ( 9.0x, 0.6%) he: 5.2s (25.8x, 8.5%) ca: 4.1s (20.4x, 1.4%) dr: 3.2s (16.2x, 0.3%) ma: 0.9s ( 4.3x, 0.0%) -- heap -- heap valgrind-new:0.07s no: 0.6s ( 8.1x, -----) me: 5.2s (74.1x, -----) ca: 6.1s (87.4x, -----) he: 6.7s (95.9x, -----) ca: 3.2s (45.9x, -----) dr: 4.5s (64.3x, -----) ma: 4.6s (65.6x, -----) heap valgrind-old:0.07s no: 0.6s ( 8.1x, 0.0%) me: 5.1s (73.1x, 1.3%) ca: 6.1s (86.9x, 0.7%) he: 6.7s (96.0x, -0.1%) ca: 3.2s (46.0x, -0.3%) dr: 4.4s (63.4x, 1.3%) ma: 4.7s (66.6x, -1.5%) -- heap_pdb4 -- heap_pdb4 valgrind-new:0.10s no: 0.6s ( 6.3x, -----) me: 8.8s (88.2x, -----) ca: 6.7s (66.5x, -----) he: 7.8s (78.0x, -----) ca: 3.5s (35.4x, -----) dr: 4.8s (48.2x, -----) ma: 4.7s (46.8x, -----) heap_pdb4 valgrind-old:0.10s no: 0.6s ( 6.3x, 0.0%) me: 8.8s (87.5x, 0.8%) ca: 6.6s (66.4x, 0.2%) he: 7.8s (77.7x, 0.4%) ca: 3.5s (34.9x, 1.4%) dr: 4.7s (46.8x, 2.9%) ma: 4.7s (46.6x, 0.4%) -- many-loss-records -- many-loss-records valgrind-new:0.01s no: 0.3s (26.0x, -----) me: 1.4s (139.0x, -----) ca: 1.0s (100.0x, -----) he: 1.3s (126.0x, -----) ca: 0.7s (69.0x, -----) dr: 1.1s (112.0x, -----) ma: 1.0s (101.0x, -----) many-loss-records valgrind-old:0.01s no: 0.3s (26.0x, 0.0%) me: 1.5s (146.0x, -5.0%) ca: 1.1s (106.0x, -6.0%) he: 1.2s (125.0x, 0.8%) ca: 0.7s (69.0x, -0.0%) dr: 1.1s (113.0x, -0.9%) ma: 1.0s (99.0x, 2.0%) -- many-xpts -- many-xpts valgrind-new:0.04s no: 0.3s ( 8.0x, -----) me: 2.0s (50.2x, -----) ca: 2.7s (67.8x, -----) he: 2.2s (55.0x, -----) ca: 1.0s (24.2x, -----) dr: 1.5s (38.5x, -----) ma: 1.5s (36.8x, -----) many-xpts valgrind-old:0.04s no: 0.3s ( 8.2x, -3.1%) me: 2.0s (50.0x, 0.5%) ca: 2.7s (68.2x, -0.7%) he: 2.3s (58.0x, -5.5%) ca: 1.0s (24.2x, 0.0%) dr: 1.5s (38.2x, 0.6%) ma: 1.5s (36.5x, 0.7%) -- sarp -- sarp valgrind-new:0.02s no: 0.3s (14.0x, -----) me: 2.5s (123.5x, -----) ca: 1.8s (91.0x, -----) he: 6.7s (334.0x, -----) ca: 0.9s (47.5x, -----) dr: 1.0s (51.0x, -----) ma: 0.3s (15.5x, -----) sarp valgrind-old:0.02s no: 0.3s (14.0x, 0.0%) me: 2.3s (116.0x, 6.1%) ca: 1.8s (91.0x, 0.0%) he: 6.7s (335.0x, -0.3%) ca: 0.9s (47.5x, 0.0%) dr: 1.0s (51.0x, 0.0%) ma: 0.3s (15.5x, 0.0%) -- tinycc -- tinycc valgrind-new:0.16s no: 1.5s ( 9.1x, -----) me: 9.2s (57.8x, -----) ca:11.4s (71.0x, -----) he:10.0s (62.6x, -----) ca: 8.2s (51.4x, -----) dr: 8.2s (51.1x, -----) ma: 2.5s (15.6x, -----) tinycc valgrind-old:0.16s no: 1.4s ( 9.1x, 0.7%) me: 9.3s (57.9x, -0.2%) ca:11.3s (70.9x, 0.2%) he:10.0s (62.4x, 0.4%) ca: 8.2s (51.1x, 0.5%) dr: 8.2s (51.0x, 0.1%) ma: 2.5s (15.3x, 2.0%) -- Finished tests in perf ---------------------------------------------- == 11 programs, 154 timings ================= real 34m17.559s user 33m21.395s sys 0m23.069s |
|
From: Tom H. <to...@co...> - 2015-03-12 04:36:37
|
valgrind revision: 15001 VEX revision: 3100 C compiler: gcc (GCC) 4.6.3 20120306 (Red Hat 4.6.3-2) GDB: GNU gdb (GDB) Fedora (7.3.50.20110722-16.fc16) Assembler: GNU assembler version 2.21.53.0.1-6.fc16 20110716 C library: GNU C Library development release version 2.14.90 uname -mrs: Linux 3.18.7-200.fc21.x86_64 x86_64 Vendor version: Nightly build on bristol ( x86_64, Fedora 16 ) Started at 2015-03-12 02:51:20 GMT Ended at 2015-03-12 04:05:10 GMT Results unchanged from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... done Regression test results follow == 700 tests, 0 stderr failures, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures == --tools=none,memcheck,callgrind,helgrind,cachegrind,drd,massif --reps=3 --vg=../valgrind-new --vg=../valgrind-old -- Running tests in perf ---------------------------------------------- -- bigcode1 -- bigcode1 valgrind-new:0.10s no: 1.7s (16.8x, -----) me: 3.4s (34.0x, -----) ca:14.4s (144.1x, -----) he: 2.1s (21.0x, -----) ca: 3.9s (38.5x, -----) dr: 2.1s (20.7x, -----) ma: 2.0s (19.8x, -----) bigcode1 valgrind-old:0.10s no: 1.7s (16.7x, 0.6%) me: 3.4s (33.9x, 0.3%) ca:14.4s (143.8x, 0.2%) he: 2.1s (21.0x, 0.0%) ca: 3.9s (38.6x, -0.3%) dr: 2.0s (20.3x, 1.9%) ma: 2.0s (19.8x, 0.0%) -- bigcode2 -- bigcode2 valgrind-new:0.11s no: 4.1s (36.9x, -----) me: 8.6s (78.2x, -----) ca:26.6s (241.5x, -----) he: 5.1s (46.0x, -----) ca: 7.3s (66.5x, -----) dr: 4.8s (44.0x, -----) ma: 4.6s (41.9x, -----) bigcode2 valgrind-old:0.11s no: 4.0s (36.6x, 0.7%) me: 8.6s (78.5x, -0.3%) ca:26.6s (242.0x, -0.2%) he: 5.1s (46.1x, -0.2%) ca: 7.4s (67.1x, -0.8%) dr: 4.8s (43.2x, 1.9%) ma: 4.7s (42.6x, -1.7%) -- bz2 -- bz2 valgrind-new:0.52s no: 1.6s ( 3.1x, -----) me: 5.8s (11.1x, -----) ca:13.3s (25.7x, -----) he: 8.5s (16.3x, -----) ca:10.8s (20.8x, -----) dr:10.6s (20.5x, -----) ma: 1.6s ( 3.1x, -----) bz2 valgrind-old:0.52s no: 1.6s ( 3.1x, 0.6%) me: 5.8s (11.2x, -0.3%) ca:13.4s (25.7x, -0.2%) he: 8.4s (16.2x, 0.2%) ca:10.9s (21.0x, -0.8%) dr:10.6s (20.4x, 0.1%) ma: 1.6s ( 3.1x, -0.6%) -- fbench -- fbench valgrind-new:0.22s no: 1.0s ( 4.7x, -----) me: 3.8s (17.2x, -----) ca: 5.6s (25.3x, -----) he: 2.9s (13.0x, -----) ca: 3.2s (14.4x, -----) dr: 2.6s (12.0x, -----) ma: 1.1s ( 4.8x, -----) fbench valgrind-old:0.22s no: 1.0s ( 4.6x, 1.0%) me: 3.8s (17.2x, 0.3%) ca: 5.6s (25.6x, -1.1%) he: 2.9s (13.0x, 0.0%) ca: 3.2s (14.4x, 0.3%) dr: 2.6s (12.0x, -0.4%) ma: 1.1s ( 4.8x, 0.0%) -- ffbench -- ffbench valgrind-new:0.21s no: 0.9s ( 4.5x, -----) me: 3.0s (14.0x, -----) ca: 1.9s ( 8.9x, -----) he: 6.1s (29.1x, -----) ca: 4.2s (20.0x, -----) dr: 3.4s (16.4x, -----) ma: 0.9s ( 4.3x, -----) ffbench valgrind-old:0.21s no: 0.9s ( 4.5x, 1.1%) me: 2.9s (14.0x, 0.3%) ca: 1.9s ( 8.9x, 0.0%) he: 5.9s (28.3x, 2.9%) ca: 4.2s (20.0x, -0.2%) dr: 3.4s (16.4x, 0.0%) ma: 0.9s ( 4.2x, 1.1%) -- heap -- heap valgrind-new:0.08s no: 0.6s ( 7.8x, -----) me: 5.4s (67.5x, -----) ca: 6.7s (83.8x, -----) he: 7.2s (89.6x, -----) ca: 3.3s (41.2x, -----) dr: 4.3s (53.8x, -----) ma: 4.7s (58.5x, -----) heap valgrind-old:0.08s no: 0.6s ( 7.8x, 0.0%) me: 5.3s (66.8x, 1.1%) ca: 6.8s (84.4x, -0.7%) he: 7.2s (89.5x, 0.1%) ca: 3.3s (41.0x, 0.6%) dr: 4.2s (52.7x, 1.9%) ma: 4.6s (58.0x, 0.9%) -- heap_pdb4 -- heap_pdb4 valgrind-new:0.11s no: 0.7s ( 6.3x, -----) me: 8.9s (80.7x, -----) ca: 7.3s (66.6x, -----) he: 8.2s (74.4x, -----) ca: 3.6s (32.6x, -----) dr: 4.9s (44.7x, -----) ma: 4.8s (43.7x, -----) heap_pdb4 valgrind-old:0.11s no: 0.7s ( 6.4x, -1.4%) me: 8.8s (80.5x, 0.3%) ca: 7.3s (66.8x, -0.3%) he: 8.1s (73.5x, 1.2%) ca: 3.5s (31.8x, 2.5%) dr: 4.8s (44.1x, 1.4%) ma: 4.7s (42.5x, 2.9%) -- many-loss-records -- many-loss-records valgrind-new:0.01s no: 0.3s (26.0x, -----) me: 1.4s (144.0x, -----) ca: 1.1s (106.0x, -----) he: 1.2s (123.0x, -----) ca: 0.7s (68.0x, -----) dr: 1.1s (108.0x, -----) ma: 0.9s (94.0x, -----) many-loss-records valgrind-old:0.01s no: 0.3s (26.0x, 0.0%) me: 1.4s (141.0x, 2.1%) ca: 1.1s (106.0x, 0.0%) he: 1.2s (121.0x, 1.6%) ca: 0.7s (69.0x, -1.5%) dr: 1.1s (107.0x, 0.9%) ma: 1.0s (96.0x, -2.1%) -- many-xpts -- many-xpts valgrind-new:0.03s no: 0.3s (10.3x, -----) me: 2.0s (65.3x, -----) ca: 2.7s (89.0x, -----) he: 2.3s (76.0x, -----) ca: 0.9s (31.0x, -----) dr: 1.4s (48.0x, -----) ma: 1.4s (46.3x, -----) many-xpts valgrind-old:0.03s no: 0.3s (10.3x, 0.0%) me: 1.9s (64.7x, 1.0%) ca: 2.7s (89.0x, 0.0%) he: 2.3s (75.3x, 0.9%) ca: 0.9s (31.0x, 0.0%) dr: 1.4s (48.0x, 0.0%) ma: 1.4s (45.7x, 1.4%) -- sarp -- sarp valgrind-new:0.02s no: 0.3s (13.5x, -----) me: 2.5s (125.0x, -----) ca: 1.7s (85.0x, -----) he: 6.6s (331.0x, -----) ca: 0.9s (45.0x, -----) dr: 1.1s (54.0x, -----) ma: 0.3s (15.0x, -----) sarp valgrind-old:0.02s no: 0.3s (13.5x, 0.0%) me: 2.5s (123.0x, 1.6%) ca: 1.7s (85.0x, 0.0%) he: 6.6s (330.0x, 0.3%) ca: 0.9s (45.0x, 0.0%) dr: 1.1s (54.0x, 0.0%) ma: 0.3s (14.5x, 3.3%) -- tinycc -- tinycc valgrind-new:0.15s no: 1.4s ( 9.5x, -----) me: 8.7s (57.9x, -----) ca:10.7s (71.5x, -----) he: 9.5s (63.4x, -----) ca: 7.7s (51.5x, -----) dr: 7.6s (50.9x, -----) ma: 2.5s (16.4x, -----) tinycc valgrind-old:0.15s no: 1.4s ( 9.3x, 1.4%) me: 8.7s (57.9x, -0.1%) ca:10.8s (71.7x, -0.4%) he: 9.5s (63.1x, 0.4%) ca: 7.8s (51.7x, -0.4%) dr: 7.7s (51.1x, -0.3%) ma: 2.5s (16.5x, -0.8%) -- Finished tests in perf ---------------------------------------------- == 11 programs, 154 timings ================= real 34m43.077s user 33m43.192s sys 0m24.530s |
|
From: Rich C. <rc...@wi...> - 2015-03-12 04:35:04
|
valgrind revision: 15001
VEX revision: 3100
C compiler: gcc (SUSE Linux) 4.8.3 20140627 [gcc-4_8-branch revision 212064]
GDB: GNU gdb (GDB; openSUSE 13.2) 7.8
Assembler: GNU assembler (GNU Binutils; openSUSE 13.2) 2.24.0.20140403-6.1
C library: GNU C Library (GNU libc) stable release version 2.19 (git 9a869d822025)
uname -mrs: Linux 3.16.7-7-desktop x86_64
Vendor version: Welcome to openSUSE 13.2 "Harlequin" - Kernel %r (%t).
Nightly build on rodan ( Linux 3.16.7-7-desktop x86_64 )
Started at 2015-03-11 19:22:01 CDT
Ended at 2015-03-11 23:34:55 CDT
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
== 617 tests, 4 stderr failures, 0 stdout failures, 0 stderrB failures, 1 stdoutB failure, 0 post failures ==
gdbserver_tests/hgtls (stdoutB)
memcheck/tests/err_disable3 (stderr)
memcheck/tests/err_disable4 (stderr)
memcheck/tests/threadname (stderr)
memcheck/tests/threadname_xml (stderr)
--tools=none,memcheck,callgrind,helgrind,cachegrind,drd,massif --reps=3 --vg=../valgrind-new --vg=../valgrind-old
+ perl perf/vg_perf --tools=none,memcheck,callgrind,helgrind,cachegrind,drd,massif --reps=3 --vg=../valgrind-new --vg=../valgrind-old perf
-- Running tests in perf ----------------------------------------------
-- bigcode1 --
bigcode1 valgrind-new:0.48s no: 7.7s (16.0x, -----) me:15.6s (32.4x, -----) ca:66.0s (137.6x, -----) he: 9.6s (19.9x, -----) ca:18.6s (38.7x, -----) dr: 9.2s (19.1x, -----) ma:12.2s (25.4x, -----)
bigcode1 valgrind-old:0.48s no: 7.7s (16.0x, 0.0%) me:15.5s (32.4x, 0.3%) ca:66.1s (137.7x, -0.1%) he: 9.6s (19.9x, 0.0%) ca:18.6s (38.7x, 0.0%) dr: 9.2s (19.1x, 0.1%) ma:12.2s (25.4x, -0.2%)
-- bigcode2 --
bigcode2 valgrind-new:0.49s no:18.8s (38.4x, -----) me:39.7s (81.1x, -----) ca:104.6s (213.4x, -----) he:24.1s (49.3x, -----) ca:34.3s (69.9x, -----) dr:22.1s (45.1x, -----) ma:21.5s (43.8x, -----)
bigcode2 valgrind-old:0.49s no:18.8s (38.3x, 0.1%) me:39.6s (80.8x, 0.4%) ca:104.8s (214.0x, -0.2%) he:24.1s (49.2x, 0.1%) ca:34.2s (69.9x, 0.1%) dr:22.1s (45.1x, 0.0%) ma:21.5s (43.9x, -0.2%)
-- bz2 --
bz2 valgrind-new:2.32s no: 7.7s ( 3.3x, -----) me:25.4s (10.9x, -----) ca:60.4s (26.0x, -----) he:37.9s (16.3x, -----) ca:49.6s (21.4x, -----) dr:54.0s (23.3x, -----) ma: 9.8s ( 4.2x, -----)
bz2 valgrind-old:2.32s no: 7.7s ( 3.3x, -0.4%) me:25.4s (10.9x, 0.0%) ca:60.4s (26.0x, 0.0%) he:37.8s (16.3x, 0.1%) ca:49.6s (21.4x, -0.0%) dr:53.9s (23.2x, 0.1%) ma: 9.8s ( 4.2x, 0.0%)
-- fbench --
fbench valgrind-new:1.44s no: 5.2s ( 3.6x, -----) me:17.7s (12.3x, -----) ca:28.2s (19.6x, -----) he:13.1s ( 9.1x, -----) ca:16.1s (11.2x, -----) dr:13.3s ( 9.3x, -----) ma: 5.6s ( 3.9x, -----)
fbench valgrind-old:1.44s no: 5.2s ( 3.6x, 0.4%) me:17.7s (12.3x, 0.2%) ca:28.1s (19.5x, 0.1%) he:13.1s ( 9.1x, 0.0%) ca:16.1s (11.2x, 0.1%) dr:13.3s ( 9.3x, 0.0%) ma: 5.6s ( 3.9x, 0.2%)
-- ffbench --
ffbench valgrind-new:1.00s no: 3.5s ( 3.5x, -----) me:12.4s (12.4x, -----) ca: 8.3s ( 8.3x, -----) he:20.9s (20.9x, -----) ca:20.2s (20.2x, -----) dr:17.0s (17.0x, -----) ma: 3.5s ( 3.5x, -----)
ffbench valgrind-old:1.00s no: 3.4s ( 3.4x, 0.9%) me:12.4s (12.4x, -0.1%) ca: 8.3s ( 8.3x, 0.1%) he:20.8s (20.8x, 0.5%) ca:20.2s (20.2x, 0.0%) dr:17.0s (17.0x, 0.0%) ma: 3.5s ( 3.5x, -0.3%)
-- heap --
heap valgrind-new:0.40s no: 3.0s ( 7.6x, -----) me:22.7s (56.7x, -----) ca:34.2s (85.4x, -----) he:30.1s (75.3x, -----) ca:15.0s (37.5x, -----) dr:20.0s (49.9x, -----) ma:22.3s (55.8x, -----)
heap valgrind-old:0.40s no: 3.0s ( 7.6x, 0.3%) me:22.4s (55.9x, 1.3%) ca:34.1s (85.2x, 0.3%) he:30.3s (75.7x, -0.4%) ca:15.0s (37.4x, 0.2%) dr:20.3s (50.8x, -1.8%) ma:21.8s (54.5x, 2.2%)
-- heap_pdb4 --
heap_pdb4 valgrind-new:0.55s no: 3.3s ( 6.0x, -----) me:39.0s (71.0x, -----) ca:35.4s (64.4x, -----) he:34.5s (62.6x, -----) ca:18.0s (32.8x, -----) dr:22.4s (40.7x, -----) ma:23.2s (42.3x, -----)
heap_pdb4 valgrind-old:0.55s no: 3.4s ( 6.1x, -1.8%) me:38.9s (70.7x, 0.4%) ca:35.2s (64.1x, 0.5%) he:35.0s (63.5x, -1.5%) ca:18.0s (32.7x, 0.2%) dr:22.9s (41.6x, -2.2%) ma:22.9s (41.6x, 1.5%)
-- many-loss-records --
many-loss-records valgrind-new:0.05s no: 1.0s (20.8x, -----) me: 6.2s (123.6x, -----) ca: 5.1s (101.2x, -----) he: 5.4s (108.2x, -----) ca: 3.0s (60.0x, -----) dr: 4.9s (98.6x, -----) ma: 4.7s (94.6x, -----)
many-loss-records valgrind-old:0.05s no: 1.0s (20.6x, 1.0%) me: 6.1s (122.6x, 0.8%) ca: 5.0s (101.0x, 0.2%) he: 5.4s (108.8x, -0.6%) ca: 3.0s (60.4x, -0.7%) dr: 4.9s (98.0x, 0.6%) ma: 4.6s (92.2x, 2.5%)
-- many-xpts --
many-xpts valgrind-new:0.15s no: 1.3s ( 8.7x, -----) me: 7.4s (49.1x, -----) ca:13.8s (91.9x, -----) he: 9.9s (65.8x, -----) ca: 4.1s (27.5x, -----) dr: 6.5s (43.5x, -----) ma: 7.0s (46.9x, -----)
many-xpts valgrind-old:0.15s no: 1.3s ( 8.7x, 0.8%) me: 7.4s (49.2x, -0.3%) ca:13.8s (91.8x, 0.1%) he: 9.9s (66.3x, -0.7%) ca: 4.1s (27.5x, 0.2%) dr: 6.6s (43.9x, -0.8%) ma: 7.0s (46.5x, 0.9%)
-- sarp --
sarp valgrind-new:0.11s no: 1.3s (11.5x, -----) me: 9.8s (89.0x, -----) ca: 8.9s (80.8x, -----) he:30.9s (281.2x, -----) ca: 4.3s (39.0x, -----) dr: 4.4s (39.9x, -----) ma: 1.4s (12.6x, -----)
sarp valgrind-old:0.11s no: 1.2s (11.2x, 2.4%) me: 9.8s (89.1x, -0.1%) ca: 8.8s (79.8x, 1.2%) he:30.9s (281.4x, -0.1%) ca: 4.3s (39.1x, -0.2%) dr: 4.4s (39.9x, 0.0%) ma: 1.4s (12.6x, 0.0%)
-- tinycc --
tinycc valgrind-new:0.75s no: 7.4s ( 9.9x, -----) me:38.1s (50.8x, -----) ca:49.8s (66.3x, -----) he:44.6s (59.5x, -----) ca:38.6s (51.5x, -----) dr:37.3s (49.7x, -----) ma:11.7s (15.6x, -----)
tinycc valgrind-old:0.75s no: 7.4s ( 9.9x, 0.0%) me:38.0s (50.7x, 0.2%) ca:49.6s (66.2x, 0.2%) he:44.6s (59.5x, -0.1%) ca:38.6s (51.5x, -0.1%) dr:37.3s (49.7x, -0.1%) ma:11.7s (15.6x, 0.0%)
-- Finished tests in perf ----------------------------------------------
== 11 programs, 154 timings =================
real 154m31.622s
user 153m6.996s
sys 1m18.785s
=================================================
./valgrind-new/gdbserver_tests/hgtls.stdoutB.diff
=================================================
--- hgtls.stdoutB.exp 2015-03-11 20:10:24.812761317 -0500
+++ hgtls.stdoutB.out 2015-03-11 20:25:44.390701532 -0500
@@ -35,11 +35,11 @@
[New Thread ....]
Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
-test so_extern tls_ip 0x........ ip 0x........ equal 1
+test so_extern tls_ip 0x........ ip 0x........ equal 0
[New Thread ....]
Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
-test so_extern tls_ip 0x........ ip 0x........ equal 1
+test so_extern tls_ip 0x........ ip 0x........ equal 0
[New Thread ....]
Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
=================================================
./valgrind-new/memcheck/tests/err_disable3.stderr.diff
=================================================
--- err_disable3.stderr.exp 2015-03-11 20:10:27.898794632 -0500
+++ err_disable3.stderr.out 2015-03-11 20:30:08.246508337 -0500
@@ -10,8 +10,6 @@
Thread 2:
Invalid read of size 1
at 0x........: err (err_disable3.c:25)
- by 0x........: child_fn (err_disable3.c:31)
- ...
Address 0x........ is 5 bytes inside a block of size 10 free'd
at 0x........: free (vg_replace_malloc.c:...)
by 0x........: main (err_disable3.c:42)
=================================================
./valgrind-new/memcheck/tests/err_disable4.stderr.diff
=================================================
--- err_disable4.stderr.exp 2015-03-11 20:10:31.782836562 -0500
+++ err_disable4.stderr.out 2015-03-11 20:30:12.325550357 -0500
@@ -1501,8 +1501,6 @@
Thread x:
Invalid read of size 1
at 0x........: err (err_disable4.c:46)
- by 0x........: child_fn_2 (err_disable4.c:64)
- ...
Address 0x........ is 5 bytes inside a block of size 10 free'd
at 0x........: free (vg_replace_malloc.c:...)
by 0x........: main (err_disable4.c:81)
=================================================
./valgrind-new/memcheck/tests/threadname.stderr.diff
=================================================
--- threadname.stderr.exp 2015-03-11 20:10:30.298820541 -0500
+++ threadname.stderr.out 2015-03-11 20:37:00.777766165 -0500
@@ -9,36 +9,12 @@
Thread 2:
Invalid write of size 1
at 0x........: bad_things (threadname.c:16)
- by 0x........: child_fn_0 (threadname.c:61)
- ...
Address 0x........ is 0 bytes after a block of size 2 alloc'd
at 0x........: malloc (vg_replace_malloc.c:...)
by 0x........: bad_things (threadname.c:15)
by 0x........: child_fn_0 (threadname.c:61)
...
-Thread 3 try1:
-Invalid write of size 1
- at 0x........: bad_things (threadname.c:16)
- by 0x........: child_fn_1 (threadname.c:46)
- ...
- Address 0x........ is 0 bytes after a block of size 3 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: bad_things (threadname.c:15)
- by 0x........: child_fn_1 (threadname.c:46)
- ...
-
-Thread 4 012345678901234:
-Invalid write of size 1
- at 0x........: bad_things (threadname.c:16)
- by 0x........: child_fn_2 (threadname.c:30)
- ...
- Address 0x........ is 0 bytes after a block of size 4 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: bad_things (threadname.c:15)
- by 0x........: child_fn_2 (threadname.c:30)
- ...
-
Thread 1:
Invalid write of size 1
at 0x........: bad_things (threadname.c:16)
=================================================
./valgrind-new/memcheck/tests/threadname_xml.stderr.diff
=================================================
--- threadname_xml.stderr.exp 2015-03-11 20:10:29.377810599 -0500
+++ threadname_xml.stderr.out 2015-03-11 20:37:03.117790362 -0500
@@ -94,14 +94,6 @@
<file>threadname.c</file>
<line>...</line>
</frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>child_fn_0</fn>
- <dir>...</dir>
- <file>threadname.c</file>
- <line>...</line>
- </frame>
</stack>
<auxwhat>Address 0x........ is 0 bytes after a block of size 2 alloc'd</auxwhat>
<stack>
@@ -135,112 +127,6 @@
<error>
<unique>0x........</unique>
<tid>...</tid>
- <threadname>try1</threadname>
- <kind>InvalidWrite</kind>
- <what>Invalid write of size 1</what>
- <stack>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>bad_things</fn>
- <dir>...</dir>
- <file>threadname.c</file>
- <line>...</line>
- </frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>child_fn_1</fn>
- <dir>...</dir>
- <file>threadname.c</file>
- <line>...</line>
- </frame>
- </stack>
- <auxwhat>Address 0x........ is 0 bytes after a block of size 3 alloc'd</auxwhat>
- <stack>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>malloc</fn>
- <dir>...</dir>
- <file>vg_replace_malloc.c</file>
- <line>...</line>
- </frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>bad_things</fn>
- <dir>...</dir>
- <file>threadname.c</file>
- <line>...</line>
- </frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>child_fn_1</fn>
- <dir>...</dir>
- <file>threadname.c</file>
- <line>...</line>
- </frame>
- </stack>
-</error>
-
-<error>
- <unique>0x........</unique>
- <tid>...</tid>
- <threadname>012345678901234</threadname>
- <kind>InvalidWrite</kind>
- <what>Invalid write of size 1</what>
- <stack>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>bad_things</fn>
- <dir>...</dir>
- <file>threadname.c</file>
- <line>...</line>
- </frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>child_fn_2</fn>
- <dir>...</dir>
- <file>threadname.c</file>
- <line>...</line>
- </frame>
- </stack>
- <auxwhat>Address 0x........ is 0 bytes after a block of size 4 alloc'd</auxwhat>
- <stack>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
<truncated beyond 100 lines>
=================================================
./valgrind-old/gdbserver_tests/hgtls.stdoutB.diff
=================================================
--- hgtls.stdoutB.exp 2015-03-11 19:22:16.806173909 -0500
+++ hgtls.stdoutB.out 2015-03-11 19:35:44.523080150 -0500
@@ -35,11 +35,11 @@
[New Thread ....]
Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
-test so_extern tls_ip 0x........ ip 0x........ equal 1
+test so_extern tls_ip 0x........ ip 0x........ equal 0
[New Thread ....]
Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
-test so_extern tls_ip 0x........ ip 0x........ equal 1
+test so_extern tls_ip 0x........ ip 0x........ equal 0
[New Thread ....]
Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
=================================================
./valgrind-old/memcheck/tests/err_disable3.stderr.diff
=================================================
--- err_disable3.stderr.exp 2015-03-11 19:22:17.613182808 -0500
+++ err_disable3.stderr.out 2015-03-11 19:40:08.409989642 -0500
@@ -10,8 +10,6 @@
Thread 2:
Invalid read of size 1
at 0x........: err (err_disable3.c:25)
- by 0x........: child_fn (err_disable3.c:31)
- ...
Address 0x........ is 5 bytes inside a block of size 10 free'd
at 0x........: free (vg_replace_malloc.c:...)
by 0x........: main (err_disable3.c:42)
=================================================
./valgrind-old/memcheck/tests/err_disable4.stderr.diff
=================================================
--- err_disable4.stderr.exp 2015-03-11 19:22:18.458192126 -0500
+++ err_disable4.stderr.out 2015-03-11 19:40:12.496034693 -0500
@@ -1501,8 +1501,6 @@
Thread x:
Invalid read of size 1
at 0x........: err (err_disable4.c:46)
- by 0x........: child_fn_2 (err_disable4.c:64)
- ...
Address 0x........ is 5 bytes inside a block of size 10 free'd
at 0x........: free (vg_replace_malloc.c:...)
by 0x........: main (err_disable4.c:81)
=================================================
./valgrind-old/memcheck/tests/threadname.stderr.diff
=================================================
--- threadname.stderr.exp 2015-03-11 19:22:18.218189480 -0500
+++ threadname.stderr.out 2015-03-11 19:47:00.862537059 -0500
@@ -9,36 +9,12 @@
Thread 2:
Invalid write of size 1
at 0x........: bad_things (threadname.c:16)
- by 0x........: child_fn_0 (threadname.c:61)
- ...
Address 0x........ is 0 bytes after a block of size 2 alloc'd
at 0x........: malloc (vg_replace_malloc.c:...)
by 0x........: bad_things (threadname.c:15)
by 0x........: child_fn_0 (threadname.c:61)
...
-Thread 3 try1:
-Invalid write of size 1
- at 0x........: bad_things (threadname.c:16)
- by 0x........: child_fn_1 (threadname.c:46)
- ...
- Address 0x........ is 0 bytes after a block of size 3 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: bad_things (threadname.c:15)
- by 0x........: child_fn_1 (threadname.c:46)
- ...
-
-Thread 4 012345678901234:
-Invalid write of size 1
- at 0x........: bad_things (threadname.c:16)
- by 0x........: child_fn_2 (threadname.c:30)
- ...
- Address 0x........ is 0 bytes after a block of size 4 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: bad_things (threadname.c:15)
- by 0x........: child_fn_2 (threadname.c:30)
- ...
-
Thread 1:
Invalid write of size 1
at 0x........: bad_things (threadname.c:16)
=================================================
./valgrind-old/memcheck/tests/threadname_xml.stderr.diff
=================================================
--- threadname_xml.stderr.exp 2015-03-11 19:22:17.923186227 -0500
+++ threadname_xml.stderr.out 2015-03-11 19:47:03.201562847 -0500
@@ -94,14 +94,6 @@
<file>threadname.c</file>
<line>...</line>
</frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>child_fn_0</fn>
- <dir>...</dir>
- <file>threadname.c</file>
- <line>...</line>
- </frame>
</stack>
<auxwhat>Address 0x........ is 0 bytes after a block of size 2 alloc'd</auxwhat>
<stack>
@@ -135,112 +127,6 @@
<error>
<unique>0x........</unique>
<tid>...</tid>
- <threadname>try1</threadname>
- <kind>InvalidWrite</kind>
- <what>Invalid write of size 1</what>
- <stack>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>bad_things</fn>
- <dir>...</dir>
- <file>threadname.c</file>
- <line>...</line>
- </frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>child_fn_1</fn>
- <dir>...</dir>
- <file>threadname.c</file>
- <line>...</line>
- </frame>
- </stack>
- <auxwhat>Address 0x........ is 0 bytes after a block of size 3 alloc'd</auxwhat>
- <stack>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>malloc</fn>
- <dir>...</dir>
- <file>vg_replace_malloc.c</file>
- <line>...</line>
- </frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>bad_things</fn>
- <dir>...</dir>
- <file>threadname.c</file>
- <line>...</line>
- </frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>child_fn_1</fn>
- <dir>...</dir>
- <file>threadname.c</file>
- <line>...</line>
- </frame>
- </stack>
-</error>
-
-<error>
- <unique>0x........</unique>
- <tid>...</tid>
- <threadname>012345678901234</threadname>
- <kind>InvalidWrite</kind>
- <what>Invalid write of size 1</what>
- <stack>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>bad_things</fn>
- <dir>...</dir>
- <file>threadname.c</file>
- <line>...</line>
- </frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>child_fn_2</fn>
- <dir>...</dir>
- <file>threadname.c</file>
- <line>...</line>
- </frame>
- </stack>
- <auxwhat>Address 0x........ is 0 bytes after a block of size 4 alloc'd</auxwhat>
- <stack>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
<truncated beyond 100 lines>
|
|
From: Tom H. <to...@co...> - 2015-03-12 03:56:16
|
valgrind revision: 15001 VEX revision: 3100 C compiler: gcc (GCC) 4.8.3 20140911 (Red Hat 4.8.3-7) GDB: GNU gdb (GDB) Fedora 7.6.1-46.fc19 Assembler: GNU assembler version 2.23.52.0.1-9.fc19 20130226 C library: GNU C Library (GNU libc) stable release version 2.17 uname -mrs: Linux 3.18.7-200.fc21.x86_64 x86_64 Vendor version: Fedora 19 (Schrödingerâs Cat) Nightly build on bristol ( x86_64, Fedora 19 (Schrödingerâs Cat) ) Started at 2015-03-12 02:41:16 GMT Ended at 2015-03-12 03:56:01 GMT Results unchanged from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... done Regression test results follow == 700 tests, 0 stderr failures, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures == --tools=none,memcheck,callgrind,helgrind,cachegrind,drd,massif --reps=3 --vg=../valgrind-new --vg=../valgrind-old -- Running tests in perf ---------------------------------------------- -- bigcode1 -- bigcode1 valgrind-new:0.11s no: 1.7s (15.2x, -----) me: 3.5s (31.4x, -----) ca:13.3s (120.9x, -----) he: 2.1s (19.1x, -----) ca: 3.8s (34.8x, -----) dr: 2.0s (18.6x, -----) ma: 1.9s (17.7x, -----) bigcode1 valgrind-old:0.11s no: 1.7s (15.1x, 0.6%) me: 3.5s (31.5x, -0.3%) ca:13.3s (121.3x, -0.3%) he: 2.1s (18.8x, 1.4%) ca: 3.8s (34.9x, -0.3%) dr: 2.0s (18.4x, 1.5%) ma: 1.9s (17.7x, 0.0%) -- bigcode2 -- bigcode2 valgrind-new:0.10s no: 3.9s (39.3x, -----) me: 8.6s (86.3x, -----) ca:25.5s (255.4x, -----) he: 4.9s (49.4x, -----) ca: 7.0s (69.5x, -----) dr: 4.7s (46.9x, -----) ma: 4.5s (45.3x, -----) bigcode2 valgrind-old:0.10s no: 3.9s (39.2x, 0.3%) me: 8.6s (85.8x, 0.6%) ca:25.2s (252.3x, 1.2%) he: 4.9s (49.3x, 0.2%) ca: 7.1s (71.4x, -2.7%) dr: 4.7s (47.0x, -0.2%) ma: 4.5s (45.2x, 0.2%) -- bz2 -- bz2 valgrind-new:0.49s no: 1.6s ( 3.2x, -----) me: 5.7s (11.6x, -----) ca:12.6s (25.8x, -----) he: 8.7s (17.8x, -----) ca:10.3s (21.0x, -----) dr:11.0s (22.4x, -----) ma: 1.6s ( 3.2x, -----) bz2 valgrind-old:0.49s no: 1.6s ( 3.2x, -0.0%) me: 5.7s (11.6x, -0.2%) ca:12.7s (25.8x, -0.3%) he: 8.7s (17.8x, -0.2%) ca:10.4s (21.2x, -1.0%) dr:11.0s (22.4x, -0.1%) ma: 1.6s ( 3.2x, 0.0%) -- fbench -- fbench valgrind-new:0.22s no: 1.0s ( 4.6x, -----) me: 3.5s (16.0x, -----) ca: 5.6s (25.3x, -----) he: 2.8s (12.5x, -----) ca: 3.2s (14.6x, -----) dr: 2.8s (12.9x, -----) ma: 1.1s ( 4.9x, -----) fbench valgrind-old:0.22s no: 1.0s ( 4.6x, 0.0%) me: 3.5s (15.9x, 0.3%) ca: 5.6s (25.5x, -0.9%) he: 2.7s (12.5x, 0.4%) ca: 3.0s (13.8x, 5.6%) dr: 2.8s (12.9x, -0.4%) ma: 1.1s ( 4.9x, 0.0%) -- ffbench -- ffbench valgrind-new:0.22s no: 1.0s ( 4.4x, -----) me: 3.0s (13.5x, -----) ca: 1.9s ( 8.6x, -----) he: 5.7s (25.8x, -----) ca: 4.4s (20.0x, -----) dr: 3.5s (15.7x, -----) ma: 0.9s ( 4.1x, -----) ffbench valgrind-old:0.22s no: 1.0s ( 4.4x, 0.0%) me: 3.0s (13.6x, -0.7%) ca: 1.9s ( 8.7x, -0.5%) he: 5.7s (25.9x, -0.4%) ca: 4.3s (19.8x, 0.9%) dr: 3.5s (16.0x, -1.7%) ma: 0.9s ( 4.1x, 0.0%) -- heap -- heap valgrind-new:0.07s no: 0.6s ( 8.6x, -----) me: 5.5s (78.7x, -----) ca: 6.2s (89.0x, -----) he: 6.9s (99.0x, -----) ca: 3.1s (44.9x, -----) dr: 4.4s (62.3x, -----) ma: 4.8s (68.1x, -----) heap valgrind-old:0.07s no: 0.6s ( 8.6x, 0.0%) me: 5.5s (79.3x, -0.7%) ca: 6.2s (89.0x, 0.0%) he: 7.0s (99.6x, -0.6%) ca: 3.2s (45.1x, -0.6%) dr: 4.4s (62.9x, -0.9%) ma: 4.9s (69.6x, -2.1%) -- heap_pdb4 -- heap_pdb4 valgrind-new:0.10s no: 0.7s ( 6.8x, -----) me: 9.3s (93.3x, -----) ca: 6.9s (69.4x, -----) he: 7.9s (78.9x, -----) ca: 3.4s (34.4x, -----) dr: 4.9s (49.3x, -----) ma: 4.9s (49.1x, -----) heap_pdb4 valgrind-old:0.10s no: 0.7s ( 6.7x, 1.5%) me: 9.4s (93.6x, -0.3%) ca: 6.9s (69.4x, -0.0%) he: 7.9s (79.2x, -0.4%) ca: 3.5s (34.5x, -0.3%) dr: 5.0s (50.2x, -1.8%) ma: 5.0s (50.0x, -1.8%) -- many-loss-records -- many-loss-records valgrind-new:0.01s no: 0.3s (26.0x, -----) me: 1.5s (150.0x, -----) ca: 1.0s (103.0x, -----) he: 1.3s (132.0x, -----) ca: 0.7s (67.0x, -----) dr: 1.2s (119.0x, -----) ma: 1.0s (103.0x, -----) many-loss-records valgrind-old:0.01s no: 0.3s (26.0x, 0.0%) me: 1.5s (147.0x, 2.0%) ca: 1.0s (102.0x, 1.0%) he: 1.3s (131.0x, 0.8%) ca: 0.7s (67.0x, 0.0%) dr: 1.2s (118.0x, 0.8%) ma: 1.0s (104.0x, -1.0%) -- many-xpts -- many-xpts valgrind-new:0.03s no: 0.3s (10.3x, -----) me: 1.7s (55.7x, -----) ca: 2.5s (85.0x, -----) he: 2.3s (75.3x, -----) ca: 1.0s (32.7x, -----) dr: 1.6s (52.0x, -----) ma: 1.6s (52.0x, -----) many-xpts valgrind-old:0.03s no: 0.3s (10.7x, -3.2%) me: 1.7s (55.7x, 0.0%) ca: 2.5s (84.7x, 0.4%) he: 2.3s (75.7x, -0.4%) ca: 1.0s (32.7x, 0.0%) dr: 1.6s (52.0x, 0.0%) ma: 1.6s (52.7x, -1.3%) -- sarp -- sarp valgrind-new:0.02s no: 0.3s (14.0x, -----) me: 2.5s (124.5x, -----) ca: 1.7s (85.5x, -----) he: 6.6s (332.0x, -----) ca: 1.1s (52.5x, -----) dr: 1.1s (55.5x, -----) ma: 0.3s (15.0x, -----) sarp valgrind-old:0.02s no: 0.3s (14.5x, -3.6%) me: 2.5s (124.0x, 0.4%) ca: 1.7s (86.0x, -0.6%) he: 6.7s (332.5x, -0.2%) ca: 1.1s (52.5x, 0.0%) dr: 1.1s (55.0x, 0.9%) ma: 0.3s (15.5x, -3.3%) -- tinycc -- tinycc valgrind-new:0.16s no: 1.4s ( 8.4x, -----) me: 7.9s (49.6x, -----) ca:10.7s (66.6x, -----) he: 9.7s (60.6x, -----) ca: 7.7s (48.1x, -----) dr: 8.0s (49.7x, -----) ma: 2.4s (15.1x, -----) tinycc valgrind-old:0.16s no: 1.4s ( 8.4x, 0.0%) me: 8.0s (49.7x, -0.3%) ca:10.6s (66.5x, 0.1%) he: 9.7s (60.8x, -0.2%) ca: 7.6s (47.7x, 0.8%) dr: 7.9s (49.6x, 0.1%) ma: 2.5s (15.3x, -1.2%) -- Finished tests in perf ---------------------------------------------- == 11 programs, 154 timings ================= real 34m10.230s user 33m15.994s sys 0m24.748s |
|
From: Tom H. <to...@co...> - 2015-03-12 03:47:13
|
valgrind revision: 15001 VEX revision: 3100 C compiler: gcc (GCC) 4.8.3 20140911 (Red Hat 4.8.3-7) GDB: GNU gdb (GDB) Fedora 7.7.1-21.fc20 Assembler: GNU assembler version 2.23.2 C library: GNU C Library (GNU libc) stable release version 2.18 uname -mrs: Linux 3.18.7-200.fc21.x86_64 x86_64 Vendor version: Fedora 20 (Heisenbug) Nightly build on bristol ( x86_64, Fedora 20 ) Started at 2015-03-12 02:31:12 GMT Ended at 2015-03-12 03:46:54 GMT Results unchanged from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... done Regression test results follow == 700 tests, 0 stderr failures, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures == --tools=none,memcheck,callgrind,helgrind,cachegrind,drd,massif --reps=3 --vg=../valgrind-new --vg=../valgrind-old -- Running tests in perf ---------------------------------------------- -- bigcode1 -- bigcode1 valgrind-new:0.10s no: 1.6s (16.3x, -----) me: 3.5s (34.5x, -----) ca:13.4s (134.0x, -----) he: 2.1s (21.1x, -----) ca: 3.8s (37.9x, -----) dr: 2.0s (20.3x, -----) ma: 1.9s (19.2x, -----) bigcode1 valgrind-old:0.10s no: 1.6s (16.3x, 0.0%) me: 3.4s (34.4x, 0.3%) ca:13.3s (133.3x, 0.5%) he: 2.1s (21.1x, 0.0%) ca: 3.8s (38.1x, -0.5%) dr: 2.0s (20.3x, 0.0%) ma: 2.0s (19.6x, -2.1%) -- bigcode2 -- bigcode2 valgrind-new:0.11s no: 4.0s (36.0x, -----) me: 8.6s (77.7x, -----) ca:25.1s (228.1x, -----) he: 5.0s (45.0x, -----) ca: 7.1s (64.9x, -----) dr: 4.7s (42.3x, -----) ma: 4.5s (41.2x, -----) bigcode2 valgrind-old:0.11s no: 3.9s (35.2x, 2.3%) me: 8.6s (77.8x, -0.1%) ca:25.4s (230.5x, -1.1%) he: 5.1s (46.3x, -2.8%) ca: 7.2s (65.0x, -0.1%) dr: 4.7s (42.4x, -0.2%) ma: 4.6s (41.6x, -1.1%) -- bz2 -- bz2 valgrind-new:0.48s no: 1.6s ( 3.3x, -----) me: 5.8s (12.0x, -----) ca:12.5s (26.1x, -----) he: 8.7s (18.2x, -----) ca:10.6s (22.0x, -----) dr:10.8s (22.4x, -----) ma: 1.6s ( 3.3x, -----) bz2 valgrind-old:0.48s no: 1.6s ( 3.3x, -0.6%) me: 5.7s (11.9x, 0.5%) ca:12.5s (26.1x, 0.1%) he: 8.7s (18.1x, 0.3%) ca:10.6s (22.1x, -0.6%) dr:10.7s (22.2x, 0.7%) ma: 1.6s ( 3.3x, -0.6%) -- fbench -- fbench valgrind-new:0.22s no: 1.0s ( 4.6x, -----) me: 3.5s (15.8x, -----) ca: 5.6s (25.3x, -----) he: 2.6s (11.9x, -----) ca: 2.9s (13.2x, -----) dr: 2.6s (12.0x, -----) ma: 1.1s ( 4.8x, -----) fbench valgrind-old:0.22s no: 1.0s ( 4.6x, 0.0%) me: 3.5s (15.9x, -0.6%) ca: 5.6s (25.6x, -1.1%) he: 2.6s (12.0x, -1.5%) ca: 3.0s (13.6x, -3.1%) dr: 2.6s (12.0x, -0.8%) ma: 1.1s ( 4.8x, 0.0%) -- ffbench -- ffbench valgrind-new:0.22s no: 1.0s ( 4.4x, -----) me: 3.0s (13.5x, -----) ca: 1.9s ( 8.7x, -----) he: 5.9s (26.9x, -----) ca: 4.5s (20.4x, -----) dr: 3.5s (15.9x, -----) ma: 0.9s ( 4.1x, -----) ffbench valgrind-old:0.22s no: 1.0s ( 4.4x, -1.0%) me: 3.0s (13.7x, -1.3%) ca: 1.9s ( 8.7x, 0.5%) he: 6.4s (29.1x, -8.5%) ca: 4.4s (20.2x, 1.1%) dr: 3.5s (15.8x, 0.6%) ma: 0.9s ( 4.1x, 1.1%) -- heap -- heap valgrind-new:0.08s no: 0.6s ( 7.6x, -----) me: 5.3s (65.9x, -----) ca: 6.2s (76.9x, -----) he: 6.8s (85.0x, -----) ca: 3.2s (40.0x, -----) dr: 4.4s (54.9x, -----) ma: 4.7s (59.0x, -----) heap valgrind-old:0.08s no: 0.6s ( 7.6x, 0.0%) me: 5.2s (65.4x, 0.8%) ca: 6.2s (77.1x, -0.3%) he: 6.8s (85.2x, -0.3%) ca: 3.2s (39.9x, 0.3%) dr: 4.5s (55.8x, -1.6%) ma: 4.8s (60.0x, -1.7%) -- heap_pdb4 -- heap_pdb4 valgrind-new:0.10s no: 0.7s ( 6.7x, -----) me: 9.0s (89.6x, -----) ca: 6.7s (67.3x, -----) he: 8.0s (80.0x, -----) ca: 3.5s (35.2x, -----) dr: 5.0s (50.3x, -----) ma: 5.0s (50.5x, -----) heap_pdb4 valgrind-old:0.10s no: 0.7s ( 6.7x, 0.0%) me: 9.0s (89.6x, 0.0%) ca: 6.7s (66.9x, 0.6%) he: 7.9s (79.1x, 1.1%) ca: 3.5s (35.1x, 0.3%) dr: 5.0s (50.3x, 0.0%) ma: 5.1s (50.9x, -0.8%) -- many-loss-records -- many-loss-records valgrind-new:0.01s no: 0.3s (26.0x, -----) me: 1.5s (148.0x, -----) ca: 1.0s (102.0x, -----) he: 1.3s (130.0x, -----) ca: 0.7s (67.0x, -----) dr: 1.2s (119.0x, -----) ma: 1.1s (105.0x, -----) many-loss-records valgrind-old:0.01s no: 0.3s (27.0x, -3.8%) me: 1.5s (146.0x, 1.4%) ca: 1.0s (103.0x, -1.0%) he: 1.3s (130.0x, 0.0%) ca: 0.7s (66.0x, 1.5%) dr: 1.2s (118.0x, 0.8%) ma: 1.1s (106.0x, -1.0%) -- many-xpts -- many-xpts valgrind-new:0.03s no: 0.3s (11.0x, -----) me: 1.7s (56.7x, -----) ca: 2.5s (84.7x, -----) he: 2.2s (75.0x, -----) ca: 0.9s (31.0x, -----) dr: 1.6s (52.0x, -----) ma: 1.6s (53.0x, -----) many-xpts valgrind-old:0.03s no: 0.3s (11.0x, 0.0%) me: 1.7s (55.7x, 1.8%) ca: 2.5s (84.3x, 0.4%) he: 2.3s (75.3x, -0.4%) ca: 0.9s (31.3x, -1.1%) dr: 1.6s (52.7x, -1.3%) ma: 1.6s (53.7x, -1.3%) -- sarp -- sarp valgrind-new:0.02s no: 0.3s (14.5x, -----) me: 2.4s (120.5x, -----) ca: 1.7s (86.0x, -----) he: 6.6s (331.5x, -----) ca: 0.9s (46.0x, -----) dr: 1.1s (55.0x, -----) ma: 0.3s (15.0x, -----) sarp valgrind-old:0.02s no: 0.3s (14.0x, 3.4%) me: 2.4s (120.5x, 0.0%) ca: 1.7s (85.5x, 0.6%) he: 6.6s (331.5x, 0.0%) ca: 0.9s (46.0x, 0.0%) dr: 1.1s (54.5x, 0.9%) ma: 0.3s (15.0x, 0.0%) -- tinycc -- tinycc valgrind-new:0.16s no: 1.4s ( 8.4x, -----) me: 7.9s (49.4x, -----) ca:10.7s (66.8x, -----) he: 9.7s (60.5x, -----) ca: 7.6s (47.3x, -----) dr: 7.9s (49.5x, -----) ma: 2.5s (15.4x, -----) tinycc valgrind-old:0.16s no: 1.4s ( 8.5x, -0.7%) me: 7.9s (49.6x, -0.4%) ca:10.7s (66.9x, -0.2%) he: 9.8s (61.1x, -0.9%) ca: 7.6s (47.5x, -0.4%) dr: 8.0s (49.9x, -0.8%) ma: 2.5s (15.3x, 0.8%) -- Finished tests in perf ---------------------------------------------- == 11 programs, 154 timings ================= real 34m47.243s user 33m9.747s sys 0m25.532s |
|
From: Rich C. <rc...@wi...> - 2015-03-12 03:06:04
|
valgrind revision: 15001
VEX revision: 3100
C compiler: gcc (SUSE Linux) 4.8.3 20140627 [gcc-4_8-branch revision 212064]
GDB: GNU gdb (GDB; openSUSE 13.2) 7.8
Assembler: GNU assembler (GNU Binutils; openSUSE 13.2) 2.24.0.20140403-6.1
C library: GNU C Library (GNU libc) stable release version 2.19 (git 9a869d822025)
uname -mrs: Linux 3.16.6-2-desktop x86_64
Vendor version: openSUSE 13.2 (Harlequin)
Nightly build on ultra ( gcc (SUSE Linux) 4.8.3 20140627 [gcc-4_8-branch revision 212064] Linux 3.16.6-2-desktop x86_64 )
Started at 2015-03-11 21:30:01 CDT
Ended at 2015-03-11 22:05:51 CDT
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
== 617 tests, 6 stderr failures, 0 stdout failures, 0 stderrB failures, 1 stdoutB failure, 0 post failures ==
gdbserver_tests/hgtls (stdoutB)
memcheck/tests/err_disable3 (stderr)
memcheck/tests/err_disable4 (stderr)
memcheck/tests/threadname (stderr)
memcheck/tests/threadname_xml (stderr)
helgrind/tests/hg05_race2 (stderr)
helgrind/tests/tc09_bad_unlock (stderr)
=================================================
./valgrind-new/gdbserver_tests/hgtls.stdoutB.diff
=================================================
--- hgtls.stdoutB.exp 2015-03-11 21:48:08.623821858 -0500
+++ hgtls.stdoutB.out 2015-03-11 21:53:32.609878834 -0500
@@ -35,11 +35,11 @@
[New Thread ....]
Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
-test so_extern tls_ip 0x........ ip 0x........ equal 1
+test so_extern tls_ip 0x........ ip 0x........ equal 0
[New Thread ....]
Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
-test so_extern tls_ip 0x........ ip 0x........ equal 1
+test so_extern tls_ip 0x........ ip 0x........ equal 0
[New Thread ....]
Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
=================================================
./valgrind-new/helgrind/tests/hg05_race2.stderr.diff
=================================================
--- hg05_race2.stderr.exp 2015-03-11 21:48:50.928654374 -0500
+++ hg05_race2.stderr.out 2015-03-11 22:00:16.665719634 -0500
@@ -26,8 +26,7 @@
at 0x........: th (hg05_race2.c:17)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
...
- Location 0x........ is 0 bytes inside foo.poot[5].plop[11],
- declared at hg05_race2.c:24, in frame #x of thread x
+ Address 0x........ is on thread #x's stack
----------------------------------------------------------------
@@ -42,8 +41,7 @@
at 0x........: th (hg05_race2.c:17)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
...
- Location 0x........ is 0 bytes inside foo.poot[5].plop[11],
- declared at hg05_race2.c:24, in frame #x of thread x
+ Address 0x........ is on thread #x's stack
ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/helgrind/tests/tc09_bad_unlock.stderr.diff
=================================================
--- tc09_bad_unlock.stderr.exp 2015-03-11 21:48:50.951653736 -0500
+++ tc09_bad_unlock.stderr.out 2015-03-11 22:00:46.077907085 -0500
@@ -37,7 +37,6 @@
by 0x........: nearly_main (tc09_bad_unlock.c:31)
by 0x........: main (tc09_bad_unlock.c:49)
Address 0x........ is on thread #x's stack
- in frame #x, created by nearly_main (tc09_bad_unlock.c:16)
----------------------------------------------------------------
=================================================
./valgrind-new/memcheck/tests/err_disable3.stderr.diff
=================================================
--- err_disable3.stderr.exp 2015-03-11 21:48:09.186806322 -0500
+++ err_disable3.stderr.out 2015-03-11 21:55:24.493789471 -0500
@@ -10,8 +10,6 @@
Thread 2:
Invalid read of size 1
at 0x........: err (err_disable3.c:25)
- by 0x........: child_fn (err_disable3.c:31)
- ...
Address 0x........ is 5 bytes inside a block of size 10 free'd
at 0x........: free (vg_replace_malloc.c:...)
by 0x........: main (err_disable3.c:42)
=================================================
./valgrind-new/memcheck/tests/err_disable4.stderr.diff
=================================================
--- err_disable4.stderr.exp 2015-03-11 21:48:10.277776216 -0500
+++ err_disable4.stderr.out 2015-03-11 21:55:25.828752607 -0500
@@ -1501,8 +1501,6 @@
Thread x:
Invalid read of size 1
at 0x........: err (err_disable4.c:46)
- by 0x........: child_fn_2 (err_disable4.c:64)
- ...
Address 0x........ is 5 bytes inside a block of size 10 free'd
at 0x........: free (vg_replace_malloc.c:...)
by 0x........: main (err_disable4.c:81)
=================================================
./valgrind-new/memcheck/tests/threadname.stderr.diff
=================================================
--- threadname.stderr.exp 2015-03-11 21:48:09.897786701 -0500
+++ threadname.stderr.out 2015-03-11 21:57:29.295342835 -0500
@@ -9,36 +9,12 @@
Thread 2:
Invalid write of size 1
at 0x........: bad_things (threadname.c:16)
- by 0x........: child_fn_0 (threadname.c:61)
- ...
Address 0x........ is 0 bytes after a block of size 2 alloc'd
at 0x........: malloc (vg_replace_malloc.c:...)
by 0x........: bad_things (threadname.c:15)
by 0x........: child_fn_0 (threadname.c:61)
...
-Thread 3 try1:
-Invalid write of size 1
- at 0x........: bad_things (threadname.c:16)
- by 0x........: child_fn_1 (threadname.c:46)
- ...
- Address 0x........ is 0 bytes after a block of size 3 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: bad_things (threadname.c:15)
- by 0x........: child_fn_1 (threadname.c:46)
- ...
-
-Thread 4 012345678901234:
-Invalid write of size 1
- at 0x........: bad_things (threadname.c:16)
- by 0x........: child_fn_2 (threadname.c:30)
- ...
- Address 0x........ is 0 bytes after a block of size 4 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: bad_things (threadname.c:15)
- by 0x........: child_fn_2 (threadname.c:30)
- ...
-
Thread 1:
Invalid write of size 1
at 0x........: bad_things (threadname.c:16)
=================================================
./valgrind-new/memcheck/tests/threadname_xml.stderr.diff
=================================================
--- threadname_xml.stderr.exp 2015-03-11 21:48:09.504797546 -0500
+++ threadname_xml.stderr.out 2015-03-11 21:57:29.951324717 -0500
@@ -94,14 +94,6 @@
<file>threadname.c</file>
<line>...</line>
</frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>child_fn_0</fn>
- <dir>...</dir>
- <file>threadname.c</file>
- <line>...</line>
- </frame>
</stack>
<auxwhat>Address 0x........ is 0 bytes after a block of size 2 alloc'd</auxwhat>
<stack>
@@ -135,112 +127,6 @@
<error>
<unique>0x........</unique>
<tid>...</tid>
- <threadname>try1</threadname>
- <kind>InvalidWrite</kind>
- <what>Invalid write of size 1</what>
- <stack>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>bad_things</fn>
- <dir>...</dir>
- <file>threadname.c</file>
- <line>...</line>
- </frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>child_fn_1</fn>
- <dir>...</dir>
- <file>threadname.c</file>
- <line>...</line>
- </frame>
- </stack>
- <auxwhat>Address 0x........ is 0 bytes after a block of size 3 alloc'd</auxwhat>
- <stack>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>malloc</fn>
- <dir>...</dir>
- <file>vg_replace_malloc.c</file>
- <line>...</line>
- </frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>bad_things</fn>
- <dir>...</dir>
- <file>threadname.c</file>
- <line>...</line>
- </frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>child_fn_1</fn>
- <dir>...</dir>
- <file>threadname.c</file>
- <line>...</line>
- </frame>
- </stack>
-</error>
-
-<error>
- <unique>0x........</unique>
- <tid>...</tid>
- <threadname>012345678901234</threadname>
- <kind>InvalidWrite</kind>
- <what>Invalid write of size 1</what>
- <stack>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>bad_things</fn>
- <dir>...</dir>
- <file>threadname.c</file>
- <line>...</line>
- </frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>child_fn_2</fn>
- <dir>...</dir>
- <file>threadname.c</file>
- <line>...</line>
- </frame>
- </stack>
- <auxwhat>Address 0x........ is 0 bytes after a block of size 4 alloc'd</auxwhat>
- <stack>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
<truncated beyond 100 lines>
=================================================
./valgrind-old/gdbserver_tests/hgtls.stdoutB.diff
=================================================
--- hgtls.stdoutB.exp 2015-03-11 21:30:21.306248024 -0500
+++ hgtls.stdoutB.out 2015-03-11 21:35:47.995247374 -0500
@@ -35,11 +35,11 @@
[New Thread ....]
Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
-test so_extern tls_ip 0x........ ip 0x........ equal 1
+test so_extern tls_ip 0x........ ip 0x........ equal 0
[New Thread ....]
Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
-test so_extern tls_ip 0x........ ip 0x........ equal 1
+test so_extern tls_ip 0x........ ip 0x........ equal 0
[New Thread ....]
Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
=================================================
./valgrind-old/helgrind/tests/hg05_race2.stderr.diff
=================================================
--- hg05_race2.stderr.exp 2015-03-11 21:31:09.281926614 -0500
+++ hg05_race2.stderr.out 2015-03-11 21:42:30.884139555 -0500
@@ -26,8 +26,7 @@
at 0x........: th (hg05_race2.c:17)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
...
- Location 0x........ is 0 bytes inside foo.poot[5].plop[11],
- declared at hg05_race2.c:24, in frame #x of thread x
+ Address 0x........ is on thread #x's stack
----------------------------------------------------------------
@@ -42,8 +41,7 @@
at 0x........: th (hg05_race2.c:17)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
...
- Location 0x........ is 0 bytes inside foo.poot[5].plop[11],
- declared at hg05_race2.c:24, in frame #x of thread x
+ Address 0x........ is on thread #x's stack
ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
=================================================
./valgrind-old/helgrind/tests/tc09_bad_unlock.stderr.diff
=================================================
--- tc09_bad_unlock.stderr.exp 2015-03-11 21:31:09.304925980 -0500
+++ tc09_bad_unlock.stderr.out 2015-03-11 21:43:00.295328359 -0500
@@ -37,7 +37,6 @@
by 0x........: nearly_main (tc09_bad_unlock.c:31)
by 0x........: main (tc09_bad_unlock.c:49)
Address 0x........ is on thread #x's stack
- in frame #x, created by nearly_main (tc09_bad_unlock.c:16)
----------------------------------------------------------------
=================================================
./valgrind-old/memcheck/tests/err_disable3.stderr.diff
=================================================
--- err_disable3.stderr.exp 2015-03-11 21:30:24.389163114 -0500
+++ err_disable3.stderr.out 2015-03-11 21:37:40.125156737 -0500
@@ -10,8 +10,6 @@
Thread 2:
Invalid read of size 1
at 0x........: err (err_disable3.c:25)
- by 0x........: child_fn (err_disable3.c:31)
- ...
Address 0x........ is 5 bytes inside a block of size 10 free'd
at 0x........: free (vg_replace_malloc.c:...)
by 0x........: main (err_disable3.c:42)
=================================================
./valgrind-old/memcheck/tests/err_disable4.stderr.diff
=================================================
--- err_disable4.stderr.exp 2015-03-11 21:30:29.064034358 -0500
+++ err_disable4.stderr.out 2015-03-11 21:37:41.438120544 -0500
@@ -1501,8 +1501,6 @@
Thread x:
Invalid read of size 1
at 0x........: err (err_disable4.c:46)
- by 0x........: child_fn_2 (err_disable4.c:64)
- ...
Address 0x........ is 5 bytes inside a block of size 10 free'd
at 0x........: free (vg_replace_malloc.c:...)
by 0x........: main (err_disable4.c:81)
=================================================
./valgrind-old/memcheck/tests/threadname.stderr.diff
=================================================
--- threadname.stderr.exp 2015-03-11 21:30:27.339081867 -0500
+++ threadname.stderr.out 2015-03-11 21:39:44.172736854 -0500
@@ -9,36 +9,12 @@
Thread 2:
Invalid write of size 1
at 0x........: bad_things (threadname.c:16)
- by 0x........: child_fn_0 (threadname.c:61)
- ...
Address 0x........ is 0 bytes after a block of size 2 alloc'd
at 0x........: malloc (vg_replace_malloc.c:...)
by 0x........: bad_things (threadname.c:15)
by 0x........: child_fn_0 (threadname.c:61)
...
-Thread 3 try1:
-Invalid write of size 1
- at 0x........: bad_things (threadname.c:16)
- by 0x........: child_fn_1 (threadname.c:46)
- ...
- Address 0x........ is 0 bytes after a block of size 3 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: bad_things (threadname.c:15)
- by 0x........: child_fn_1 (threadname.c:46)
- ...
-
-Thread 4 012345678901234:
-Invalid write of size 1
- at 0x........: bad_things (threadname.c:16)
- by 0x........: child_fn_2 (threadname.c:30)
- ...
- Address 0x........ is 0 bytes after a block of size 4 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: bad_things (threadname.c:15)
- by 0x........: child_fn_2 (threadname.c:30)
- ...
-
Thread 1:
Invalid write of size 1
at 0x........: bad_things (threadname.c:16)
=================================================
./valgrind-old/memcheck/tests/threadname_xml.stderr.diff
=================================================
--- threadname_xml.stderr.exp 2015-03-11 21:30:26.267111391 -0500
+++ threadname_xml.stderr.out 2015-03-11 21:39:44.822718933 -0500
@@ -94,14 +94,6 @@
<file>threadname.c</file>
<line>...</line>
</frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>child_fn_0</fn>
- <dir>...</dir>
- <file>threadname.c</file>
- <line>...</line>
- </frame>
</stack>
<auxwhat>Address 0x........ is 0 bytes after a block of size 2 alloc'd</auxwhat>
<stack>
@@ -135,112 +127,6 @@
<error>
<unique>0x........</unique>
<tid>...</tid>
- <threadname>try1</threadname>
- <kind>InvalidWrite</kind>
- <what>Invalid write of size 1</what>
- <stack>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>bad_things</fn>
- <dir>...</dir>
- <file>threadname.c</file>
- <line>...</line>
- </frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>child_fn_1</fn>
- <dir>...</dir>
- <file>threadname.c</file>
- <line>...</line>
- </frame>
- </stack>
- <auxwhat>Address 0x........ is 0 bytes after a block of size 3 alloc'd</auxwhat>
- <stack>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>malloc</fn>
- <dir>...</dir>
- <file>vg_replace_malloc.c</file>
- <line>...</line>
- </frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>bad_things</fn>
- <dir>...</dir>
- <file>threadname.c</file>
- <line>...</line>
- </frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>child_fn_1</fn>
- <dir>...</dir>
- <file>threadname.c</file>
- <line>...</line>
- </frame>
- </stack>
-</error>
-
-<error>
- <unique>0x........</unique>
- <tid>...</tid>
- <threadname>012345678901234</threadname>
- <kind>InvalidWrite</kind>
- <what>Invalid write of size 1</what>
- <stack>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>bad_things</fn>
- <dir>...</dir>
- <file>threadname.c</file>
- <line>...</line>
- </frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>child_fn_2</fn>
- <dir>...</dir>
- <file>threadname.c</file>
- <line>...</line>
- </frame>
- </stack>
- <auxwhat>Address 0x........ is 0 bytes after a block of size 4 alloc'd</auxwhat>
- <stack>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
<truncated beyond 100 lines>
|
|
From: Mark W. <ma...@bu...> - 2015-03-12 02:39:25
|
valgrind revision: 15001
VEX revision: 3100
C compiler: gcc (Debian 4.7.2-5) 4.7.2
GDB: GNU gdb (GDB) 7.4.1-debian
Assembler: GNU assembler (GNU Binutils for Debian) 2.22
C library: GNU C Library (Debian EGLIBC 2.13-38+deb7u8) stable release version 2.13
uname -mrs: Linux 3.2.0-4-686-pae i686
Vendor version: Debian GNU/Linux 7 (wheezy)
Nightly build on wildebeest32 ( Debian 7.8 wheezy i686 )
Started at 2015-03-12 02:07:02 CET
Ended at 2015-03-12 03:38:30 CET
Results differ from 24 hours ago
Checking out valgrind source tree ... done
Configuring valgrind ... done
Building valgrind ... done
Running regression tests ... failed
Regression test results follow
== 633 tests, 2 stderr failures, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures ==
helgrind/tests/locked_vs_unlocked2 (stderr)
helgrind/tests/tc23_bogus_condwait (stderr)
=================================================
== Results from 24 hours ago ==
=================================================
Checking out valgrind source tree ... done
Configuring valgrind ... done
Building valgrind ... done
Running regression tests ... failed
Regression test results follow
== 633 tests, 1 stderr failure, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures ==
helgrind/tests/locked_vs_unlocked2 (stderr)
=================================================
== Difference between 24 hours ago and now ==
=================================================
*** old.short 2015-03-12 02:53:52.635704558 +0100
--- new.short 2015-03-12 03:38:30.719703002 +0100
***************
*** 8,11 ****
! == 633 tests, 1 stderr failure, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures ==
helgrind/tests/locked_vs_unlocked2 (stderr)
--- 8,12 ----
! == 633 tests, 2 stderr failures, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures ==
helgrind/tests/locked_vs_unlocked2 (stderr)
+ helgrind/tests/tc23_bogus_condwait (stderr)
=================================================
./valgrind-new/helgrind/tests/locked_vs_unlocked2.stderr.diff
=================================================
--- locked_vs_unlocked2.stderr.exp 2015-03-12 02:54:14.655703000 +0100
+++ locked_vs_unlocked2.stderr.out 2015-03-12 03:27:51.951703002 +0100
@@ -16,13 +16,13 @@
Lock at 0x........ was first observed
at 0x........: pthread_mutex_init (hg_intercepts.c:...)
- by 0x........: main (locked_vs_unlocked2.c:59)
- Address 0x........ is 0 bytes inside data symbol "mx2b"
+ by 0x........: main (locked_vs_unlocked2.c:58)
+ Address 0x........ is 0 bytes inside data symbol "mx2a"
Lock at 0x........ was first observed
at 0x........: pthread_mutex_init (hg_intercepts.c:...)
- by 0x........: main (locked_vs_unlocked2.c:58)
- Address 0x........ is 0 bytes inside data symbol "mx2a"
+ by 0x........: main (locked_vs_unlocked2.c:59)
+ Address 0x........ is 0 bytes inside data symbol "mx2b"
Lock at 0x........ was first observed
at 0x........: pthread_mutex_init (hg_intercepts.c:...)
=================================================
./valgrind-new/helgrind/tests/tc23_bogus_condwait.stderr.diff
=================================================
--- tc23_bogus_condwait.stderr.exp 2015-03-12 02:54:14.643703005 +0100
+++ tc23_bogus_condwait.stderr.out 2015-03-12 03:29:25.395709683 +0100
@@ -26,6 +26,14 @@
----------------------------------------------------------------
+Thread #x's call to pthread_cond_wait failed
+ with error code 1 (EPERM: Operation not permitted)
+ at 0x........: pthread_cond_wait_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_cond_wait@* (hg_intercepts.c:...)
+ by 0x........: main (tc23_bogus_condwait.c:72)
+
+----------------------------------------------------------------
+
Thread #x: pthread_cond_{timed}wait called with mutex of type pthread_rwlock_t*
at 0x........: pthread_cond_wait_WRK (hg_intercepts.c:...)
by 0x........: pthread_cond_wait@* (hg_intercepts.c:...)
@@ -53,4 +61,4 @@
by 0x........: main (tc23_bogus_condwait.c:78)
-ERROR SUMMARY: 7 errors from 7 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 8 errors from 8 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/helgrind/tests/tc23_bogus_condwait.stderr.diff-mips32
=================================================
--- tc23_bogus_condwait.stderr.exp-mips32 2015-03-12 02:54:14.635703004 +0100
+++ tc23_bogus_condwait.stderr.out 2015-03-12 03:29:25.395709683 +0100
@@ -27,7 +27,7 @@
----------------------------------------------------------------
Thread #x's call to pthread_cond_wait failed
- with error code 22 (EINVAL: Invalid argument)
+ with error code 1 (EPERM: Operation not permitted)
at 0x........: pthread_cond_wait_WRK (hg_intercepts.c:...)
by 0x........: pthread_cond_wait@* (hg_intercepts.c:...)
by 0x........: main (tc23_bogus_condwait.c:72)
=================================================
./valgrind-old/helgrind/tests/locked_vs_unlocked2.stderr.diff
=================================================
--- locked_vs_unlocked2.stderr.exp 2015-03-12 02:08:54.979703000 +0100
+++ locked_vs_unlocked2.stderr.out 2015-03-12 02:42:48.579703060 +0100
@@ -16,13 +16,13 @@
Lock at 0x........ was first observed
at 0x........: pthread_mutex_init (hg_intercepts.c:...)
- by 0x........: main (locked_vs_unlocked2.c:59)
- Address 0x........ is 0 bytes inside data symbol "mx2b"
+ by 0x........: main (locked_vs_unlocked2.c:58)
+ Address 0x........ is 0 bytes inside data symbol "mx2a"
Lock at 0x........ was first observed
at 0x........: pthread_mutex_init (hg_intercepts.c:...)
- by 0x........: main (locked_vs_unlocked2.c:58)
- Address 0x........ is 0 bytes inside data symbol "mx2a"
+ by 0x........: main (locked_vs_unlocked2.c:59)
+ Address 0x........ is 0 bytes inside data symbol "mx2b"
Lock at 0x........ was first observed
at 0x........: pthread_mutex_init (hg_intercepts.c:...)
|
|
From: <ma...@bu...> - 2015-03-12 00:59:55
|
valgrind revision: 15001
VEX revision: 3100
C compiler: gcc (Debian 4.7.2-5) 4.7.2
GDB: GNU gdb (GDB) 7.4.1-debian
Assembler: GNU assembler (GNU Binutils for Debian) 2.22
C library: GNU C Library (Debian EGLIBC 2.13-38+deb7u8) stable release version 2.13
uname -mrs: Linux 3.2.0-4-amd64 x86_64
Vendor version: Debian GNU/Linux 7 (wheezy)
Nightly build on wildebeest ( Debian 7.8 wheezy x86_64 )
Started at 2015-03-12 00:00:02 UTC
Ended at 2015-03-12 00:59:39 UTC
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
== 689 tests, 1 stderr failure, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures ==
helgrind/tests/pth_destroy_cond (stderr)
=================================================
./valgrind-new/helgrind/tests/pth_destroy_cond.stderr.diff
=================================================
--- pth_destroy_cond.stderr.exp 2015-03-12 00:29:47.587151974 +0000
+++ pth_destroy_cond.stderr.out 2015-03-12 00:48:43.338913998 +0000
@@ -5,6 +5,34 @@
by 0x........: pthread_create@* (hg_intercepts.c:...)
by 0x........: main (pth_destroy_cond.c:29)
+---Thread-Announcement------------------------------------------
+
+Thread #x is the program's root thread
+
+----------------------------------------------------------------
+
+ Lock at 0x........ was first observed
+ at 0x........: pthread_mutex_init (hg_intercepts.c:...)
+ by 0x........: main (pth_destroy_cond.c:25)
+ Address 0x........ is 0 bytes inside data symbol "mutex"
+
+Possible data race during read of size 1 at 0x........ by thread #x
+Locks held: 1, at address 0x........
+ at 0x........: my_memcmp (hg_intercepts.c:...)
+ by 0x........: pthread_cond_destroy_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_cond_destroy@* (hg_intercepts.c:...)
+ by 0x........: ThreadFunction (pth_destroy_cond.c:18)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+
+This conflicts with a previous write of size 4 by thread #x
+Locks held: none
+ ...
+ by 0x........: pthread_cond_wait_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_cond_wait@* (hg_intercepts.c:...)
+ by 0x........: main (pth_destroy_cond.c:31)
+ Address 0x........ is 4 bytes inside data symbol "cond"
+
----------------------------------------------------------------
Thread #x: pthread_cond_destroy: destruction of condition variable being waited upon
=================================================
./valgrind-old/helgrind/tests/pth_destroy_cond.stderr.diff
=================================================
--- pth_destroy_cond.stderr.exp 2015-03-12 00:00:15.835498480 +0000
+++ pth_destroy_cond.stderr.out 2015-03-12 00:18:52.435299355 +0000
@@ -5,6 +5,34 @@
by 0x........: pthread_create@* (hg_intercepts.c:...)
by 0x........: main (pth_destroy_cond.c:29)
+---Thread-Announcement------------------------------------------
+
+Thread #x is the program's root thread
+
+----------------------------------------------------------------
+
+ Lock at 0x........ was first observed
+ at 0x........: pthread_mutex_init (hg_intercepts.c:...)
+ by 0x........: main (pth_destroy_cond.c:25)
+ Address 0x........ is 0 bytes inside data symbol "mutex"
+
+Possible data race during read of size 1 at 0x........ by thread #x
+Locks held: 1, at address 0x........
+ at 0x........: my_memcmp (hg_intercepts.c:...)
+ by 0x........: pthread_cond_destroy_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_cond_destroy@* (hg_intercepts.c:...)
+ by 0x........: ThreadFunction (pth_destroy_cond.c:18)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+
+This conflicts with a previous write of size 4 by thread #x
+Locks held: none
+ ...
+ by 0x........: pthread_cond_wait_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_cond_wait@* (hg_intercepts.c:...)
+ by 0x........: main (pth_destroy_cond.c:31)
+ Address 0x........ is 4 bytes inside data symbol "cond"
+
----------------------------------------------------------------
Thread #x: pthread_cond_destroy: destruction of condition variable being waited upon
|