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
(9) |
|
2
(5) |
3
(8) |
4
(9) |
5
(9) |
6
(8) |
7
(4) |
8
(18) |
|
9
(9) |
10
(15) |
11
(4) |
12
(9) |
13
(9) |
14
(5) |
15
(4) |
|
16
(7) |
17
(15) |
18
(7) |
19
(13) |
20
(10) |
21
(10) |
22
(8) |
|
23
(4) |
24
(4) |
25
(6) |
26
(6) |
27
(5) |
28
(4) |
29
(4) |
|
30
(4) |
|
|
|
|
|
|
|
From: <sv...@va...> - 2008-11-08 20:36:40
|
Author: sewardj
Date: 2008-11-08 20:36:26 +0000 (Sat, 08 Nov 2008)
New Revision: 8749
Log:
A bit of tidying up:
* get rid of 'struct _EC' (a.k.a 'struct EC_') and use ExeContext
everywhere
* remove stacktrace_to_EC and call
VG_(make_ExeContext_from_StackTrace) directly
* comment out some unused code
Modified:
trunk/helgrind/hg_main.c
trunk/helgrind/libhb.h
trunk/helgrind/libhb_core.c
Modified: trunk/helgrind/hg_main.c
===================================================================
--- trunk/helgrind/hg_main.c 2008-11-08 15:26:53 UTC (rev 8748)
+++ trunk/helgrind/hg_main.c 2008-11-08 20:36:26 UTC (rev 8749)
@@ -356,7 +356,7 @@
/*--- Print out the primary data structures ---*/
/*----------------------------------------------------------------*/
-static WordSetID del_BHL ( WordSetID lockset ); /* fwds */
+//static WordSetID del_BHL ( WordSetID lockset ); /* fwds */
#define PP_THREADS (1<<1)
#define PP_LOCKS (1<<2)
@@ -909,132 +909,132 @@
/*--- the core memory state machine (msm__* functions) ---*/
/*----------------------------------------------------------------*/
-static WordSetID add_BHL ( WordSetID lockset ) {
- return HG_(addToWS)( univ_lsets, lockset, (Word)__bus_lock_Lock );
-}
-static WordSetID del_BHL ( WordSetID lockset ) {
- return HG_(delFromWS)( univ_lsets, lockset, (Word)__bus_lock_Lock );
-}
+//static WordSetID add_BHL ( WordSetID lockset ) {
+// return HG_(addToWS)( univ_lsets, lockset, (Word)__bus_lock_Lock );
+//}
+//static WordSetID del_BHL ( WordSetID lockset ) {
+// return HG_(delFromWS)( univ_lsets, lockset, (Word)__bus_lock_Lock );
+//}
-/* Last-lock-lossage records. This mechanism exists to help explain
- to programmers why we are complaining about a race. The idea is to
- monitor all lockset transitions. When a previously nonempty
- lockset becomes empty, the lock(s) that just disappeared (the
- "lossage") are the locks that have consistently protected the
- location (ga_of_access) in question for the longest time. Most of
- the time the lossage-set is a single lock. Because the
- lossage-lock is the one that has survived longest, there is there
- is a good chance that it is indeed the lock that the programmer
- intended to use to protect the location.
+///* Last-lock-lossage records. This mechanism exists to help explain
+// to programmers why we are complaining about a race. The idea is to
+// monitor all lockset transitions. When a previously nonempty
+// lockset becomes empty, the lock(s) that just disappeared (the
+// "lossage") are the locks that have consistently protected the
+// location (ga_of_access) in question for the longest time. Most of
+// the time the lossage-set is a single lock. Because the
+// lossage-lock is the one that has survived longest, there is there
+// is a good chance that it is indeed the lock that the programmer
+// intended to use to protect the location.
+//
+// Note that we cannot in general just look at the lossage set when we
+// see a transition to ShM(...,empty-set), because a transition to an
+// empty lockset can happen arbitrarily far before the point where we
+// want to report an error. This is in the case where there are many
+// transitions ShR -> ShR, all with an empty lockset, and only later
+// is there a transition to ShM. So what we want to do is note the
+// lossage lock at the point where a ShR -> ShR transition empties out
+// the lockset, so we can present it later if there should be a
+// transition to ShM.
+//
+// So this function finds such transitions. For each, it associates
+// in ga_to_lastlock, the guest address and the lossage lock. In fact
+// we do not record the Lock* directly as that may disappear later,
+// but instead the ExeContext inside the Lock which says where it was
+// initialised or first locked. ExeContexts are permanent so keeping
+// them indefinitely is safe.
+//
+// A boring detail: the hardware bus lock is not interesting in this
+// respect, so we first remove that from the pre/post locksets.
+//*/
+//
+//static UWord stats__ga_LL_adds = 0;
+//
+//static WordFM* ga_to_lastlock = NULL; /* GuestAddr -> ExeContext* */
+//
+//static
+//void record_last_lock_lossage ( Addr ga_of_access,
+// WordSetID lset_old, WordSetID lset_new )
+//{
+// Lock* lk;
+// Int card_old, card_new;
+//
+// tl_assert(lset_old != lset_new);
+//
+// if (0) VG_(printf)("XX1: %d (card %ld) -> %d (card %ld) %#lx\n",
+// (Int)lset_old,
+// HG_(cardinalityWS)(univ_lsets,lset_old),
+// (Int)lset_new,
+// HG_(cardinalityWS)(univ_lsets,lset_new),
+// ga_of_access );
+//
+// /* This is slow, but at least it's simple. The bus hardware lock
+// just confuses the logic, so remove it from the locksets we're
+// considering before doing anything else. */
+// lset_new = del_BHL( lset_new );
+//
+// if (!HG_(isEmptyWS)( univ_lsets, lset_new )) {
+// /* The post-transition lock set is not empty. So we are not
+// interested. We're only interested in spotting transitions
+// that make locksets become empty. */
+// return;
+// }
+//
+// /* lset_new is now empty */
+// card_new = HG_(cardinalityWS)( univ_lsets, lset_new );
+// tl_assert(card_new == 0);
+//
+// lset_old = del_BHL( lset_old );
+// card_old = HG_(cardinalityWS)( univ_lsets, lset_old );
+//
+// if (0) VG_(printf)(" X2: %d (card %d) -> %d (card %d)\n",
+// (Int)lset_old, card_old, (Int)lset_new, card_new );
+//
+// if (card_old == 0) {
+// /* The old lockset was also empty. Not interesting. */
+// return;
+// }
+//
+// tl_assert(card_old > 0);
+// tl_assert(!HG_(isEmptyWS)( univ_lsets, lset_old ));
+//
+// /* Now we know we've got a transition from a nonempty lockset to an
+// empty one. So lset_old must be the set of locks lost. Record
+// some details. If there is more than one element in the lossage
+// set, just choose one arbitrarily -- not the best, but at least
+// it's simple. */
+//
+// lk = (Lock*)HG_(anyElementOfWS)( univ_lsets, lset_old );
+// if (0) VG_(printf)("lossage %ld %p\n",
+// HG_(cardinalityWS)( univ_lsets, lset_old), lk );
+// if (lk->appeared_at) {
+// if (ga_to_lastlock == NULL)
+// ga_to_lastlock = VG_(newFM)( HG_(zalloc), "hg.rlll.1", HG_(free), NULL );
+// VG_(addToFM)( ga_to_lastlock, ga_of_access, (Word)lk->appeared_at );
+// stats__ga_LL_adds++;
+// }
+//}
+//
+///* This queries the table (ga_to_lastlock) made by
+// record_last_lock_lossage, when constructing error messages. It
+// attempts to find the ExeContext of the allocation or initialisation
+// point for the lossage lock associated with 'ga'. */
+//
+//static ExeContext* maybe_get_lastlock_initpoint ( Addr ga )
+//{
+// ExeContext* ec_hint = NULL;
+// if (ga_to_lastlock != NULL
+// && VG_(lookupFM)(ga_to_lastlock,
+// NULL, (Word*)&ec_hint, ga)) {
+// tl_assert(ec_hint != NULL);
+// return ec_hint;
+// } else {
+// return NULL;
+// }
+//}
- Note that we cannot in general just look at the lossage set when we
- see a transition to ShM(...,empty-set), because a transition to an
- empty lockset can happen arbitrarily far before the point where we
- want to report an error. This is in the case where there are many
- transitions ShR -> ShR, all with an empty lockset, and only later
- is there a transition to ShM. So what we want to do is note the
- lossage lock at the point where a ShR -> ShR transition empties out
- the lockset, so we can present it later if there should be a
- transition to ShM.
- So this function finds such transitions. For each, it associates
- in ga_to_lastlock, the guest address and the lossage lock. In fact
- we do not record the Lock* directly as that may disappear later,
- but instead the ExeContext inside the Lock which says where it was
- initialised or first locked. ExeContexts are permanent so keeping
- them indefinitely is safe.
-
- A boring detail: the hardware bus lock is not interesting in this
- respect, so we first remove that from the pre/post locksets.
-*/
-
-static UWord stats__ga_LL_adds = 0;
-
-static WordFM* ga_to_lastlock = NULL; /* GuestAddr -> ExeContext* */
-
-static
-void record_last_lock_lossage ( Addr ga_of_access,
- WordSetID lset_old, WordSetID lset_new )
-{
- Lock* lk;
- Int card_old, card_new;
-
- tl_assert(lset_old != lset_new);
-
- if (0) VG_(printf)("XX1: %d (card %ld) -> %d (card %ld) %#lx\n",
- (Int)lset_old,
- HG_(cardinalityWS)(univ_lsets,lset_old),
- (Int)lset_new,
- HG_(cardinalityWS)(univ_lsets,lset_new),
- ga_of_access );
-
- /* This is slow, but at least it's simple. The bus hardware lock
- just confuses the logic, so remove it from the locksets we're
- considering before doing anything else. */
- lset_new = del_BHL( lset_new );
-
- if (!HG_(isEmptyWS)( univ_lsets, lset_new )) {
- /* The post-transition lock set is not empty. So we are not
- interested. We're only interested in spotting transitions
- that make locksets become empty. */
- return;
- }
-
- /* lset_new is now empty */
- card_new = HG_(cardinalityWS)( univ_lsets, lset_new );
- tl_assert(card_new == 0);
-
- lset_old = del_BHL( lset_old );
- card_old = HG_(cardinalityWS)( univ_lsets, lset_old );
-
- if (0) VG_(printf)(" X2: %d (card %d) -> %d (card %d)\n",
- (Int)lset_old, card_old, (Int)lset_new, card_new );
-
- if (card_old == 0) {
- /* The old lockset was also empty. Not interesting. */
- return;
- }
-
- tl_assert(card_old > 0);
- tl_assert(!HG_(isEmptyWS)( univ_lsets, lset_old ));
-
- /* Now we know we've got a transition from a nonempty lockset to an
- empty one. So lset_old must be the set of locks lost. Record
- some details. If there is more than one element in the lossage
- set, just choose one arbitrarily -- not the best, but at least
- it's simple. */
-
- lk = (Lock*)HG_(anyElementOfWS)( univ_lsets, lset_old );
- if (0) VG_(printf)("lossage %ld %p\n",
- HG_(cardinalityWS)( univ_lsets, lset_old), lk );
- if (lk->appeared_at) {
- if (ga_to_lastlock == NULL)
- ga_to_lastlock = VG_(newFM)( HG_(zalloc), "hg.rlll.1", HG_(free), NULL );
- VG_(addToFM)( ga_to_lastlock, ga_of_access, (Word)lk->appeared_at );
- stats__ga_LL_adds++;
- }
-}
-
-/* This queries the table (ga_to_lastlock) made by
- record_last_lock_lossage, when constructing error messages. It
- attempts to find the ExeContext of the allocation or initialisation
- point for the lossage lock associated with 'ga'. */
-
-static ExeContext* maybe_get_lastlock_initpoint ( Addr ga )
-{
- ExeContext* ec_hint = NULL;
- if (ga_to_lastlock != NULL
- && VG_(lookupFM)(ga_to_lastlock,
- NULL, (Word*)&ec_hint, ga)) {
- tl_assert(ec_hint != NULL);
- return ec_hint;
- } else {
- return NULL;
- }
-}
-
-
/*----------------------------------------------------------------*/
/*--- Shadow value and address range handlers ---*/
/*----------------------------------------------------------------*/
@@ -1797,20 +1797,20 @@
LIBHB_WRITE_N(hbthr, a, size);
}
-static void evh__bus_lock(void) {
- Thread* thr;
- if (0) VG_(printf)("evh__bus_lock()\n");
- thr = get_current_Thread();
- tl_assert(thr); /* cannot fail - Thread* must already exist */
- evhH__post_thread_w_acquires_lock( thr, LK_nonRec, (Addr)&__bus_lock );
-}
-static void evh__bus_unlock(void) {
- Thread* thr;
- if (0) VG_(printf)("evh__bus_unlock()\n");
- thr = get_current_Thread();
- tl_assert(thr); /* cannot fail - Thread* must already exist */
- evhH__pre_thread_releases_lock( thr, (Addr)&__bus_lock, False/*!isRDWR*/ );
-}
+//static void evh__bus_lock(void) {
+// Thread* thr;
+// if (0) VG_(printf)("evh__bus_lock()\n");
+// thr = get_current_Thread();
+// tl_assert(thr); /* cannot fail - Thread* must already exist */
+// evhH__post_thread_w_acquires_lock( thr, LK_nonRec, (Addr)&__bus_lock );
+//}
+//static void evh__bus_unlock(void) {
+// Thread* thr;
+// if (0) VG_(printf)("evh__bus_unlock()\n");
+// thr = get_current_Thread();
+// tl_assert(thr); /* cannot fail - Thread* must already exist */
+// evhH__pre_thread_releases_lock( thr, (Addr)&__bus_lock, False/*!isRDWR*/ );
+//}
/* -------------- events to do with mutexes -------------- */
@@ -3277,38 +3277,38 @@
}
-static void instrument_memory_bus_event ( IRSB* bbOut, IRMBusEvent event )
-{
- switch (event) {
- case Imbe_SnoopedStoreBegin:
- case Imbe_SnoopedStoreEnd:
- /* These arise from ppc stwcx. insns. They should perhaps be
- handled better. */
- break;
- case Imbe_Fence:
- break; /* not interesting */
- case Imbe_BusLock:
- case Imbe_BusUnlock:
- addStmtToIRSB(
- bbOut,
- IRStmt_Dirty(
- unsafeIRDirty_0_N(
- 0/*regparms*/,
- event == Imbe_BusLock ? "evh__bus_lock"
- : "evh__bus_unlock",
- VG_(fnptr_to_fnentry)(
- event == Imbe_BusLock ? &evh__bus_lock
- : &evh__bus_unlock
- ),
- mkIRExprVec_0()
- )
- )
- );
- break;
- default:
- tl_assert(0);
- }
-}
+//static void instrument_memory_bus_event ( IRSB* bbOut, IRMBusEvent event )
+//{
+// switch (event) {
+// case Imbe_SnoopedStoreBegin:
+// case Imbe_SnoopedStoreEnd:
+// /* These arise from ppc stwcx. insns. They should perhaps be
+// handled better. */
+// break;
+// case Imbe_Fence:
+// break; /* not interesting */
+// case Imbe_BusLock:
+// case Imbe_BusUnlock:
+// addStmtToIRSB(
+// bbOut,
+// IRStmt_Dirty(
+// unsafeIRDirty_0_N(
+// 0/*regparms*/,
+// event == Imbe_BusLock ? "evh__bus_lock"
+// : "evh__bus_unlock",
+// VG_(fnptr_to_fnentry)(
+// event == Imbe_BusLock ? &evh__bus_lock
+// : &evh__bus_unlock
+// ),
+// mkIRExprVec_0()
+// )
+// )
+// );
+// break;
+// default:
+// tl_assert(0);
+// }
+//}
static
@@ -3799,9 +3799,9 @@
VG_(printf)(" univ_laog: %'8d unique lock sets\n",
(Int)HG_(cardinalityWSU)( univ_laog ));
- VG_(printf)("L(ast)L(ock) map: %'8lu inserts (%d map size)\n",
- stats__ga_LL_adds,
- (Int)(ga_to_lastlock ? VG_(sizeFM)( ga_to_lastlock ) : 0) );
+ //VG_(printf)("L(ast)L(ock) map: %'8lu inserts (%d map size)\n",
+ // stats__ga_LL_adds,
+ // (Int)(ga_to_lastlock ? VG_(sizeFM)( ga_to_lastlock ) : 0) );
VG_(printf)(" LockN-to-P map: %'8llu queries (%llu map size)\n",
HG_(stats__LockN_to_P_queries),
@@ -3846,14 +3846,8 @@
}
static
-struct EC_* for_libhb__stacktrace_to_EC ( Addr* frames, UWord nFrames )
+ExeContext* for_libhb__get_EC ( Thr* hbt )
{
- return VG_(make_ExeContext_from_StackTrace)( frames, (UInt)nFrames );
-}
-
-static
-struct EC_* for_libhb__get_EC ( Thr* hbt )
-{
Thread* thr;
ThreadId tid;
ExeContext* ec;
@@ -3862,7 +3856,7 @@
tl_assert(thr);
tid = map_threads_maybe_reverse_lookup_SLOW(thr);
ec = VG_(record_ExeContext)( tid, 0 );
- return (struct EC_*) ec;
+ return ec;
}
@@ -3948,7 +3942,6 @@
/////////////////////////////////////////////
hbthr_root = libhb_init( for_libhb__get_stacktrace,
- for_libhb__stacktrace_to_EC,
for_libhb__get_EC );
/////////////////////////////////////////////
Modified: trunk/helgrind/libhb.h
===================================================================
--- trunk/helgrind/libhb.h 2008-11-08 15:26:53 UTC (rev 8748)
+++ trunk/helgrind/libhb.h 2008-11-08 20:36:26 UTC (rev 8749)
@@ -39,17 +39,12 @@
/* Abstract to user: synchronisation objects */
/* typedef struct _SO SO; */ /* now in hg_lock_n_thread.h */
-/* Abstract to the lib: execution contexts */
-/* struct _EC will be defined by user at some point. */
-typedef struct _EC EC;
-
/* Initialise library; returns Thr* for root thread. 'shadow_alloc'
should never return NULL, instead it should simply not return if
they encounter an out-of-memory condition. */
Thr* libhb_init (
void (*get_stacktrace)( Thr*, Addr*, UWord ),
- struct _EC* (*stacktrace_to_EC)( Addr*, UWord ),
- struct _EC* (*get_EC)( Thr* )
+ ExeContext* (*get_EC)( Thr* )
);
/* Shut down the library, and print stats (in fact that's _all_
Modified: trunk/helgrind/libhb_core.c
===================================================================
--- trunk/helgrind/libhb_core.c 2008-11-08 15:26:53 UTC (rev 8748)
+++ trunk/helgrind/libhb_core.c 2008-11-08 20:36:26 UTC (rev 8749)
@@ -55,8 +55,7 @@
Globals needed by other parts of the library. These are set
once at startup and then never changed. */
static void (*main_get_stacktrace)( Thr*, Addr*, UWord ) = NULL;
-static struct _EC* (*main_stacktrace_to_EC)( Addr*, UWord ) = NULL;
-static struct _EC* (*main_get_EC)( Thr* ) = NULL;
+static ExeContext* (*main_get_EC)( Thr* ) = NULL;
/////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////
@@ -2343,16 +2342,16 @@
}
//////////////////////////
-static Bool VtsID__is_valid ( VtsID vi ) {
- VtsTE* ve;
- if (vi >= (VtsID)VG_(sizeXA)( vts_tab ))
- return False;
- ve = VG_(indexXA)( vts_tab, vi );
- if (!ve->vts)
- return False;
- tl_assert(ve->vts->id == vi);
- return True;
-}
+//static Bool VtsID__is_valid ( VtsID vi ) {
+// VtsTE* ve;
+// if (vi >= (VtsID)VG_(sizeXA)( vts_tab ))
+// return False;
+// ve = VG_(indexXA)( vts_tab, vi );
+// if (!ve->vts)
+// return False;
+// tl_assert(ve->vts->id == vi);
+// return True;
+//}
static VTS* VtsID__to_VTS ( VtsID vi ) {
VtsTE* te = VG_(indexXA)( vts_tab, vi );
@@ -2790,14 +2789,6 @@
}
OldRef;
-static Word OldRef__cmp_by_EA ( OldRef* r1, OldRef* r2 ) {
- tl_assert(r1 && r1->magic == OldRef_MAGIC);
- tl_assert(r2 && r2->magic == OldRef_MAGIC);
- if (r1->ea < r2->ea) return -1;
- if (r1->ea > r2->ea) return 1;
- return 0;
-}
-
static OSet* oldrefTree = NULL; /* OSet* of OldRef */
static UWord oldrefGen = 0; /* current LRU generation # */
static UWord oldrefTreeN = 0; /* # elems in oldrefTree */
@@ -2898,7 +2889,7 @@
static
-Bool event_map_lookup ( /*OUT*/struct _EC** resEC,
+Bool event_map_lookup ( /*OUT*/ExeContext** resEC,
/*OUT*/Thr** resThr,
Thr* thr_acc, Addr a )
{
@@ -2931,7 +2922,9 @@
tl_assert(ref->accs[i].rcec);
tl_assert(ref->accs[i].rcec->magic == RCEC_MAGIC);
- *resEC = main_stacktrace_to_EC(&ref->accs[i].rcec->frames[1], N_FRAMES);
+ *resEC = VG_(make_ExeContext_from_StackTrace)(
+ &ref->accs[i].rcec->frames[1], N_FRAMES
+ );
*resThr = ref->accs[i].thr;
return True;
} else {
@@ -3180,8 +3173,8 @@
{
Bool found;
Thr* thrp = NULL;
- struct _EC* where = NULL;
- struct _EC* wherep = NULL;
+ ExeContext* where = NULL;
+ ExeContext* wherep = NULL;
where = main_get_EC( acc_thr );
found = event_map_lookup( &wherep, &thrp, acc_thr, acc_addr );
if (found) {
@@ -4179,17 +4172,14 @@
Thr* libhb_init (
void (*get_stacktrace)( Thr*, Addr*, UWord ),
- struct _EC* (*stacktrace_to_EC)( Addr*, UWord ),
- struct _EC* (*get_EC)( Thr* )
+ ExeContext* (*get_EC)( Thr* )
)
{
Thr* thr;
VtsID vi;
tl_assert(get_stacktrace);
- tl_assert(stacktrace_to_EC);
tl_assert(get_EC);
main_get_stacktrace = get_stacktrace;
- main_stacktrace_to_EC = stacktrace_to_EC;
main_get_EC = get_EC;
// No need to initialise hg_wordfm.
|
|
From: <sv...@va...> - 2008-11-08 15:26:56
|
Author: sewardj
Date: 2008-11-08 15:26:53 +0000 (Sat, 08 Nov 2008)
New Revision: 8748
Log:
Update.
Modified:
trunk/docs/internals/3_3_BUGSTATUS.txt
Modified: trunk/docs/internals/3_3_BUGSTATUS.txt
===================================================================
--- trunk/docs/internals/3_3_BUGSTATUS.txt 2008-11-08 15:22:19 UTC (rev 8747)
+++ trunk/docs/internals/3_3_BUGSTATUS.txt 2008-11-08 15:26:53 UTC (rev 8748)
@@ -67,10 +67,9 @@
Not sure this does have anything to do with fctiwz.
VEX generates code that doesn't run on e500
-159285 WF,HIGH pend unhandled syscall:25
- requested test case
+159285 Fixd 8736 unhandled syscall:25 (stime, on x86-linux)
-159452 MED pend unhandled ioctl 0x8B01 on "valgrind iwconfig"
+159452 Fixd 8734 unhandled ioctl 0x8B01 on "valgrind iwconfig"
w/ plausible-looking patch
159501 MED pend incorrect handling of ALSA ioctls
@@ -88,7 +87,7 @@
160872 MED pend race errors reported where libpthread.so
(might be a problem with pthread_setspecific)
-160954 HIGH pend ppc build of valgrind crashes with illegal instruction
+160954 Fixd 1870,1 ppc build of valgrind crashes with illegal instruction
(isel)
== 161251
@@ -133,12 +132,10 @@
gcc-4.3 -- closed as wontfix
164476 Fixd 8263,6 Missing kernel module loading system calls
-**** But need to move non-generic code to Linux section
164485 MED pend VG_N_SEGNAMES and VG_N_SEGMENTS are (still) too small
-**--P1--**
-164669 HIGH,WF pend SVN regression: mmap() drops posix file locks
+164669 Fixd r8747 SVN regression: mmap() drops posix file locks
165417 LOW pend helgrind/tests/hg05_race2: VG_(get_data_description)()
succeeds on x86 and amd64 but fails on ppc
@@ -149,7 +146,7 @@
strange failures
(I think this should be closed as invalid)
-166355 HIGH pend unshare syscall not supported (amd64, #272)
+166355 HIGH,WF pend unshare syscall not supported (amd64, #272)
166581 Fixd 8704 Callgrind output corruption when program forks
@@ -168,14 +165,14 @@
167676 ??? pend Valgrind loads wrong threading library on Red Hat 9
-167700 HIGH pend vex x86->IR: unhandled instruction bytes: 0xD5 0x36 0x5B
- 0xC3 (aad)
+167700 HIGH,WF pend vex x86->IR: unhandled instruction bytes: 0xD5 0x36 0x5B
+ 0xC3 (aad)
168538 ??? pend Poor detection of stacks for clone can lead to
bad results, w/ patch
Looks plausible
-168943 ??? pend unsupported scas instruction pentium
+168943 Fixd vx1872 unsupported scas instruction pentium
169539 WF pend mremap fails on specific address on 32-bit memcheck
w/ test case
|
|
From: <sv...@va...> - 2008-11-08 15:25:06
|
Author: sewardj
Date: 2008-11-08 15:25:00 +0000 (Sat, 08 Nov 2008)
New Revision: 1872
Log:
Support "repe scas" on amd64. Fixes #168943.
Modified:
trunk/priv/guest-amd64/toIR.c
Modified: trunk/priv/guest-amd64/toIR.c
===================================================================
--- trunk/priv/guest-amd64/toIR.c 2008-11-06 09:22:05 UTC (rev 1871)
+++ trunk/priv/guest-amd64/toIR.c 2008-11-08 15:25:00 UTC (rev 1872)
@@ -14717,6 +14717,18 @@
dres.whatNext = Dis_StopHere;
break;
}
+ /* F3 AE/AF: repe scasb/repe scas{w,l,q} */
+ if (haveASO(pfx))
+ goto decode_failure;
+ if (!haveF2(pfx) && haveF3(pfx)) {
+ if (opc == 0xAE)
+ sz = 1;
+ dis_REP_op ( AMD64CondZ, dis_SCAS, sz,
+ guest_RIP_curr_instr,
+ guest_RIP_bbstart+delta, "repe scas", pfx );
+ dres.whatNext = Dis_StopHere;
+ break;
+ }
/* AE/AF: scasb/scas{w,l,q} */
if (!haveF2(pfx) && !haveF3(pfx)) {
if (opc == 0xAE)
|
|
From: <sv...@va...> - 2008-11-08 15:22:30
|
Author: sewardj Date: 2008-11-08 15:22:19 +0000 (Sat, 08 Nov 2008) New Revision: 8747 Log: When trying to establish whether or not debuginfo should be read from a file, first the mapping permissions _before_ peering at the file's header, rather than afterwards. This changes the logic to behave more like it does in 3.3.x. Fixes #164669, although really it is all still rather fragile. The bug report, http://bugs.kde.org/show_bug.cgi?id=164669, contains a detailed explanation. Modified: trunk/coregrind/m_debuginfo/debuginfo.c Modified: trunk/coregrind/m_debuginfo/debuginfo.c =================================================================== --- trunk/coregrind/m_debuginfo/debuginfo.c 2008-11-08 15:18:53 UTC (rev 8746) +++ trunk/coregrind/m_debuginfo/debuginfo.c 2008-11-08 15:22:19 UTC (rev 8747) @@ -664,38 +664,6 @@ /* no uses of statbuf below here. */ - /* Peer at the first few bytes of the file, to see if it is an ELF */ - /* object file. Ignore the file if we do not have read permission. */ - VG_(memset)(buf1k, 0, sizeof(buf1k)); - fd = VG_(open)( filename, VKI_O_RDONLY, 0 ); - if (fd.isError) { - if (fd.err != VKI_EACCES) - { - DebugInfo fake_di; - VG_(memset)(&fake_di, 0, sizeof(fake_di)); - fake_di.filename = filename; - ML_(symerr)(&fake_di, True, "can't open file to inspect ELF header"); - } - return 0; - } - nread = VG_(read)( fd.res, buf1k, sizeof(buf1k) ); - VG_(close)( fd.res ); - - if (nread == 0) - return 0; - if (nread < 0) { - DebugInfo fake_di; - VG_(memset)(&fake_di, 0, sizeof(fake_di)); - fake_di.filename = filename; - ML_(symerr)(&fake_di, True, "can't read file to inspect ELF header"); - return 0; - } - vg_assert(nread > 0 && nread <= sizeof(buf1k) ); - - /* We're only interested in mappings of ELF object files. */ - if (!ML_(is_elf_object_file)( buf1k, (SizeT)nread )) - return 0; - /* Now we have to guess if this is a text-like mapping, a data-like mapping, neither or both. The rules are: @@ -751,6 +719,38 @@ if (!(is_rx_map || is_rw_map)) return 0; + /* Peer at the first few bytes of the file, to see if it is an ELF */ + /* object file. Ignore the file if we do not have read permission. */ + VG_(memset)(buf1k, 0, sizeof(buf1k)); + fd = VG_(open)( filename, VKI_O_RDONLY, 0 ); + if (fd.isError) { + if (fd.err != VKI_EACCES) + { + DebugInfo fake_di; + VG_(memset)(&fake_di, 0, sizeof(fake_di)); + fake_di.filename = filename; + ML_(symerr)(&fake_di, True, "can't open file to inspect ELF header"); + } + return 0; + } + nread = VG_(read)( fd.res, buf1k, sizeof(buf1k) ); + VG_(close)( fd.res ); + + if (nread == 0) + return 0; + if (nread < 0) { + DebugInfo fake_di; + VG_(memset)(&fake_di, 0, sizeof(fake_di)); + fake_di.filename = filename; + ML_(symerr)(&fake_di, True, "can't read file to inspect ELF header"); + return 0; + } + vg_assert(nread > 0 && nread <= sizeof(buf1k) ); + + /* We're only interested in mappings of ELF object files. */ + if (!ML_(is_elf_object_file)( buf1k, (SizeT)nread )) + return 0; + /* See if we have a DebugInfo for this filename. If not, create one. */ di = find_or_create_DebugInfo_for( filename, NULL/*membername*/ ); |
|
From: <sv...@va...> - 2008-11-08 15:18:59
|
Author: sewardj
Date: 2008-11-08 15:18:53 +0000 (Sat, 08 Nov 2008)
New Revision: 8746
Log:
Update expected output, with a line number that's actually correct.
Modified:
trunk/memcheck/tests/pointer-trace.stderr.exp
Modified: trunk/memcheck/tests/pointer-trace.stderr.exp
===================================================================
--- trunk/memcheck/tests/pointer-trace.stderr.exp 2008-11-08 15:17:50 UTC (rev 8745)
+++ trunk/memcheck/tests/pointer-trace.stderr.exp 2008-11-08 15:18:53 UTC (rev 8746)
@@ -19,12 +19,10 @@
1,048,576 bytes in 1 blocks are definitely lost in loss record 1 of 1
at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (pointer-trace.c:43)
+ by 0x........: main (pointer-trace.c:47)
LEAK SUMMARY:
definitely lost: 1,048,576 bytes in 1 blocks.
possibly lost: 0 bytes in 0 blocks.
still reachable: 0 bytes in 0 blocks.
suppressed: 0 bytes in 0 blocks.
-Reachable blocks (those to which a pointer was found) are not shown.
-To see them, rerun with: --leak-check=full --show-reachable=yes
|
|
From: <sv...@va...> - 2008-11-08 15:18:01
|
Author: sewardj Date: 2008-11-08 15:17:50 +0000 (Sat, 08 Nov 2008) New Revision: 8745 Log: Add a second expected output. It appears that a recent glibcs print one (or a value near it) as "+1.0000e+00" instead of "+1.0000e-00". Or it could be a rounding issue .. I dunno. Added: trunk/memcheck/tests/vcpu_fnfns.stdout.exp-glibc28-amd64 Modified: trunk/memcheck/tests/Makefile.am Modified: trunk/memcheck/tests/Makefile.am =================================================================== --- trunk/memcheck/tests/Makefile.am 2008-11-08 15:15:06 UTC (rev 8744) +++ trunk/memcheck/tests/Makefile.am 2008-11-08 15:17:50 UTC (rev 8745) @@ -160,7 +160,8 @@ varinfo6.stderr.exp-glibc25-amd64 varinfo6.stderr.exp-glibc25-x86 \ vcpu_bz2.stdout.exp vcpu_bz2.stderr.exp vcpu_bz2.vgtest \ vcpu_fbench.stdout.exp vcpu_fbench.stderr.exp vcpu_fbench.vgtest \ - vcpu_fnfns.stdout.exp vcpu_fnfns.stderr.exp vcpu_fnfns.vgtest \ + vcpu_fnfns.stdout.exp vcpu_fnfns.stdout.exp-glibc28-amd64 \ + vcpu_fnfns.stderr.exp vcpu_fnfns.vgtest \ vgtest_ume.stderr.exp vgtest_ume.disabled \ with-space.stderr.exp with-space.stdout.exp with-space.vgtest \ wrap1.vgtest wrap1.stdout.exp wrap1.stderr.exp \ Added: trunk/memcheck/tests/vcpu_fnfns.stdout.exp-glibc28-amd64 =================================================================== --- trunk/memcheck/tests/vcpu_fnfns.stdout.exp-glibc28-amd64 (rev 0) +++ trunk/memcheck/tests/vcpu_fnfns.stdout.exp-glibc28-amd64 2008-11-08 15:17:50 UTC (rev 8745) @@ -0,0 +1,786 @@ +floorD(-2.0000000000000e+00) = -2.0000000000000e+00 +floorD(-1.9000000001000e+00) = -2.0000000000000e+00 +floorD(-1.8000000002000e+00) = -2.0000000000000e+00 +floorD(-1.7000000003000e+00) = -2.0000000000000e+00 +floorD(-1.6000000004000e+00) = -2.0000000000000e+00 +floorD(-1.5000000005000e+00) = -2.0000000000000e+00 +floorD(-1.4000000006000e+00) = -2.0000000000000e+00 +floorD(-1.3000000007000e+00) = -2.0000000000000e+00 +floorD(-1.2000000008000e+00) = -2.0000000000000e+00 +floorD(-1.1000000009000e+00) = -2.0000000000000e+00 +floorD(-1.0000000010000e+00) = -2.0000000000000e+00 +floorD(-9.0000000110000e-01) = -1.0000000000000e+00 +floorD(-8.0000000120000e-01) = -1.0000000000000e+00 +floorD(-7.0000000130000e-01) = -1.0000000000000e+00 +floorD(-6.0000000140000e-01) = -1.0000000000000e+00 +floorD(-5.0000000150000e-01) = -1.0000000000000e+00 +floorD(-4.0000000160000e-01) = -1.0000000000000e+00 +floorD(-3.0000000170000e-01) = -1.0000000000000e+00 +floorD(-2.0000000180000e-01) = -1.0000000000000e+00 +floorD(-1.0000000190000e-01) = -1.0000000000000e+00 +floorD(-1.9999992495467e-09) = -1.0000000000000e+00 +floorD(+9.9999997900001e-02) = +0.0000000000000e+00 +floorD(+1.9999999780000e-01) = +0.0000000000000e+00 +floorD(+2.9999999770000e-01) = +0.0000000000000e+00 +floorD(+3.9999999760000e-01) = +0.0000000000000e+00 +floorD(+4.9999999750000e-01) = +0.0000000000000e+00 +floorD(+5.9999999740000e-01) = +0.0000000000000e+00 +floorD(+6.9999999730000e-01) = +0.0000000000000e+00 +floorD(+7.9999999720000e-01) = +0.0000000000000e+00 +floorD(+8.9999999710000e-01) = +0.0000000000000e+00 +floorD(+9.9999999700000e-01) = +0.0000000000000e+00 +floorD(+1.0999999969000e+00) = +1.0000000000000e+00 +floorD(+1.1999999968000e+00) = +1.0000000000000e+00 +floorD(+1.2999999967000e+00) = +1.0000000000000e+00 +floorD(+1.3999999966000e+00) = +1.0000000000000e+00 +floorD(+1.4999999965000e+00) = +1.0000000000000e+00 +floorD(+1.5999999964000e+00) = +1.0000000000000e+00 +floorD(+1.6999999963000e+00) = +1.0000000000000e+00 +floorD(+1.7999999962000e+00) = +1.0000000000000e+00 +floorD(+1.8999999961000e+00) = +1.0000000000000e+00 +floorD(+1.9999999960000e+00) = +1.0000000000000e+00 +floorF( -2.0000e+00) = -2.0000e+00 +floorF( -1.9001e+00) = -2.0000e+00 +floorF( -1.8002e+00) = -2.0000e+00 +floorF( -1.7003e+00) = -2.0000e+00 +floorF( -1.6004e+00) = -2.0000e+00 +floorF( -1.5005e+00) = -2.0000e+00 +floorF( -1.4006e+00) = -2.0000e+00 +floorF( -1.3007e+00) = -2.0000e+00 +floorF( -1.2008e+00) = -2.0000e+00 +floorF( -1.1009e+00) = -2.0000e+00 +floorF( -1.0010e+00) = -2.0000e+00 +floorF( -9.0110e-01) = -1.0000e+00 +floorF( -8.0120e-01) = -1.0000e+00 +floorF( -7.0130e-01) = -1.0000e+00 +floorF( -6.0140e-01) = -1.0000e+00 +floorF( -5.0150e-01) = -1.0000e+00 +floorF( -4.0160e-01) = -1.0000e+00 +floorF( -3.0170e-01) = -1.0000e+00 +floorF( -2.0180e-01) = -1.0000e+00 +floorF( -1.0190e-01) = -1.0000e+00 +floorF( -1.9999e-03) = -1.0000e+00 +floorF( +9.7900e-02) = +0.0000e+00 +floorF( +1.9780e-01) = +0.0000e+00 +floorF( +2.9770e-01) = +0.0000e+00 +floorF( +3.9760e-01) = +0.0000e+00 +floorF( +4.9750e-01) = +0.0000e+00 +floorF( +5.9740e-01) = +0.0000e+00 +floorF( +6.9730e-01) = +0.0000e+00 +floorF( +7.9720e-01) = +0.0000e+00 +floorF( +8.9710e-01) = +0.0000e+00 +floorF( +9.9700e-01) = +0.0000e+00 +floorF( +1.0969e+00) = +1.0000e+00 +floorF( +1.1968e+00) = +1.0000e+00 +floorF( +1.2967e+00) = +1.0000e+00 +floorF( +1.3966e+00) = +1.0000e+00 +floorF( +1.4965e+00) = +1.0000e+00 +floorF( +1.5964e+00) = +1.0000e+00 +floorF( +1.6963e+00) = +1.0000e+00 +floorF( +1.7962e+00) = +1.0000e+00 +floorF( +1.8961e+00) = +1.0000e+00 +floorF( +1.9960e+00) = +1.0000e+00 + ceilD(-2.0000000000000e+00) = -2.0000000000000e+00 + ceilD(-1.9000000001000e+00) = -1.0000000000000e+00 + ceilD(-1.8000000002000e+00) = -1.0000000000000e+00 + ceilD(-1.7000000003000e+00) = -1.0000000000000e+00 + ceilD(-1.6000000004000e+00) = -1.0000000000000e+00 + ceilD(-1.5000000005000e+00) = -1.0000000000000e+00 + ceilD(-1.4000000006000e+00) = -1.0000000000000e+00 + ceilD(-1.3000000007000e+00) = -1.0000000000000e+00 + ceilD(-1.2000000008000e+00) = -1.0000000000000e+00 + ceilD(-1.1000000009000e+00) = -1.0000000000000e+00 + ceilD(-1.0000000010000e+00) = -1.0000000000000e+00 + ceilD(-9.0000000110000e-01) = -0.0000000000000e+00 + ceilD(-8.0000000120000e-01) = -0.0000000000000e+00 + ceilD(-7.0000000130000e-01) = -0.0000000000000e+00 + ceilD(-6.0000000140000e-01) = -0.0000000000000e+00 + ceilD(-5.0000000150000e-01) = -0.0000000000000e+00 + ceilD(-4.0000000160000e-01) = -0.0000000000000e+00 + ceilD(-3.0000000170000e-01) = -0.0000000000000e+00 + ceilD(-2.0000000180000e-01) = -0.0000000000000e+00 + ceilD(-1.0000000190000e-01) = -0.0000000000000e+00 + ceilD(-1.9999992495467e-09) = -0.0000000000000e+00 + ceilD(+9.9999997900001e-02) = +1.0000000000000e+00 + ceilD(+1.9999999780000e-01) = +1.0000000000000e+00 + ceilD(+2.9999999770000e-01) = +1.0000000000000e+00 + ceilD(+3.9999999760000e-01) = +1.0000000000000e+00 + ceilD(+4.9999999750000e-01) = +1.0000000000000e+00 + ceilD(+5.9999999740000e-01) = +1.0000000000000e+00 + ceilD(+6.9999999730000e-01) = +1.0000000000000e+00 + ceilD(+7.9999999720000e-01) = +1.0000000000000e+00 + ceilD(+8.9999999710000e-01) = +1.0000000000000e+00 + ceilD(+9.9999999700000e-01) = +1.0000000000000e+00 + ceilD(+1.0999999969000e+00) = +2.0000000000000e+00 + ceilD(+1.1999999968000e+00) = +2.0000000000000e+00 + ceilD(+1.2999999967000e+00) = +2.0000000000000e+00 + ceilD(+1.3999999966000e+00) = +2.0000000000000e+00 + ceilD(+1.4999999965000e+00) = +2.0000000000000e+00 + ceilD(+1.5999999964000e+00) = +2.0000000000000e+00 + ceilD(+1.6999999963000e+00) = +2.0000000000000e+00 + ceilD(+1.7999999962000e+00) = +2.0000000000000e+00 + ceilD(+1.8999999961000e+00) = +2.0000000000000e+00 + ceilD(+1.9999999960000e+00) = +2.0000000000000e+00 + ceilF( -2.0000e+00) = -2.0000e+00 + ceilF( -1.9001e+00) = -1.0000e+00 + ceilF( -1.8002e+00) = -1.0000e+00 + ceilF( -1.7003e+00) = -1.0000e+00 + ceilF( -1.6004e+00) = -1.0000e+00 + ceilF( -1.5005e+00) = -1.0000e+00 + ceilF( -1.4006e+00) = -1.0000e+00 + ceilF( -1.3007e+00) = -1.0000e+00 + ceilF( -1.2008e+00) = -1.0000e+00 + ceilF( -1.1009e+00) = -1.0000e+00 + ceilF( -1.0010e+00) = -1.0000e+00 + ceilF( -9.0110e-01) = -0.0000e+00 + ceilF( -8.0120e-01) = -0.0000e+00 + ceilF( -7.0130e-01) = -0.0000e+00 + ceilF( -6.0140e-01) = -0.0000e+00 + ceilF( -5.0150e-01) = -0.0000e+00 + ceilF( -4.0160e-01) = -0.0000e+00 + ceilF( -3.0170e-01) = -0.0000e+00 + ceilF( -2.0180e-01) = -0.0000e+00 + ceilF( -1.0190e-01) = -0.0000e+00 + ceilF( -1.9999e-03) = -0.0000e+00 + ceilF( +9.7900e-02) = +1.0000e+00 + ceilF( +1.9780e-01) = +1.0000e+00 + ceilF( +2.9770e-01) = +1.0000e+00 + ceilF( +3.9760e-01) = +1.0000e+00 + ceilF( +4.9750e-01) = +1.0000e+00 + ceilF( +5.9740e-01) = +1.0000e+00 + ceilF( +6.9730e-01) = +1.0000e+00 + ceilF( +7.9720e-01) = +1.0000e+00 + ceilF( +8.9710e-01) = +1.0000e+00 + ceilF( +9.9700e-01) = +1.0000e+00 + ceilF( +1.0969e+00) = +2.0000e+00 + ceilF( +1.1968e+00) = +2.0000e+00 + ceilF( +1.2967e+00) = +2.0000e+00 + ceilF( +1.3966e+00) = +2.0000e+00 + ceilF( +1.4965e+00) = +2.0000e+00 + ceilF( +1.5964e+00) = +2.0000e+00 + ceilF( +1.6963e+00) = +2.0000e+00 + ceilF( +1.7962e+00) = +2.0000e+00 + ceilF( +1.8961e+00) = +2.0000e+00 + ceilF( +1.9960e+00) = +2.0000e+00 + sinD(-2.0000000000000e+00) = -9.0929742682568e-01 + sinD(-1.9000000001000e+00) = -9.4630008765509e-01 + sinD(-1.8000000002000e+00) = -9.7384763083275e-01 + sinD(-1.7000000003000e+00) = -9.9166481041382e-01 + sinD(-1.6000000004000e+00) = -9.9957360302983e-01 + sinD(-1.5000000005000e+00) = -9.9749498663942e-01 + sinD(-1.4000000006000e+00) = -9.8544973009044e-01 + sinD(-1.3000000007000e+00) = -9.6355818560444e-01 + sinD(-1.2000000008000e+00) = -9.3203908625711e-01 + sinD(-1.1000000009000e+00) = -8.9120736046967e-01 + sinD(-1.0000000010000e+00) = -8.4147098534820e-01 + sinD(-9.0000000110000e-01) = -7.8332691031125e-01 + sinD(-8.0000000120000e-01) = -7.1735609173557e-01 + sinD(-7.0000000130000e-01) = -6.4421768823199e-01 + sinD(-6.0000000140000e-01) = -5.6464247455050e-01 + sinD(-5.0000000150000e-01) = -4.7942553992058e-01 + sinD(-4.0000000160000e-01) = -3.8941834378235e-01 + sinD(-3.0000000170000e-01) = -2.9552020828541e-01 + sinD(-2.0000000180000e-01) = -1.9866933255918e-01 + sinD(-1.0000000190000e-01) = -9.9833418537335e-02 + sinD(-1.9999992495467e-09) = -1.9999992495467e-09 + sinD(+9.9999997900001e-02) = +9.9833414557320e-02 + sinD(+1.9999999780000e-01) = +1.9866932863892e-01 + sinD(+2.9999999770000e-01) = +2.9552020446407e-01 + sinD(+3.9999999760000e-01) = +3.8941834009810e-01 + sinD(+4.9999999750000e-01) = +4.7942553641025e-01 + sinD(+5.9999999740000e-01) = +5.6464247124916e-01 + sinD(+6.9999999730000e-01) = +6.4421768517262e-01 + sinD(+7.9999999720000e-01) = +7.1735608894874e-01 + sinD(+8.9999999710000e-01) = +7.8332690782481e-01 + sinD(+9.9999999700000e-01) = +8.4147098318699e-01 + sinD(+1.0999999969000e+00) = +8.9120735865529e-01 + sinD(+1.1999999968000e+00) = +9.3203908480768e-01 + sinD(+1.2999999967000e+00) = +9.6355818453445e-01 + sinD(+1.3999999966000e+00) = +9.8544972941057e-01 + sinD(+1.4999999965000e+00) = +9.9749498635647e-01 + sinD(+1.5999999964000e+00) = +9.9957360314662e-01 + sinD(+1.6999999963000e+00) = +9.9166481092919e-01 + sinD(+1.7999999962000e+00) = +9.7384763174156e-01 + sinD(+1.8999999961000e+00) = +9.4630008894824e-01 + sinD(+1.9999999960000e+00) = +9.0929742849027e-01 + sinF( -2.0000e+00) = -9.0930e-01 + sinF( -1.9001e+00) = -9.4627e-01 + sinF( -1.8002e+00) = -9.7380e-01 + sinF( -1.7003e+00) = -9.9163e-01 + sinF( -1.6004e+00) = -9.9956e-01 + sinF( -1.5005e+00) = -9.9753e-01 + sinF( -1.4006e+00) = -9.8555e-01 + sinF( -1.3007e+00) = -9.6375e-01 + sinF( -1.2008e+00) = -9.3233e-01 + sinF( -1.1009e+00) = -8.9162e-01 + sinF( -1.0010e+00) = -8.4201e-01 + sinF( -9.0110e-01) = -7.8401e-01 + sinF( -8.0120e-01) = -7.1819e-01 + sinF( -7.0130e-01) = -6.4521e-01 + sinF( -6.0140e-01) = -5.6580e-01 + sinF( -5.0150e-01) = -4.8074e-01 + sinF( -4.0160e-01) = -3.9089e-01 + sinF( -3.0170e-01) = -2.9714e-01 + sinF( -2.0180e-01) = -2.0043e-01 + sinF( -1.0190e-01) = -1.0172e-01 + sinF( -1.9999e-03) = -1.9999e-03 + sinF( +9.7900e-02) = +9.7744e-02 + sinF( +1.9780e-01) = +1.9651e-01 + sinF( +2.9770e-01) = +2.9332e-01 + sinF( +3.9760e-01) = +3.8721e-01 + sinF( +4.9750e-01) = +4.7723e-01 + sinF( +5.9740e-01) = +5.6249e-01 + sinF( +6.9730e-01) = +6.4215e-01 + sinF( +7.9720e-01) = +7.1540e-01 + sinF( +8.9710e-01) = +7.8152e-01 + sinF( +9.9700e-01) = +8.3985e-01 + sinF( +1.0969e+00) = +8.8980e-01 + sinF( +1.1968e+00) = +9.3087e-01 + sinF( +1.2967e+00) = +9.6267e-01 + sinF( +1.3966e+00) = +9.8487e-01 + sinF( +1.4965e+00) = +9.9724e-01 + sinF( +1.5964e+00) = +9.9967e-01 + sinF( +1.6963e+00) = +9.9213e-01 + sinF( +1.7962e+00) = +9.7470e-01 + sinF( +1.8961e+00) = +9.4755e-01 + sinF( +1.9960e+00) = +9.1095e-01 + cosD(-2.0000000000000e+00) = -4.1614683654714e-01 + cosD(-1.9000000001000e+00) = -3.2328956695813e-01 + cosD(-1.8000000002000e+00) = -2.2720209488786e-01 + cosD(-1.7000000003000e+00) = -1.2884449459302e-01 + cosD(-1.6000000004000e+00) = -2.9199522701118e-02 + cosD(-1.5000000005000e+00) = +7.0737201168956e-02 + cosD(-1.4000000006000e+00) = +1.6996714230897e-01 + cosD(-1.3000000007000e+00) = +2.6749882795010e-01 + cosD(-1.2000000008000e+00) = +3.6235775373104e-01 + cosD(-1.1000000009000e+00) = +4.5359612062349e-01 + cosD(-1.0000000010000e+00) = +5.4030230502667e-01 + cosD(-9.0000000110000e-01) = +6.2160996740901e-01 + cosD(-8.0000000120000e-01) = +6.9670670848634e-01 + cosD(-7.0000000130000e-01) = +7.6484218644701e-01 + cosD(-6.0000000140000e-01) = +8.2533561411918e-01 + cosD(-5.0000000150000e-01) = +8.7758256117123e-01 + cosD(-4.0000000160000e-01) = +9.2106099337982e-01 + cosD(-3.0000000170000e-01) = +9.5533648862322e-01 + cosD(-2.0000000180000e-01) = +9.8006657748364e-01 + cosD(-1.0000000190000e-01) = +9.9500416508834e-01 + cosD(-1.9999992495467e-09) = +1.0000000000000e+00 + cosD(+9.9999997900001e-02) = +9.9500416548768e-01 + cosD(+1.9999999780000e-01) = +9.8006657827831e-01 + cosD(+2.9999999770000e-01) = +9.5533648980530e-01 + cosD(+3.9999999760000e-01) = +9.2106099493749e-01 + cosD(+4.9999999750000e-01) = +8.7758256308894e-01 + cosD(+5.9999999740000e-01) = +8.2533561637775e-01 + cosD(+6.9999999730000e-01) = +7.6484218902388e-01 + cosD(+7.9999999720000e-01) = +6.9670671135576e-01 + cosD(+8.9999999710000e-01) = +6.2160997054231e-01 + cosD(+9.9999999700000e-01) = +5.4030230839255e-01 + cosD(+1.0999999969000e+00) = +4.5359612418832e-01 + cosD(+1.1999999968000e+00) = +3.6235775745920e-01 + cosD(+1.2999999967000e+00) = +2.6749883180433e-01 + cosD(+1.3999999966000e+00) = +1.6996714625077e-01 + cosD(+1.4999999965000e+00) = +7.0737205158934e-02 + cosD(+1.5999999964000e+00) = -2.9199518702825e-02 + cosD(+1.6999999963000e+00) = -1.2884449062637e-01 + cosD(+1.7999999962000e+00) = -2.2720209099247e-01 + cosD(+1.8999999961000e+00) = -3.2328956317293e-01 + cosD(+1.9999999960000e+00) = -4.1614683290995e-01 + cosF( -2.0000e+00) = -4.1615e-01 + cosF( -1.9001e+00) = -3.2338e-01 + cosF( -1.8002e+00) = -2.2740e-01 + cosF( -1.7003e+00) = -1.2914e-01 + cosF( -1.6004e+00) = -2.9599e-02 + cosF( -1.5005e+00) = +7.0238e-02 + cosF( -1.4006e+00) = +1.6938e-01 + cosF( -1.3007e+00) = +2.6682e-01 + cosF( -1.2008e+00) = +3.6161e-01 + cosF( -1.1009e+00) = +4.5279e-01 + cosF( -1.0010e+00) = +5.3946e-01 + cosF( -9.0110e-01) = +6.2075e-01 + cosF( -8.0120e-01) = +6.9585e-01 + cosF( -7.0130e-01) = +7.6400e-01 + cosF( -6.0140e-01) = +8.2454e-01 + cosF( -5.0150e-01) = +8.7686e-01 + cosF( -4.0160e-01) = +9.2044e-01 + cosF( -3.0170e-01) = +9.5483e-01 + cosF( -2.0180e-01) = +9.7971e-01 + cosF( -1.0190e-01) = +9.9481e-01 + cosF( -1.9999e-03) = +1.0000e+00 + cosF( +9.7900e-02) = +9.9521e-01 + cosF( +1.9780e-01) = +9.8050e-01 + cosF( +2.9770e-01) = +9.5601e-01 + cosF( +3.9760e-01) = +9.2199e-01 + cosF( +4.9750e-01) = +8.7878e-01 + cosF( +5.9740e-01) = +8.2680e-01 + cosF( +6.9730e-01) = +7.6658e-01 + cosF( +7.9720e-01) = +6.9871e-01 + cosF( +8.9710e-01) = +6.2388e-01 + cosF( +9.9700e-01) = +5.4282e-01 + cosF( +1.0969e+00) = +4.5636e-01 + cosF( +1.1968e+00) = +3.6534e-01 + cosF( +1.2967e+00) = +2.7068e-01 + cosF( +1.3966e+00) = +1.7332e-01 + cosF( +1.4965e+00) = +7.4228e-02 + cosF( +1.5964e+00) = -2.5601e-02 + cosF( +1.6963e+00) = -1.2517e-01 + cosF( +1.7962e+00) = -2.2350e-01 + cosF( +1.8961e+00) = -3.1960e-01 + cosF( +1.9960e+00) = -4.1251e-01 + tanD(-2.0000000000000e+00) = +2.1850398632615e+00 + tanD(-1.9000000001000e+00) = +2.9270975137210e+00 + tanD(-1.8000000002000e+00) = +4.2862616707537e+00 + tanD(-1.7000000003000e+00) = +7.6966021213879e+00 + tanD(-1.6000000004000e+00) = +3.4232532266411e+01 + tanD(-1.5000000005000e+00) = -1.4101420047097e+01 + tanD(-1.4000000006000e+00) = -5.7978837362521e+00 + tanD(-1.3000000007000e+00) = -3.6021024577506e+00 + tanD(-1.2000000008000e+00) = -2.5721516282191e+00 + tanD(-1.1000000009000e+00) = -1.9647596616229e+00 + tanD(-1.0000000010000e+00) = -1.5574077280804e+00 + tanD(-9.0000000110000e-01) = -1.2601582203971e+00 + tanD(-8.0000000120000e-01) = -1.0296385595225e+00 + tanD(-7.0000000130000e-01) = -8.4228838268536e-01 + tanD(-6.0000000140000e-01) = -6.8413681039695e-01 + tanD(-5.0000000150000e-01) = -5.4630249179146e-01 + tanD(-4.0000000160000e-01) = -4.2279322062417e-01 + tanD(-3.0000000170000e-01) = -3.0933625147229e-01 + tanD(-2.0000000180000e-01) = -2.0271003738264e-01 + tanD(-1.0000000190000e-01) = -1.0033467400458e-01 + tanD(-1.9999992495467e-09) = -1.9999992495467e-09 + tanD(+9.9999997900001e-02) = +1.0033466996431e-01 + tanD(+1.9999999780000e-01) = +2.0271003321827e-01 + tanD(+2.9999999770000e-01) = +3.0933624708954e-01 + tanD(+3.9999999760000e-01) = +4.2279321590915e-01 + tanD(+4.9999999750000e-01) = +5.4630248659768e-01 + tanD(+5.9999999740000e-01) = +6.8413680452478e-01 + tanD(+6.9999999730000e-01) = +8.4228837584757e-01 + tanD(+7.9999999720000e-01) = +1.0296385512819e+00 + tanD(+8.9999999710000e-01) = +1.2601582100451e+00 + tanD(+9.9999999700000e-01) = +1.5574077143783e+00 + tanD(+1.0999999969000e+00) = +1.9647596421818e+00 + tanD(+1.1999999968000e+00) = +2.5721515977552e+00 + tanD(+1.2999999967000e+00) = +3.6021024018500e+00 + tanD(+1.3999999966000e+00) = +5.7978835977904e+00 + tanD(+1.4999999965000e+00) = +1.4101419247697e+01 + tanD(+1.5999999964000e+00) = -3.4232536957875e+01 + tanD(+1.6999999963000e+00) = -7.6966023623385e+00 + tanD(+1.7999999962000e+00) = -4.2862617482418e+00 + tanD(+1.8999999961000e+00) = -2.9270975519926e+00 + tanD(+1.9999999960000e+00) = -2.1850398863591e+00 + tanF( -2.0000e+00) = +2.1850e+00 + tanF( -1.9001e+00) = +2.9261e+00 + tanF( -1.8002e+00) = +4.2824e+00 + tanF( -1.7003e+00) = +7.6786e+00 + tanF( -1.6004e+00) = +3.3770e+01 + tanF( -1.5005e+00) = -1.4202e+01 + tanF( -1.4006e+00) = -5.8187e+00 + tanF( -1.3007e+00) = -3.6119e+00 + tanF( -1.2008e+00) = -2.5783e+00 + tanF( -1.1009e+00) = -1.9691e+00 + tanF( -1.0010e+00) = -1.5608e+00 + tanF( -9.0110e-01) = -1.2630e+00 + tanF( -8.0120e-01) = -1.0321e+00 + tanF( -7.0130e-01) = -8.4451e-01 + tanF( -6.0140e-01) = -6.8619e-01 + tanF( -5.0150e-01) = -5.4825e-01 + tanF( -4.0160e-01) = -4.2468e-01 + tanF( -3.0170e-01) = -3.1120e-01 + tanF( -2.0180e-01) = -2.0458e-01 + tanF( -1.0190e-01) = -1.0225e-01 + tanF( -1.9999e-03) = -1.9999e-03 + tanF( +9.7900e-02) = +9.8214e-02 + tanF( +1.9780e-01) = +2.0042e-01 + tanF( +2.9770e-01) = +3.0682e-01 + tanF( +3.9760e-01) = +4.1997e-01 + tanF( +4.9750e-01) = +5.4306e-01 + tanF( +5.9740e-01) = +6.8033e-01 + tanF( +6.9730e-01) = +8.3768e-01 + tanF( +7.9720e-01) = +1.0239e+00 + tanF( +8.9710e-01) = +1.2527e+00 + tanF( +9.9700e-01) = +1.5472e+00 + tanF( +1.0969e+00) = +1.9498e+00 + tanF( +1.1968e+00) = +2.5480e+00 + tanF( +1.2967e+00) = +3.5565e+00 + tanF( +1.3966e+00) = +5.6825e+00 + tanF( +1.4965e+00) = +1.3435e+01 + tanF( +1.5964e+00) = -3.9048e+01 + tanF( +1.6963e+00) = -7.9260e+00 + tanF( +1.7962e+00) = -4.3611e+00 + tanF( +1.8961e+00) = -2.9648e+00 + tanF( +1.9960e+00) = -2.2083e+00 + expD(-2.0000000000000e+00) = +1.3533528323661e-01 + expD(-1.9000000001000e+00) = +1.4956861920768e-01 + expD(-1.8000000002000e+00) = +1.6529888818853e-01 + expD(-1.7000000003000e+00) = +1.8268352399793e-01 + expD(-1.6000000004000e+00) = +2.0189651791390e-01 + expD(-1.5000000005000e+00) = +2.2313016003686e-01 + expD(-1.4000000006000e+00) = +2.4659696379365e-01 + expD(-1.3000000007000e+00) = +2.7253179284324e-01 + expD(-1.2000000008000e+00) = +3.0119421167125e-01 + expD(-1.1000000009000e+00) = +3.3287108339850e-01 + expD(-1.0000000010000e+00) = +3.6787944080356e-01 + expD(-9.0000000110000e-01) = +4.0656965929337e-01 + expD(-8.0000000120000e-01) = +4.4932896357803e-01 + expD(-7.0000000130000e-01) = +4.9658530314585e-01 + expD(-6.0000000140000e-01) = +5.4881163532569e-01 + expD(-5.0000000150000e-01) = +6.0653065880284e-01 + expD(-4.0000000160000e-01) = +6.7032004496313e-01 + expD(-3.0000000170000e-01) = +7.4081821942233e-01 + expD(-2.0000000180000e-01) = +8.1873075160427e-01 + expD(-1.0000000190000e-01) = +9.0483741631677e-01 + expD(-1.9999992495467e-09) = +9.9999999800000e-01 + expD(+9.9999997900001e-02) = +1.1051709157548e+00 + expD(+1.9999999780000e-01) = +1.2214027554731e+00 + expD(+2.9999999770000e-01) = +1.3498588044713e+00 + expD(+3.9999999760000e-01) = +1.4918246940609e+00 + expD(+4.9999999750000e-01) = +1.6487212665783e+00 + expD(+5.9999999740000e-01) = +1.8221187956530e+00 + expD(+6.9999999730000e-01) = +2.0137527020333e+00 + expD(+7.9999999720000e-01) = +2.2255409222610e+00 + expD(+8.9999999710000e-01) = +2.4596031040241e+00 + expD(+9.9999999700000e-01) = +2.7182818203042e+00 + expD(+1.0999999969000e+00) = +3.0041660146335e+00 + expD(+1.1999999968000e+00) = +3.3201169121122e+00 + expD(+1.2999999967000e+00) = +3.6692966555106e+00 + expD(+1.3999999966000e+00) = +4.0551999530570e+00 + expD(+1.4999999965000e+00) = +4.4816890546522e+00 + expD(+1.5999999964000e+00) = +4.9530324065642e+00 + expD(+1.6999999963000e+00) = +5.4739473714736e+00 + expD(+1.7999999962000e+00) = +6.0496474414243e+00 + expD(+1.8999999961000e+00) = +6.6858944162043e+00 + expD(+1.9999999960000e+00) = +7.3890560693744e+00 + expF( -2.0000e+00) = +1.3534e-01 + expF( -1.9001e+00) = +1.4955e-01 + expF( -1.8002e+00) = +1.6527e-01 + expF( -1.7003e+00) = +1.8263e-01 + expF( -1.6004e+00) = +2.0182e-01 + expF( -1.5005e+00) = +2.2302e-01 + expF( -1.4006e+00) = +2.4645e-01 + expF( -1.3007e+00) = +2.7234e-01 + expF( -1.2008e+00) = +3.0095e-01 + expF( -1.1009e+00) = +3.3257e-01 + expF( -1.0010e+00) = +3.6751e-01 + expF( -9.0110e-01) = +4.0612e-01 + expF( -8.0120e-01) = +4.4879e-01 + expF( -7.0130e-01) = +4.9594e-01 + expF( -6.0140e-01) = +5.4804e-01 + expF( -5.0150e-01) = +6.0562e-01 + expF( -4.0160e-01) = +6.6925e-01 + expF( -3.0170e-01) = +7.3956e-01 + expF( -2.0180e-01) = +8.1726e-01 + expF( -1.0190e-01) = +9.0312e-01 + expF( -1.9999e-03) = +9.9800e-01 + expF( +9.7900e-02) = +1.1029e+00 + expF( +1.9780e-01) = +1.2187e+00 + expF( +2.9770e-01) = +1.3468e+00 + expF( +3.9760e-01) = +1.4882e+00 + expF( +4.9750e-01) = +1.6446e+00 + expF( +5.9740e-01) = +1.8174e+00 + expF( +6.9730e-01) = +2.0083e+00 + expF( +7.9720e-01) = +2.2193e+00 + expF( +8.9710e-01) = +2.4525e+00 + expF( +9.9700e-01) = +2.7101e+00 + expF( +1.0969e+00) = +2.9949e+00 + expF( +1.1968e+00) = +3.3095e+00 + expF( +1.2967e+00) = +3.6572e+00 + expF( +1.3966e+00) = +4.0414e+00 + expF( +1.4965e+00) = +4.4660e+00 + expF( +1.5964e+00) = +4.9352e+00 + expF( +1.6963e+00) = +5.4537e+00 + expF( +1.7962e+00) = +6.0267e+00 + expF( +1.8961e+00) = +6.6599e+00 + expF( +1.9960e+00) = +7.3596e+00 + sqrtD(+0.0000000000000e+00) = +0.0000000000000e+00 + sqrtD(+9.9999999900000e-02) = +3.1622776585872e-01 + sqrtD(+1.9999999980000e-01) = +4.4721359527635e-01 + sqrtD(+2.9999999970000e-01) = +5.4772255723130e-01 + sqrtD(+3.9999999960000e-01) = +6.3245553171745e-01 + sqrtD(+4.9999999950000e-01) = +7.0710678083299e-01 + sqrtD(+5.9999999940000e-01) = +7.7459666885419e-01 + sqrtD(+6.9999999930000e-01) = +8.3666002611575e-01 + sqrtD(+7.9999999920000e-01) = +8.9442719055270e-01 + sqrtD(+8.9999999910000e-01) = +9.4868329757617e-01 + sqrtD(+9.9999999900000e-01) = +9.9999999950000e-01 + sqrtD(+1.0999999989000e+00) = +1.0488088476457e+00 + sqrtD(+1.1999999988000e+00) = +1.0954451144626e+00 + sqrtD(+1.2999999987000e+00) = +1.1401754245291e+00 + sqrtD(+1.3999999986000e+00) = +1.1832159560283e+00 + sqrtD(+1.4999999985000e+00) = +1.2247448707792e+00 + sqrtD(+1.5999999984000e+00) = +1.2649110634349e+00 + sqrtD(+1.6999999983000e+00) = +1.3038404803886e+00 + sqrtD(+1.7999999982000e+00) = +1.3416407858291e+00 + sqrtD(+1.8999999981000e+00) = +1.3784048745198e+00 + sqrtD(+1.9999999980000e+00) = +1.4142135616660e+00 + sqrtF( +0.0000e+00) = +0.0000e+00 + sqrtF( +9.9900e-02) = +3.1607e-01 + sqrtF( +1.9980e-01) = +4.4699e-01 + sqrtF( +2.9970e-01) = +5.4745e-01 + sqrtF( +3.9960e-01) = +6.3214e-01 + sqrtF( +4.9950e-01) = +7.0675e-01 + sqrtF( +5.9940e-01) = +7.7421e-01 + sqrtF( +6.9930e-01) = +8.3624e-01 + sqrtF( +7.9920e-01) = +8.9398e-01 + sqrtF( +8.9910e-01) = +9.4821e-01 + sqrtF( +9.9900e-01) = +9.9950e-01 + sqrtF( +1.0989e+00) = +1.0483e+00 + sqrtF( +1.1988e+00) = +1.0949e+00 + sqrtF( +1.2987e+00) = +1.1396e+00 + sqrtF( +1.3986e+00) = +1.1826e+00 + sqrtF( +1.4985e+00) = +1.2241e+00 + sqrtF( +1.5984e+00) = +1.2643e+00 + sqrtF( +1.6983e+00) = +1.3032e+00 + sqrtF( +1.7982e+00) = +1.3410e+00 + sqrtF( +1.8981e+00) = +1.3777e+00 + sqrtF( +1.9980e+00) = +1.4135e+00 + logD(+0.0000000000000e+00) = -inf + logD(+9.9999999900000e-02) = -2.3025850939940e+00 + logD(+1.9999999980000e-01) = -1.6094379134341e+00 + logD(+2.9999999970000e-01) = -1.2039728053259e+00 + logD(+3.9999999960000e-01) = -9.1629073287415e-01 + logD(+4.9999999950000e-01) = -6.9314718155995e-01 + logD(+5.9999999940000e-01) = -5.1082562476599e-01 + logD(+6.9999999930000e-01) = -3.5667494493873e-01 + logD(+7.9999999920000e-01) = -2.2314355231421e-01 + logD(+8.9999999910000e-01) = -1.0536051665783e-01 + logD(+9.9999999900000e-01) = -1.0000000832404e-09 + logD(+1.0999999989000e+00) = +9.5310178804325e-02 + logD(+1.1999999988000e+00) = +1.8232155579395e-01 + logD(+1.2999999987000e+00) = +2.6236426346749e-01 + logD(+1.3999999986000e+00) = +3.3647223562121e-01 + logD(+1.4999999985000e+00) = +4.0546510710816e-01 + logD(+1.5999999984000e+00) = +4.7000362824574e-01 + logD(+1.6999999983000e+00) = +5.3062825006217e-01 + logD(+1.7999999982000e+00) = +5.8778666390212e-01 + logD(+1.8999999981000e+00) = +6.4185388517240e-01 + logD(+1.9999999980000e+00) = +6.9314717955995e-01 + logF( +0.0000e+00) = -inf + logF( +9.9900e-02) = -2.3036e+00 + logF( +1.9980e-01) = -1.6104e+00 + logF( +2.9970e-01) = -1.2050e+00 + logF( +3.9960e-01) = -9.1729e-01 + logF( +4.9950e-01) = -6.9415e-01 + logF( +5.9940e-01) = -5.1183e-01 + logF( +6.9930e-01) = -3.5768e-01 + logF( +7.9920e-01) = -2.2414e-01 + logF( +8.9910e-01) = -1.0636e-01 + logF( +9.9900e-01) = -1.0005e-03 + logF( +1.0989e+00) = +9.4310e-02 + logF( +1.1988e+00) = +1.8132e-01 + logF( +1.2987e+00) = +2.6136e-01 + logF( +1.3986e+00) = +3.3547e-01 + logF( +1.4985e+00) = +4.0446e-01 + logF( +1.5984e+00) = +4.6900e-01 + logF( +1.6983e+00) = +5.2963e-01 + logF( +1.7982e+00) = +5.8679e-01 + logF( +1.8981e+00) = +6.4085e-01 + logF( +1.9980e+00) = +6.9215e-01 +log10D(+0.0000000000000e+00) = -inf +log10D(+9.9999999900000e-02) = -1.0000000004343e+00 +log10D(+1.9999999980000e-01) = -6.9897000477031e-01 +log10D(+2.9999999970000e-01) = -5.2287874571463e-01 +log10D(+3.9999999960000e-01) = -3.9794000910633e-01 +log10D(+4.9999999950000e-01) = -3.0102999609828e-01 +log10D(+5.9999999940000e-01) = -2.2184875005065e-01 +log10D(+6.9999999930000e-01) = -1.5490196042004e-01 +log10D(+7.9999999920000e-01) = -9.6910013442351e-02 +log10D(+8.9999999910000e-01) = -4.5757490994970e-02 +log10D(+9.9999999900000e-01) = -4.3429451805409e-10 +log10D(+1.0999999989000e+00) = +4.1392684723931e-02 +log10D(+1.1999999988000e+00) = +7.9181245613330e-02 +log10D(+1.2999999987000e+00) = +1.1394335187254e-01 +log10D(+1.3999999986000e+00) = +1.4612803524394e-01 +log10D(+1.4999999985000e+00) = +1.7609125862139e-01 +log10D(+1.5999999984000e+00) = +2.0411998222163e-01 +log10D(+1.6999999983000e+00) = +2.3044892094398e-01 +log10D(+1.7999999982000e+00) = +2.5527250466901e-01 +log10D(+1.8999999981000e+00) = +2.7875360051853e-01 +log10D(+1.9999999980000e+00) = +3.0102999522969e-01 +log10F( +0.0000e+00) = -inf +log10F( +9.9900e-02) = -1.0004e+00 +log10F( +1.9980e-01) = -6.9940e-01 +log10F( +2.9970e-01) = -5.2331e-01 +log10F( +3.9960e-01) = -3.9837e-01 +log10F( +4.9950e-01) = -3.0146e-01 +log10F( +5.9940e-01) = -2.2228e-01 +log10F( +6.9930e-01) = -1.5534e-01 +log10F( +7.9920e-01) = -9.7345e-02 +log10F( +8.9910e-01) = -4.6192e-02 +log10F( +9.9900e-01) = -4.3451e-04 +log10F( +1.0989e+00) = +4.0958e-02 +log10F( +1.1988e+00) = +7.8747e-02 +log10F( +1.2987e+00) = +1.1351e-01 +log10F( +1.3986e+00) = +1.4569e-01 +log10F( +1.4985e+00) = +1.7566e-01 +log10F( +1.5984e+00) = +2.0369e-01 +log10F( +1.6983e+00) = +2.3001e-01 +log10F( +1.7982e+00) = +2.5484e-01 +log10F( +1.8981e+00) = +2.7832e-01 +log10F( +1.9980e+00) = +3.0060e-01 + asinD(-1.0000000000000e+00) = -1.5707963267949e+00 + asinD(-9.0000000010000e-01) = -1.1197695152281e+00 + asinD(-8.0000000020000e-01) = -9.2729521833495e-01 + asinD(-7.0000000030000e-01) = -7.7539749703084e-01 + asinD(-6.0000000040000e-01) = -6.4350110929328e-01 + asinD(-5.0000000050000e-01) = -5.2359877617565e-01 + asinD(-4.0000000060000e-01) = -4.1151684672214e-01 + asinD(-3.0000000070000e-01) = -3.0469265474920e-01 + asinD(-2.0000000080000e-01) = -2.0135792160683e-01 + asinD(-1.0000000090000e-01) = -1.0016742206609e-01 + asinD(-1.0000000549848e-09) = -1.0000000549848e-09 + asinD(+9.9999998900000e-02) = +1.0016742005602e-01 + asinD(+1.9999999880000e-01) = +2.0135791956559e-01 + asinD(+2.9999999870000e-01) = +3.0469265265263e-01 + asinD(+3.9999999860000e-01) = +4.1151684453996e-01 + asinD(+4.9999999850000e-01) = +5.2359877386625e-01 + asinD(+5.9999999840000e-01) = +6.4350110679328e-01 + asinD(+6.9999999830000e-01) = +7.7539749423028e-01 + asinD(+7.9999999820000e-01) = +9.2729521500161e-01 + asinD(+8.9999999810000e-01) = +1.1197695106397e+00 + asinD(+9.9999999800000e-01) = +1.5707330812408e+00 + asinF( -1.0000e+00) = -1.5708e+00 + asinF( -9.0010e-01) = -1.1200e+00 + asinF( -8.0020e-01) = -9.2763e-01 + asinF( -7.0030e-01) = -7.7582e-01 + asinF( -6.0040e-01) = -6.4400e-01 + asinF( -5.0050e-01) = -5.2418e-01 + asinF( -4.0060e-01) = -4.1217e-01 + asinF( -3.0070e-01) = -3.0543e-01 + asinF( -2.0080e-01) = -2.0217e-01 + asinF( -1.0090e-01) = -1.0107e-01 + asinF( -9.9994e-04) = -9.9994e-04 + asinF( +9.8900e-02) = +9.9062e-02 + asinF( +1.9880e-01) = +2.0013e-01 + asinF( +2.9870e-01) = +3.0333e-01 + asinF( +3.9860e-01) = +4.0999e-01 + asinF( +4.9850e-01) = +5.2187e-01 + asinF( +5.9840e-01) = +6.4150e-01 + asinF( +6.9830e-01) = +7.7302e-01 + asinF( +7.9820e-01) = +9.2430e-01 + asinF( +8.9810e-01) = +1.1154e+00 + asinF( +9.9800e-01) = +1.5075e+00 + acosD(-1.0000000000000e+00) = +3.1415926536e+00 + acosD(-9.0000010000000e-01) = +2.6905660712e+00 + acosD(-8.0000020000000e-01) = +2.4980918781e+00 + acosD(-7.0000030000000e-01) = +2.3461942435e+00 + acosD(-6.0000040000000e-01) = +2.2142979356e+00 + acosD(-5.0000050000000e-01) = +2.0943956797e+00 + acosD(-4.0000060000000e-01) = +1.9823138275e+00 + acosD(-3.0000070000000e-01) = +1.8754897146e+00 + acosD(-2.0000080000000e-01) = +1.7721550641e+00 + acosD(-1.0000090000000e-01) = +1.6709646525e+00 + acosD(-9.9999999977896e-07) = +1.5707973268e+00 + acosD(+9.9998900000000e-02) = +1.4706300112e+00 + acosD(+1.9999880000000e-01) = +1.3694396307e+00 + acosD(+2.9999870000000e-01) = +1.2661050355e+00 + acosD(+3.9999860000000e-01) = +1.1592810083e+00 + acosD(+4.9999850000000e-01) = +1.0471992832e+00 + acosD(+5.9999840000000e-01) = +9.2729721800e-01 + acosD(+6.9999830000000e-01) = +7.9540121066e-01 + acosD(+7.9999820000000e-01) = +6.4350410879e-01 + acosD(+8.9999810000000e-01) = +4.5103117068e-01 + acosD(+9.9999800000000e-01) = +2.0000003331e-03 + acosF( -1.0000e+00) = +3.1416e+00 + acosF( -9.0010e-01) = +2.6908e+00 + acosF( -8.0020e-01) = +2.4984e+00 + acosF( -7.0030e-01) = +2.3466e+00 + acosF( -6.0040e-01) = +2.2148e+00 + acosF( -5.0050e-01) = +2.0950e+00 + acosF( -4.0060e-01) = +1.9830e+00 + acosF( -3.0070e-01) = +1.8762e+00 + acosF( -2.0080e-01) = +1.7730e+00 + acosF( -1.0090e-01) = +1.6719e+00 + acosF( -9.9994e-04) = +1.5718e+00 + acosF( +9.8900e-02) = +1.4717e+00 + acosF( +1.9880e-01) = +1.3707e+00 + acosF( +2.9870e-01) = +1.2675e+00 + acosF( +3.9860e-01) = +1.1608e+00 + acosF( +4.9850e-01) = +1.0489e+00 + acosF( +5.9840e-01) = +9.2929e-01 + acosF( +6.9830e-01) = +7.9778e-01 + acosF( +7.9820e-01) = +6.4650e-01 + acosF( +8.9810e-01) = +4.5537e-01 + acosF( +9.9800e-01) = +6.3255e-02 + atanD(-1.0000000000000e+00) = -7.8539816339745e-01 + atanD(-9.0000000010000e-01) = -7.3281510184176e-01 + atanD(-8.0000000020000e-01) = -6.7474094234550e-01 + atanD(-7.0000000030000e-01) = -6.1072596459055e-01 + atanD(-6.0000000040000e-01) = -5.4041950056470e-01 + atanD(-5.0000000050000e-01) = -4.6364760940081e-01 + atanD(-4.0000000060000e-01) = -3.8050637762961e-01 + atanD(-3.0000000070000e-01) = -2.9145679512007e-01 + atanD(-2.0000000080000e-01) = -1.9739556061911e-01 + atanD(-1.0000000090000e-01) = -9.9668653382251e-02 + atanD(-1.0000000549848e-09) = -1.0000000549848e-09 + atanD(+9.9999998900000e-02) = +9.9668651402053e-02 + atanD(+1.9999999880000e-01) = +1.9739555869603e-01 + atanD(+2.9999999870000e-01) = +2.9145679328521e-01 + atanD(+3.9999999860000e-01) = +3.8050637590547e-01 + atanD(+4.9999999850000e-01) = +4.6364760780081e-01 + atanD(+5.9999999840000e-01) = +5.4041949909411e-01 + atanD(+6.9999999830000e-01) = +6.1072596324827e-01 + atanD(+7.9999999820000e-01) = +6.7474094112599e-01 + atanD(+8.9999999810000e-01) = +7.3281510073678e-01 + atanD(+9.9999999800000e-01) = +7.8539816239745e-01 + atanF( -1.0000e+00) = -7.8540e-01 + atanF( -9.0010e-01) = -7.3287e-01 + atanF( -8.0020e-01) = -6.7486e-01 + atanF( -7.0030e-01) = -6.1093e-01 + atanF( -6.0040e-01) = -5.4071e-01 + atanF( -5.0050e-01) = -4.6405e-01 + atanF( -4.0060e-01) = -3.8102e-01 + atanF( -3.0070e-01) = -2.9210e-01 + atanF( -2.0080e-01) = -1.9816e-01 + atanF( -1.0090e-01) = -1.0056e-01 + atanF( -9.9994e-04) = -9.9994e-04 + atanF( +9.8900e-02) = +9.8579e-02 + atanF( +1.9880e-01) = +1.9624e-01 + atanF( +2.9870e-01) = +2.9026e-01 + atanF( +3.9860e-01) = +3.7930e-01 + atanF( +4.9850e-01) = +4.6245e-01 + atanF( +5.9840e-01) = +5.3924e-01 + atanF( +6.9830e-01) = +6.0958e-01 + atanF( +7.9820e-01) = +6.7364e-01 + atanF( +8.9810e-01) = +7.3176e-01 + atanF( +9.9800e-01) = +7.8440e-01 +atan2D(-1.0000000000000e+00) = -7.8539816339745e-01 +atan2D(-9.0000000010000e-01) = -7.3281510184176e-01 +atan2D(-8.0000000020000e-01) = -6.7474094234550e-01 +atan2D(-7.0000000030000e-01) = -6.1072596459055e-01 +atan2D(-6.0000000040000e-01) = -5.4041950056470e-01 +atan2D(-5.0000000050000e-01) = -4.6364760940081e-01 +atan2D(-4.0000000060000e-01) = -3.8050637762961e-01 +atan2D(-3.0000000070000e-01) = -2.9145679512007e-01 +atan2D(-2.0000000080000e-01) = -1.9739556061911e-01 +atan2D(-1.0000000090000e-01) = -9.9668653382251e-02 +atan2D(-1.0000000549848e-09) = -1.0000000549848e-09 +atan2D(+9.9999998900000e-02) = +9.9668651402053e-02 +atan2D(+1.9999999880000e-01) = +1.9739555869603e-01 +atan2D(+2.9999999870000e-01) = +2.9145679328521e-01 +atan2D(+3.9999999860000e-01) = +3.8050637590547e-01 +atan2D(+4.9999999850000e-01) = +4.6364760780081e-01 +atan2D(+5.9999999840000e-01) = +5.4041949909411e-01 +atan2D(+6.9999999830000e-01) = +6.1072596324827e-01 +atan2D(+7.9999999820000e-01) = +6.7474094112599e-01 +atan2D(+8.9999999810000e-01) = +7.3281510073678e-01 +atan2D(+9.9999999800000e-01) = +7.8539816239745e-01 +atan2F( -1.0000e+00) = -7.8540e-01 +atan2F( -9.0010e-01) = -7.3287e-01 +atan2F( -8.0020e-01) = -6.7486e-01 +atan2F( -7.0030e-01) = -6.1093e-01 +atan2F( -6.0040e-01) = -5.4071e-01 +atan2F( -5.0050e-01) = -4.6405e-01 +atan2F( -4.0060e-01) = -3.8102e-01 +atan2F( -3.0070e-01) = -2.9210e-01 +atan2F( -2.0080e-01) = -1.9816e-01 +atan2F( -1.0090e-01) = -1.0056e-01 +atan2F( -9.9994e-04) = -9.9994e-04 +atan2F( +9.8900e-02) = +9.8579e-02 +atan2F( +1.9880e-01) = +1.9624e-01 +atan2F( +2.9870e-01) = +2.9026e-01 +atan2F( +3.9860e-01) = +3.7930e-01 +atan2F( +4.9850e-01) = +4.6245e-01 +atan2F( +5.9840e-01) = +5.3924e-01 +atan2F( +6.9830e-01) = +6.0958e-01 +atan2F( +7.9820e-01) = +6.7364e-01 +atan2F( +8.9810e-01) = +7.3176e-01 +atan2F( +9.9800e-01) = +7.8440e-01 |
|
From: <sv...@va...> - 2008-11-08 15:15:17
|
Author: sewardj
Date: 2008-11-08 15:15:06 +0000 (Sat, 08 Nov 2008)
New Revision: 8744
Log:
Attempt to reduce output variance by ensuring mainSort() is never inlined.
Modified:
trunk/memcheck/tests/origin5-bz2.c
trunk/memcheck/tests/origin5-bz2.stderr.exp-glibc25-amd64
Modified: trunk/memcheck/tests/origin5-bz2.c
===================================================================
--- trunk/memcheck/tests/origin5-bz2.c 2008-11-08 15:14:01 UTC (rev 8743)
+++ trunk/memcheck/tests/origin5-bz2.c 2008-11-08 15:15:06 UTC (rev 8744)
@@ -2784,7 +2784,7 @@
#define SETMASK (1 << 21)
#define CLEARMASK (~(SETMASK))
-static
+static __attribute__((noinline))
void mainSort ( UInt32* ptr,
UChar* block,
UInt16* quadrant,
Modified: trunk/memcheck/tests/origin5-bz2.stderr.exp-glibc25-amd64
===================================================================
--- trunk/memcheck/tests/origin5-bz2.stderr.exp-glibc25-amd64 2008-11-08 15:14:01 UTC (rev 8743)
+++ trunk/memcheck/tests/origin5-bz2.stderr.exp-glibc25-amd64 2008-11-08 15:15:06 UTC (rev 8744)
@@ -28,7 +28,8 @@
at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
- at 0x........: BZ2_blockSort (origin5-bz2.c:2820)
+ at 0x........: mainSort (origin5-bz2.c:2820)
+ by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
by 0x........: handle_compress (origin5-bz2.c:4753)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
@@ -38,7 +39,8 @@
at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
- at 0x........: BZ2_blockSort (origin5-bz2.c:2823)
+ at 0x........: mainSort (origin5-bz2.c:2823)
+ by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
by 0x........: handle_compress (origin5-bz2.c:4753)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
@@ -48,7 +50,8 @@
at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
- at 0x........: BZ2_blockSort (origin5-bz2.c:2854)
+ at 0x........: mainSort (origin5-bz2.c:2854)
+ by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
by 0x........: handle_compress (origin5-bz2.c:4753)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
@@ -58,7 +61,8 @@
at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
- at 0x........: BZ2_blockSort (origin5-bz2.c:2858)
+ at 0x........: mainSort (origin5-bz2.c:2858)
+ by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
by 0x........: handle_compress (origin5-bz2.c:4753)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
@@ -68,7 +72,8 @@
at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
- at 0x........: BZ2_blockSort (origin5-bz2.c:2963)
+ at 0x........: mainSort (origin5-bz2.c:2963)
+ by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
by 0x........: handle_compress (origin5-bz2.c:4753)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
@@ -78,7 +83,8 @@
at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
- at 0x........: BZ2_blockSort (origin5-bz2.c:2964)
+ at 0x........: mainSort (origin5-bz2.c:2964)
+ by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
by 0x........: handle_compress (origin5-bz2.c:4753)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
|
|
From: <sv...@va...> - 2008-11-08 15:14:03
|
Author: sewardj
Date: 2008-11-08 15:14:01 +0000 (Sat, 08 Nov 2008)
New Revision: 8743
Log:
Use a "sided" comparison rather than a "point" comparison, so as to
ensure that gcc generates only one conditional jump per conditional
expression, not two.
Modified:
trunk/memcheck/tests/fprw.c
Modified: trunk/memcheck/tests/fprw.c
===================================================================
--- trunk/memcheck/tests/fprw.c 2008-11-08 15:12:48 UTC (rev 8742)
+++ trunk/memcheck/tests/fprw.c 2008-11-08 15:14:01 UTC (rev 8743)
@@ -13,8 +13,8 @@
int* ip = (int*)0x1234567;
d += 1.0;
f += 10.0;
- *dp += ( d ? 2.0 : 3.0 );
- *fp += ( f ? 20.0 : 21.0 );
+ *dp += ( d > 0.1 ? 2.0 : 3.0 );
+ *fp += ( f > 0.1 ? 20.0 : 21.0 );
free(dp);
free(fp);
*dp += 3.0;
|
|
From: <sv...@va...> - 2008-11-08 15:12:56
|
Author: sewardj
Date: 2008-11-08 15:12:48 +0000 (Sat, 08 Nov 2008)
New Revision: 8742
Log:
Update expected output now that Memcheck's realloc implementation always
moves the block, even when the new block is smaller or the same size.
Modified:
trunk/memcheck/tests/malloc_free_fill.stderr.exp
Modified: trunk/memcheck/tests/malloc_free_fill.stderr.exp
===================================================================
--- trunk/memcheck/tests/malloc_free_fill.stderr.exp 2008-11-08 15:11:03 UTC (rev 8741)
+++ trunk/memcheck/tests/malloc_free_fill.stderr.exp 2008-11-08 15:12:48 UTC (rev 8742)
@@ -45,7 +45,9 @@
Invalid read of size 4
at 0x........: main (malloc_free_fill.c:49)
- Address 0x........ is not stack'd, malloc'd or (recently) free'd
+ Address 0x........ is 104 bytes inside a block of size 120 free'd
+ at 0x........: realloc (vg_replace_malloc.c:...)
+ by 0x........: main (malloc_free_fill.c:47)
(should be free-filled) oldr[26] = 77777777
test calloc:
(should be zero) a[42] = 0
|
|
From: <sv...@va...> - 2008-11-08 15:11:14
|
Author: sewardj
Date: 2008-11-08 15:11:03 +0000 (Sat, 08 Nov 2008)
New Revision: 8741
Log:
Sigh: /bin/sh on Ubuntu is not bash, it is dash (what a nuisance) and
it doesn't do the "[ ]" thing itself; instead it hands it off to
/usr/bin/[. And that doesn't understand "==" on strings; it wants "="
instead.
Modified:
trunk/vg-in-place
Modified: trunk/vg-in-place
===================================================================
--- trunk/vg-in-place 2008-11-08 15:06:57 UTC (rev 8740)
+++ trunk/vg-in-place 2008-11-08 15:11:03 UTC (rev 8741)
@@ -5,7 +5,7 @@
dollarzero=$0
-if [ "${dollarzero#/}" == "${dollarzero}" ];
+if [ "${dollarzero#/}" = "${dollarzero}" ];
then
# Relative name
scriptname=$PWD/$dollarzero;
|
|
From: <sv...@va...> - 2008-11-08 15:07:01
|
Author: sewardj Date: 2008-11-08 15:06:57 +0000 (Sat, 08 Nov 2008) New Revision: 8740 Log: Add a new expected output for this test. Really it's a bad test, in the sense that there are a huge number of valid outcomes, but I'm not sure how to test it better. Added: trunk/none/tests/mremap2.stdout.exp-glibc28-amd64 Modified: trunk/none/tests/Makefile.am Modified: trunk/none/tests/Makefile.am =================================================================== --- trunk/none/tests/Makefile.am 2008-11-08 15:05:49 UTC (rev 8739) +++ trunk/none/tests/Makefile.am 2008-11-08 15:06:57 UTC (rev 8740) @@ -78,7 +78,9 @@ mq.stderr.exp mq.vgtest \ mremap.stderr.exp mremap.stdout.exp mremap.vgtest \ mremap2.stderr.exp \ - mremap2.stdout.exp mremap2.stdout.exp2 mremap2.vgtest \ + mremap2.stdout.exp mremap2.stdout.exp2 \ + mremap2.stdout.exp-glibc28-amd64 \ + mremap2.vgtest \ munmap_exe.stderr.exp munmap_exe.vgtest \ nestedfns.stderr.exp nestedfns.stdout.exp nestedfns.vgtest \ pending.stdout.exp pending.stderr.exp pending.vgtest \ Added: trunk/none/tests/mremap2.stdout.exp-glibc28-amd64 =================================================================== --- trunk/none/tests/mremap2.stdout.exp-glibc28-amd64 (rev 0) +++ trunk/none/tests/mremap2.stdout.exp-glibc28-amd64 2008-11-08 15:06:57 UTC (rev 8740) @@ -0,0 +1,296 @@ + +dst_possible = 0x........ +dst_impossible = 0x........ + src = 0x........ + +maymv 0 fixed 0 newsz 19 dstpo 0 dst 0x........ -> 0x........ (== src) +XXXXXXXXX.XXXXXXXXXXXXXXXXXXX...........XXXXXXXXXX +XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX +.................................................. +.................................................. + +maymv 0 fixed 0 newsz 19 dstpo 1 dst 0x........ -> 0x........ (== src) +XXXXXXXXX.XXXXXXXXXXXXXXXXXXX...........XXXXXXXXXX +XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX +.................................................. +.................................................. + +maymv 0 fixed 0 newsz 20 dstpo 0 dst 0x........ -> 0x........ (== src) +XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX +XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX +.................................................. +.................................................. + +maymv 0 fixed 0 newsz 20 dstpo 1 dst 0x........ -> 0x........ (== src) +XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX +XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX +.................................................. +.................................................. + +maymv 0 fixed 0 newsz 21 dstpo 0 dst 0x........ -> error 12 +XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX +XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX +.................................................. +.................................................. + +maymv 0 fixed 0 newsz 21 dstpo 1 dst 0x........ -> error 12 +XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX +XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX +.................................................. +.................................................. + +maymv 0 fixed 0 newsz 29 dstpo 0 dst 0x........ -> error 12 +XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX +XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX +.................................................. +.................................................. + +maymv 0 fixed 0 newsz 29 dstpo 1 dst 0x........ -> error 12 +XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX +XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX +.................................................. +.................................................. + +maymv 0 fixed 0 newsz 30 dstpo 0 dst 0x........ -> error 12 +XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX +XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX +.................................................. +.................................................. + +maymv 0 fixed 0 newsz 30 dstpo 1 dst 0x........ -> error 12 +XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX +XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX +.................................................. +.................................................. + +maymv 0 fixed 0 newsz 31 dstpo 0 dst 0x........ -> error 12 +XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX +XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX +.................................................. +.................................................. + +maymv 0 fixed 0 newsz 31 dstpo 1 dst 0x........ -> error 12 +XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX +XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX +.................................................. +.................................................. + + +maymv 0 fixed 1 newsz 19 dstpo 0 dst 0x........ -> error 22 +XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX +XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX +.................................................. +.................................................. + +maymv 0 fixed 1 newsz 19 dstpo 1 dst 0x........ -> error 22 +XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX +XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX +.................................................. +.................................................. + +maymv 0 fixed 1 newsz 20 dstpo 0 dst 0x........ -> error 22 +XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX +XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX +.................................................. +.................................................. + +maymv 0 fixed 1 newsz 20 dstpo 1 dst 0x........ -> error 22 +XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX +XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX +.................................................. +.................................................. + +maymv 0 fixed 1 newsz 21 dstpo 0 dst 0x........ -> error 22 +XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX +XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX +.................................................. +.................................................. + +maymv 0 fixed 1 newsz 21 dstpo 1 dst 0x........ -> error 22 +XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX +XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX +.................................................. +.................................................. + +maymv 0 fixed 1 newsz 29 dstpo 0 dst 0x........ -> error 22 +XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX +XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX +.................................................. +.................................................. + +maymv 0 fixed 1 newsz 29 dstpo 1 dst 0x........ -> error 22 +XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX +XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX +.................................................. +.................................................. + +maymv 0 fixed 1 newsz 30 dstpo 0 dst 0x........ -> error 22 +XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX +XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX +.................................................. +.................................................. + +maymv 0 fixed 1 newsz 30 dstpo 1 dst 0x........ -> error 22 +XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX +XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX +.................................................. +.................................................. + +maymv 0 fixed 1 newsz 31 dstpo 0 dst 0x........ -> error 22 +XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX +XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX +.................................................. +.................................................. + +maymv 0 fixed 1 newsz 31 dstpo 1 dst 0x........ -> error 22 +XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX +XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX +.................................................. +.................................................. + + +maymv 1 fixed 0 newsz 19 dstpo 0 dst 0x........ -> 0x........ (== src) +XXXXXXXXX.XXXXXXXXXXXXXXXXXXX...........XXXXXXXXXX +XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX +.................................................. +.................................................. + +maymv 1 fixed 0 newsz 19 dstpo 1 dst 0x........ -> 0x........ (== src) +XXXXXXXXX.XXXXXXXXXXXXXXXXXXX...........XXXXXXXXXX +XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX +.................................................. +.................................................. + +maymv 1 fixed 0 newsz 20 dstpo 0 dst 0x........ -> 0x........ (== src) +XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX +XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX +.................................................. +.................................................. + +maymv 1 fixed 0 newsz 20 dstpo 1 dst 0x........ -> 0x........ (== src) +XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX +XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX +.................................................. +.................................................. + +maymv 1 fixed 0 newsz 21 dstpo 0 dst 0x........ -> 0x........ (== other) +XXXXXXXXX...............................XXXXXXXXXX +XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX +.................................................. +.................................................. + +maymv 1 fixed 0 newsz 21 dstpo 1 dst 0x........ -> 0x........ (== other) +XXXXXXXXX...............................XXXXXXXXXX +XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX +.................................................. +.................................................. + +maymv 1 fixed 0 newsz 29 dstpo 0 dst 0x........ -> 0x........ (== other) +XXXXXXXXX...............................XXXXXXXXXX +XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX +.................................................. +.................................................. + +maymv 1 fixed 0 newsz 29 dstpo 1 dst 0x........ -> 0x........ (== other) +XXXXXXXXX...............................XXXXXXXXXX +XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX +.................................................. +.................................................. + +maymv 1 fixed 0 newsz 30 dstpo 0 dst 0x........ -> 0x........ (== other) +XXXXXXXXX...............................XXXXXXXXXX +XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX +.................................................. +.................................................. + +maymv 1 fixed 0 newsz 30 dstpo 1 dst 0x........ -> 0x........ (== other) +XXXXXXXXX...............................XXXXXXXXXX +XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX +.................................................. +.................................................. + +maymv 1 fixed 0 newsz 31 dstpo 0 dst 0x........ -> 0x........ (== other) +XXXXXXXXX...............................XXXXXXXXXX +XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX +.................................................. +.................................................. + +maymv 1 fixed 0 newsz 31 dstpo 1 dst 0x........ -> 0x........ (== other) +XXXXXXXXX...............................XXXXXXXXXX +XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX +.................................................. +.................................................. + + +maymv 1 fixed 1 newsz 19 dstpo 0 dst 0x........ -> error 22 +XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX +XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX +.................................................. +.................................................. + +maymv 1 fixed 1 newsz 19 dstpo 1 dst 0x........ -> 0x........ (== dst) +XXXXXXXXX...............................XXXXXXXXXX +XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX +.................................................. +XXXXXXXXXXXXXXXXXXX............................... + +maymv 1 fixed 1 newsz 20 dstpo 0 dst 0x........ -> error 22 +XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX +XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX +.................................................. +.................................................. + +maymv 1 fixed 1 newsz 20 dstpo 1 dst 0x........ -> 0x........ (== dst) +XXXXXXXXX...............................XXXXXXXXXX +XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX +.................................................. +XXXXXXXXXXXXXXXXXXXX.............................. + +maymv 1 fixed 1 newsz 21 dstpo 0 dst 0x........ -> error 22 +XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX +XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX +.................................................. +.................................................. + +maymv 1 fixed 1 newsz 21 dstpo 1 dst 0x........ -> 0x........ (== dst) +XXXXXXXXX...............................XXXXXXXXXX +XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX +.................................................. +XXXXXXXXXXXXXXXXXXXXX............................. + +maymv 1 fixed 1 newsz 29 dstpo 0 dst 0x........ -> error 22 +XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX +XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX +.................................................. +.................................................. + +maymv 1 fixed 1 newsz 29 dstpo 1 dst 0x........ -> 0x........ (== dst) +XXXXXXXXX...............................XXXXXXXXXX +XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX +.................................................. +XXXXXXXXXXXXXXXXXXXXXXXXXXXXX..................... + +maymv 1 fixed 1 newsz 30 dstpo 0 dst 0x........ -> error 22 +XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX +XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX +.................................................. +.................................................. + +maymv 1 fixed 1 newsz 30 dstpo 1 dst 0x........ -> 0x........ (== dst) +XXXXXXXXX...............................XXXXXXXXXX +XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX +.................................................. +XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.................... + +maymv 1 fixed 1 newsz 31 dstpo 0 dst 0x........ -> error 22 +XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX +XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX +.................................................. +.................................................. + +maymv 1 fixed 1 newsz 31 dstpo 1 dst 0x........ -> 0x........ (== dst) +XXXXXXXXX...............................XXXXXXXXXX +XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX +.................................................. +XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX................... + |
|
From: <sv...@va...> - 2008-11-08 15:06:01
|
Author: sewardj
Date: 2008-11-08 15:05:49 +0000 (Sat, 08 Nov 2008)
New Revision: 8739
Log:
Update expected output.
Modified:
trunk/none/tests/cmdline2.stdout.exp
Modified: trunk/none/tests/cmdline2.stdout.exp
===================================================================
--- trunk/none/tests/cmdline2.stdout.exp 2008-11-08 15:04:58 UTC (rev 8738)
+++ trunk/none/tests/cmdline2.stdout.exp 2008-11-08 15:05:49 UTC (rev 8739)
@@ -61,6 +61,7 @@
--debug-dump=frames mimic /usr/bin/readelf --debug-dump=frames
--trace-redir=no|yes show redirection details? [no]
--trace-sched=no|yes show thread scheduler details? [no]
+ --profile-heap=no|yes profile Valgrind's own space use
--wait-for-gdb=yes|no pause on startup to wait for gdb attach
--sym-offsets=yes|no show syms in form 'name+offset' ? [no]
--read-var-info=yes|no read variable type & location info? [no]
|
|
From: <sv...@va...> - 2008-11-08 15:05:02
|
Author: sewardj Date: 2008-11-08 15:04:58 +0000 (Sat, 08 Nov 2008) New Revision: 8738 Log: Run this test -q, so as to remove the variance in outputs exhibited as different numbers of blank lines than expected. I assume this signifies that different numbers of forked-but-not-exec'd processes are exiting, but I'm not sure. Modified: trunk/none/tests/shell.stderr.exp trunk/none/tests/shell.stderr.exp-dash trunk/none/tests/shell.vgtest Modified: trunk/none/tests/shell.stderr.exp =================================================================== --- trunk/none/tests/shell.stderr.exp 2008-11-08 15:01:22 UTC (rev 8737) +++ trunk/none/tests/shell.stderr.exp 2008-11-08 15:04:58 UTC (rev 8738) @@ -1,18 +1,8 @@ - ./shell: ./x86/: is a directory - ./shell: ./shell.vgtest: Permission denied - execve(0x........(./shell_badinterp), 0x........, 0x........) failed, errno 2 EXEC FAILED: I can't recover from execve() failing, so I'm dying. Add more stringent tests in PRE(sys_execve), or work out how to recover. ./shell: ./shell_binaryfile: cannot execute binary file - ./shell: ./shell_nosuchfile: No such file or directory - ./shell: shell_nosuchfile: command not found - - - - - Modified: trunk/none/tests/shell.stderr.exp-dash =================================================================== --- trunk/none/tests/shell.stderr.exp-dash 2008-11-08 15:01:22 UTC (rev 8737) +++ trunk/none/tests/shell.stderr.exp-dash 2008-11-08 15:04:58 UTC (rev 8738) @@ -1,13 +1,8 @@ - ./shell: 10: ./x86/: Permission denied - ./shell: 13: ./shell.vgtest: Permission denied - execve(0x........(./shell_badinterp), 0x........, 0x........) failed, errno 2 EXEC FAILED: I can't recover from execve() failing, so I'm dying. Add more stringent tests in PRE(sys_execve), or work out how to recover. ./shell_binaryfile: 4: Syntax error: ")" unexpected ./shell: 22: ./shell_nosuchfile: not found - ./shell: 25: shell_nosuchfile: not found - Modified: trunk/none/tests/shell.vgtest =================================================================== --- trunk/none/tests/shell.vgtest 2008-11-08 15:01:22 UTC (rev 8737) +++ trunk/none/tests/shell.vgtest 2008-11-08 15:04:58 UTC (rev 8738) @@ -1,2 +1,3 @@ prog: shell stderr_filter: filter_linenos +vgopts: -q |
|
From: <sv...@va...> - 2008-11-08 15:01:37
|
Author: sewardj
Date: 2008-11-08 15:01:22 +0000 (Sat, 08 Nov 2008)
New Revision: 8737
Log:
Mark allocation operators as no-inline so as to make the test more
repeatable across different gccs.
Modified:
trunk/massif/tests/overloaded-new.cpp
Modified: trunk/massif/tests/overloaded-new.cpp
===================================================================
--- trunk/massif/tests/overloaded-new.cpp 2008-11-06 23:11:42 UTC (rev 8736)
+++ trunk/massif/tests/overloaded-new.cpp 2008-11-08 15:01:22 UTC (rev 8737)
@@ -14,32 +14,32 @@
int array[1000];
} s;
-void* operator new (std::size_t n) throw (std::bad_alloc)
+__attribute__((noinline)) void* operator new (std::size_t n) throw (std::bad_alloc)
{
return malloc(n);
}
-void* operator new (std::size_t n, std::nothrow_t const &) throw ()
+__attribute__((noinline)) void* operator new (std::size_t n, std::nothrow_t const &) throw ()
{
return malloc(n);
}
-void* operator new[] (std::size_t n) throw (std::bad_alloc)
+__attribute__((noinline)) void* operator new[] (std::size_t n) throw (std::bad_alloc)
{
return malloc(n);
}
-void* operator new[] (std::size_t n, std::nothrow_t const &) throw ()
+__attribute__((noinline)) void* operator new[] (std::size_t n, std::nothrow_t const &) throw ()
{
return malloc(n);
}
-void operator delete (void* p)
+__attribute__((noinline)) void operator delete (void* p)
{
return free(p);
}
-void operator delete[] (void* p)
+__attribute__((noinline)) void operator delete[] (void* p)
{
return free(p);
}
|
|
From: Tom H. <th...@cy...> - 2008-11-08 04:11:20
|
Nightly build on alvis ( i686, Red Hat 7.3 ) started at 2008-11-08 03:15:04 GMT Results unchanged from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 367 tests, 83 stderr failures, 2 stdout failures, 29 post failures == exp-ptrcheck/tests/bad_percentify (stderr) exp-ptrcheck/tests/base (stderr) exp-ptrcheck/tests/ccc (stderr) exp-ptrcheck/tests/fp (stderr) exp-ptrcheck/tests/globalerr (stderr) exp-ptrcheck/tests/hackedbz2 (stderr) exp-ptrcheck/tests/hp_bounds (stderr) exp-ptrcheck/tests/hp_dangle (stderr) exp-ptrcheck/tests/justify (stderr) exp-ptrcheck/tests/partial_bad (stderr) exp-ptrcheck/tests/partial_good (stderr) exp-ptrcheck/tests/preen_invars (stderr) exp-ptrcheck/tests/pth_create (stderr) exp-ptrcheck/tests/pth_specific (stderr) exp-ptrcheck/tests/realloc (stderr) exp-ptrcheck/tests/stackerr (stderr) exp-ptrcheck/tests/strcpy (stderr) exp-ptrcheck/tests/supp (stderr) exp-ptrcheck/tests/tricky (stderr) exp-ptrcheck/tests/unaligned (stderr) exp-ptrcheck/tests/zero (stderr) helgrind/tests/hg01_all_ok (stderr) helgrind/tests/hg02_deadlock (stderr) helgrind/tests/hg03_inherit (stderr) helgrind/tests/hg04_race (stderr) helgrind/tests/hg05_race2 (stderr) helgrind/tests/hg06_readshared (stderr) helgrind/tests/tc01_simple_race (stderr) helgrind/tests/tc02_simple_tls (stderr) helgrind/tests/tc03_re_excl (stderr) helgrind/tests/tc04_free_lock (stderr) helgrind/tests/tc05_simple_race (stderr) helgrind/tests/tc06_two_races (stderr) helgrind/tests/tc07_hbl1 (stderr) helgrind/tests/tc08_hbl2 (stderr) helgrind/tests/tc09_bad_unlock (stderr) helgrind/tests/tc11_XCHG (stderr) helgrind/tests/tc12_rwl_trivial (stderr) helgrind/tests/tc14_laog_dinphils (stderr) helgrind/tests/tc16_byterace (stderr) helgrind/tests/tc17_sembar (stderr) helgrind/tests/tc18_semabuse (stderr) helgrind/tests/tc19_shadowmem (stderr) helgrind/tests/tc20_verifywrap (stderr) helgrind/tests/tc21_pthonce (stderr) helgrind/tests/tc22_exit_w_lock (stderr) helgrind/tests/tc23_bogus_condwait (stderr) helgrind/tests/tc24_nonzero_sem (stderr) massif/tests/alloc-fns-A (post) massif/tests/alloc-fns-B (post) massif/tests/basic (post) massif/tests/basic2 (post) massif/tests/big-alloc (post) massif/tests/culling1 (stderr) massif/tests/culling2 (stderr) massif/tests/custom_alloc (post) massif/tests/deep-A (post) massif/tests/deep-B (stderr) massif/tests/deep-B (post) massif/tests/deep-C (stderr) massif/tests/deep-C (post) massif/tests/deep-D (post) massif/tests/ignoring (post) massif/tests/insig (post) massif/tests/long-names (post) massif/tests/long-time (post) massif/tests/new-cpp (post) massif/tests/null (post) massif/tests/one (post) massif/tests/overloaded-new (post) massif/tests/peak (post) massif/tests/peak2 (stderr) massif/tests/peak2 (post) massif/tests/realloc (stderr) massif/tests/realloc (post) massif/tests/thresholds_0_0 (post) massif/tests/thresholds_0_10 (post) massif/tests/thresholds_10_0 (post) massif/tests/thresholds_10_10 (post) massif/tests/thresholds_5_0 (post) massif/tests/thresholds_5_10 (post) massif/tests/zero1 (post) massif/tests/zero2 (post) memcheck/tests/file_locking (stderr) memcheck/tests/leak-0 (stderr) memcheck/tests/leak-cycle (stderr) memcheck/tests/leak-regroot (stderr) memcheck/tests/leak-tree (stderr) memcheck/tests/long_namespace_xml (stderr) memcheck/tests/malloc_free_fill (stderr) memcheck/tests/mismatches (stderr) memcheck/tests/origin1-yes (stderr) memcheck/tests/origin4-many (stderr) memcheck/tests/origin5-bz2 (stderr) memcheck/tests/pointer-trace (stderr) memcheck/tests/stack_changes (stderr) memcheck/tests/varinfo1 (stderr) memcheck/tests/varinfo2 (stderr) memcheck/tests/varinfo3 (stderr) memcheck/tests/varinfo4 (stderr) memcheck/tests/varinfo5 (stderr) memcheck/tests/varinfo6 (stderr) memcheck/tests/x86/bug152022 (stderr) memcheck/tests/x86/scalar (stderr) memcheck/tests/x86/scalar_supp (stderr) memcheck/tests/x86/xor-undef-x86 (stderr) memcheck/tests/xml1 (stderr) none/tests/blockfault (stderr) none/tests/cmdline2 (stdout) none/tests/mremap2 (stdout) none/tests/shell (stderr) none/tests/shell_valid1 (stderr) none/tests/shell_valid2 (stderr) none/tests/shell_valid3 (stderr) |
|
From: Tom H. <th...@cy...> - 2008-11-08 03:59:12
|
Nightly build on lloyd ( x86_64, Fedora 7 ) started at 2008-11-08 03:05:08 GMT Results unchanged from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 462 tests, 25 stderr failures, 3 stdout failures, 0 post failures == exp-ptrcheck/tests/base (stderr) exp-ptrcheck/tests/ccc (stderr) exp-ptrcheck/tests/preen_invars (stderr) exp-ptrcheck/tests/pth_create (stderr) exp-ptrcheck/tests/pth_specific (stderr) helgrind/tests/hg03_inherit (stderr) helgrind/tests/hg04_race (stderr) helgrind/tests/hg05_race2 (stderr) helgrind/tests/tc01_simple_race (stderr) helgrind/tests/tc04_free_lock (stderr) helgrind/tests/tc05_simple_race (stderr) helgrind/tests/tc06_two_races (stderr) helgrind/tests/tc09_bad_unlock (stderr) helgrind/tests/tc14_laog_dinphils (stderr) helgrind/tests/tc16_byterace (stderr) helgrind/tests/tc17_sembar (stderr) helgrind/tests/tc19_shadowmem (stderr) helgrind/tests/tc20_verifywrap (stderr) helgrind/tests/tc21_pthonce (stderr) helgrind/tests/tc22_exit_w_lock (stderr) memcheck/tests/file_locking (stderr) memcheck/tests/malloc_free_fill (stderr) memcheck/tests/pointer-trace (stderr) memcheck/tests/vcpu_fnfns (stdout) memcheck/tests/x86/scalar (stderr) none/tests/blockfault (stderr) none/tests/cmdline2 (stdout) none/tests/mremap2 (stdout) |
|
From: Tom H. <th...@cy...> - 2008-11-08 03:57:16
|
Nightly build on trojan ( x86_64, Fedora Core 6 ) started at 2008-11-08 03:25:06 GMT Results unchanged from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 466 tests, 25 stderr failures, 5 stdout failures, 0 post failures == exp-ptrcheck/tests/ccc (stderr) exp-ptrcheck/tests/preen_invars (stderr) exp-ptrcheck/tests/pth_create (stderr) exp-ptrcheck/tests/pth_specific (stderr) helgrind/tests/hg03_inherit (stderr) helgrind/tests/hg04_race (stderr) helgrind/tests/hg05_race2 (stderr) helgrind/tests/tc01_simple_race (stderr) helgrind/tests/tc04_free_lock (stderr) helgrind/tests/tc05_simple_race (stderr) helgrind/tests/tc06_two_races (stderr) helgrind/tests/tc09_bad_unlock (stderr) helgrind/tests/tc14_laog_dinphils (stderr) helgrind/tests/tc16_byterace (stderr) helgrind/tests/tc17_sembar (stderr) helgrind/tests/tc19_shadowmem (stderr) helgrind/tests/tc20_verifywrap (stderr) helgrind/tests/tc21_pthonce (stderr) helgrind/tests/tc22_exit_w_lock (stderr) memcheck/tests/file_locking (stderr) memcheck/tests/malloc_free_fill (stderr) memcheck/tests/pointer-trace (stderr) memcheck/tests/vcpu_fnfns (stdout) memcheck/tests/x86/bug133694 (stdout) memcheck/tests/x86/bug133694 (stderr) memcheck/tests/x86/scalar (stderr) none/tests/blockfault (stderr) none/tests/cmdline1 (stdout) none/tests/cmdline2 (stdout) none/tests/mremap2 (stdout) |
|
From: Tom H. <th...@cy...> - 2008-11-08 03:33:15
|
Nightly build on gill ( x86_64, Fedora Core 2 ) started at 2008-11-08 03:00:06 GMT Results unchanged from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 468 tests, 35 stderr failures, 4 stdout failures, 0 post failures == drd/tests/pth_cancel_locked (stderr) exp-ptrcheck/tests/ccc (stderr) exp-ptrcheck/tests/hackedbz2 (stderr) helgrind/tests/hg01_all_ok (stderr) helgrind/tests/hg02_deadlock (stderr) helgrind/tests/hg03_inherit (stderr) helgrind/tests/hg04_race (stderr) helgrind/tests/hg05_race2 (stderr) helgrind/tests/tc01_simple_race (stderr) helgrind/tests/tc04_free_lock (stderr) helgrind/tests/tc05_simple_race (stderr) helgrind/tests/tc06_two_races (stderr) helgrind/tests/tc09_bad_unlock (stderr) helgrind/tests/tc14_laog_dinphils (stderr) helgrind/tests/tc16_byterace (stderr) helgrind/tests/tc17_sembar (stderr) helgrind/tests/tc19_shadowmem (stderr) helgrind/tests/tc20_verifywrap (stderr) helgrind/tests/tc21_pthonce (stderr) helgrind/tests/tc22_exit_w_lock (stderr) helgrind/tests/tc23_bogus_condwait (stderr) memcheck/tests/file_locking (stderr) memcheck/tests/malloc_free_fill (stderr) memcheck/tests/origin5-bz2 (stderr) memcheck/tests/pointer-trace (stderr) memcheck/tests/stack_switch (stderr) memcheck/tests/varinfo6 (stderr) memcheck/tests/x86/scalar (stderr) memcheck/tests/x86/scalar_supp (stderr) none/tests/amd64/insn_ssse3 (stdout) none/tests/amd64/insn_ssse3 (stderr) none/tests/amd64/ssse3_misaligned (stderr) none/tests/blockfault (stderr) none/tests/cmdline2 (stdout) none/tests/fdleak_fcntl (stderr) none/tests/mremap2 (stdout) none/tests/x86/insn_ssse3 (stdout) none/tests/x86/insn_ssse3 (stderr) none/tests/x86/ssse3_misaligned (stderr) |