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
(34) |
2
(28) |
3
(22) |
4
(24) |
5
(32) |
6
(26) |
|
7
(21) |
8
(30) |
9
(15) |
10
(20) |
11
(23) |
12
(27) |
13
(17) |
|
14
(16) |
15
(16) |
16
(15) |
17
(14) |
18
(20) |
19
(18) |
20
(11) |
|
21
(1) |
22
(18) |
23
(12) |
24
(17) |
25
(16) |
26
(15) |
27
(18) |
|
28
(19) |
29
(17) |
30
(17) |
|
|
|
|
|
From: <sv...@va...> - 2014-09-15 20:57:57
|
Author: florian
Date: Mon Sep 15 20:57:45 2014
New Revision: 14542
Log:
coregrind files shall use vg_assert not tl_assert.
Tool files shall use tl_assert not vg_assert.
Fix code accordingly.
Adapted check_headers_and_includes to make sure the code
stays clean in that respect.
Modified:
trunk/coregrind/m_addrinfo.c
trunk/coregrind/m_debuginfo/d3basics.c
trunk/coregrind/m_debuginfo/debuginfo.c
trunk/coregrind/m_debuginfo/misc.c
trunk/coregrind/m_debuginfo/readdwarf3.c
trunk/coregrind/m_debuginfo/storage.c
trunk/coregrind/m_debuginfo/tytypes.c
trunk/coregrind/m_errormgr.c
trunk/coregrind/m_execontext.c
trunk/coregrind/m_gdbserver/server.c
trunk/coregrind/m_libcprint.c
trunk/coregrind/m_machine.c
trunk/coregrind/m_main.c
trunk/coregrind/m_mallocfree.c
trunk/coregrind/m_options.c
trunk/coregrind/m_redir.c
trunk/coregrind/m_translate.c
trunk/coregrind/m_wordfm.c
trunk/coregrind/pub_core_tooliface.h
trunk/tests/check_headers_and_includes
Modified: trunk/coregrind/m_addrinfo.c
==============================================================================
--- trunk/coregrind/m_addrinfo.c (original)
+++ trunk/coregrind/m_addrinfo.c Mon Sep 15 20:57:45 2014
@@ -474,7 +474,7 @@
);
if (ai->Addr.Block.block_kind==Block_Mallocd) {
VG_(pp_ExeContext)(ai->Addr.Block.allocated_at);
- tl_assert (ai->Addr.Block.freed_at == VG_(null_ExeContext)());
+ vg_assert (ai->Addr.Block.freed_at == VG_(null_ExeContext)());
}
else if (ai->Addr.Block.block_kind==Block_Freed) {
VG_(pp_ExeContext)(ai->Addr.Block.freed_at);
@@ -491,14 +491,14 @@
|| ai->Addr.Block.block_kind==Block_UserG) {
// client-defined
VG_(pp_ExeContext)(ai->Addr.Block.allocated_at);
- tl_assert (ai->Addr.Block.freed_at == VG_(null_ExeContext)());
+ vg_assert (ai->Addr.Block.freed_at == VG_(null_ExeContext)());
/* Nb: cannot have a freed_at, as a freed client-defined block
has a Block_Freed block_kind. */
} else {
// Client or Valgrind arena. At least currently, we never
// have stacktraces for these.
- tl_assert (ai->Addr.Block.allocated_at == VG_(null_ExeContext)());
- tl_assert (ai->Addr.Block.freed_at == VG_(null_ExeContext)());
+ vg_assert (ai->Addr.Block.allocated_at == VG_(null_ExeContext)());
+ vg_assert (ai->Addr.Block.freed_at == VG_(null_ExeContext)());
}
if (ai->Addr.Block.alloc_tinfo.tnr || ai->Addr.Block.alloc_tinfo.tid)
VG_(emit)(
Modified: trunk/coregrind/m_debuginfo/d3basics.c
==============================================================================
--- trunk/coregrind/m_debuginfo/d3basics.c (original)
+++ trunk/coregrind/m_debuginfo/d3basics.c Mon Sep 15 20:57:45 2014
@@ -1111,7 +1111,7 @@
VG_(printf)(" ML_(evaluate_trivial_GX): unhandled:\n ");
ML_(pp_GX)( gx );
VG_(printf)("\n");
- tl_assert(0);
+ vg_assert(0);
}
else
if (!badness)
@@ -1124,10 +1124,10 @@
res.kind = GXR_Failure;
- tl_assert(nGuards == VG_(sizeXA)( results ));
- tl_assert(nGuards >= 0);
+ vg_assert(nGuards == VG_(sizeXA)( results ));
+ vg_assert(nGuards >= 0);
if (nGuards == 0) {
- tl_assert(!badness);
+ vg_assert(!badness);
res.word = (UWord)"trivial GExpr has no guards (!)";
VG_(deleteXA)( results );
return res;
@@ -1151,11 +1151,11 @@
/* All the subexpressions produced a constant, but did they all produce
the same one? */
mul = VG_(indexXA)( results, 0 );
- tl_assert(mul->b == True); /* we just established that all exprs are ok */
+ vg_assert(mul->b == True); /* we just established that all exprs are ok */
for (i = 1; i < nGuards; i++) {
mul2 = VG_(indexXA)( results, i );
- tl_assert(mul2->b == True);
+ vg_assert(mul2->b == True);
if (mul2->ul != mul->ul) {
res.word = (UWord)"trivial GExpr: subexpressions disagree";
VG_(deleteXA)( results );
Modified: trunk/coregrind/m_debuginfo/debuginfo.c
==============================================================================
--- trunk/coregrind/m_debuginfo/debuginfo.c (original)
+++ trunk/coregrind/m_debuginfo/debuginfo.c Mon Sep 15 20:57:45 2014
@@ -663,7 +663,7 @@
VG_(redir_notify_new_DebugInfo)( di );
/* Note that we succeeded */
di->have_dinfo = True;
- tl_assert(di->handle > 0);
+ vg_assert(di->handle > 0);
di_handle = di->handle;
} else {
@@ -2014,7 +2014,7 @@
}
for (i = 0; i < si->symtab_used; i++) {
HChar* pri_name = si->symtab[i].pri_name;
- tl_assert(pri_name);
+ vg_assert(pri_name);
if (0==VG_(strcmp)(name, pri_name)
&& (require_pToc ? GET_TOCPTR_AVMA(si->symtab[i].avmas) : True)) {
*avmas = si->symtab[i].avmas;
@@ -2022,7 +2022,7 @@
}
HChar** sec_names = si->symtab[i].sec_names;
if (sec_names) {
- tl_assert(sec_names[0]);
+ vg_assert(sec_names[0]);
while (*sec_names) {
if (0==VG_(strcmp)(name, *sec_names)
&& (require_pToc
@@ -3756,8 +3756,8 @@
GXResult res;
UWord sp_delta = res_sp_7k.word - res_sp_6k.word;
UWord fp_delta = res_fp_7k.word - res_fp_6k.word;
- tl_assert(sp_delta == 0 || sp_delta == 1024);
- tl_assert(fp_delta == 0 || fp_delta == 1024);
+ vg_assert(sp_delta == 0 || sp_delta == 1024);
+ vg_assert(fp_delta == 0 || fp_delta == 1024);
if (sp_delta == 0 && fp_delta == 0) {
/* depends neither on sp nor fp, so it can't be a stack
@@ -3768,7 +3768,7 @@
regs.sp = regs.fp = 0;
regs.ip = ip;
res = ML_(evaluate_GX)( var->gexpr, var->fbGX, ®s, di );
- tl_assert(res.kind == GXR_Addr);
+ vg_assert(res.kind == GXR_Addr);
if (debug)
VG_(printf)(" %5ld .. %5ld (sp) %s\n",
res.word, res.word + ((UWord)mul.ul) - 1, var->name);
@@ -3787,7 +3787,7 @@
regs.sp = regs.fp = 0;
regs.ip = ip;
res = ML_(evaluate_GX)( var->gexpr, var->fbGX, ®s, di );
- tl_assert(res.kind == GXR_Addr);
+ vg_assert(res.kind == GXR_Addr);
if (debug)
VG_(printf)(" %5ld .. %5ld (FP) %s\n",
res.word, res.word + ((UWord)mul.ul) - 1, var->name);
@@ -3939,7 +3939,7 @@
/* The first thing to do is find the DebugInfo that
pertains to 'di_handle'. */
- tl_assert(di_handle > 0);
+ vg_assert(di_handle > 0);
for (di = debugInfo_list; di; di = di->next) {
if (di->handle == di_handle)
break;
@@ -3948,7 +3948,7 @@
/* If this fails, we were unable to find any DebugInfo with the
given handle. This is considered an error on the part of the
caller. */
- tl_assert(di != NULL);
+ vg_assert(di != NULL);
/* we'll put the collected variables in here. */
gvars = VG_(newXA)( ML_(dinfo_zalloc), "di.debuginfo.dggbfd.1",
@@ -3968,13 +3968,13 @@
DiAddrRange* range;
OSet* /* of DiAddrInfo */ scope
= *(OSet**)VG_(indexXA)( di->varinfo, scopeIx );
- tl_assert(scope);
+ vg_assert(scope);
VG_(OSetGen_ResetIter)(scope);
while ( (range = VG_(OSetGen_Next)(scope)) ) {
/* Iterate over each variable in the current address range */
Word nVars, varIx;
- tl_assert(range->vars);
+ vg_assert(range->vars);
nVars = VG_(sizeXA)( range->vars );
for (varIx = 0; varIx < nVars; varIx++) {
@@ -3984,7 +3984,7 @@
GlobalBlock gb;
TyEnt* ty;
DiVariable* var = VG_(indexXA)( range->vars, varIx );
- tl_assert(var->name);
+ vg_assert(var->name);
if (0) VG_(printf)("at depth %ld var %s ", scopeIx, var->name );
/* Now figure out if this variable has a constant address
@@ -4031,8 +4031,8 @@
if (arrays_only && !isVec) continue;
/* Ok, so collect it! */
- tl_assert(var->name);
- tl_assert(di->soname);
+ vg_assert(var->name);
+ vg_assert(di->soname);
if (0) VG_(printf)("XXXX %s %s %d\n", var->name,
ML_(fndn_ix2filename)(di, var->fndn_ix),
var->lineNo);
@@ -4042,8 +4042,8 @@
gb.isVec = isVec;
VG_(strncpy)(&gb.name[0], var->name, sizeof(gb.name)-1);
VG_(strncpy)(&gb.soname[0], di->soname, sizeof(gb.soname)-1);
- tl_assert(gb.name[ sizeof(gb.name)-1 ] == 0);
- tl_assert(gb.soname[ sizeof(gb.soname)-1 ] == 0);
+ vg_assert(gb.name[ sizeof(gb.name)-1 ] == 0);
+ vg_assert(gb.soname[ sizeof(gb.soname)-1 ] == 0);
VG_(addToXA)( gvars, &gb );
Modified: trunk/coregrind/m_debuginfo/misc.c
==============================================================================
--- trunk/coregrind/m_debuginfo/misc.c (original)
+++ trunk/coregrind/m_debuginfo/misc.c Mon Sep 15 20:57:45 2014
@@ -65,7 +65,7 @@
void* ML_(dinfo_memdup) ( const HChar* cc, void* str, SizeT nStr ) {
void* dst = VG_(arena_malloc)( VG_AR_DINFO, cc, nStr );
- tl_assert(dst);
+ vg_assert(dst);
VG_(memcpy)(dst, str, nStr);
return dst;
}
Modified: trunk/coregrind/m_debuginfo/readdwarf3.c
==============================================================================
--- trunk/coregrind/m_debuginfo/readdwarf3.c (original)
+++ trunk/coregrind/m_debuginfo/readdwarf3.c Mon Sep 15 20:57:45 2014
@@ -777,7 +777,7 @@
static Word cmp__XArrays_of_AddrRange ( XArray* rngs1, XArray* rngs2 )
{
Word n1, n2, i;
- tl_assert(rngs1 && rngs2);
+ vg_assert(rngs1 && rngs2);
n1 = VG_(sizeXA)( rngs1 );
n2 = VG_(sizeXA)( rngs2 );
if (n1 < n2) return -1;
@@ -2388,8 +2388,8 @@
UWord keyW, valW;
if (VG_(lookupFM)( rangestree, &keyW, &valW, (UWord)xa )) {
XArray* old = (XArray*)keyW;
- tl_assert(valW == 0);
- tl_assert(old != xa);
+ vg_assert(valW == 0);
+ vg_assert(old != xa);
tv->rngMany = old;
} else {
XArray* cloned = VG_(cloneXA)( "di.readdwarf3.pvD.2", xa );
Modified: trunk/coregrind/m_debuginfo/storage.c
==============================================================================
--- trunk/coregrind/m_debuginfo/storage.c (original)
+++ trunk/coregrind/m_debuginfo/storage.c Mon Sep 15 20:57:45 2014
@@ -1161,7 +1161,7 @@
MaybeULong mul;
const HChar* badness;
- tl_assert(di && di->admin_tyents);
+ vg_assert(di && di->admin_tyents);
if (0) {
VG_(printf)(" ML_(addVar): level %d %#lx-%#lx %s :: ",
@@ -1186,7 +1186,7 @@
vg_assert(gexpr);
ent = ML_(TyEnts__index_by_cuOff)( di->admin_tyents, NULL, typeR);
- tl_assert(ent);
+ vg_assert(ent);
vg_assert(ML_(TyEnt__is_type)(ent));
/* "Comment_Regarding_Text_Range_Checks" (is referred to elsewhere)
Modified: trunk/coregrind/m_debuginfo/tytypes.c
==============================================================================
--- trunk/coregrind/m_debuginfo/tytypes.c (original)
+++ trunk/coregrind/m_debuginfo/tytypes.c Mon Sep 15 20:57:45 2014
@@ -849,7 +849,7 @@
offset -= offMin;
ty = ML_(TyEnts__index_by_cuOff)(tyents, NULL,
field->Te.Field.typeR );
- tl_assert(ty);
+ vg_assert(ty);
if (ty->tag == Te_UNKNOWN) goto done;
/* keep going; look inside the field. */
break;
@@ -899,7 +899,7 @@
case Te_TyQual: {
ty = ML_(TyEnts__index_by_cuOff)(tyents, NULL,
ty->Te.TyQual.typeR);
- tl_assert(ty);
+ vg_assert(ty);
if (ty->tag == Te_UNKNOWN) goto done;
break;
}
@@ -907,7 +907,7 @@
case Te_TyTyDef: {
ty = ML_(TyEnts__index_by_cuOff)(tyents, NULL,
ty->Te.TyTyDef.typeR);
- tl_assert(ty);
+ vg_assert(ty);
if (ty->tag == Te_UNKNOWN) goto done;
break;
}
Modified: trunk/coregrind/m_errormgr.c
==============================================================================
--- trunk/coregrind/m_errormgr.c (original)
+++ trunk/coregrind/m_errormgr.c Mon Sep 15 20:57:45 2014
@@ -404,7 +404,7 @@
// Print stack trace elements
UInt n_ips = VG_(get_ExeContext_n_ips)(ec);
- tl_assert(n_ips > 0);
+ vg_assert(n_ips > 0);
if (n_ips > VG_MAX_SUPP_CALLERS)
n_ips = VG_MAX_SUPP_CALLERS;
VG_(apply_StackTrace)(printSuppForIp_nonXML,
@@ -647,7 +647,7 @@
/* DO NOT MAKE unique_counter NON-STATIC */
static UInt unique_counter = 0;
- tl_assert(tid < VG_N_THREADS);
+ vg_assert(tid < VG_N_THREADS);
/* Core-only parts */
err->unique = unique_counter++;
Modified: trunk/coregrind/m_execontext.c
==============================================================================
--- trunk/coregrind/m_execontext.c (original)
+++ trunk/coregrind/m_execontext.c Mon Sep 15 20:57:45 2014
@@ -211,7 +211,7 @@
return False;
// Must be at least one address in each trace.
- tl_assert(e1->n_ips >= 1 && e2->n_ips >= 1);
+ vg_assert(e1->n_ips >= 1 && e2->n_ips >= 1);
switch (res) {
case Vg_LowRes:
@@ -362,7 +362,7 @@
static UInt ctr = 0;
- tl_assert(n_ips >= 1 && n_ips <= VG_(clo_backtrace_size));
+ vg_assert(n_ips >= 1 && n_ips <= VG_(clo_backtrace_size));
/* Now figure out if we've seen this one before. First hash it so
as to determine the list number. */
Modified: trunk/coregrind/m_gdbserver/server.c
==============================================================================
--- trunk/coregrind/m_gdbserver/server.c (original)
+++ trunk/coregrind/m_gdbserver/server.c Mon Sep 15 20:57:45 2014
@@ -216,7 +216,7 @@
case -2: int_value = 0; break;
case -1: int_value = 0; break;
case 0: int_value = 1; break;
- default: tl_assert (0);
+ default: vg_assert (0);
}
}
@@ -321,7 +321,7 @@
case 1:
hostvisibility = False;
break;
- default: tl_assert (0);
+ default: vg_assert (0);
}
} else {
hostvisibility = True;
@@ -390,7 +390,7 @@
case 0:
VG_(am_show_nsegments) (0, "gdbserver v.info memory aspacemgr");
break;
- default: tl_assert (0);
+ default: vg_assert (0);
}
}
@@ -518,7 +518,7 @@
VG_(clo_sanity_level) = save_clo_sanity_level;
break;
}
- default: tl_assert (0);
+ default: vg_assert (0);
}
break;
Modified: trunk/coregrind/m_libcprint.c
==============================================================================
--- trunk/coregrind/m_libcprint.c (original)
+++ trunk/coregrind/m_libcprint.c Mon Sep 15 20:57:45 2014
@@ -108,7 +108,7 @@
}
b->buf[b->buf_used++] = c;
b->buf[b->buf_used] = 0;
- tl_assert(b->buf_used < sizeof(b->buf));
+ vg_assert(b->buf_used < sizeof(b->buf));
}
static UInt vprintf_to_buf ( printf_buf_t* b,
Modified: trunk/coregrind/m_machine.c
==============================================================================
--- trunk/coregrind/m_machine.c (original)
+++ trunk/coregrind/m_machine.c Mon Sep 15 20:57:45 2014
@@ -152,7 +152,7 @@
case 1: src = (void*)(((Addr)&(tst->arch.vex_shadow1)) + offset); break;
case 2: src = (void*)(((Addr)&(tst->arch.vex_shadow2)) + offset); break;
}
- tl_assert(src != NULL);
+ vg_assert(src != NULL);
VG_(memcpy)( dst, src, size);
}
@@ -176,7 +176,7 @@
case 1: dst = (void*)(((Addr)&(tst->arch.vex_shadow1)) + offset); break;
case 2: dst = (void*)(((Addr)&(tst->arch.vex_shadow2)) + offset); break;
}
- tl_assert(dst != NULL);
+ vg_assert(dst != NULL);
VG_(memcpy)( dst, src, size);
}
Modified: trunk/coregrind/m_main.c
==============================================================================
--- trunk/coregrind/m_main.c (original)
+++ trunk/coregrind/m_main.c Mon Sep 15 20:57:45 2014
@@ -2112,7 +2112,7 @@
//--------------------------------------------------------------
VG_(debugLog)(1, "main", "Load initial debug info\n");
- tl_assert(!addr2dihandle);
+ vg_assert(!addr2dihandle);
addr2dihandle = VG_(newXA)( VG_(malloc), "main.vm.2",
VG_(free), sizeof(Addr_n_ULong) );
@@ -2219,12 +2219,12 @@
{ Addr* seg_starts;
Int n_seg_starts;
- tl_assert(addr2dihandle);
+ vg_assert(addr2dihandle);
/* Mark the main thread as running while we tell the tool about
the client memory so that the tool can associate that memory
with the main thread. */
- tl_assert(VG_(running_tid) == VG_INVALID_THREADID);
+ vg_assert(VG_(running_tid) == VG_INVALID_THREADID);
VG_(running_tid) = tid_main;
seg_starts = VG_(get_segment_starts)( &n_seg_starts );
@@ -2271,7 +2271,7 @@
for (j = 0; j < n; j++) {
Addr_n_ULong* anl = VG_(indexXA)( addr2dihandle, j );
if (anl->a == seg->start) {
- tl_assert(anl->ull > 0); /* check it's a valid handle */
+ vg_assert(anl->ull > 0); /* check it's a valid handle */
break;
}
}
@@ -2327,7 +2327,7 @@
/* Clear the running thread indicator */
VG_(running_tid) = VG_INVALID_THREADID;
- tl_assert(VG_(running_tid) == VG_INVALID_THREADID);
+ vg_assert(VG_(running_tid) == VG_INVALID_THREADID);
/* Darwin only: tell the tools where the client's kernel commpage
is. It would be better to do this by telling aspacemgr about
Modified: trunk/coregrind/m_mallocfree.c
==============================================================================
--- trunk/coregrind/m_mallocfree.c (original)
+++ trunk/coregrind/m_mallocfree.c Mon Sep 15 20:57:45 2014
@@ -1427,13 +1427,13 @@
if (!blockSane(a, b)) {
VG_(printf)("sanity_check_malloc_arena: sb %p, block %ld "
"(bszB %lu): BAD\n", sb, i, b_bszB );
- tl_assert(0);
+ vg_assert(0);
}
thisFree = !is_inuse_block(b);
if (thisFree && lastWasFree) {
VG_(printf)("sanity_check_malloc_arena: sb %p, block %ld "
"(bszB %lu): UNMERGED FREES\n", sb, i, b_bszB );
- tl_assert(0);
+ vg_assert(0);
}
lastWasFree = thisFree;
@@ -1448,35 +1448,35 @@
(Int)(!thisFree),
(Int)bszB_to_pszB(a, b_bszB),
get_cc(b));
- tl_assert(cc);
+ vg_assert(cc);
for (k = 0; k < n_ccs; k++) {
- tl_assert(anCCs[k].cc);
+ vg_assert(anCCs[k].cc);
if (0 == VG_(strcmp)(cc, anCCs[k].cc))
break;
}
- tl_assert(k >= 0 && k <= n_ccs);
+ vg_assert(k >= 0 && k <= n_ccs);
if (k == n_ccs) {
- tl_assert(n_ccs < N_AN_CCS-1);
+ vg_assert(n_ccs < N_AN_CCS-1);
n_ccs++;
anCCs[k].nBytes = 0;
anCCs[k].nBlocks = 0;
anCCs[k].cc = cc;
}
- tl_assert(k >= 0 && k < n_ccs && k < N_AN_CCS);
+ vg_assert(k >= 0 && k < n_ccs && k < N_AN_CCS);
anCCs[k].nBytes += (ULong)bszB_to_pszB(a, b_bszB);
anCCs[k].nBlocks++;
}
if (i > sb->n_payload_bytes) {
VG_(printf)( "sanity_check_malloc_arena: sb %p: last block "
"overshoots end\n", sb);
- tl_assert(0);
+ vg_assert(0);
}
}
if (a->stats__perm_bytes_on_loan > 0) {
- tl_assert(n_ccs < N_AN_CCS-1);
+ vg_assert(n_ccs < N_AN_CCS-1);
anCCs[n_ccs].nBytes = a->stats__perm_bytes_on_loan;
anCCs[n_ccs].nBlocks = a->stats__perm_blocks;
anCCs[n_ccs].cc = "perm_malloc";
Modified: trunk/coregrind/m_options.c
==============================================================================
--- trunk/coregrind/m_options.c (original)
+++ trunk/coregrind/m_options.c Mon Sep 15 20:57:45 2014
@@ -147,7 +147,7 @@
HChar* out;
Bool ok = VG_(get_startup_wd)(base_dir, VKI_PATH_MAX);
- tl_assert(ok);
+ vg_assert(ok);
if (VG_STREQ(format, "")) {
// Empty name, bad.
Modified: trunk/coregrind/m_redir.c
==============================================================================
--- trunk/coregrind/m_redir.c (original)
+++ trunk/coregrind/m_redir.c Mon Sep 15 20:57:45 2014
@@ -354,8 +354,8 @@
arr[i++] = pri_name;
pp = sec_names;
while (*pp) { arr[i++] = *pp; pp++; }
- tl_assert(i == n_req);
- tl_assert(arr[n_req] == NULL);
+ vg_assert(i == n_req);
+ vg_assert(arr[n_req] == NULL);
return arr;
}
@@ -1508,13 +1508,13 @@
void* p;
vg_assert(n > 0);
p = VG_(arena_malloc)(VG_AR_DINFO, ec, n);
- tl_assert(p);
+ vg_assert(p);
VG_(memset)(p, 0, n);
return p;
}
static void dinfo_free(void* p) {
- tl_assert(p);
+ vg_assert(p);
return VG_(arena_free)(VG_AR_DINFO, p);
}
Modified: trunk/coregrind/m_translate.c
==============================================================================
--- trunk/coregrind/m_translate.c (original)
+++ trunk/coregrind/m_translate.c Mon Sep 15 20:57:45 2014
@@ -344,7 +344,7 @@
\
addStmtToIRSB( bb, IRStmt_Dirty(dcall) ); \
\
- tl_assert(syze > 0); \
+ vg_assert(syze > 0); \
update_SP_aliases(syze); \
\
n_SP_updates_fast++; \
@@ -374,7 +374,7 @@
\
addStmtToIRSB( bb, IRStmt_Dirty(dcall) ); \
\
- tl_assert(syze > 0); \
+ vg_assert(syze > 0); \
update_SP_aliases(-(syze)); \
\
n_SP_updates_fast++; \
@@ -1564,7 +1564,7 @@
# endif
/* ------ Actually do the translation. ------ */
- tl_assert2(VG_(tdict).tool_instrument,
+ vg_assert2(VG_(tdict).tool_instrument,
"you forgot to set VgToolInterface function 'tool_instrument'");
/* Get the CPU info established at startup. */
Modified: trunk/coregrind/m_wordfm.c
==============================================================================
--- trunk/coregrind/m_wordfm.c (original)
+++ trunk/coregrind/m_wordfm.c Mon Sep 15 20:57:45 2014
@@ -130,7 +130,7 @@
root->child[1]->balance = 0;
break;
default:
- tl_assert(0);
+ vg_assert(0);
}
root->balance=0;
}
@@ -190,7 +190,7 @@
case 1: return False;
case 0: return True;
case -1: break;
- default: tl_assert(0);
+ default: vg_assert(0);
}
if ((*rootp)->child[0]->balance < 0) {
avl_swr( rootp );
@@ -211,7 +211,7 @@
return False;
return True;
}
- tl_assert(0);/*NOTREACHED*/
+ vg_assert(0);/*NOTREACHED*/
}
else
if (cmpres < 0) {
@@ -223,7 +223,7 @@
case -1: return False;
case 0: return True;
case 1: break;
- default: tl_assert(0);
+ default: vg_assert(0);
}
if ((*rootp)->child[1]->balance > 0) {
avl_swl( rootp );
@@ -244,7 +244,7 @@
return False;
return True;
}
- tl_assert(0);/*NOTREACHED*/
+ vg_assert(0);/*NOTREACHED*/
}
else {
/* cmpres == 0, a duplicate - replace the val, but don't
@@ -273,7 +273,7 @@
if (cmpres > 0){
/* remove from the left subtree */
AvlNode* left_subtree = (*rootp)->child[0];
- tl_assert(left_subtree);
+ vg_assert(left_subtree);
ch = avl_remove_wrk(&left_subtree, a, kCmp);
(*rootp)->child[0]=left_subtree;
if (ch) {
@@ -281,7 +281,7 @@
case -1: return True;
case 0: return False;
case 1: break;
- default: tl_assert(0);
+ default: vg_assert(0);
}
switch ((*rootp)->child[1]->balance) {
case 0:
@@ -297,7 +297,7 @@
case -1:
break;
default:
- tl_assert(0);
+ vg_assert(0);
}
avl_swr( &((*rootp)->child[1]) );
avl_swl( rootp );
@@ -309,7 +309,7 @@
if (cmpres < 0) {
/* remove from the right subtree */
AvlNode* right_subtree = (*rootp)->child[1];
- tl_assert(right_subtree);
+ vg_assert(right_subtree);
ch = avl_remove_wrk(&right_subtree, a, kCmp);
(*rootp)->child[1] = right_subtree;
if (ch) {
@@ -317,7 +317,7 @@
case 1: return True;
case 0: return False;
case -1: break;
- default: tl_assert(0);
+ default: vg_assert(0);
}
switch ((*rootp)->child[0]->balance) {
case 0:
@@ -333,7 +333,7 @@
case 1:
break;
default:
- tl_assert(0);
+ vg_assert(0);
}
avl_swl( &((*rootp)->child[0]) );
avl_swr( rootp );
@@ -342,8 +342,8 @@
}
}
else {
- tl_assert(cmpres == 0);
- tl_assert((*rootp)==a);
+ vg_assert(cmpres == 0);
+ vg_assert((*rootp)==a);
return avl_removeroot_wrk(rootp, kCmp);
}
return 0;
@@ -462,7 +462,7 @@
static void stackClear(WordFM* fm)
{
Int i;
- tl_assert(fm);
+ vg_assert(fm);
for (i = 0; i < WFM_STKMAX; i++) {
fm->nodeStack[i] = NULL;
fm->numStack[i] = 0;
@@ -473,8 +473,8 @@
// Push onto the iterator stack.
static inline void stackPush(WordFM* fm, AvlNode* n, Int i)
{
- tl_assert(fm->stackTop < WFM_STKMAX);
- tl_assert(1 <= i && i <= 3);
+ vg_assert(fm->stackTop < WFM_STKMAX);
+ vg_assert(1 <= i && i <= 3);
fm->nodeStack[fm->stackTop] = n;
fm-> numStack[fm->stackTop] = i;
fm->stackTop++;
@@ -483,13 +483,13 @@
// Pop from the iterator stack.
static inline Bool stackPop(WordFM* fm, AvlNode** n, Int* i)
{
- tl_assert(fm->stackTop <= WFM_STKMAX);
+ vg_assert(fm->stackTop <= WFM_STKMAX);
if (fm->stackTop > 0) {
fm->stackTop--;
*n = fm->nodeStack[fm->stackTop];
*i = fm-> numStack[fm->stackTop];
- tl_assert(1 <= *i && *i <= 3);
+ vg_assert(1 <= *i && *i <= 3);
fm->nodeStack[fm->stackTop] = NULL;
fm-> numStack[fm->stackTop] = 0;
return True;
@@ -692,7 +692,7 @@
// set up FM for iteration
void VG_(initIterFM) ( WordFM* fm )
{
- tl_assert(fm);
+ vg_assert(fm);
stackClear(fm);
if (fm->root)
stackPush(fm, fm->root, 1);
@@ -709,7 +709,7 @@
Word cmpresS; /* signed */
UWord cmpresU; /* unsigned */
- tl_assert(fm);
+ vg_assert(fm);
stackClear(fm);
if (!fm->root)
@@ -744,20 +744,20 @@
if (stackPop(fm, &n, &i)) {
// If we've pushed something to stack and did not find the exact key,
// we must fix the top element of stack.
- tl_assert(i == 2);
+ vg_assert(i == 2);
stackPush(fm, n, 3);
// the stack looks like {2, 2, ..., 2, 3}
}
}
-// get next key/val pair. Will tl_assert if fm has been modified
+// get next key/val pair. Will vg_assert if fm has been modified
// or looked up in since initIter{,At}FM was called.
Bool VG_(nextIterFM) ( WordFM* fm, /*OUT*/UWord* pKey, /*OUT*/UWord* pVal )
{
Int i = 0;
AvlNode* n = NULL;
- tl_assert(fm);
+ vg_assert(fm);
// This in-order traversal requires each node to be pushed and popped
// three times. These could be avoided by updating nodes in-situ on the
@@ -780,7 +780,7 @@
if (n->child[1]) { n = n->child[1]; goto case_1; }
break;
default:
- tl_assert(0);
+ vg_assert(0);
}
}
@@ -798,7 +798,7 @@
WordFM* nyu;
/* can't clone the fm whilst iterating on it */
- tl_assert(fm->stackTop == 0);
+ vg_assert(fm->stackTop == 0);
nyu = fm->alloc_nofail( fm->cc, sizeof(WordFM) );
@@ -854,8 +854,8 @@
{
UWord key, count;
if (VG_(lookupFM)(bag->fm, &key, &count, w)) {
- tl_assert(key == w);
- tl_assert(count >= 1);
+ vg_assert(key == w);
+ vg_assert(count >= 1);
VG_(addToFM)(bag->fm, w, count+1);
} else {
VG_(addToFM)(bag->fm, w, 1);
@@ -866,8 +866,8 @@
{
UWord key, count;
if (VG_(lookupFM)( bag->fm, &key, &count, w)) {
- tl_assert(key == w);
- tl_assert(count >= 1);
+ vg_assert(key == w);
+ vg_assert(count >= 1);
return count;
} else {
return 0;
@@ -883,7 +883,7 @@
{
/* unchecked pre: nd is non-NULL */
UWord w = nd->val;
- tl_assert(w >= 1);
+ vg_assert(w >= 1);
if (nd->child[0])
w += sizeTotalBag_wrk(nd->child[0]);
if (nd->child[1])
@@ -902,12 +902,12 @@
{
UWord key, count;
if (VG_(lookupFM)(bag->fm, &key, &count, w)) {
- tl_assert(key == w);
- tl_assert(count >= 1);
+ vg_assert(key == w);
+ vg_assert(count >= 1);
if (count > 1) {
VG_(addToFM)(bag->fm, w, count-1);
} else {
- tl_assert(count == 1);
+ vg_assert(count == 1);
VG_(delFromFM)( bag->fm, NULL, NULL, w );
}
return True;
@@ -927,9 +927,9 @@
if (VG_(sizeFM)(bag->fm) != 1)
return False;
nd = bag->fm->root;
- tl_assert(nd);
- tl_assert(!nd->child[0]);
- tl_assert(!nd->child[1]);
+ vg_assert(nd);
+ vg_assert(!nd->child[0]);
+ vg_assert(!nd->child[1]);
return nd->val == 1;
}
@@ -938,8 +938,8 @@
/* Return an arbitrarily chosen element in the bag. We might as
well return the one at the root of the underlying AVL tree. */
AvlNode* nd = bag->fm->root;
- tl_assert(nd); /* if this fails, 'bag' is empty - caller is in error. */
- tl_assert(nd->val >= 1);
+ vg_assert(nd); /* if this fails, 'bag' is empty - caller is in error. */
+ vg_assert(nd->val >= 1);
return nd->key;
}
Modified: trunk/coregrind/pub_core_tooliface.h
==============================================================================
--- trunk/coregrind/pub_core_tooliface.h (original)
+++ trunk/coregrind/pub_core_tooliface.h Mon Sep 15 20:57:45 2014
@@ -43,7 +43,7 @@
// statement. This lets us say "x = VG_TDICT_CALL(...)" in the required
// places, while still checking the assertion.
#define VG_TDICT_CALL(fn, args...) \
- ( tl_assert2(VG_(tdict).fn, \
+ ( vg_assert2(VG_(tdict).fn, \
"you forgot to set VgToolInterface function '" #fn "'"), \
VG_(tdict).fn(args) )
Modified: trunk/tests/check_headers_and_includes
==============================================================================
--- trunk/tests/check_headers_and_includes (original)
+++ trunk/tests/check_headers_and_includes Mon Sep 15 20:57:45 2014
@@ -10,6 +10,8 @@
# (4) tool *.[ch] files must not include pub_core_...h
# (5) include pub_core/tool_clreq.h instead of valgrind.h except in tools'
# export headers
+# (6) coregrind/ *.[ch] must not use tl_assert
+# (7) include/*.h must not use vg_assert
#-------------------------------------------------------------------
use strict;
@@ -205,6 +207,7 @@
#---------------------------------------------------------------------
sub check_coregrind_export_header {
my ($path_name) = @_;
+ my $file = basename($path_name);
foreach my $inc (get_included_files($path_name)) {
$inc = basename($inc);
@@ -217,6 +220,11 @@
error("File $path_name should include pub_tool_clreq.h instead of $inc\n");
}
}
+# Must not use vg_assert
+ my $assert = `grep vg_assert $file`;
+ if ($assert ne "") {
+ error("File $path_name must not use vg_assert\n");
+ }
}
#---------------------------------------------------------------------
@@ -241,6 +249,11 @@
error("File $path_name should include pub_core_clreq.h instead of $inc\n");
}
}
+# Must not use tl_assert
+ my $assert = `grep tl_assert $file`;
+ if ($assert ne "") {
+ error("File $path_name must not use tl_assert\n");
+ }
}
#---------------------------------------------------------------------
@@ -261,6 +274,11 @@
error("File $path_name should include pub_tool_clreq.h instead of $inc\n");
}
}
+# Must not use vg_assert
+ my $assert = `grep vg_assert $file`;
+ if ($assert ne "") {
+ error("File $path_name must not use vg_assert\n");
+ }
}
sub process_file {
|
|
From: <sv...@va...> - 2014-09-15 20:20:32
|
Author: philippe
Date: Mon Sep 15 20:20:24 2014
New Revision: 14541
Log:
Fix leak that can happen in case of IO error between V gdbsrv and vgdb.
Spotted by Florian Krohm/IBM BEAM checker
Modified:
trunk/coregrind/m_gdbserver/remote-utils.c
Modified: trunk/coregrind/m_gdbserver/remote-utils.c
==============================================================================
--- trunk/coregrind/m_gdbserver/remote-utils.c (original)
+++ trunk/coregrind/m_gdbserver/remote-utils.c Mon Sep 15 20:20:24 2014
@@ -836,6 +836,7 @@
/* we might have to write a pkt when out FIFO not yet/anymore opened */
if (!ensure_write_remote_desc()) {
warning ("putpkt(write) error: no write_remote_desc\n");
+ free (buf2);
return -1;
}
@@ -845,6 +846,7 @@
do {
if (VG_(write) (write_remote_desc, buf2, p - buf2) != p - buf2) {
warning ("putpkt(write) error\n");
+ free (buf2);
return -1;
}
|
|
From: <sv...@va...> - 2014-09-15 20:18:50
|
Author: florian
Date: Mon Sep 15 20:18:39 2014
New Revision: 14540
Log:
Remove a comment that is no longer valid. The real reason we (now)
don't provide strtoll etc is that we don't need the flexibility and
are too lazy to implement the general case :) But that does not
warrant a comment in the code.
Modified:
trunk/include/pub_tool_libcbase.h
Modified: trunk/include/pub_tool_libcbase.h
==============================================================================
--- trunk/include/pub_tool_libcbase.h (original)
+++ trunk/include/pub_tool_libcbase.h Mon Sep 15 20:18:39 2014
@@ -54,11 +54,6 @@
// is set to the start of the string. None of them test that the number
// fits into 64 bits.
//
-// Nb: if you're wondering why we don't just have a single VG_(strtoll) which
-// takes a base, it's because I wanted it to assert if it was given a bogus
-// base (the standard glibc one sets 'errno' in this case). But
-// m_libcbase.c doesn't import any code, not even vg_assert. --njn
-//
// Nb: we also don't provide VG_(atoll*); these functions are worse than
// useless because they don't do any error checking and so accept malformed
// numbers and non-numbers -- eg. "123xyz" gives 123, and "foo" gives 0!
|
|
From: <sv...@va...> - 2014-09-15 18:50:30
|
Author: florian
Date: Mon Sep 15 18:50:17 2014
New Revision: 14539
Log:
Tidy up m_xarray.c.
VG_(newXA) and VG_(cloneXA) never return NULL. Remove pointless asserts.
Modified:
trunk/coregrind/m_commandline.c
trunk/coregrind/m_debuginfo/debuginfo.c
trunk/coregrind/m_debuginfo/readdwarf.c
trunk/coregrind/m_debuginfo/readdwarf3.c
trunk/coregrind/m_debuginfo/readmacho.c
trunk/coregrind/m_debuginfo/storage.c
trunk/coregrind/m_debuginfo/tytypes.c
trunk/coregrind/m_deduppoolalloc.c
trunk/coregrind/m_errormgr.c
trunk/coregrind/m_main.c
trunk/coregrind/m_poolalloc.c
trunk/coregrind/m_rangemap.c
trunk/coregrind/m_xarray.c
trunk/drd/drd_error.c
trunk/helgrind/hg_main.c
trunk/helgrind/libhb_core.c
trunk/include/pub_tool_xarray.h
Modified: trunk/coregrind/m_commandline.c
==============================================================================
--- trunk/coregrind/m_commandline.c (original)
+++ trunk/coregrind/m_commandline.c Mon Sep 15 18:50:17 2014
@@ -164,19 +164,16 @@
tmp_xarray = VG_(newXA)( VG_(malloc), "commandline.sua.1",
VG_(free), sizeof(HChar*) );
- vg_assert(tmp_xarray);
vg_assert( ! VG_(args_for_valgrind) );
VG_(args_for_valgrind)
= VG_(newXA)( VG_(malloc), "commandline.sua.2",
VG_(free), sizeof(HChar*) );
- vg_assert( VG_(args_for_valgrind) );
vg_assert( ! VG_(args_for_client) );
VG_(args_for_client)
= VG_(newXA)( VG_(malloc), "commandline.sua.3",
VG_(free), sizeof(HChar*) );
- vg_assert( VG_(args_for_client) );
/* Collect up the args-for-V. */
i = 1; /* skip the exe (stage2) name. */
Modified: trunk/coregrind/m_debuginfo/debuginfo.c
==============================================================================
--- trunk/coregrind/m_debuginfo/debuginfo.c (original)
+++ trunk/coregrind/m_debuginfo/debuginfo.c Mon Sep 15 18:50:17 2014
@@ -3953,7 +3953,6 @@
/* we'll put the collected variables in here. */
gvars = VG_(newXA)( ML_(dinfo_zalloc), "di.debuginfo.dggbfd.1",
ML_(dinfo_free), sizeof(GlobalBlock) );
- tl_assert(gvars);
/* any var info at all? */
if (!di->varinfo)
Modified: trunk/coregrind/m_debuginfo/readdwarf.c
==============================================================================
--- trunk/coregrind/m_debuginfo/readdwarf.c (original)
+++ trunk/coregrind/m_debuginfo/readdwarf.c Mon Sep 15 18:50:17 2014
@@ -2073,7 +2073,6 @@
if (src && (VG_(sizeXA)(src) > 0) && (!dst)) {
dst = VG_(newXA)( ML_(dinfo_zalloc), "di.ccCt.1", ML_(dinfo_free),
sizeof(CfiExpr) );
- vg_assert(dst);
debuginfo->cfsi_exprs = dst;
}
conv = copy_convert_CfiExpr_tree
@@ -2152,7 +2151,6 @@
"di.ccCt.2", \
ML_(dinfo_free), \
sizeof(CfiExpr) ); \
- vg_assert(dst); \
debuginfo->cfsi_exprs = dst; \
} \
conv = copy_convert_CfiExpr_tree \
@@ -4125,7 +4123,6 @@
ctx.exprs = VG_(newXA)( ML_(dinfo_zalloc), "di.rcid.1",
ML_(dinfo_free),
sizeof(CfiExpr) );
- vg_assert(ctx.exprs);
/* Run the CIE's instructions. Ugly hack: if
--debug-dump=frames is in effect, suppress output for
Modified: trunk/coregrind/m_debuginfo/readdwarf3.c
==============================================================================
--- trunk/coregrind/m_debuginfo/readdwarf3.c (original)
+++ trunk/coregrind/m_debuginfo/readdwarf3.c Mon Sep 15 18:50:17 2014
@@ -4689,7 +4689,6 @@
= VG_(newXA)( ML_(dinfo_zalloc), "di.readdwarf3.ndrw.5var",
ML_(dinfo_free),
sizeof(UInt) );
- vg_assert(varparser.fndn_ix_Table);
}
if (VG_(clo_read_inline_info)) {
@@ -4699,7 +4698,6 @@
= VG_(newXA)( ML_(dinfo_zalloc), "di.readdwarf3.ndrw.5inl",
ML_(dinfo_free),
sizeof(UInt) );
- vg_assert(inlparser.fndn_ix_Table);
}
/* Now read the one-and-only top-level DIE for this CU. */
@@ -4855,7 +4853,6 @@
= VG_(newXA)( ML_(dinfo_zalloc), "di.readdwarf3.ndrw.9",
ML_(dinfo_free),
sizeof(TempVar*) );
- vg_assert(dioff_lookup_tab);
n = VG_(sizeXA)( tempvars );
Word first_primary_var = 0;
Modified: trunk/coregrind/m_debuginfo/readmacho.c
==============================================================================
--- trunk/coregrind/m_debuginfo/readmacho.c (original)
+++ trunk/coregrind/m_debuginfo/readmacho.c Mon Sep 15 18:50:17 2014
@@ -930,7 +930,6 @@
ML_(dinfo_zalloc), "di.readmacho.candsyms.1",
ML_(dinfo_free), sizeof(DiSym)
);
- vg_assert(candSyms);
// extern symbols
read_symtab(candSyms,
Modified: trunk/coregrind/m_debuginfo/storage.c
==============================================================================
--- trunk/coregrind/m_debuginfo/storage.c (original)
+++ trunk/coregrind/m_debuginfo/storage.c Mon Sep 15 18:50:17 2014
@@ -1053,7 +1053,6 @@
/* copy vars into it */
vg_assert(first->vars);
nyu->vars = VG_(cloneXA)( "di.storage.avta.1", first->vars );
- vg_assert(nyu->vars);
VG_(OSetGen_Insert)( scope, nyu );
first = nyu;
}
@@ -1082,7 +1081,6 @@
/* copy vars into it */
vg_assert(last->vars);
nyu->vars = VG_(cloneXA)( "di.storage.avta.2", last->vars );
- vg_assert(nyu->vars);
VG_(OSetGen_Insert)( scope, nyu );
last = nyu;
}
@@ -1272,7 +1270,6 @@
nyu->vars = VG_(newXA)( ML_(dinfo_zalloc), "di.storage.addVar.3",
ML_(dinfo_free),
sizeof(DiVariable) );
- vg_assert(nyu->vars);
VG_(OSetGen_Insert)( scope, nyu );
}
Modified: trunk/coregrind/m_debuginfo/tytypes.c
==============================================================================
--- trunk/coregrind/m_debuginfo/tytypes.c (original)
+++ trunk/coregrind/m_debuginfo/tytypes.c Mon Sep 15 18:50:17 2014
@@ -754,7 +754,6 @@
XArray* xa = VG_(newXA)( ML_(dinfo_zalloc), "di.tytypes.dt.1",
ML_(dinfo_free),
sizeof(HChar) );
- vg_assert(xa);
ty = ML_(TyEnts__index_by_cuOff)(tyents, NULL, ty_cuOff);
Modified: trunk/coregrind/m_deduppoolalloc.c
==============================================================================
--- trunk/coregrind/m_deduppoolalloc.c (original)
+++ trunk/coregrind/m_deduppoolalloc.c Mon Sep 15 18:50:17 2014
@@ -112,7 +112,7 @@
ddpa->curpool = NULL;
ddpa->curpool_limit = NULL;
ddpa->curpool_free = NULL;
- vg_assert(ddpa->pools);
+
return ddpa;
}
Modified: trunk/coregrind/m_errormgr.c
==============================================================================
--- trunk/coregrind/m_errormgr.c (original)
+++ trunk/coregrind/m_errormgr.c Mon Sep 15 18:50:17 2014
@@ -388,7 +388,6 @@
mode. So generate it into TEXT. */
text = VG_(newXA)( VG_(malloc), "errormgr.gen_suppression.1",
VG_(free), sizeof(HChar) );
- vg_assert(text);
/* Ok. Generate the plain text version into TEXT. */
VG_(xaprintf)(text, "{\n");
Modified: trunk/coregrind/m_main.c
==============================================================================
--- trunk/coregrind/m_main.c (original)
+++ trunk/coregrind/m_main.c Mon Sep 15 18:50:17 2014
@@ -2115,7 +2115,6 @@
tl_assert(!addr2dihandle);
addr2dihandle = VG_(newXA)( VG_(malloc), "main.vm.2",
VG_(free), sizeof(Addr_n_ULong) );
- tl_assert(addr2dihandle);
# if defined(VGO_linux)
{ Addr* seg_starts;
Modified: trunk/coregrind/m_poolalloc.c
==============================================================================
--- trunk/coregrind/m_poolalloc.c (original)
+++ trunk/coregrind/m_poolalloc.c Mon Sep 15 18:50:17 2014
@@ -72,7 +72,7 @@
pa->free_fn = free_fn;
pa->pools = VG_(newXA)( alloc_fn, cc, free_fn, sizeof(void*) );
pa->nextFree = NULL;
- vg_assert(pa->pools);
+
return pa;
}
Modified: trunk/coregrind/m_rangemap.c
==============================================================================
--- trunk/coregrind/m_rangemap.c (original)
+++ trunk/coregrind/m_rangemap.c Mon Sep 15 18:50:17 2014
@@ -75,7 +75,6 @@
rm->cc = cc;
rm->free_fn = free_fn;
rm->ranges = VG_(newXA)( alloc_fn, cc, free_fn, sizeof(Range) );
- vg_assert(rm->ranges);
/* Add the initial range */
Range r;
r.key_min = UWORD_MIN;
Modified: trunk/coregrind/m_xarray.c
==============================================================================
--- trunk/coregrind/m_xarray.c (original)
+++ trunk/coregrind/m_xarray.c Mon Sep 15 18:50:17 2014
@@ -38,9 +38,9 @@
/* See pub_tool_xarray.h for details of what this is all about. */
struct _XArray {
- void* (*alloc) ( const HChar*, SizeT ); /* alloc fn (nofail) */
- const HChar* cc; /* cost centre for alloc */
- void (*free) ( void* ); /* free fn */
+ void* (*alloc_fn) ( const HChar*, SizeT ); /* alloc fn (nofail) */
+ const HChar* cc; /* cost centre for alloc */
+ void (*free_fn) ( void* ); /* free fn */
Int (*cmpFn) ( const void*, const void* ); /* cmp fn (may be NULL) */
Word elemSzB; /* element size in bytes */
void* arr; /* pointer to elements */
@@ -55,7 +55,7 @@
void(*free_fn)(void*),
Word elemSzB )
{
- struct _XArray* xa;
+ XArray* xa;
/* Implementation relies on Word being signed and (possibly)
on SizeT being unsigned. */
vg_assert( sizeof(Word) == sizeof(void*) );
@@ -66,10 +66,9 @@
vg_assert(free_fn);
vg_assert(elemSzB > 0);
xa = alloc_fn( cc, sizeof(struct _XArray) );
- vg_assert(xa);
- xa->alloc = alloc_fn;
+ xa->alloc_fn = alloc_fn;
xa->cc = cc;
- xa->free = free_fn;
+ xa->free_fn = free_fn;
xa->cmpFn = NULL;
xa->elemSzB = elemSzB;
xa->usedsizeE = 0;
@@ -79,19 +78,17 @@
return xa;
}
-XArray* VG_(cloneXA)( const HChar* cc, XArray* xao )
+XArray* VG_(cloneXA)( const HChar* cc, XArray* xa )
{
- struct _XArray* xa = (struct _XArray*)xao;
- struct _XArray* nyu;
+ XArray* nyu;
const HChar* nyu_cc;
vg_assert(xa);
- vg_assert(xa->alloc);
- vg_assert(xa->free);
+ vg_assert(xa->alloc_fn);
+ vg_assert(xa->free_fn);
vg_assert(xa->elemSzB >= 1);
nyu_cc = cc ? cc : xa->cc;
- nyu = xa->alloc( nyu_cc, sizeof(struct _XArray) );
- if (!nyu)
- return NULL;
+ nyu = xa->alloc_fn( nyu_cc, sizeof(struct _XArray) );
+
/* Copy everything verbatim ... */
*nyu = *xa;
nyu->cc = nyu_cc;
@@ -104,46 +101,39 @@
element is later added to it, unfortunately. */
nyu->totsizeE = nyu->usedsizeE;
/* and allocate .. */
- nyu->arr = nyu->alloc( nyu->cc, nyu->totsizeE * nyu->elemSzB );
- if (!nyu->arr) {
- nyu->free(nyu);
- return NULL;
- }
+ nyu->arr = nyu->alloc_fn( nyu->cc, nyu->totsizeE * nyu->elemSzB );
VG_(memcpy)( nyu->arr, xa->arr, nyu->totsizeE * nyu->elemSzB );
}
/* We're done! */
return nyu;
}
-void VG_(deleteXA) ( XArray* xao )
+void VG_(deleteXA) ( XArray* xa )
{
- struct _XArray* xa = (struct _XArray*)xao;
vg_assert(xa);
- vg_assert(xa->free);
+ vg_assert(xa->free_fn);
if (xa->arr)
- xa->free(xa->arr);
- xa->free(xa);
+ xa->free_fn(xa->arr);
+ xa->free_fn(xa);
}
-void VG_(setCmpFnXA) ( XArray* xao, XACmpFn_t compar )
+void VG_(setCmpFnXA) ( XArray* xa, XACmpFn_t compar )
{
- struct _XArray* xa = (struct _XArray*)xao;
vg_assert(xa);
vg_assert(compar);
xa->cmpFn = compar;
xa->sorted = False;
}
-inline void* VG_(indexXA) ( XArray* xao, Word n )
+inline void* VG_(indexXA) ( XArray* xa, Word n )
{
- struct _XArray* xa = (struct _XArray*)xao;
vg_assert(xa);
vg_assert(n >= 0);
vg_assert(n < xa->usedsizeE);
return ((char*)xa->arr) + n * xa->elemSzB;
}
-static inline void ensureSpaceXA ( struct _XArray* xa )
+static inline void ensureSpaceXA ( XArray* xa )
{
if (xa->usedsizeE == xa->totsizeE) {
void* tmp;
@@ -167,20 +157,18 @@
if (0 && xa->totsizeE >= 10000)
VG_(printf)("addToXA: increasing from %ld to %ld\n",
xa->totsizeE, newsz);
- tmp = xa->alloc(xa->cc, newsz * xa->elemSzB);
- vg_assert(tmp);
+ tmp = xa->alloc_fn(xa->cc, newsz * xa->elemSzB);
if (xa->usedsizeE > 0)
VG_(memcpy)(tmp, xa->arr, xa->usedsizeE * xa->elemSzB);
if (xa->arr)
- xa->free(xa->arr);
+ xa->free_fn(xa->arr);
xa->arr = tmp;
xa->totsizeE = newsz;
}
}
-Word VG_(addToXA) ( XArray* xao, const void* elem )
+Word VG_(addToXA) ( XArray* xa, const void* elem )
{
- struct _XArray* xa = (struct _XArray*)xao;
vg_assert(xa);
vg_assert(elem);
vg_assert(xa->totsizeE >= 0);
@@ -195,10 +183,9 @@
return xa->usedsizeE-1;
}
-Word VG_(addBytesToXA) ( XArray* xao, const void* bytesV, Word nbytes )
+Word VG_(addBytesToXA) ( XArray* xa, const void* bytesV, Word nbytes )
{
Word r, i;
- struct _XArray* xa = (struct _XArray*)xao;
vg_assert(xa);
vg_assert(xa->elemSzB == 1);
vg_assert(nbytes >= 0);
@@ -216,22 +203,20 @@
return r;
}
-void VG_(sortXA) ( XArray* xao )
+void VG_(sortXA) ( XArray* xa )
{
- struct _XArray* xa = (struct _XArray*)xao;
vg_assert(xa);
vg_assert(xa->cmpFn);
VG_(ssort)( xa->arr, xa->usedsizeE, xa->elemSzB, xa->cmpFn );
xa->sorted = True;
}
-Bool VG_(lookupXA_UNSAFE) ( XArray* xao, const void* key,
+Bool VG_(lookupXA_UNSAFE) ( XArray* xa, const void* key,
/*OUT*/Word* first, /*OUT*/Word* last,
Int(*cmpFn)(const void*, const void*) )
{
Word lo, mid, hi, cres;
void* midv;
- struct _XArray* xa = (struct _XArray*)xao;
vg_assert(xa);
lo = 0;
hi = xa->usedsizeE-1;
@@ -264,35 +249,31 @@
}
}
-Bool VG_(lookupXA) ( XArray* xao, const void* key,
+Bool VG_(lookupXA) ( XArray* xa, const void* key,
/*OUT*/Word* first, /*OUT*/Word* last )
{
- struct _XArray* xa = (struct _XArray*)xao;
vg_assert(xa);
vg_assert(xa->cmpFn);
vg_assert(xa->sorted);
- return VG_(lookupXA_UNSAFE)(xao, key, first, last, xa->cmpFn);
+ return VG_(lookupXA_UNSAFE)(xa, key, first, last, xa->cmpFn);
}
-Word VG_(sizeXA) ( XArray* xao )
+Word VG_(sizeXA) ( XArray* xa )
{
- struct _XArray* xa = (struct _XArray*)xao;
vg_assert(xa);
return xa->usedsizeE;
}
-void VG_(dropTailXA) ( XArray* xao, Word n )
+void VG_(dropTailXA) ( XArray* xa, Word n )
{
- struct _XArray* xa = (struct _XArray*)xao;
vg_assert(xa);
vg_assert(n >= 0);
vg_assert(n <= xa->usedsizeE);
xa->usedsizeE -= n;
}
-void VG_(dropHeadXA) ( XArray* xao, Word n )
+void VG_(dropHeadXA) ( XArray* xa, Word n )
{
- struct _XArray* xa = (struct _XArray*)xao;
vg_assert(xa);
vg_assert(n >= 0);
vg_assert(n <= xa->usedsizeE);
@@ -311,9 +292,8 @@
xa->usedsizeE -= n;
}
-void VG_(removeIndexXA)( XArray* xao, Word n )
+void VG_(removeIndexXA)( XArray* xa, Word n )
{
- struct _XArray* xa = (struct _XArray*)xao;
vg_assert(xa);
vg_assert(n >= 0);
vg_assert(n < xa->usedsizeE);
@@ -325,9 +305,8 @@
xa->usedsizeE--;
}
-void VG_(insertIndexXA)( XArray* xao, Word n, const void* elem )
+void VG_(insertIndexXA)( XArray* xa, Word n, const void* elem )
{
- struct _XArray* xa = (struct _XArray*)xao;
vg_assert(xa);
vg_assert(n >= 0);
vg_assert(n <= xa->usedsizeE);
@@ -346,11 +325,10 @@
xa->sorted = False;
}
-void VG_(getContentsXA_UNSAFE)( XArray* xao,
+void VG_(getContentsXA_UNSAFE)( XArray* xa,
/*OUT*/void** ctsP,
/*OUT*/Word* usedP )
{
- struct _XArray* xa = (struct _XArray*)xao;
vg_assert(xa);
*ctsP = (void*)xa->arr;
*usedP = xa->usedsizeE;
Modified: trunk/drd/drd_error.c
==============================================================================
--- trunk/drd/drd_error.c (original)
+++ trunk/drd/drd_error.c Mon Sep 15 18:50:17 2014
@@ -171,8 +171,6 @@
tl_assert(dri);
tl_assert(dri->addr);
tl_assert(dri->size > 0);
- tl_assert(descr1);
- tl_assert(descr2);
(void) VG_(get_data_description)(descr1, descr2, dri->addr);
/* If there's nothing in descr1/2, free them. Why is it safe to to
Modified: trunk/helgrind/hg_main.c
==============================================================================
--- trunk/helgrind/hg_main.c (original)
+++ trunk/helgrind/hg_main.c Mon Sep 15 18:50:17 2014
@@ -2946,7 +2946,6 @@
sizeof(Thread*) );
}
- tl_assert(bar->waiting);
tl_assert(VG_(sizeXA)(bar->waiting) == 0);
bar->initted = True;
bar->resizable = resizable == 1 ? True : False;
Modified: trunk/helgrind/libhb_core.c
==============================================================================
--- trunk/helgrind/libhb_core.c (original)
+++ trunk/helgrind/libhb_core.c Mon Sep 15 18:50:17 2014
@@ -1846,7 +1846,6 @@
= VG_(newXA)( HG_(zalloc),
"libhb.verydead_thread_table_init.1",
HG_(free), sizeof(ThrID) );
- tl_assert(verydead_thread_table);
VG_(setCmpFnXA)(verydead_thread_table, cmp__ThrID);
}
@@ -2562,12 +2561,9 @@
static void vts_tab_init ( void )
{
- vts_tab
- = VG_(newXA)( HG_(zalloc), "libhb.vts_tab_init.1",
- HG_(free), sizeof(VtsTE) );
- vts_tab_freelist
- = VtsID_INVALID;
- tl_assert(vts_tab);
+ vts_tab = VG_(newXA)( HG_(zalloc), "libhb.vts_tab_init.1",
+ HG_(free), sizeof(VtsTE) );
+ vts_tab_freelist = VtsID_INVALID;
}
/* Add ii to the free list, checking that it looks out-of-use. */
@@ -3677,7 +3673,6 @@
if (!thrid_to_thr_map) {
thrid_to_thr_map = VG_(newXA)( HG_(zalloc), "libhb.Thr__new.4",
HG_(free), sizeof(Thr*) );
- tl_assert(thrid_to_thr_map);
}
if (thrid_counter >= ThrID_MAX_VALID) {
Modified: trunk/include/pub_tool_xarray.h
==============================================================================
--- trunk/include/pub_tool_xarray.h (original)
+++ trunk/include/pub_tool_xarray.h Mon Sep 15 18:50:17 2014
@@ -51,8 +51,9 @@
typedef Int (*XACmpFn_t)(const void *, const void *);
/* Create new XArray, using given allocation and free function, and
- for elements of the specified size. Alloc fn must not fail (that
- is, if it returns it must have succeeded.) */
+ for elements of the specified size. alloc_fn must not return NULL (that
+ is, if it returns it must have succeeded.)
+ This function never returns NULL. */
extern XArray* VG_(newXA) ( void*(*alloc_fn)(const HChar*,SizeT),
const HChar* cc,
void(*free_fn)(void*),
@@ -136,10 +137,9 @@
/* Make a new, completely independent copy of the given XArray, using
the existing allocation function to allocate the new space.
- Returns NULL if the allocation function didn't manage to allocate
- space (but did return NULL rather than merely abort.) Space for
- the clone (and all additions to it) is billed to 'cc' unless that
- is NULL, in which case the parent's cost-center is used. */
+ Space for the clone (and all additions to it) is billed to 'cc' unless
+ that is NULL, in which case the parent's cost-center is used.
+ Ths function never returns NULL. */
extern XArray* VG_(cloneXA)( const HChar* cc, XArray* xa );
/* Get the raw array and size so callers can index it really fast.
|
|
From: <sv...@va...> - 2014-09-15 07:22:04
|
Author: florian
Date: Mon Sep 15 07:21:36 2014
New Revision: 14538
Log:
Document NULL-ness of the return value of the dedup allocation functions.
Avoid conflict with reserved name 'free'.
Remove a few pointless asserts.
Modified:
trunk/coregrind/m_deduppoolalloc.c
trunk/include/pub_tool_deduppoolalloc.h
Modified: trunk/coregrind/m_deduppoolalloc.c
==============================================================================
--- trunk/coregrind/m_deduppoolalloc.c (original)
+++ trunk/coregrind/m_deduppoolalloc.c Mon Sep 15 07:21:36 2014
@@ -42,9 +42,9 @@
SizeT poolSzB; /* Minimum size of a pool. */
SizeT fixedSzb; /* If using VG_(allocFixedEltDedupPA), size of elements */
SizeT eltAlign;
- void* (*alloc)(const HChar*, SizeT); /* pool allocator */
- const HChar* cc; /* pool allocator's cc */
- void (*free)(void*); /* pool allocator's free-er */
+ void* (*alloc_fn)(const HChar*, SizeT); /* pool allocator */
+ const HChar* cc; /* pool allocator's cost centre */
+ void (*free_fn)(void*); /* pool allocator's deallocation function */
/* XArray of void* (pointers to pools). The pools themselves.
Each element is a pointer to a block of size at least PoolSzB bytes.
The last block might be smaller due to a call to shrink_block. */
@@ -80,34 +80,33 @@
}
ht_node;
-extern DedupPoolAlloc* VG_(newDedupPA) ( SizeT poolSzB,
- SizeT eltAlign,
- void* (*alloc)(const HChar*, SizeT),
- const HChar* cc,
- void (*free_fn)(void*) )
+DedupPoolAlloc* VG_(newDedupPA) ( SizeT poolSzB,
+ SizeT eltAlign,
+ void* (*alloc_fn)(const HChar*, SizeT),
+ const HChar* cc,
+ void (*free_fn)(void*) )
{
DedupPoolAlloc* ddpa;
vg_assert(poolSzB >= eltAlign);
vg_assert(poolSzB >= 100); /* let's say */
vg_assert(poolSzB >= 10*eltAlign); /* let's say */
- vg_assert(alloc);
+ vg_assert(alloc_fn);
vg_assert(cc);
vg_assert(free_fn);
- ddpa = alloc(cc, sizeof(*ddpa));
- vg_assert(ddpa);
+ ddpa = alloc_fn(cc, sizeof(*ddpa));
VG_(memset)(ddpa, 0, sizeof(*ddpa));
ddpa->poolSzB = poolSzB;
ddpa->fixedSzb = 0;
ddpa->eltAlign = eltAlign;
- ddpa->alloc = alloc;
+ ddpa->alloc_fn = alloc_fn;
ddpa->cc = cc;
- ddpa->free = free_fn;
- ddpa->pools = VG_(newXA)( alloc, cc, free_fn, sizeof(void*) );
+ ddpa->free_fn = free_fn;
+ ddpa->pools = VG_(newXA)( alloc_fn, cc, free_fn, sizeof(void*) );
ddpa->ht_elements = VG_(HT_construct) (cc);
ddpa->ht_node_pa = VG_(newPA) ( sizeof(ht_node),
1000,
- alloc,
+ alloc_fn,
cc,
free_fn);
ddpa->curpool = NULL;
@@ -124,9 +123,9 @@
// Free data structures used for insertion.
VG_(freezeDedupPA) (ddpa, NULL);
for (i = 0; i < VG_(sizeXA) (ddpa->pools); i++)
- ddpa->free (*(UWord **)VG_(indexXA) ( ddpa->pools, i ));
+ ddpa->free_fn (*(UWord **)VG_(indexXA) ( ddpa->pools, i ));
VG_(deleteXA) (ddpa->pools);
- ddpa->free (ddpa);
+ ddpa->free_fn (ddpa);
}
static __inline__
@@ -146,13 +145,12 @@
UChar *curpool_align = ddpa_align(ddpa, ddpa->curpool);
SizeT curpool_used = ddpa->curpool_free - curpool_align;
SizeT curpool_size = ddpa->curpool_limit - ddpa->curpool + 1;
- UChar *newpool = ddpa->alloc (ddpa->cc, 2 * curpool_size);
+ UChar *newpool = ddpa->alloc_fn (ddpa->cc, 2 * curpool_size);
UChar *newpool_free = ddpa_align (ddpa, newpool);
UChar *newpool_limit = newpool + 2 * curpool_size - 1;
Word reloc_offset = (Addr)newpool_free - (Addr)curpool_align;
ht_node *n;
- vg_assert (newpool);
VG_(memcpy) (newpool_free, curpool_align, curpool_used);
/* We have reallocated the (only) pool. We need to relocate the pointers
in the hash table nodes. */
@@ -163,7 +161,7 @@
newpool_free += curpool_used;
VG_(dropHeadXA) (ddpa->pools, 1);
- ddpa->free (ddpa->curpool);
+ ddpa->free_fn (ddpa->curpool);
ddpa->curpool = newpool;
ddpa->curpool_free = newpool_free;
ddpa->curpool_limit = newpool_limit;
@@ -171,8 +169,7 @@
} else {
/* Allocate a new pool, or allocate the first/only pool for a
fixed size ddpa. */
- ddpa->curpool = ddpa->alloc( ddpa->cc, ddpa->poolSzB);
- vg_assert(ddpa->curpool);
+ ddpa->curpool = ddpa->alloc_fn( ddpa->cc, ddpa->poolSzB);
ddpa->curpool_limit = ddpa->curpool + ddpa->poolSzB - 1;
ddpa->curpool_free = ddpa_align (ddpa, ddpa->curpool);
/* add to our collection of pools */
Modified: trunk/include/pub_tool_deduppoolalloc.h
==============================================================================
--- trunk/include/pub_tool_deduppoolalloc.h (original)
+++ trunk/include/pub_tool_deduppoolalloc.h Mon Sep 15 07:21:36 2014
@@ -80,23 +80,26 @@
typedef struct _DedupPoolAlloc DedupPoolAlloc;
/* Create new DedupPoolAlloc, using given allocation and free function.
- Alloc fn must not fail (that is, if it returns it must have succeeded.)
+ alloc_fn must not return NULL (that is, if it returns it must have
+ succeeded.)
poolSzB is the (minimum) size in bytes of the pool of elements allocated
with alloc.
eltAlign is the minimum required alignement for the elements allocated
- from the DedupPoolAlloc. */
+ from the DedupPoolAlloc.
+ This function never returns NULL. */
extern DedupPoolAlloc* VG_(newDedupPA) ( SizeT poolSzB,
SizeT eltAlign,
void* (*alloc)(const HChar*, SizeT),
const HChar* cc,
void (*free_fn)(void*) );
-/* Allocates a new element from ddpa with eltSzB bytes to store elt. */
+/* Allocates a new element from ddpa with eltSzB bytes to store elt.
+ This function never returns NULL. */
extern void* VG_(allocEltDedupPA) (DedupPoolAlloc *ddpa,
SizeT eltSzB, const void *elt);
/* Allocates a new (fixed size) element from ddpa. Returns the
- unique number identifying this element. */
+ unique number identifying this element. This function never returns NULL. */
extern UInt VG_(allocFixedEltDedupPA) (DedupPoolAlloc *ddpa,
SizeT eltSzB, const void *elt);
|
|
From: Rich C. <rc...@wi...> - 2014-09-15 05:17:28
|
valgrind revision: 14537
VEX revision: 2951
C compiler: gcc (SUSE Linux) 4.8.1 20130909 [gcc-4_8-branch revision 202388]
GDB: GNU gdb (GDB; openSUSE Factory) 7.6.50.20130731-cvs
Assembler: GNU assembler (GNU Binutils; openSUSE Factory) 2.23.2
C library: GNU C Library (GNU libc) stable release version 2.18 (git )
uname -mrs: Linux 3.11.4-3-desktop x86_64
Vendor version: Welcome to openSUSE 13.1 "Bottle" Beta 1 - Kernel %r (%t).
Nightly build on rodan ( Linux 3.11.4-3-desktop x86_64 )
Started at 2014-09-14 19:22:01 CDT
Ended at 2014-09-15 00:17:18 CDT
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
== 612 tests, 4 stderr failures, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures ==
memcheck/tests/err_disable3 (stderr)
memcheck/tests/err_disable4 (stderr)
memcheck/tests/threadname (stderr)
memcheck/tests/threadname_xml (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
== 612 tests, 5 stderr failures, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures ==
memcheck/tests/err_disable3 (stderr)
memcheck/tests/err_disable4 (stderr)
memcheck/tests/threadname (stderr)
memcheck/tests/threadname_xml (stderr)
helgrind/tests/hg05_race2 (stderr)
=================================================
== Difference between 24 hours ago and now ==
=================================================
*** old.short Sun Sep 14 20:29:15 2014
--- new.short Sun Sep 14 21:35:59 2014
***************
*** 8,10 ****
! == 612 tests, 5 stderr failures, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures ==
memcheck/tests/err_disable3 (stderr)
--- 8,10 ----
! == 612 tests, 4 stderr failures, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures ==
memcheck/tests/err_disable3 (stderr)
***************
*** 13,15 ****
memcheck/tests/threadname_xml (stderr)
- helgrind/tests/hg05_race2 (stderr)
--- 13,14 ----
--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.9s (16.4x, -----) me:16.0s (33.3x, -----) ca:61.3s (127.6x, -----) he: 9.8s (20.4x, -----) ca:17.4s (36.2x, -----) dr: 9.7s (20.1x, -----) ma: 9.1s (18.9x, -----)
bigcode1 valgrind-old:0.48s no: 7.8s (16.3x, 0.5%) me:15.9s (33.1x, 0.5%) ca:61.6s (128.2x, -0.5%) he: 9.8s (20.4x, 0.0%) ca:17.3s (36.1x, 0.3%) dr: 9.7s (20.1x, 0.2%) ma: 9.1s (19.0x, -0.1%)
-- bigcode2 --
bigcode2 valgrind-new:0.49s no:18.8s (38.3x, -----) me:39.6s (80.8x, -----) ca:107.4s (219.3x, -----) he:23.3s (47.5x, -----) ca:32.9s (67.1x, -----) dr:22.3s (45.5x, -----) ma:21.4s (43.6x, -----)
bigcode2 valgrind-old:0.49s no:18.7s (38.1x, 0.5%) me:39.3s (80.2x, 0.7%) ca:107.7s (219.8x, -0.2%) he:23.2s (47.4x, 0.2%) ca:32.7s (66.7x, 0.6%) dr:22.3s (45.5x, 0.1%) ma:21.4s (43.7x, -0.2%)
-- bz2 --
bz2 valgrind-new:2.32s no:10.3s ( 4.4x, -----) me:28.2s (12.2x, -----) ca:60.9s (26.3x, -----) he:40.5s (17.4x, -----) ca:59.8s (25.8x, -----) dr:57.4s (24.8x, -----) ma: 9.8s ( 4.2x, -----)
bz2 valgrind-old:2.32s no:10.3s ( 4.4x, 0.1%) me:28.1s (12.1x, 0.2%) ca:60.7s (26.2x, 0.3%) he:40.5s (17.5x, -0.2%) ca:59.5s (25.7x, 0.5%) dr:57.3s (24.7x, 0.2%) ma: 9.8s ( 4.2x, 0.0%)
-- fbench --
fbench valgrind-new:1.44s no: 5.4s ( 3.8x, -----) me:18.3s (12.7x, -----) ca:27.1s (18.8x, -----) he:13.6s ( 9.4x, -----) ca:17.2s (12.0x, -----) dr:13.8s ( 9.6x, -----) ma: 5.7s ( 4.0x, -----)
fbench valgrind-old:1.44s no: 5.4s ( 3.8x, 0.4%) me:18.4s (12.8x, -0.9%) ca:27.0s (18.7x, 0.3%) he:13.8s ( 9.5x, -1.5%) ca:17.4s (12.1x, -0.9%) dr:13.9s ( 9.7x, -0.5%) ma: 5.6s ( 3.9x, 1.2%)
-- ffbench --
ffbench valgrind-new:1.00s no: 3.7s ( 3.7x, -----) me:13.2s (13.2x, -----) ca: 8.2s ( 8.2x, -----) he:22.6s (22.6x, -----) ca:23.4s (23.4x, -----) dr:18.1s (18.1x, -----) ma: 3.7s ( 3.7x, -----)
ffbench valgrind-old:1.00s no: 3.7s ( 3.7x, 0.3%) me:13.2s (13.2x, 0.1%) ca: 8.2s ( 8.2x, 0.2%) he:22.8s (22.8x, -0.7%) ca:23.4s (23.4x, 0.1%) dr:18.1s (18.1x, -0.2%) ma: 3.7s ( 3.7x, -0.5%)
-- heap --
heap valgrind-new:0.41s no: 3.4s ( 8.3x, -----) me:23.0s (56.1x, -----) ca:30.9s (75.3x, -----) he:30.8s (75.1x, -----) ca:17.2s (41.9x, -----) dr:21.8s (53.1x, -----) ma:22.1s (53.9x, -----)
heap valgrind-old:0.41s no: 3.3s ( 8.1x, 1.5%) me:22.8s (55.7x, 0.8%) ca:31.1s (76.0x, -0.9%) he:31.1s (76.0x, -1.1%) ca:17.0s (41.4x, 1.2%) dr:22.3s (54.3x, -2.3%) ma:22.3s (54.3x, -0.8%)
-- heap_pdb4 --
heap_pdb4 valgrind-new:0.54s no: 3.7s ( 6.8x, -----) me:43.8s (81.1x, -----) ca:33.5s (62.0x, -----) he:35.5s (65.7x, -----) ca:18.9s (34.9x, -----) dr:22.9s (42.4x, -----) ma:23.4s (43.4x, -----)
heap_pdb4 valgrind-old:0.54s no: 3.7s ( 6.8x, 0.0%) me:43.4s (80.4x, 1.0%) ca:33.8s (62.6x, -1.0%) he:36.5s (67.6x, -2.8%) ca:18.9s (35.1x, -0.5%) dr:23.4s (43.3x, -2.1%) ma:23.7s (43.9x, -1.2%)
-- many-loss-records --
many-loss-records valgrind-new:0.05s no: 1.3s (25.6x, -----) me: 6.8s (135.6x, -----) ca: 5.1s (102.2x, -----) he: 6.1s (122.0x, -----) ca: 3.5s (70.8x, -----) dr: 5.6s (111.4x, -----) ma: 4.8s (96.2x, -----)
many-loss-records valgrind-old:0.05s no: 1.3s (25.2x, 1.6%) me: 6.7s (134.8x, 0.6%) ca: 5.1s (102.8x, -0.6%) he: 6.1s (121.8x, 0.2%) ca: 3.5s (70.6x, 0.3%) dr: 5.6s (111.8x, -0.4%) ma: 4.8s (95.2x, 1.0%)
-- many-xpts --
many-xpts valgrind-new:0.14s no: 1.6s (11.2x, -----) me: 8.0s (56.9x, -----) ca:13.0s (93.1x, -----) he:10.6s (75.4x, -----) ca: 4.9s (35.2x, -----) dr: 7.2s (51.4x, -----) ma: 7.4s (53.1x, -----)
many-xpts valgrind-old:0.14s no: 1.5s (10.9x, 2.5%) me: 7.9s (56.7x, 0.3%) ca:13.2s (94.0x, -0.9%) he:10.7s (76.6x, -1.5%) ca: 5.0s (35.4x, -0.4%) dr: 7.3s (52.1x, -1.4%) ma: 7.4s (52.6x, 1.1%)
-- sarp --
sarp valgrind-new:0.10s no: 1.5s (15.0x, -----) me: 9.8s (98.1x, -----) ca: 8.2s (82.4x, -----) he:31.7s (316.9x, -----) ca: 4.7s (47.2x, -----) dr: 4.9s (48.8x, -----) ma: 1.6s (15.5x, -----)
sarp valgrind-old:0.10s no: 1.5s (14.9x, 0.7%) me: 9.8s (98.1x, 0.0%) ca: 8.3s (83.1x, -0.8%) he:30.9s (309.1x, 2.5%) ca: 4.7s (47.4x, -0.4%) dr: 5.0s (49.7x, -1.8%) ma: 1.6s (15.5x, 0.0%)
-- tinycc --
tinycc valgrind-new:0.76s no: 7.6s (10.0x, -----) me:38.8s (51.1x, -----) ca:59.8s (78.7x, -----) he:46.1s (60.7x, -----) ca:41.4s (54.4x, -----) dr:41.7s (54.9x, -----) ma:12.1s (15.9x, -----)
tinycc valgrind-old:0.76s no: 7.6s (10.0x, 0.0%) me:38.7s (51.0x, 0.3%) ca:51.5s (67.8x, 13.8%) he:46.6s (61.3x, -1.0%) ca:41.7s (54.9x, -0.8%) dr:39.3s (51.7x, 5.8%) ma:12.0s (15.8x, 0.7%)
-- Finished tests in perf ----------------------------------------------
== 11 programs, 154 timings =================
real 161m19.315s
user 158m36.639s
sys 2m33.186s
=================================================
./valgrind-new/memcheck/tests/err_disable3.stderr.diff
=================================================
--- err_disable3.stderr.exp 2014-09-14 20:29:51.847213751 -0500
+++ err_disable3.stderr.out 2014-09-14 20:49:55.200057945 -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 2014-09-14 20:29:48.053172835 -0500
+++ err_disable4.stderr.out 2014-09-14 20:50:00.671115993 -0500
@@ -1501,8 +1501,6 @@
Thread x:
Invalid read of size 1
at 0x........: err (err_disable4.c:41)
- by 0x........: child_fn_2 (err_disable4.c:55)
- ...
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:68)
=================================================
./valgrind-new/memcheck/tests/threadname.stderr.diff
=================================================
--- threadname.stderr.exp 2014-09-14 20:29:47.249164164 -0500
+++ threadname.stderr.out 2014-09-14 20:58:35.793567258 -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:53)
- ...
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:53)
...
-Thread 3 try1:
-Invalid write of size 1
- at 0x........: bad_things (threadname.c:16)
- by 0x........: child_fn_1 (threadname.c:38)
- ...
- 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:38)
- ...
-
-Thread 4 012345678901234:
-Invalid write of size 1
- at 0x........: bad_things (threadname.c:16)
- by 0x........: child_fn_2 (threadname.c:26)
- ...
- 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:26)
- ...
-
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 2014-09-14 20:29:46.986161328 -0500
+++ threadname_xml.stderr.out 2014-09-14 20:58:38.878599655 -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/helgrind/tests/hg05_race2.stderr.diff
=================================================
--- hg05_race2.stderr.exp 2014-09-14 19:23:03.267828802 -0500
+++ hg05_race2.stderr.out 2014-09-14 20:02:25.194494632 -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/memcheck/tests/err_disable3.stderr.diff
=================================================
--- err_disable3.stderr.exp 2014-09-14 19:22:39.072565215 -0500
+++ err_disable3.stderr.out 2014-09-14 19:43:19.514081351 -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 2014-09-14 19:22:43.729615949 -0500
+++ err_disable4.stderr.out 2014-09-14 19:43:24.393134510 -0500
@@ -1501,8 +1501,6 @@
Thread x:
Invalid read of size 1
at 0x........: err (err_disable4.c:41)
- by 0x........: child_fn_2 (err_disable4.c:55)
- ...
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:68)
=================================================
./valgrind-old/memcheck/tests/threadname.stderr.diff
=================================================
--- threadname.stderr.exp 2014-09-14 19:22:45.728637726 -0500
+++ threadname.stderr.out 2014-09-14 19:51:55.931679226 -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:53)
- ...
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:53)
...
-Thread 3 try1:
-Invalid write of size 1
- at 0x........: bad_things (threadname.c:16)
- by 0x........: child_fn_1 (threadname.c:38)
- ...
- 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:38)
- ...
-
-Thread 4 012345678901234:
-Invalid write of size 1
- at 0x........: bad_things (threadname.c:16)
- by 0x........: child_fn_2 (threadname.c:26)
- ...
- 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:26)
- ...
-
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 2014-09-14 19:22:46.470645810 -0500
+++ threadname_xml.stderr.out 2014-09-14 19:51:58.977712191 -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: <ma...@bu...> - 2014-09-15 04:34:17
|
valgrind revision: 14537
VEX revision: 2951
C compiler: gcc (GCC) 4.8.3 20140624 (Red Hat 4.8.3-1)
GDB: GNU gdb (GDB) Fedora 7.7.1-18.fc20
Assembler: GNU assembler version 2.23.2
C library: GNU C Library (GNU libc) stable release version 2.18
uname -mrs: Linux 3.11.10-301.fc20.s390x s390x
Vendor version: Fedora 20 (Heisenbug)
Nightly build on lfedora1 ( Fedora release 20 (Heisenbug), s390x )
Started at 2014-09-15 00:00:01 UTC
Ended at 2014-09-15 01:15:32 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
== 668 tests, 3 stderr failures, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures ==
helgrind/tests/locked_vs_unlocked2 (stderr)
helgrind/tests/pth_cond_destroy_busy (stderr)
helgrind/tests/tc22_exit_w_lock (stderr)
=================================================
./valgrind-new/helgrind/tests/locked_vs_unlocked2.stderr.diff
=================================================
--- locked_vs_unlocked2.stderr.exp 2014-09-15 00:38:22.336087065 +0000
+++ locked_vs_unlocked2.stderr.out 2014-09-15 00:58:13.466142689 +0000
@@ -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: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:...)
- 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:...)
=================================================
./valgrind-new/helgrind/tests/pth_cond_destroy_busy.stderr.diff
=================================================
--- pth_cond_destroy_busy.stderr.exp 2014-09-15 00:38:22.336087065 +0000
+++ pth_cond_destroy_busy.stderr.out 2014-09-15 00:58:20.346142998 +0000
@@ -47,4 +47,4 @@
First pthread_cond_destroy() call returned EBUSY.
Second pthread_cond_destroy() call returned success.
-ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 6 errors from 3 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/helgrind/tests/tc22_exit_w_lock.stderr.diff
=================================================
--- tc22_exit_w_lock.stderr.exp 2014-09-15 00:38:22.396087068 +0000
+++ tc22_exit_w_lock.stderr.out 2014-09-15 00:59:40.206146771 +0000
@@ -13,6 +13,23 @@
---Thread-Announcement------------------------------------------
+Thread #x is the program's root thread
+
+----------------------------------------------------------------
+
+Possible data race during write of size 8 at 0x........ by thread #x
+Locks held: none
+ ...
+ by 0x........: pthread_create@* (hg_intercepts.c:...)
+ by 0x........: main (tc22_exit_w_lock.c:42)
+
+This conflicts with a previous read of size 8 by thread #x
+Locks held: none
+ ...
+ Address 0x........ is not stack'd, malloc'd or on a free list
+
+---Thread-Announcement------------------------------------------
+
Thread #x was created
...
by 0x........: pthread_create@* (hg_intercepts.c:...)
@@ -23,10 +40,6 @@
Thread #x: Exiting thread still holds 1 lock
...
----Thread-Announcement------------------------------------------
-
-Thread #x is the program's root thread
-
----------------------------------------------------------------
Thread #x: Exiting thread still holds 1 lock
@@ -34,4 +47,4 @@
by 0x........: main (tc22_exit_w_lock.c:48)
-ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 5 errors from 4 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/helgrind/tests/tc22_exit_w_lock.stderr.diff-kfail-x86
=================================================
--- tc22_exit_w_lock.stderr.exp-kfail-x86 2014-09-15 00:38:22.356087066 +0000
+++ tc22_exit_w_lock.stderr.out 2014-09-15 00:59:40.206146771 +0000
@@ -3,7 +3,6 @@
Thread #x was created
...
- by 0x........: pthread_create_WRK (hg_intercepts.c:...)
by 0x........: pthread_create@* (hg_intercepts.c:...)
by 0x........: main (tc22_exit_w_lock.c:39)
@@ -14,9 +13,25 @@
---Thread-Announcement------------------------------------------
+Thread #x is the program's root thread
+
+----------------------------------------------------------------
+
+Possible data race during write of size 8 at 0x........ by thread #x
+Locks held: none
+ ...
+ by 0x........: pthread_create@* (hg_intercepts.c:...)
+ by 0x........: main (tc22_exit_w_lock.c:42)
+
+This conflicts with a previous read of size 8 by thread #x
+Locks held: none
+ ...
+ Address 0x........ is not stack'd, malloc'd or on a free list
+
+---Thread-Announcement------------------------------------------
+
Thread #x was created
...
- by 0x........: pthread_create_WRK (hg_intercepts.c:...)
by 0x........: pthread_create@* (hg_intercepts.c:...)
by 0x........: main (tc22_exit_w_lock.c:42)
@@ -25,14 +40,11 @@
Thread #x: Exiting thread still holds 1 lock
...
----Thread-Announcement------------------------------------------
-
-Thread #x is the program's root thread
-
----------------------------------------------------------------
Thread #x: Exiting thread still holds 1 lock
...
+ by 0x........: main (tc22_exit_w_lock.c:48)
-ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 5 errors from 4 contexts (suppressed: 0 from 0)
=================================================
./valgrind-old/helgrind/tests/locked_vs_unlocked2.stderr.diff
=================================================
--- locked_vs_unlocked2.stderr.exp 2014-09-15 00:01:03.655980971 +0000
+++ locked_vs_unlocked2.stderr.out 2014-09-15 00:21:03.536036358 +0000
@@ -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: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:...)
- 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:...)
=================================================
./valgrind-old/helgrind/tests/pth_cond_destroy_busy.stderr.diff
=================================================
--- pth_cond_destroy_busy.stderr.exp 2014-09-15 00:01:03.635980970 +0000
+++ pth_cond_destroy_busy.stderr.out 2014-09-15 00:21:10.306036658 +0000
@@ -47,4 +47,4 @@
First pthread_cond_destroy() call returned EBUSY.
Second pthread_cond_destroy() call returned success.
-ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 6 errors from 3 contexts (suppressed: 0 from 0)
=================================================
./valgrind-old/helgrind/tests/tc22_exit_w_lock.stderr.diff
=================================================
--- tc22_exit_w_lock.stderr.exp 2014-09-15 00:01:03.655980971 +0000
+++ tc22_exit_w_lock.stderr.out 2014-09-15 00:22:30.246040448 +0000
@@ -13,6 +13,23 @@
---Thread-Announcement------------------------------------------
+Thread #x is the program's root thread
+
+----------------------------------------------------------------
+
+Possible data race during write of size 8 at 0x........ by thread #x
+Locks held: none
+ ...
+ by 0x........: pthread_create@* (hg_intercepts.c:...)
+ by 0x........: main (tc22_exit_w_lock.c:42)
+
+This conflicts with a previous read of size 8 by thread #x
+Locks held: none
+ ...
+ Address 0x........ is not stack'd, malloc'd or on a free list
+
+---Thread-Announcement------------------------------------------
+
Thread #x was created
...
by 0x........: pthread_create@* (hg_intercepts.c:...)
@@ -23,10 +40,6 @@
Thread #x: Exiting thread still holds 1 lock
...
----Thread-Announcement------------------------------------------
-
-Thread #x is the program's root thread
-
----------------------------------------------------------------
Thread #x: Exiting thread still holds 1 lock
@@ -34,4 +47,4 @@
by 0x........: main (tc22_exit_w_lock.c:48)
-ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 5 errors from 4 contexts (suppressed: 0 from 0)
=================================================
./valgrind-old/helgrind/tests/tc22_exit_w_lock.stderr.diff-kfail-x86
=================================================
--- tc22_exit_w_lock.stderr.exp-kfail-x86 2014-09-15 00:01:03.615980969 +0000
+++ tc22_exit_w_lock.stderr.out 2014-09-15 00:22:30.246040448 +0000
@@ -3,7 +3,6 @@
Thread #x was created
...
- by 0x........: pthread_create_WRK (hg_intercepts.c:...)
by 0x........: pthread_create@* (hg_intercepts.c:...)
by 0x........: main (tc22_exit_w_lock.c:39)
@@ -14,9 +13,25 @@
---Thread-Announcement------------------------------------------
+Thread #x is the program's root thread
+
+----------------------------------------------------------------
+
+Possible data race during write of size 8 at 0x........ by thread #x
+Locks held: none
+ ...
+ by 0x........: pthread_create@* (hg_intercepts.c:...)
+ by 0x........: main (tc22_exit_w_lock.c:42)
+
+This conflicts with a previous read of size 8 by thread #x
+Locks held: none
+ ...
+ Address 0x........ is not stack'd, malloc'd or on a free list
+
+---Thread-Announcement------------------------------------------
+
Thread #x was created
...
- by 0x........: pthread_create_WRK (hg_intercepts.c:...)
by 0x........: pthread_create@* (hg_intercepts.c:...)
by 0x........: main (tc22_exit_w_lock.c:42)
@@ -25,14 +40,11 @@
Thread #x: Exiting thread still holds 1 lock
...
----Thread-Announcement------------------------------------------
-
-Thread #x is the program's root thread
-
----------------------------------------------------------------
Thread #x: Exiting thread still holds 1 lock
...
+ by 0x........: main (tc22_exit_w_lock.c:48)
-ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 5 errors from 4 contexts (suppressed: 0 from 0)
|
|
From: Christian B. <bor...@de...> - 2014-09-15 04:13:08
|
valgrind revision: 14537 VEX revision: 2951 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.35-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 2014-09-15 03:45:01 CEST Ended at 2014-09-15 06:12:53 CEST 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 == 662 tests, 3 stderr failures, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures == memcheck/tests/origin5-bz2 (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.3s (19.5x, -----) me: 7.2s (32.8x, -----) ca:25.7s (117.0x, -----) he: 5.3s (24.2x, -----) ca: 9.1s (41.5x, -----) dr: 5.5s (25.2x, -----) ma: 5.0s (22.6x, -----) bigcode1 valgrind-old:0.22s no: 4.3s (19.8x, -1.2%) me: 7.3s (33.3x, -1.4%) ca:25.9s (117.5x, -0.5%) he: 5.3s (24.2x, 0.0%) ca: 9.1s (41.5x, 0.1%) dr: 5.5s (25.1x, 0.4%) ma: 5.0s (22.5x, 0.4%) -- bigcode2 -- bigcode2 valgrind-new:0.25s no: 7.2s (28.7x, -----) me:14.1s (56.2x, -----) ca:38.6s (154.3x, -----) he:10.3s (41.1x, -----) ca:14.2s (56.8x, -----) dr: 9.6s (38.4x, -----) ma: 8.3s (33.1x, -----) bigcode2 valgrind-old:0.25s no: 7.2s (28.8x, -0.1%) me:14.1s (56.2x, -0.1%) ca:38.6s (154.6x, -0.2%) he:10.3s (41.2x, -0.2%) ca:14.2s (56.6x, 0.3%) dr: 9.7s (38.6x, -0.4%) ma: 8.3s (33.2x, -0.1%) -- bz2 -- bz2 valgrind-new:0.69s no: 5.0s ( 7.2x, -----) me:12.9s (18.7x, -----) ca:31.5s (45.7x, -----) he:19.8s (28.7x, -----) ca:34.3s (49.7x, -----) dr:29.8s (43.1x, -----) ma: 4.8s ( 6.9x, -----) bz2 valgrind-old:0.69s no: 5.0s ( 7.2x, 0.2%) me:13.3s (19.3x, -3.3%) ca:31.5s (45.7x, -0.1%) he:20.0s (29.0x, -1.1%) ca:34.3s (49.7x, -0.1%) dr:29.7s (43.1x, 0.1%) ma: 4.8s ( 6.9x, 0.2%) -- fbench -- fbench valgrind-new:0.41s no: 1.6s ( 3.9x, -----) me: 4.4s (10.8x, -----) ca: 9.3s (22.6x, -----) he: 6.5s (15.7x, -----) ca: 7.2s (17.7x, -----) dr: 5.7s (13.9x, -----) ma: 1.7s ( 4.1x, -----) fbench valgrind-old:0.41s no: 1.6s ( 4.0x, -0.6%) me: 4.5s (10.9x, -0.9%) ca: 9.2s (22.4x, 0.9%) he: 6.4s (15.5x, 1.4%) ca: 7.2s (17.6x, 0.1%) dr: 5.7s (13.8x, 0.9%) ma: 1.7s ( 4.1x, -0.0%) -- ffbench -- ffbench valgrind-new:0.19s no: 1.1s ( 5.5x, -----) me: 3.4s (18.1x, -----) ca: 3.0s (15.6x, -----) he:44.1s (231.9x, -----) ca: 9.5s (49.9x, -----) dr: 7.3s (38.2x, -----) ma: 1.0s ( 5.1x, -----) ffbench valgrind-old:0.19s no: 1.1s ( 5.6x, -1.0%) me: 3.2s (17.1x, 5.5%) ca: 3.0s (15.7x, -0.3%) he:44.8s (235.6x, -1.6%) ca: 9.5s (49.8x, 0.1%) dr: 7.2s (38.1x, 0.3%) ma: 1.0s ( 5.2x, -1.0%) -- heap -- heap valgrind-new:0.23s no: 1.9s ( 8.2x, -----) me: 8.9s (38.7x, -----) ca:13.0s (56.6x, -----) he:12.9s (56.0x, -----) ca:11.3s (49.0x, -----) dr: 8.1s (35.3x, -----) ma: 8.0s (34.8x, -----) heap valgrind-old:0.23s no: 1.9s ( 8.2x, 0.0%) me: 8.9s (38.7x, 0.0%) ca:13.0s (56.6x, 0.0%) he:12.8s (55.6x, 0.7%) ca:11.2s (48.6x, 0.7%) dr: 7.9s (34.5x, 2.3%) ma: 7.9s (34.2x, 1.8%) -- heap_pdb4 -- heap_pdb4 valgrind-new:0.23s no: 2.0s ( 8.9x, -----) me:13.0s (56.4x, -----) ca:14.1s (61.2x, -----) he:14.1s (61.1x, -----) ca:12.3s (53.3x, -----) dr: 9.0s (39.0x, -----) ma: 8.1s (35.1x, -----) heap_pdb4 valgrind-old:0.23s no: 2.0s ( 8.9x, 0.0%) me:13.2s (57.5x, -1.8%) ca:14.1s (61.3x, -0.2%) he:14.1s (61.2x, -0.1%) ca:12.3s (53.5x, -0.3%) dr: 8.8s (38.5x, 1.2%) ma: 8.0s (34.8x, 0.7%) -- many-loss-records -- many-loss-records valgrind-new:0.02s no: 0.5s (24.0x, -----) me: 2.3s (116.0x, -----) ca: 1.9s (96.0x, -----) he: 2.4s (117.5x, -----) ca: 1.9s (95.5x, -----) dr: 2.0s (101.0x, -----) ma: 1.7s (83.5x, -----) many-loss-records valgrind-old:0.02s no: 0.5s (24.0x, 0.0%) me: 2.3s (116.5x, -0.4%) ca: 1.9s (96.0x, 0.0%) he: 2.4s (118.5x, -0.9%) ca: 1.9s (95.0x, 0.5%) dr: 2.0s (100.0x, 1.0%) ma: 1.6s (82.0x, 1.8%) -- many-xpts -- many-xpts valgrind-new:0.07s no: 0.6s ( 9.0x, -----) me: 3.4s (48.7x, -----) ca:371.6s (5309.1x, -----) he: 6.7s (95.9x, -----) ca: 2.8s (39.9x, -----) dr: 2.8s (39.7x, -----) ma: 2.6s (37.7x, -----) many-xpts valgrind-old:0.07s no: 0.6s ( 9.0x, 0.0%) me: 3.4s (48.3x, 0.9%) ca:375.1s (5358.3x, -0.9%) he: 6.7s (96.1x, -0.3%) ca: 2.8s (40.0x, -0.4%) dr: 2.7s (39.1x, 1.4%) ma: 2.6s (37.7x, 0.0%) -- sarp -- sarp valgrind-new:0.03s no: 0.6s (20.0x, -----) me: 3.7s (122.7x, -----) ca: 3.1s (103.7x, -----) he:17.6s (587.3x, -----) ca: 2.0s (68.0x, -----) dr: 1.6s (54.0x, -----) ma: 0.5s (18.0x, -----) sarp valgrind-old:0.03s no: 0.6s (19.7x, 1.7%) me: 4.0s (133.0x, -8.4%) ca: 3.1s (103.7x, 0.0%) he:17.2s (575.0x, 2.1%) ca: 2.0s (68.0x, 0.0%) dr: 1.6s (53.7x, 0.6%) ma: 0.5s (17.7x, 1.9%) -- tinycc -- tinycc valgrind-new:0.22s no: 2.8s (12.5x, -----) me:14.7s (67.0x, -----) ca:29.7s (134.9x, -----) he:27.9s (126.7x, -----) ca:21.2s (96.4x, -----) dr:20.6s (93.7x, -----) ma: 4.1s (18.7x, -----) tinycc valgrind-old:0.22s no: 2.7s (12.5x, 0.4%) me:14.7s (66.9x, 0.1%) ca:29.7s (135.0x, -0.1%) he:27.8s (126.5x, 0.1%) ca:21.2s (96.3x, 0.0%) dr:20.5s (93.4x, 0.4%) ma: 4.1s (18.7x, 0.2%) -- Finished tests in perf ---------------------------------------------- == 11 programs, 154 timings ================= real 111m39.455s user 110m46.110s sys 0m41.615s |
|
From: <ma...@bu...> - 2014-09-15 03:44:35
|
valgrind revision: 14537
VEX revision: 2951
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+deb7u4) 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.6 wheezy x86_64 )
Started at 2014-09-15 00:00:01 UTC
Ended at 2014-09-15 03:44:14 UTC
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
== 684 tests, 1 stderr failure, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures ==
drd/tests/std_thread2 (stderr)
=================================================
== Results from 24 hours ago ==
=================================================
Checking out valgrind source tree ... done
Configuring valgrind ... done
Building valgrind ... done
Running regression tests ... done
Regression test results follow
== 684 tests, 0 stderr failures, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures ==
=================================================
== Difference between 24 hours ago and now ==
=================================================
*** old.short 2014-09-15 01:35:29.459502242 +0000
--- new.short 2014-09-15 02:37:37.098902820 +0000
***************
*** 4,6 ****
Building valgrind ... done
! Running regression tests ... done
--- 4,6 ----
Building valgrind ... done
! Running regression tests ... failed
***************
*** 8,10 ****
! == 684 tests, 0 stderr failures, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures ==
--- 8,11 ----
! == 684 tests, 1 stderr failure, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures ==
! drd/tests/std_thread2 (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.14s no: 2.2s (15.7x, -----) me: 4.7s (33.4x, -----) ca:18.5s (132.1x, -----) he: 2.9s (20.7x, -----) ca: 5.1s (36.2x, -----) dr: 2.7s (19.6x, -----) ma: 2.6s (18.8x, -----)
bigcode1 valgrind-old:0.14s no: 2.2s (15.7x, 0.0%) me: 4.6s (32.7x, 2.1%) ca:17.7s (126.6x, 4.1%) he: 2.7s (19.6x, 5.5%) ca: 4.9s (34.8x, 3.9%) dr: 2.7s (19.0x, 2.9%) ma: 2.7s (19.0x, -1.1%)
-- bigcode2 --
bigcode2 valgrind-new:0.14s no: 5.3s (38.0x, -----) me:11.2s (79.9x, -----) ca:34.0s (242.6x, -----) he: 6.7s (47.6x, -----) ca: 9.4s (66.9x, -----) dr: 6.2s (44.6x, -----) ma: 6.0s (42.7x, -----)
bigcode2 valgrind-old:0.14s no: 5.3s (37.6x, 0.9%) me:11.1s (79.0x, 1.2%) ca:35.2s (251.3x, -3.6%) he: 6.6s (46.9x, 1.4%) ca: 9.4s (66.9x, 0.0%) dr: 6.1s (43.9x, 1.6%) ma: 6.0s (42.8x, -0.2%)
-- bz2 --
bz2 valgrind-new:0.66s no: 2.9s ( 4.4x, -----) me: 8.3s (12.6x, -----) ca:17.3s (26.2x, -----) he:12.0s (18.2x, -----) ca:14.7s (22.2x, -----) dr:15.3s (23.2x, -----) ma: 2.8s ( 4.3x, -----)
bz2 valgrind-old:0.66s no: 2.9s ( 4.4x, 1.4%) me: 8.5s (12.9x, -2.0%) ca:17.1s (25.9x, 1.3%) he:12.8s (19.4x, -6.2%) ca:14.9s (22.5x, -1.6%) dr:15.8s (23.9x, -3.0%) ma: 2.8s ( 4.3x, -0.7%)
-- fbench --
fbench valgrind-new:0.28s no: 1.4s ( 5.0x, -----) me: 4.9s (17.4x, -----) ca: 7.6s (27.2x, -----) he: 3.7s (13.1x, -----) ca: 4.1s (14.6x, -----) dr: 3.4s (12.3x, -----) ma: 1.4s ( 5.0x, -----)
fbench valgrind-old:0.28s no: 1.4s ( 5.0x, 0.7%) me: 5.1s (18.4x, -5.5%) ca: 7.7s (27.4x, -0.9%) he: 3.8s (13.4x, -2.2%) ca: 4.2s (14.8x, -1.2%) dr: 3.5s (12.5x, -2.0%) ma: 1.5s ( 5.2x, -4.3%)
-- ffbench --
ffbench valgrind-new:0.26s no: 1.3s ( 5.0x, -----) me: 3.9s (15.0x, -----) ca: 2.5s ( 9.6x, -----) he: 9.5s (36.7x, -----) ca: 5.1s (19.8x, -----) dr: 4.7s (18.0x, -----) ma: 1.2s ( 4.7x, -----)
ffbench valgrind-old:0.26s no: 1.3s ( 4.8x, 2.3%) me: 4.0s (15.3x, -2.3%) ca: 2.6s (10.0x, -3.6%) he:10.0s (38.6x, -5.2%) ca: 5.6s (21.4x, -8.4%) dr: 4.5s (17.2x, 4.7%) ma: 1.2s ( 4.6x, 2.5%)
-- heap --
heap valgrind-new:0.10s no: 0.9s ( 9.3x, -----) me: 7.6s (76.4x, -----) ca: 8.3s (82.7x, -----) he: 9.8s (97.7x, -----) ca: 4.4s (44.1x, -----) dr: 6.3s (62.6x, -----) ma: 6.4s (63.6x, -----)
heap valgrind-old:0.10s no: 0.9s ( 9.2x, 1.1%) me: 7.7s (77.0x, -0.8%) ca: 8.2s (82.1x, 0.7%) he: 9.6s (95.7x, 2.0%) ca: 4.4s (44.3x, -0.5%) dr: 6.5s (64.6x, -3.2%) ma: 6.7s (66.6x, -4.7%)
-- heap_pdb4 --
heap_pdb4 valgrind-new:0.17s no: 1.0s ( 5.8x, -----) me:13.2s (77.4x, -----) ca: 9.6s (56.4x, -----) he:11.1s (65.4x, -----) ca: 4.7s (27.9x, -----) dr: 6.7s (39.1x, -----) ma: 6.9s (40.6x, -----)
heap_pdb4 valgrind-old:0.17s no: 1.0s ( 5.8x, 1.0%) me:13.0s (76.6x, 1.0%) ca: 9.2s (54.1x, 4.0%) he:10.8s (63.2x, 3.2%) ca: 4.8s (28.5x, -2.3%) dr: 6.9s (40.4x, -3.2%) ma: 6.5s (38.0x, 6.5%)
-- many-loss-records --
many-loss-records valgrind-new:0.01s no: 0.4s (39.0x, -----) me: 2.2s (219.0x, -----) ca: 1.3s (131.0x, -----) he: 1.7s (168.0x, -----) ca: 0.9s (91.0x, -----) dr: 1.5s (148.0x, -----) ma: 1.4s (145.0x, -----)
many-loss-records valgrind-old:0.01s no: 0.4s (36.0x, 7.7%) me: 2.0s (202.0x, 7.8%) ca: 1.4s (138.0x, -5.3%) he: 1.7s (167.0x, 0.6%) ca: 0.9s (91.0x, 0.0%) dr: 1.5s (153.0x, -3.4%) ma: 1.4s (138.0x, 4.8%)
-- many-xpts --
many-xpts valgrind-new:0.04s no: 0.5s (12.0x, -----) me: 2.7s (66.5x, -----) ca: 3.4s (86.0x, -----) he: 3.1s (78.8x, -----) ca: 1.3s (31.8x, -----) dr: 2.0s (49.5x, -----) ma: 2.0s (50.5x, -----)
many-xpts valgrind-old:0.04s no: 0.4s (10.8x, 10.4%) me: 2.6s (65.8x, 1.1%) ca: 3.4s (84.5x, 1.7%) he: 3.2s (79.2x, -0.6%) ca: 1.3s (32.2x, -1.6%) dr: 2.0s (49.5x, 0.0%) ma: 2.0s (51.0x, -1.0%)
-- sarp --
sarp valgrind-new:0.02s no: 0.4s (19.5x, -----) me: 2.9s (146.0x, -----) ca: 2.2s (110.0x, -----) he:10.3s (517.0x, -----) ca: 1.1s (57.5x, -----) dr: 1.3s (66.5x, -----) ma: 0.4s (21.0x, -----)
sarp valgrind-old:0.02s no: 0.4s (18.5x, 5.1%) me: 3.1s (157.0x, -7.5%) ca: 2.2s (110.0x, 0.0%) he: 9.8s (491.0x, 5.0%) ca: 1.1s (57.5x, 0.0%) dr: 1.3s (63.0x, 5.3%) ma: 0.4s (19.5x, 7.1%)
-- tinycc --
tinycc valgrind-new:0.27s no: 1.9s ( 6.9x, -----) me:11.1s (41.3x, -----) ca:13.6s (50.4x, -----) he:13.6s (50.5x, -----) ca:10.2s (37.6x, -----) dr: 9.9s (36.6x, -----) ma: 3.3s (12.4x, -----)
tinycc valgrind-old:0.27s no: 1.8s ( 6.8x, 1.6%) me:11.3s (41.8x, -1.3%) ca:13.6s (50.4x, -0.1%) he:14.1s (52.0x, -3.0%) ca:10.1s (37.3x, 1.0%) dr: 9.5s (35.3x, 3.5%) ma: 3.1s (11.4x, 7.5%)
-- Finished tests in perf ----------------------------------------------
== 11 programs, 154 timings =================
2773.73user 35.93system 1:06:37elapsed 70%CPU (0avgtext+0avgdata 500796maxresident)k
721248inputs+452952outputs (1061major+11734443minor)pagefaults 0swaps
=================================================
./valgrind-new/drd/tests/std_thread2.stderr.diff
=================================================
--- std_thread2.stderr.exp 2014-09-15 01:35:39.519500770 +0000
+++ std_thread2.stderr.out 2014-09-15 02:32:07.478962079 +0000
@@ -1,9 +1,13 @@
Thread 2:
+Conflicting load by thread 2 at 0x........ size 4
+ at 0x........: nanosleep (syscall-template.S:82)
+Allocation context: BSS section of libc-2.13.so
+
Conflicting store by thread 2 at 0x........ size 4
at 0x........: main::{lambda()#1}::operator()() const (std_thread2.cpp:21)
Allocation context: BSS section of std_thread2
Done.
-ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
|
|
From: Tom H. <to...@co...> - 2014-09-15 03:25:25
|
valgrind revision: 14537 VEX revision: 2951 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.15.3-200.fc20.x86_64 x86_64 Vendor version: Fedora release 15 (Lovelock) Nightly build on bristol ( x86_64, Fedora 15 ) Started at 2014-09-15 03:13:11 BST Ended at 2014-09-15 04:25:14 BST 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 == 696 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.6s (14.8x, -----) me: 3.3s (30.4x, -----) ca:14.3s (129.9x, -----) he: 2.0s (18.4x, -----) ca: 3.8s (34.6x, -----) dr: 2.0s (18.1x, -----) ma: 1.9s (17.5x, -----) bigcode1 valgrind-old:0.11s no: 1.6s (14.8x, 0.0%) me: 3.3s (29.9x, 1.5%) ca:14.4s (131.1x, -0.9%) he: 2.0s (18.4x, 0.0%) ca: 3.8s (34.5x, 0.3%) dr: 2.0s (18.0x, 0.5%) ma: 1.9s (17.4x, 0.5%) -- bigcode2 -- bigcode2 valgrind-new:0.11s no: 3.9s (35.6x, -----) me: 8.3s (75.7x, -----) ca:26.0s (236.0x, -----) he: 4.9s (44.8x, -----) ca: 7.2s (65.1x, -----) dr: 4.6s (42.2x, -----) ma: 4.5s (40.8x, -----) bigcode2 valgrind-old:0.11s no: 3.9s (35.2x, 1.3%) me: 8.3s (75.8x, -0.1%) ca:24.9s (226.5x, 4.0%) he: 4.9s (44.5x, 0.6%) ca: 7.1s (64.7x, 0.6%) dr: 4.6s (41.8x, 0.9%) ma: 4.5s (40.6x, 0.4%) -- bz2 -- bz2 valgrind-new:0.52s no: 2.1s ( 4.0x, -----) me: 6.8s (13.0x, -----) ca:14.0s (26.9x, -----) he: 9.0s (17.3x, -----) ca:11.6s (22.3x, -----) dr:11.1s (21.4x, -----) ma: 2.1s ( 4.0x, -----) bz2 valgrind-old:0.52s no: 2.1s ( 4.0x, 0.0%) me: 6.3s (12.0x, 7.3%) ca:14.1s (27.1x, -0.5%) he: 8.8s (16.9x, 2.3%) ca:11.7s (22.5x, -0.7%) dr:11.1s (21.2x, 0.6%) ma: 2.1s ( 4.0x, -0.5%) -- 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.0x, -----) ca: 3.0s (13.8x, -----) dr: 2.6s (12.0x, -----) ma: 1.0s ( 4.7x, -----) fbench valgrind-old:0.22s no: 1.0s ( 4.5x, 1.0%) me: 3.7s (16.7x, 0.5%) ca: 5.4s (24.7x, 2.9%) he: 2.9s (13.1x, -0.7%) ca: 3.1s (14.1x, -2.6%) dr: 2.7s (12.1x, -1.1%) ma: 1.0s ( 4.7x, 1.0%) -- ffbench -- ffbench valgrind-new:0.21s no: 0.9s ( 4.4x, -----) me: 2.8s (13.3x, -----) ca: 1.9s ( 8.8x, -----) he: 5.8s (27.6x, -----) ca: 4.2s (20.1x, -----) dr: 3.5s (16.5x, -----) ma: 0.9s ( 4.1x, -----) ffbench valgrind-old:0.21s no: 0.9s ( 4.3x, 2.2%) me: 2.8s (13.4x, -0.4%) ca: 1.8s ( 8.6x, 2.7%) he: 5.3s (25.3x, 8.4%) ca: 4.1s (19.3x, 3.8%) dr: 3.4s (16.2x, 1.4%) ma: 0.8s ( 4.0x, 1.2%) -- heap -- heap valgrind-new:0.08s no: 0.6s ( 7.4x, -----) me: 5.0s (62.3x, -----) ca: 6.1s (76.6x, -----) he: 6.6s (82.4x, -----) ca: 3.2s (40.6x, -----) dr: 4.3s (54.2x, -----) ma: 4.6s (57.9x, -----) heap valgrind-old:0.08s no: 0.6s ( 7.5x, -1.7%) me: 5.0s (61.9x, 0.6%) ca: 6.1s (76.8x, -0.2%) he: 6.7s (83.9x, -1.8%) ca: 3.2s (40.5x, 0.3%) dr: 4.3s (54.1x, 0.2%) ma: 4.7s (58.1x, -0.4%) -- heap_pdb4 -- heap_pdb4 valgrind-new:0.10s no: 0.6s ( 6.3x, -----) me: 8.5s (85.3x, -----) ca: 6.8s (68.0x, -----) he: 7.6s (76.2x, -----) ca: 3.5s (35.5x, -----) dr: 5.1s (51.0x, -----) ma: 4.7s (47.0x, -----) heap_pdb4 valgrind-old:0.10s no: 0.7s ( 6.5x, -3.2%) me: 8.4s (84.5x, 0.9%) ca: 6.9s (68.6x, -0.9%) he: 7.7s (77.2x, -1.3%) ca: 3.6s (35.6x, -0.3%) dr: 5.1s (50.6x, 0.8%) ma: 4.8s (48.2x, -2.6%) -- many-loss-records -- many-loss-records valgrind-new:0.01s no: 0.3s (26.0x, -----) me: 1.4s (141.0x, -----) ca: 1.1s (107.0x, -----) he: 1.2s (120.0x, -----) ca: 0.7s (72.0x, -----) dr: 1.1s (110.0x, -----) ma: 1.0s (98.0x, -----) many-loss-records valgrind-old:0.01s no: 0.3s (26.0x, 0.0%) me: 1.4s (141.0x, 0.0%) ca: 1.1s (106.0x, 0.9%) he: 1.2s (121.0x, -0.8%) ca: 0.7s (70.0x, 2.8%) dr: 1.1s (111.0x, -0.9%) ma: 1.0s (100.0x, -2.0%) -- many-xpts -- many-xpts valgrind-new:0.03s no: 0.3s (10.7x, -----) me: 2.0s (66.7x, -----) ca: 2.8s (92.3x, -----) he: 2.2s (75.0x, -----) ca: 1.0s (32.7x, -----) dr: 1.6s (52.0x, -----) ma: 1.5s (48.7x, -----) many-xpts valgrind-old:0.03s no: 0.3s (10.3x, 3.1%) me: 2.0s (66.3x, 0.5%) ca: 2.7s (91.3x, 1.1%) he: 2.1s (71.0x, 5.3%) ca: 0.9s (30.7x, 6.1%) dr: 1.5s (48.7x, 6.4%) ma: 1.4s (46.7x, 4.1%) -- sarp -- sarp valgrind-new:0.02s no: 0.2s (12.5x, -----) me: 2.4s (119.0x, -----) ca: 1.8s (90.5x, -----) he: 6.5s (324.5x, -----) ca: 0.9s (47.0x, -----) dr: 1.0s (51.5x, -----) ma: 0.3s (15.0x, -----) sarp valgrind-old:0.02s no: 0.3s (14.0x,-12.0%) me: 2.3s (114.5x, 3.8%) ca: 1.8s (89.0x, 1.7%) he: 6.7s (333.0x, -2.6%) ca: 0.9s (47.0x, 0.0%) dr: 1.0s (51.0x, 1.0%) ma: 0.3s (15.0x, 0.0%) -- tinycc -- tinycc valgrind-new:0.17s no: 1.5s ( 8.6x, -----) me: 9.2s (54.1x, -----) ca:11.4s (67.1x, -----) he: 9.9s (58.1x, -----) ca: 8.3s (48.9x, -----) dr: 8.3s (48.7x, -----) ma: 2.5s (14.5x, -----) tinycc valgrind-old:0.17s no: 1.4s ( 8.5x, 1.4%) me: 9.2s (54.1x, 0.0%) ca:11.2s (65.8x, 2.0%) he: 9.7s (57.3x, 1.3%) ca: 8.2s (48.5x, 0.8%) dr: 8.3s (48.7x, 0.0%) ma: 2.5s (15.0x, -3.2%) -- Finished tests in perf ---------------------------------------------- == 11 programs, 154 timings ================= real 34m52.423s user 33m58.829s sys 0m22.012s |
|
From: Tom H. <to...@co...> - 2014-09-15 03:16:24
|
valgrind revision: 14537 VEX revision: 2951 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.15.3-200.fc20.x86_64 x86_64 Vendor version: Fedora release 16 (Verne) Nightly build on bristol ( x86_64, Fedora 16 ) Started at 2014-09-15 03:02:01 BST Ended at 2014-09-15 04:16:11 BST 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 == 696 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.6s (15.0x, -----) me: 3.4s (30.7x, -----) ca:14.3s (130.1x, -----) he: 2.1s (18.8x, -----) ca: 3.8s (34.8x, -----) dr: 2.0s (18.4x, -----) ma: 1.9s (17.6x, -----) bigcode1 valgrind-old:0.11s no: 1.6s (15.0x, 0.0%) me: 3.3s (30.4x, 1.2%) ca:14.3s (129.9x, 0.1%) he: 2.1s (18.9x, -0.5%) ca: 3.8s (34.6x, 0.5%) dr: 2.0s (18.4x, 0.0%) ma: 1.9s (17.5x, 0.5%) -- bigcode2 -- bigcode2 valgrind-new:0.11s no: 3.9s (35.6x, -----) me: 8.4s (76.7x, -----) ca:26.8s (243.7x, -----) he: 5.0s (45.0x, -----) ca: 7.2s (65.5x, -----) dr: 4.7s (42.3x, -----) ma: 4.5s (40.9x, -----) bigcode2 valgrind-old:0.11s no: 4.0s (35.9x, -0.8%) me: 8.4s (76.7x, 0.0%) ca:26.3s (239.5x, 1.8%) he: 5.0s (45.3x, -0.6%) ca: 7.2s (65.5x, -0.1%) dr: 4.7s (42.7x, -1.1%) ma: 4.5s (40.8x, 0.2%) -- bz2 -- bz2 valgrind-new:0.52s no: 2.1s ( 4.1x, -----) me: 6.2s (12.0x, -----) ca:13.9s (26.8x, -----) he: 9.2s (17.8x, -----) ca:11.6s (22.3x, -----) dr:11.0s (21.1x, -----) ma: 2.1s ( 4.0x, -----) bz2 valgrind-old:0.52s no: 2.1s ( 4.1x, 0.0%) me: 6.2s (12.0x, 0.0%) ca:13.9s (26.8x, -0.1%) he: 9.1s (17.5x, 1.3%) ca:11.6s (22.2x, 0.3%) dr:11.0s (21.1x, -0.1%) ma: 2.1s ( 4.0x, 0.0%) -- fbench -- fbench valgrind-new:0.22s no: 1.0s ( 4.6x, -----) me: 3.7s (17.0x, -----) ca: 5.5s (25.2x, -----) he: 2.8s (12.7x, -----) ca: 3.2s (14.5x, -----) dr: 2.6s (12.0x, -----) ma: 1.1s ( 4.8x, -----) fbench valgrind-old:0.22s no: 1.0s ( 4.6x, -1.0%) me: 3.7s (16.9x, 0.5%) ca: 5.5s (25.1x, 0.2%) he: 2.8s (12.8x, -0.7%) ca: 3.1s (14.3x, 1.6%) dr: 2.7s (12.3x, -2.7%) ma: 1.1s ( 4.8x, 0.0%) -- ffbench -- ffbench valgrind-new:0.21s no: 0.9s ( 4.5x, -----) me: 2.9s (13.9x, -----) ca: 1.9s ( 9.0x, -----) he: 5.5s (26.1x, -----) ca: 4.3s (20.6x, -----) dr: 3.4s (16.1x, -----) ma: 0.9s ( 4.2x, -----) ffbench valgrind-old:0.21s no: 0.9s ( 4.5x, 0.0%) me: 2.9s (13.9x, 0.3%) ca: 1.9s ( 9.0x, -0.5%) he: 5.3s (25.4x, 2.7%) ca: 4.3s (20.5x, 0.5%) dr: 3.4s (16.3x, -1.2%) ma: 0.9s ( 4.2x, 0.0%) -- heap -- heap valgrind-new:0.09s no: 0.6s ( 7.1x, -----) me: 5.2s (57.4x, -----) ca: 6.6s (73.7x, -----) he: 6.7s (74.3x, -----) ca: 3.3s (37.1x, -----) dr: 4.6s (51.3x, -----) ma: 4.8s (53.0x, -----) heap valgrind-old:0.09s no: 0.6s ( 7.1x, 0.0%) me: 5.1s (56.9x, 1.0%) ca: 6.6s (73.4x, 0.3%) he: 6.8s (75.8x, -1.9%) ca: 3.3s (37.0x, 0.3%) dr: 4.4s (48.8x, 5.0%) ma: 4.8s (53.2x, -0.4%) -- heap_pdb4 -- heap_pdb4 valgrind-new:0.11s no: 0.7s ( 6.4x, -----) me: 8.7s (79.3x, -----) ca: 7.3s (66.3x, -----) he: 7.9s (72.1x, -----) ca: 3.8s (34.4x, -----) dr: 5.2s (46.8x, -----) ma: 4.9s (44.5x, -----) heap_pdb4 valgrind-old:0.11s no: 0.7s ( 6.4x, 0.0%) me: 8.6s (78.3x, 1.3%) ca: 7.2s (65.5x, 1.2%) he: 7.9s (71.5x, 0.8%) ca: 3.7s (34.0x, 1.1%) dr: 4.9s (44.9x, 4.1%) ma: 5.0s (45.5x, -2.5%) -- many-loss-records -- many-loss-records valgrind-new:0.01s no: 0.3s (26.0x, -----) me: 1.4s (140.0x, -----) ca: 1.1s (105.0x, -----) he: 1.2s (122.0x, -----) ca: 0.7s (68.0x, -----) dr: 1.1s (109.0x, -----) ma: 1.0s (97.0x, -----) many-loss-records valgrind-old:0.01s no: 0.2s (25.0x, 3.8%) me: 1.4s (139.0x, 0.7%) ca: 1.1s (106.0x, -1.0%) he: 1.2s (120.0x, 1.6%) ca: 0.7s (68.0x, 0.0%) dr: 1.1s (107.0x, 1.8%) ma: 0.9s (95.0x, 2.1%) -- many-xpts -- many-xpts valgrind-new:0.03s no: 0.3s (10.0x, -----) me: 1.9s (63.3x, -----) ca: 2.7s (91.0x, -----) he: 2.2s (72.3x, -----) ca: 0.9s (31.7x, -----) dr: 1.5s (50.3x, -----) ma: 1.4s (46.0x, -----) many-xpts valgrind-old:0.03s no: 0.3s (10.3x, -3.3%) me: 1.9s (63.3x, 0.0%) ca: 2.7s (90.3x, 0.7%) he: 2.2s (72.3x, 0.0%) ca: 0.9s (31.3x, 1.1%) dr: 1.5s (50.0x, 0.7%) ma: 1.4s (47.0x, -2.2%) -- sarp -- sarp valgrind-new:0.02s no: 0.3s (13.5x, -----) me: 2.4s (122.0x, -----) ca: 1.7s (85.0x, -----) he: 6.9s (343.0x, -----) ca: 0.9s (47.0x, -----) dr: 1.0s (51.0x, -----) ma: 0.3s (15.0x, -----) sarp valgrind-old:0.02s no: 0.3s (14.5x, -7.4%) me: 2.2s (112.5x, 7.8%) ca: 1.7s (84.5x, 0.6%) he: 6.6s (331.5x, 3.4%) ca: 0.9s (45.5x, 3.2%) dr: 1.0s (50.0x, 2.0%) ma: 0.3s (14.5x, 3.3%) -- tinycc -- tinycc valgrind-new:0.16s no: 1.4s ( 8.6x, -----) me: 8.7s (54.2x, -----) ca:10.7s (67.1x, -----) he: 9.3s (58.2x, -----) ca: 7.8s (49.0x, -----) dr: 7.8s (48.9x, -----) ma: 2.4s (14.9x, -----) tinycc valgrind-old:0.16s no: 1.4s ( 8.6x, 0.0%) me: 8.7s (54.1x, 0.1%) ca:10.6s (66.2x, 1.4%) he: 9.3s (57.9x, 0.6%) ca: 7.8s (49.1x, -0.1%) dr: 7.8s (48.9x, 0.1%) ma: 2.4s (15.1x, -1.7%) -- Finished tests in perf ---------------------------------------------- == 11 programs, 154 timings ================= real 34m55.163s user 34m2.063s sys 0m22.454s |
|
From: Tom H. <to...@co...> - 2014-09-15 03:05:27
|
valgrind revision: 14537 VEX revision: 2951 C compiler: gcc (GCC) 4.7.2 20120921 (Red Hat 4.7.2-2) GDB: GNU gdb (GDB) Fedora (7.4.50.20120120-54.fc17) Assembler: GNU assembler version 2.22.52.0.1-10.fc17 20120131 C library: GNU C Library stable release version 2.15 uname -mrs: Linux 3.15.3-200.fc20.x86_64 x86_64 Vendor version: Fedora 17 (Beefy Miracle) Nightly build on bristol ( x86_64, Fedora 17 (Beefy Miracle) ) Started at 2014-09-15 02:51:12 BST Ended at 2014-09-15 04:05:11 BST Results unchanged from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 696 tests, 4 stderr failures, 1 stdout failure, 0 stderrB failures, 0 stdoutB failures, 0 post failures == gdbserver_tests/mcinfcallRU (stderr) gdbserver_tests/mcinfcallWSRU (stderr) gdbserver_tests/mcmain_pic (stderr) exp-sgcheck/tests/preen_invars (stdout) exp-sgcheck/tests/preen_invars (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.10s no: 1.6s (16.2x, -----) me: 3.4s (34.3x, -----) ca:13.5s (134.6x, -----) he: 2.1s (20.6x, -----) ca: 3.7s (36.8x, -----) dr: 2.0s (20.3x, -----) ma: 1.9s (19.4x, -----) bigcode1 valgrind-old:0.10s no: 1.7s (16.7x, -3.1%) me: 3.5s (34.8x, -1.5%) ca:13.2s (132.5x, 1.6%) he: 2.1s (20.6x, 0.0%) ca: 3.7s (37.3x, -1.4%) dr: 2.0s (20.2x, 0.5%) ma: 1.9s (19.3x, 0.5%) -- bigcode2 -- bigcode2 valgrind-new:0.11s no: 3.9s (35.7x, -----) me: 8.5s (76.9x, -----) ca:26.0s (236.6x, -----) he: 4.9s (44.5x, -----) ca: 7.1s (64.4x, -----) dr: 4.7s (43.1x, -----) ma: 4.5s (40.8x, -----) bigcode2 valgrind-old:0.11s no: 4.0s (36.0x, -0.8%) me: 8.5s (77.1x, -0.2%) ca:24.9s (226.8x, 4.1%) he: 5.0s (45.3x, -1.6%) ca: 7.0s (64.0x, 0.6%) dr: 4.6s (41.9x, 2.7%) ma: 4.5s (40.5x, 0.9%) -- bz2 -- bz2 valgrind-new:0.52s no: 2.1s ( 4.0x, -----) me: 6.4s (12.3x, -----) ca:13.0s (25.0x, -----) he: 8.9s (17.1x, -----) ca:10.7s (20.6x, -----) dr:11.5s (22.1x, -----) ma: 2.1s ( 4.0x, -----) bz2 valgrind-old:0.52s no: 2.1s ( 4.0x, -0.5%) me: 6.4s (12.3x, 0.3%) ca:12.8s (24.7x, 1.2%) he: 8.8s (17.0x, 0.6%) ca:10.8s (20.7x, -0.7%) dr:11.4s (21.9x, 0.9%) ma: 2.1s ( 4.0x, -0.5%) -- fbench -- fbench valgrind-new:0.22s no: 1.0s ( 4.6x, -----) me: 3.6s (16.5x, -----) ca: 5.6s (25.3x, -----) he: 2.9s (13.0x, -----) ca: 3.0s (13.4x, -----) dr: 2.5s (11.4x, -----) ma: 1.1s ( 4.8x, -----) fbench valgrind-old:0.22s no: 1.0s ( 4.6x, 0.0%) me: 3.6s (16.4x, 0.6%) ca: 5.5s (25.0x, 1.1%) he: 2.8s (12.8x, 1.1%) ca: 2.9s (13.3x, 0.7%) dr: 2.5s (11.4x, 0.0%) ma: 1.1s ( 4.8x, 0.0%) -- ffbench -- ffbench valgrind-new:0.22s no: 0.9s ( 4.3x, -----) me: 3.0s (13.5x, -----) ca: 1.8s ( 8.3x, -----) he: 7.1s (32.3x, -----) ca: 4.0s (18.2x, -----) dr: 3.4s (15.5x, -----) ma: 0.9s ( 4.0x, -----) ffbench valgrind-old:0.22s no: 0.9s ( 4.3x, 1.1%) me: 3.0s (13.5x, 0.3%) ca: 1.8s ( 8.3x, 0.0%) he: 6.2s (28.1x, 13.0%) ca: 4.0s (18.2x, -0.2%) dr: 3.4s (15.4x, 1.2%) ma: 0.9s ( 4.1x, -1.1%) -- heap -- heap valgrind-new:0.08s no: 0.6s ( 8.0x, -----) me: 5.5s (68.9x, -----) ca: 6.1s (76.1x, -----) he: 7.0s (86.9x, -----) ca: 3.1s (38.6x, -----) dr: 4.4s (54.6x, -----) ma: 4.7s (58.6x, -----) heap valgrind-old:0.08s no: 0.6s ( 7.6x, 4.7%) me: 5.5s (68.5x, 0.5%) ca: 6.0s (74.9x, 1.6%) he: 6.8s (85.6x, 1.4%) ca: 3.1s (38.5x, 0.3%) dr: 4.4s (54.9x, -0.5%) ma: 4.8s (59.8x, -1.9%) -- heap_pdb4 -- heap_pdb4 valgrind-new:0.10s no: 0.7s ( 6.9x, -----) me: 9.1s (91.3x, -----) ca: 6.5s (65.4x, -----) he: 8.0s (79.9x, -----) ca: 3.4s (33.8x, -----) dr: 5.1s (51.3x, -----) ma: 5.1s (51.0x, -----) heap_pdb4 valgrind-old:0.10s no: 0.7s ( 6.8x, 1.4%) me: 9.1s (91.4x, -0.1%) ca: 6.6s (65.8x, -0.6%) he: 7.9s (79.1x, 1.0%) ca: 3.4s (33.9x, -0.3%) dr: 5.2s (51.5x, -0.4%) ma: 4.9s (48.7x, 4.5%) -- many-loss-records -- many-loss-records valgrind-new:0.01s no: 0.2s (25.0x, -----) me: 1.5s (150.0x, -----) ca: 1.0s (100.0x, -----) he: 1.2s (124.0x, -----) ca: 0.6s (63.0x, -----) dr: 1.1s (112.0x, -----) ma: 1.0s (101.0x, -----) many-loss-records valgrind-old:0.01s no: 0.2s (25.0x, 0.0%) me: 1.5s (150.0x, 0.0%) ca: 1.0s (99.0x, 1.0%) he: 1.2s (125.0x, -0.8%) ca: 0.6s (64.0x, -1.6%) dr: 1.1s (113.0x, -0.9%) ma: 1.0s (102.0x, -1.0%) -- many-xpts -- many-xpts valgrind-new:0.03s no: 0.3s (10.0x, -----) me: 1.9s (63.7x, -----) ca: 2.5s (85.0x, -----) he: 2.3s (77.0x, -----) ca: 0.9s (30.3x, -----) dr: 1.5s (50.0x, -----) ma: 1.5s (51.0x, -----) many-xpts valgrind-old:0.03s no: 0.3s (10.3x, -3.3%) me: 1.9s (64.3x, -1.0%) ca: 2.6s (85.7x, -0.8%) he: 2.3s (77.3x, -0.4%) ca: 0.9s (30.0x, 1.1%) dr: 1.5s (50.0x, 0.0%) ma: 1.5s (50.7x, 0.7%) -- sarp -- sarp valgrind-new:0.02s no: 0.3s (14.0x, -----) me: 2.2s (110.0x, -----) ca: 1.7s (84.5x, -----) he: 7.1s (356.5x, -----) ca: 0.9s (43.0x, -----) dr: 1.0s (50.0x, -----) ma: 0.3s (14.5x, -----) sarp valgrind-old:0.02s no: 0.3s (14.0x, 0.0%) me: 2.5s (122.5x,-11.4%) ca: 1.7s (85.0x, -0.6%) he: 7.0s (352.0x, 1.3%) ca: 0.9s (44.0x, -2.3%) dr: 1.0s (49.5x, 1.0%) ma: 0.3s (15.0x, -3.4%) -- tinycc -- tinycc valgrind-new:0.16s no: 1.4s ( 8.7x, -----) me: 8.5s (52.9x, -----) ca:10.6s (66.2x, -----) he: 9.8s (61.6x, -----) ca: 7.5s (46.9x, -----) dr: 7.5s (47.1x, -----) ma: 2.4s (14.9x, -----) tinycc valgrind-old:0.16s no: 1.3s ( 8.4x, 3.6%) me: 8.5s (53.2x, -0.6%) ca:10.7s (66.6x, -0.7%) he:10.0s (62.6x, -1.6%) ca: 7.4s (46.4x, 1.1%) dr: 7.5s (47.0x, 0.3%) ma: 2.4s (15.2x, -1.7%) -- Finished tests in perf ---------------------------------------------- == 11 programs, 154 timings ================= real 34m28.494s user 33m34.029s sys 0m23.067s |
|
From: Tom H. <to...@co...> - 2014-09-15 02:55:18
|
valgrind revision: 14537 VEX revision: 2951 C compiler: gcc (GCC) 4.7.2 20121109 (Red Hat 4.7.2-8) GDB: GNU gdb (GDB) Fedora 7.5.1-42.fc18 Assembler: GNU assembler version 2.23.51.0.1-10.fc18 20120806 C library: GNU C Library stable release version 2.16 uname -mrs: Linux 3.15.3-200.fc20.x86_64 x86_64 Vendor version: Fedora 18 (Spherical Cow) Nightly build on bristol ( x86_64, Fedora 18 (Spherical Cow) ) Started at 2014-09-15 02:41:05 BST Ended at 2014-09-15 03:55:03 BST Results unchanged from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 696 tests, 1 stderr failure, 1 stdout failure, 0 stderrB failures, 0 stdoutB failures, 0 post failures == exp-sgcheck/tests/preen_invars (stdout) exp-sgcheck/tests/preen_invars (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.4x, -----) me: 3.4s (30.9x, -----) ca:13.3s (120.5x, -----) he: 2.1s (19.0x, -----) ca: 3.7s (33.5x, -----) dr: 2.0s (18.5x, -----) ma: 1.9s (17.6x, -----) bigcode1 valgrind-old:0.11s no: 1.6s (14.9x, 3.0%) me: 3.4s (30.6x, 0.9%) ca:13.4s (121.6x, -0.9%) he: 2.1s (18.8x, 1.0%) ca: 3.7s (33.7x, -0.5%) dr: 2.0s (18.5x, 0.5%) ma: 1.9s (17.6x, 0.0%) -- bigcode2 -- bigcode2 valgrind-new:0.11s no: 3.9s (35.0x, -----) me: 8.4s (76.7x, -----) ca:26.1s (236.8x, -----) he: 5.0s (45.3x, -----) ca: 7.0s (64.0x, -----) dr: 4.7s (42.5x, -----) ma: 4.5s (40.6x, -----) bigcode2 valgrind-old:0.11s no: 3.9s (35.1x, -0.3%) me: 8.4s (76.6x, 0.1%) ca:26.0s (236.4x, 0.2%) he: 5.0s (45.1x, 0.4%) ca: 7.0s (64.0x, 0.0%) dr: 4.7s (42.3x, 0.6%) ma: 4.4s (40.4x, 0.7%) -- bz2 -- bz2 valgrind-new:0.52s no: 2.1s ( 4.1x, -----) me: 7.0s (13.5x, -----) ca:13.4s (25.8x, -----) he: 9.0s (17.3x, -----) ca:10.7s (20.6x, -----) dr:11.7s (22.4x, -----) ma: 2.1s ( 4.1x, -----) bz2 valgrind-old:0.52s no: 2.1s ( 4.0x, 0.9%) me: 6.9s (13.2x, 2.0%) ca:13.0s (24.9x, 3.1%) he: 9.0s (17.2x, 0.3%) ca:10.7s (20.7x, -0.2%) dr:11.6s (22.4x, 0.3%) ma: 2.1s ( 4.1x, 0.0%) -- fbench -- fbench valgrind-new:0.22s no: 1.1s ( 4.9x, -----) me: 3.7s (16.6x, -----) ca: 5.5s (25.1x, -----) he: 2.9s (13.0x, -----) ca: 3.0s (13.8x, -----) dr: 2.6s (12.0x, -----) ma: 1.1s ( 4.9x, -----) fbench valgrind-old:0.22s no: 1.0s ( 4.6x, 5.6%) me: 3.7s (16.7x, -0.5%) ca: 5.5s (25.1x, 0.0%) he: 2.8s (12.8x, 1.1%) ca: 3.0s (13.7x, 0.7%) dr: 2.5s (11.5x, 4.5%) ma: 1.1s ( 4.9x, 0.0%) -- ffbench -- ffbench valgrind-new:0.24s no: 0.9s ( 4.0x, -----) me: 3.0s (12.4x, -----) ca: 1.8s ( 7.7x, -----) he: 7.3s (30.3x, -----) ca: 4.0s (16.8x, -----) dr: 3.5s (14.5x, -----) ma: 0.9s ( 3.7x, -----) ffbench valgrind-old:0.24s no: 1.0s ( 4.0x, -1.1%) me: 3.0s (12.5x, -0.3%) ca: 1.8s ( 7.7x, -0.0%) he: 7.4s (30.9x, -1.8%) ca: 4.1s (17.0x, -1.2%) dr: 3.6s (15.2x, -5.2%) ma: 0.9s ( 3.8x, -1.1%) -- heap -- heap valgrind-new:0.08s no: 0.6s ( 8.0x, -----) me: 5.5s (68.9x, -----) ca: 6.2s (77.6x, -----) he: 6.9s (86.4x, -----) ca: 3.1s (39.1x, -----) dr: 4.5s (56.4x, -----) ma: 4.8s (59.8x, -----) heap valgrind-old:0.08s no: 0.6s ( 7.9x, 1.6%) me: 5.6s (69.9x, -1.5%) ca: 6.1s (76.8x, 1.1%) he: 6.9s (86.5x, -0.1%) ca: 3.1s (39.0x, 0.3%) dr: 4.7s (58.6x, -4.0%) ma: 4.9s (61.0x, -2.1%) -- heap_pdb4 -- heap_pdb4 valgrind-new:0.10s no: 0.7s ( 6.9x, -----) me: 9.0s (90.3x, -----) ca: 6.6s (66.3x, -----) he: 8.0s (79.8x, -----) ca: 3.5s (35.5x, -----) dr: 5.2s (52.5x, -----) ma: 5.2s (51.8x, -----) heap_pdb4 valgrind-old:0.10s no: 0.7s ( 6.9x, -0.0%) me: 9.1s (90.7x, -0.4%) ca: 6.7s (66.8x, -0.8%) he: 8.2s (81.6x, -2.3%) ca: 3.5s (35.5x, 0.0%) dr: 5.0s (49.6x, 5.5%) ma: 5.0s (49.6x, 4.2%) -- many-loss-records -- many-loss-records valgrind-new:0.01s no: 0.3s (26.0x, -----) me: 1.5s (146.0x, -----) ca: 1.0s (99.0x, -----) he: 1.2s (125.0x, -----) ca: 0.7s (65.0x, -----) dr: 1.1s (115.0x, -----) ma: 1.0s (103.0x, -----) many-loss-records valgrind-old:0.01s no: 0.3s (26.0x, 0.0%) me: 1.4s (143.0x, 2.1%) ca: 1.0s (100.0x, -1.0%) he: 1.3s (126.0x, -0.8%) ca: 0.6s (64.0x, 1.5%) dr: 1.1s (113.0x, 1.7%) ma: 1.0s (102.0x, 1.0%) -- many-xpts -- many-xpts valgrind-new:0.03s no: 0.3s (10.3x, -----) me: 1.9s (64.3x, -----) ca: 2.6s (86.7x, -----) he: 2.3s (78.0x, -----) ca: 0.9s (30.3x, -----) dr: 1.5s (50.7x, -----) ma: 1.6s (51.7x, -----) many-xpts valgrind-old:0.03s no: 0.3s (10.7x, -3.2%) me: 2.0s (65.3x, -1.6%) ca: 2.6s (86.0x, 0.8%) he: 2.4s (78.3x, -0.4%) ca: 0.9s (30.7x, -1.1%) dr: 1.5s (50.0x, 1.3%) ma: 1.5s (51.3x, 0.6%) -- sarp -- sarp valgrind-new:0.01s no: 0.3s (28.0x, -----) me: 2.5s (246.0x, -----) ca: 1.7s (170.0x, -----) he: 7.0s (699.0x, -----) ca: 0.9s (88.0x, -----) dr: 1.0s (100.0x, -----) ma: 0.3s (30.0x, -----) sarp valgrind-old:0.01s no: 0.3s (28.0x, 0.0%) me: 2.2s (224.0x, 8.9%) ca: 1.7s (170.0x, 0.0%) he: 7.3s (726.0x, -3.9%) ca: 0.9s (88.0x, 0.0%) dr: 1.0s (99.0x, 1.0%) ma: 0.3s (29.0x, 3.3%) -- tinycc -- tinycc valgrind-new:0.16s no: 1.4s ( 8.5x, -----) me: 8.6s (53.5x, -----) ca:10.6s (66.4x, -----) he: 9.7s (60.6x, -----) ca: 7.5s (46.8x, -----) dr: 7.6s (47.6x, -----) ma: 2.5s (15.4x, -----) tinycc valgrind-old:0.16s no: 1.3s ( 8.4x, 1.5%) me: 8.7s (54.2x, -1.3%) ca:10.6s (66.4x, -0.0%) he: 9.8s (60.9x, -0.6%) ca: 7.5s (47.2x, -0.9%) dr: 7.6s (47.4x, 0.3%) ma: 2.4s (14.9x, 2.8%) -- Finished tests in perf ---------------------------------------------- == 11 programs, 154 timings ================= real 34m52.198s user 33m54.373s sys 0m24.009s |
|
From: Tom H. <to...@co...> - 2014-09-15 02:48:08
|
valgrind revision: 14537 VEX revision: 2951 C compiler: gcc (GCC) 4.8.3 20140624 (Red Hat 4.8.3-1) 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.15.3-200.fc20.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 2014-09-15 02:31:42 BST Ended at 2014-09-15 03:47:53 BST 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 == 696 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.6s (14.9x, -----) me: 3.4s (30.7x, -----) ca:13.2s (120.3x, -----) he: 2.0s (18.5x, -----) ca: 4.2s (38.3x, -----) dr: 2.0s (18.5x, -----) ma: 1.9s (17.5x, -----) bigcode1 valgrind-old:0.11s no: 1.6s (14.8x, 0.6%) me: 3.4s (31.2x, -1.5%) ca:13.3s (121.0x, -0.6%) he: 2.1s (18.8x, -1.5%) ca: 4.3s (38.9x, -1.7%) dr: 2.0s (18.5x, 0.5%) ma: 1.9s (17.5x, -0.5%) -- bigcode2 -- bigcode2 valgrind-new:0.11s no: 3.8s (34.5x, -----) me: 8.4s (76.4x, -----) ca:26.1s (237.2x, -----) he: 4.9s (44.3x, -----) ca: 7.4s (67.1x, -----) dr: 4.6s (41.9x, -----) ma: 4.5s (40.5x, -----) bigcode2 valgrind-old:0.11s no: 3.8s (34.6x, -0.3%) me: 8.4s (76.3x, 0.1%) ca:26.4s (240.0x, -1.2%) he: 4.8s (44.1x, 0.4%) ca: 7.4s (67.4x, -0.4%) dr: 4.7s (43.0x, -2.6%) ma: 4.5s (40.6x, -0.2%) -- bz2 -- bz2 valgrind-new:0.49s no: 2.1s ( 4.2x, -----) me: 6.3s (12.8x, -----) ca:13.2s (26.9x, -----) he: 9.5s (19.5x, -----) ca:12.3s (25.1x, -----) dr:11.1s (22.6x, -----) ma: 2.1s ( 4.2x, -----) bz2 valgrind-old:0.49s no: 2.1s ( 4.2x, -0.5%) me: 6.3s (12.9x, -0.3%) ca:13.2s (26.9x, 0.0%) he: 9.6s (19.6x, -0.5%) ca:12.2s (24.8x, 1.0%) dr:10.9s (22.3x, 1.2%) ma: 2.1s ( 4.2x, 0.0%) -- fbench -- fbench valgrind-new:0.22s no: 1.0s ( 4.7x, -----) me: 3.5s (15.9x, -----) ca: 5.5s (25.0x, -----) he: 2.8s (12.6x, -----) ca: 3.3s (15.0x, -----) dr: 2.7s (12.4x, -----) ma: 1.1s ( 4.8x, -----) fbench valgrind-old:0.22s no: 1.0s ( 4.7x, 1.0%) me: 3.5s (15.9x, 0.3%) ca: 5.5s (24.8x, 0.5%) he: 2.8s (12.6x, 0.0%) ca: 3.3s (15.0x, 0.0%) dr: 2.5s (11.5x, 7.0%) ma: 1.1s ( 4.8x, 0.0%) -- ffbench -- ffbench valgrind-new:0.24s no: 1.0s ( 4.0x, -----) me: 3.0s (12.7x, -----) ca: 1.9s ( 7.9x, -----) he: 6.7s (28.0x, -----) ca: 5.2s (21.8x, -----) dr: 3.4s (14.2x, -----) ma: 0.9s ( 3.8x, -----) ffbench valgrind-old:0.24s no: 0.9s ( 3.9x, 3.1%) me: 3.0s (12.5x, 1.3%) ca: 1.9s ( 7.9x, -0.5%) he: 6.2s (25.7x, 8.0%) ca: 4.7s (19.6x, 9.9%) dr: 3.4s (14.1x, 0.6%) ma: 0.9s ( 3.8x, 0.0%) -- heap -- heap valgrind-new:0.08s no: 0.6s ( 8.0x, -----) me: 5.3s (65.8x, -----) ca: 6.1s (75.8x, -----) he: 7.1s (89.1x, -----) ca: 3.6s (45.6x, -----) dr: 4.4s (55.1x, -----) ma: 4.9s (61.4x, -----) heap valgrind-old:0.08s no: 0.6s ( 8.0x, 0.0%) me: 5.2s (65.4x, 0.6%) ca: 6.2s (77.8x, -2.6%) he: 7.1s (89.2x, -0.1%) ca: 3.6s (45.6x, 0.0%) dr: 4.5s (56.2x, -2.0%) ma: 4.9s (61.1x, 0.4%) -- heap_pdb4 -- heap_pdb4 valgrind-new:0.10s no: 0.7s ( 7.1x, -----) me: 9.2s (91.6x, -----) ca: 6.8s (67.6x, -----) he: 7.9s (78.7x, -----) ca: 4.0s (40.0x, -----) dr: 5.0s (49.8x, -----) ma: 5.4s (53.8x, -----) heap_pdb4 valgrind-old:0.10s no: 0.7s ( 7.0x, 1.4%) me: 8.9s (89.1x, 2.7%) ca: 6.8s (68.2x, -0.9%) he: 8.2s (81.6x, -3.7%) ca: 4.0s (40.2x, -0.5%) dr: 5.1s (50.7x, -1.8%) ma: 5.3s (53.2x, 1.1%) -- many-loss-records -- many-loss-records valgrind-new:0.01s no: 0.3s (26.0x, -----) me: 1.4s (143.0x, -----) ca: 1.0s (100.0x, -----) he: 1.3s (129.0x, -----) ca: 0.7s (71.0x, -----) dr: 1.1s (113.0x, -----) ma: 1.1s (106.0x, -----) many-loss-records valgrind-old:0.01s no: 0.3s (26.0x, 0.0%) me: 1.5s (146.0x, -2.1%) ca: 1.0s (99.0x, 1.0%) he: 1.3s (128.0x, 0.8%) ca: 0.7s (71.0x, 0.0%) dr: 1.1s (115.0x, -1.8%) ma: 1.1s (106.0x, 0.0%) -- many-xpts -- many-xpts valgrind-new:0.03s no: 0.3s (11.0x, -----) me: 1.7s (56.0x, -----) ca: 2.6s (85.3x, -----) he: 2.3s (76.7x, -----) ca: 1.0s (33.3x, -----) dr: 1.6s (54.7x, -----) ma: 1.6s (52.7x, -----) many-xpts valgrind-old:0.03s no: 0.3s (10.3x, 6.1%) me: 1.7s (55.3x, 1.2%) ca: 2.6s (85.7x, -0.4%) he: 2.3s (76.3x, 0.4%) ca: 1.0s (33.7x, -1.0%) dr: 1.7s (55.3x, -1.2%) ma: 1.6s (52.3x, 0.6%) -- sarp -- sarp valgrind-new:0.02s no: 0.3s (14.5x, -----) me: 2.3s (117.0x, -----) ca: 1.7s (85.5x, -----) he: 6.3s (317.0x, -----) ca: 1.0s (50.5x, -----) dr: 1.1s (55.5x, -----) ma: 0.3s (15.5x, -----) sarp valgrind-old:0.02s no: 0.3s (14.5x, 0.0%) me: 2.3s (117.0x, 0.0%) ca: 1.7s (87.0x, -1.8%) he: 6.3s (314.0x, 0.9%) ca: 1.0s (50.5x, 0.0%) dr: 1.1s (56.0x, -0.9%) ma: 0.3s (15.0x, 3.2%) -- tinycc -- tinycc valgrind-new:0.16s no: 1.4s ( 8.6x, -----) me: 7.8s (48.8x, -----) ca:10.8s (67.2x, -----) he:10.1s (62.9x, -----) ca: 8.3s (51.9x, -----) dr: 8.1s (50.6x, -----) ma: 2.4s (15.1x, -----) tinycc valgrind-old:0.16s no: 1.4s ( 8.6x, -0.7%) me: 7.9s (49.6x, -1.7%) ca:10.8s (67.4x, -0.4%) he:10.1s (62.8x, 0.2%) ca: 8.2s (51.5x, 0.8%) dr: 8.0s (49.8x, 1.5%) ma: 2.4s (15.0x, 0.4%) -- Finished tests in perf ---------------------------------------------- == 11 programs, 154 timings ================= real 35m32.337s user 34m26.445s sys 0m25.013s |
|
From: Tom H. <to...@co...> - 2014-09-15 02:37:32
|
valgrind revision: 14537 VEX revision: 2951 C compiler: gcc (GCC) 4.8.3 20140624 (Red Hat 4.8.3-1) GDB: GNU gdb (GDB) Fedora 7.7.1-18.fc20 Assembler: GNU assembler version 2.23.2 C library: GNU C Library (GNU libc) stable release version 2.18 uname -mrs: Linux 3.15.3-200.fc20.x86_64 x86_64 Vendor version: Fedora 20 (Heisenbug) Nightly build on bristol ( x86_64, Fedora 20 ) Started at 2014-09-15 02:21:40 BST Ended at 2014-09-15 03:37:19 BST 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 == 696 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.6s (14.5x, -----) me: 3.3s (30.1x, -----) ca:13.2s (119.9x, -----) he: 2.0s (18.6x, -----) ca: 4.2s (37.7x, -----) dr: 2.0s (18.5x, -----) ma: 1.9s (17.5x, -----) bigcode1 valgrind-old:0.11s no: 1.6s (14.6x, -0.6%) me: 3.3s (30.2x, -0.3%) ca:13.2s (120.0x, -0.1%) he: 2.1s (18.7x, -0.5%) ca: 4.2s (37.9x, -0.5%) dr: 2.0s (18.2x, 1.5%) ma: 1.9s (17.4x, 0.5%) -- bigcode2 -- bigcode2 valgrind-new:0.11s no: 3.8s (34.5x, -----) me: 8.4s (76.5x, -----) ca:26.2s (238.4x, -----) he: 4.9s (44.4x, -----) ca: 7.3s (66.7x, -----) dr: 4.6s (42.1x, -----) ma: 4.5s (40.5x, -----) bigcode2 valgrind-old:0.11s no: 3.8s (34.9x, -1.1%) me: 8.3s (75.9x, 0.8%) ca:25.5s (232.2x, 2.6%) he: 4.9s (44.4x, 0.0%) ca: 7.3s (66.5x, 0.3%) dr: 4.5s (41.4x, 1.7%) ma: 4.4s (39.7x, 1.8%) -- bz2 -- bz2 valgrind-new:0.51s no: 2.0s ( 4.0x, -----) me: 6.6s (12.9x, -----) ca:13.6s (26.7x, -----) he: 9.6s (18.7x, -----) ca:12.2s (23.8x, -----) dr:10.9s (21.3x, -----) ma: 2.1s ( 4.1x, -----) bz2 valgrind-old:0.51s no: 2.1s ( 4.1x, -1.0%) me: 6.3s (12.3x, 4.4%) ca:13.6s (26.6x, 0.3%) he: 9.4s (18.5x, 1.6%) ca:12.2s (24.0x, -0.8%) dr:10.7s (21.0x, 1.5%) ma: 2.1s ( 4.2x, -1.9%) -- fbench -- fbench valgrind-new:0.22s no: 1.0s ( 4.5x, -----) me: 3.5s (15.8x, -----) ca: 5.5s (25.2x, -----) he: 2.7s (12.2x, -----) ca: 3.3s (15.1x, -----) dr: 2.5s (11.6x, -----) ma: 1.1s ( 4.9x, -----) fbench valgrind-old:0.22s no: 1.1s ( 4.8x, -5.0%) me: 3.5s (16.0x, -1.1%) ca: 5.6s (25.3x, -0.5%) he: 2.6s (12.0x, 1.9%) ca: 3.3s (15.0x, 0.9%) dr: 2.5s (11.5x, 0.4%) ma: 1.1s ( 4.8x, 1.9%) -- ffbench -- ffbench valgrind-new:0.23s no: 0.9s ( 4.1x, -----) me: 3.0s (13.0x, -----) ca: 1.9s ( 8.2x, -----) he: 6.2s (27.2x, -----) ca: 5.1s (22.0x, -----) dr: 3.5s (15.2x, -----) ma: 1.0s ( 4.2x, -----) ffbench valgrind-old:0.23s no: 1.0s ( 4.2x, -1.1%) me: 3.0s (13.2x, -1.0%) ca: 1.9s ( 8.1x, 1.1%) he: 7.0s (30.2x,-11.2%) ca: 5.0s (21.7x, 1.4%) dr: 3.4s (14.7x, 3.4%) ma: 0.9s ( 3.9x, 6.2%) -- heap -- heap valgrind-new:0.08s no: 0.6s ( 8.0x, -----) me: 5.3s (65.8x, -----) ca: 6.2s (77.5x, -----) he: 7.0s (87.9x, -----) ca: 3.6s (45.1x, -----) dr: 4.8s (60.4x, -----) ma: 5.0s (62.9x, -----) heap valgrind-old:0.08s no: 0.6s ( 8.0x, 0.0%) me: 5.1s (63.9x, 2.9%) ca: 6.2s (77.5x, 0.0%) he: 6.9s (86.7x, 1.3%) ca: 3.6s (45.4x, -0.6%) dr: 5.0s (61.9x, -2.5%) ma: 5.0s (63.1x, -0.4%) -- heap_pdb4 -- heap_pdb4 valgrind-new:0.11s no: 0.7s ( 6.5x, -----) me: 9.1s (82.8x, -----) ca: 6.7s (61.3x, -----) he: 8.1s (73.5x, -----) ca: 4.1s (36.9x, -----) dr: 5.3s (48.2x, -----) ma: 5.1s (46.5x, -----) heap_pdb4 valgrind-old:0.11s no: 0.7s ( 6.5x, 0.0%) me: 9.1s (82.6x, 0.2%) ca: 6.8s (62.3x, -1.6%) he: 8.0s (73.0x, 0.6%) ca: 4.0s (36.7x, 0.5%) dr: 5.3s (48.4x, -0.4%) ma: 5.1s (46.3x, 0.6%) -- many-loss-records -- many-loss-records valgrind-new:0.01s no: 0.2s (25.0x, -----) me: 1.4s (143.0x, -----) ca: 1.0s (99.0x, -----) he: 1.3s (130.0x, -----) ca: 0.7s (71.0x, -----) dr: 1.2s (119.0x, -----) ma: 1.0s (104.0x, -----) many-loss-records valgrind-old:0.01s no: 0.3s (26.0x, -4.0%) me: 1.4s (143.0x, 0.0%) ca: 1.0s (100.0x, -1.0%) he: 1.3s (130.0x, 0.0%) ca: 0.7s (70.0x, 1.4%) dr: 1.2s (120.0x, -0.8%) ma: 1.0s (104.0x, 0.0%) -- many-xpts -- many-xpts valgrind-new:0.03s no: 0.3s (10.7x, -----) me: 1.7s (55.3x, -----) ca: 2.5s (85.0x, -----) he: 2.3s (75.3x, -----) ca: 1.0s (33.0x, -----) dr: 1.6s (52.3x, -----) ma: 1.6s (51.7x, -----) many-xpts valgrind-old:0.03s no: 0.3s (10.7x, 0.0%) me: 1.7s (57.0x, -3.0%) ca: 2.7s (90.7x, -6.7%) he: 2.4s (79.7x, -5.8%) ca: 1.1s (36.3x,-10.1%) dr: 1.7s (56.3x, -7.6%) ma: 1.6s (53.3x, -3.2%) -- sarp -- sarp valgrind-new:0.02s no: 0.3s (14.5x, -----) me: 2.4s (117.5x, -----) ca: 1.7s (85.0x, -----) he: 6.2s (307.5x, -----) ca: 1.0s (51.5x, -----) dr: 1.1s (54.0x, -----) ma: 0.3s (15.0x, -----) sarp valgrind-old:0.02s no: 0.3s (14.5x, 0.0%) me: 2.4s (118.5x, -0.9%) ca: 1.7s (85.0x, 0.0%) he: 6.1s (304.5x, 1.0%) ca: 1.0s (50.5x, 1.9%) dr: 1.1s (53.5x, 0.9%) ma: 0.3s (14.5x, 3.3%) -- tinycc -- tinycc valgrind-new:0.16s no: 1.4s ( 8.7x, -----) me: 7.9s (49.3x, -----) ca:10.8s (67.7x, -----) he:10.0s (62.3x, -----) ca: 8.1s (50.7x, -----) dr: 7.9s (49.6x, -----) ma: 2.5s (15.4x, -----) tinycc valgrind-old:0.16s no: 1.4s ( 8.5x, 2.2%) me: 8.0s (50.2x, -1.9%) ca:10.8s (67.3x, 0.6%) he:10.3s (64.7x, -3.8%) ca: 8.0s (49.9x, 1.5%) dr: 8.1s (50.4x, -1.5%) ma: 2.5s (15.4x, -0.4%) -- Finished tests in perf ---------------------------------------------- == 11 programs, 154 timings ================= real 35m49.607s user 34m37.323s sys 0m25.508s |