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
(12) |
|
2
(6) |
3
(13) |
4
(9) |
5
(6) |
6
(8) |
7
(5) |
8
(5) |
|
9
(15) |
10
(18) |
11
(18) |
12
(18) |
13
(7) |
14
(11) |
15
(6) |
|
16
(12) |
17
(28) |
18
(15) |
19
(12) |
20
(17) |
21
(23) |
22
(10) |
|
23
(9) |
24
(11) |
25
(7) |
26
(21) |
27
(12) |
28
(6) |
29
(6) |
|
30
(8) |
|
|
|
|
|
|
|
From: <sv...@va...> - 2007-09-12 22:09:32
|
Author: sewardj
Date: 2007-09-12 23:09:33 +0100 (Wed, 12 Sep 2007)
New Revision: 6828
Log:
ppc64-linux (glibc 2.4) fixes
Modified:
branches/THRCHECK/coregrind/m_syswrap/syswrap-ppc64-linux.c
branches/THRCHECK/glibc-2.4.supp
branches/THRCHECK/thrcheck/tests/tc07_hbl1.c
branches/THRCHECK/thrcheck/tests/tc08_hbl2.c
Modified: branches/THRCHECK/coregrind/m_syswrap/syswrap-ppc64-linux.c
===================================================================
--- branches/THRCHECK/coregrind/m_syswrap/syswrap-ppc64-linux.c 2007-09-12 14:40:01 UTC (rev 6827)
+++ branches/THRCHECK/coregrind/m_syswrap/syswrap-ppc64-linux.c 2007-09-12 22:09:33 UTC (rev 6828)
@@ -341,6 +341,12 @@
ctst->client_stack_szB = 0;
}
+ /* Assume the clone will succeed, and tell any tool that wants to
+ know that this thread has come into existence. If the clone
+ fails, we'll send out a ll_exit notification for it at the out:
+ label below, to clean up. */
+ VG_TRACK ( pre_thread_ll_create, ptid, ctid );
+
if (flags & VKI_CLONE_SETTLS) {
if (debug)
VG_(printf)("clone child has SETTLS: tls at %p\n", child_tls);
@@ -374,6 +380,8 @@
/* clone failed */
VG_(cleanup_thread)(&ctst->arch);
ctst->status = VgTs_Empty;
+ /* oops. Better tell the tool the thread exited in a hurry :-) */
+ VG_TRACK( pre_thread_ll_exit, ctid );
}
return res;
Modified: branches/THRCHECK/glibc-2.4.supp
===================================================================
--- branches/THRCHECK/glibc-2.4.supp 2007-09-12 14:40:01 UTC (rev 6827)
+++ branches/THRCHECK/glibc-2.4.supp 2007-09-12 22:09:33 UTC (rev 6828)
@@ -296,3 +296,9 @@
fun:pthread_create*
fun:pthread_create*
}
+{
+ thrcheck-glibc24-ppc64-1
+ Thrcheck:Race
+ fun:__free_tcb
+ fun:pthread_join
+}
Modified: branches/THRCHECK/thrcheck/tests/tc07_hbl1.c
===================================================================
--- branches/THRCHECK/thrcheck/tests/tc07_hbl1.c 2007-09-12 14:40:01 UTC (rev 6827)
+++ branches/THRCHECK/thrcheck/tests/tc07_hbl1.c 2007-09-12 22:09:33 UTC (rev 6828)
@@ -32,7 +32,7 @@
# define INC(_lval) \
__asm__ __volatile__ ( \
"lock ; incl (%0)" : /*out*/ : /*in*/"r"(&(_lval)) : "memory", "cc" )
-#elif defined(PLAT_ppc32_linux)
+#elif defined(PLAT_ppc32_linux) || defined(PLAT_ppc64_linux)
# define INC(_lval) \
__asm__ __volatile__( \
"1:\n" \
Modified: branches/THRCHECK/thrcheck/tests/tc08_hbl2.c
===================================================================
--- branches/THRCHECK/thrcheck/tests/tc08_hbl2.c 2007-09-12 14:40:01 UTC (rev 6827)
+++ branches/THRCHECK/thrcheck/tests/tc08_hbl2.c 2007-09-12 22:09:33 UTC (rev 6828)
@@ -36,7 +36,7 @@
# define INC(_lval) \
__asm__ __volatile__ ( \
"lock ; incl (%0)" : /*out*/ : /*in*/"r"(&(_lval)) : "memory", "cc" )
-#elif defined(PLAT_ppc32_linux)
+#elif defined(PLAT_ppc32_linux) || defined(PLAT_ppc64_linux)
# define INC(_lval) \
__asm__ __volatile__( \
"1:\n" \
|
|
From: <sv...@va...> - 2007-09-12 14:40:03
|
Author: sewardj
Date: 2007-09-12 15:40:01 +0100 (Wed, 12 Sep 2007)
New Revision: 6827
Log:
Make all error kinds suppressible.
Modified:
branches/THRCHECK/thrcheck/tc_main.c
Modified: branches/THRCHECK/thrcheck/tc_main.c
===================================================================
--- branches/THRCHECK/thrcheck/tc_main.c 2007-09-12 13:25:35 UTC (rev 6826)
+++ branches/THRCHECK/thrcheck/tc_main.c 2007-09-12 14:40:01 UTC (rev 6827)
@@ -3987,7 +3987,13 @@
/* Extensions of suppressions */
typedef
enum {
- XS_Race=62 /* race */
+ XS_Race=72, /* race */
+ XS_FreeMemLock,
+ XS_UnlockUnlocked,
+ XS_UnlockForeign,
+ XS_UnlockBogus,
+ XS_DestroyLocked,
+ XS_PthAPIerror
}
XSuppTag;
@@ -4384,7 +4390,7 @@
VG_(message)(Vg_UserMsg,
" Old state: owned exclusively by thread #%d",
old_thr->errmsg_index);
- // This should always show exactly 2 threeads
+ // This should always show exactly 2 threads
summarise_threadset( new_tset, new_tset_buf, sizeof(new_tset_buf) );
VG_(message)(Vg_UserMsg,
" New state: shared-modified by threads %s",
@@ -4454,17 +4460,38 @@
} /* switch (VG_(get_error_kind)(err)) */
}
-static Bool tc_recognised_suppression ( Char* name, Supp *su )
+static Char* tc_get_error_name ( Error* err )
{
- // FIXME fill in missing cases
- if (0 == VG_(strcmp)(name, "Race")) {
- VG_(set_supp_kind)(su, XS_Race);
- return True;
- } else {
- return False;
+ switch (VG_(get_error_kind)(err)) {
+ case XE_Race: return "Race";
+ case XE_FreeMemLock: return "FreeMemLock";
+ case XE_UnlockUnlocked: return "UnlockUnlocked";
+ case XE_UnlockForeign: return "UnlockForeign";
+ case XE_UnlockBogus: return "UnlockBogus";
+ case XE_DestroyLocked: return "DestroyLocked";
+ case XE_PthAPIerror: return "PthAPIerror";
+ default: tl_assert(0); /* fill in missing case */
}
}
+static Bool tc_recognised_suppression ( Char* name, Supp *su )
+{
+# define TRY(_name,_xskind) \
+ if (0 == VG_(strcmp)(name, (_name))) { \
+ VG_(set_supp_kind)(su, (_xskind)); \
+ return True; \
+ }
+ TRY("Race", XS_Race);
+ TRY("FreeMemLock", XS_FreeMemLock);
+ TRY("UnlockUnlocked", XS_UnlockUnlocked);
+ TRY("UnlockForeign", XS_UnlockForeign);
+ TRY("UnlockBogus", XS_UnlockBogus);
+ TRY("DestroyLocked", XS_DestroyLocked);
+ TRY("PthAPIerror", XS_PthAPIerror);
+ return False;
+# undef TRY
+}
+
static Bool tc_read_extra_suppression_info ( Int fd, Char* buf, Int nBuf,
Supp* su )
{
@@ -4475,16 +4502,16 @@
static Bool tc_error_matches_suppression ( Error* err, Supp* su )
{
- tl_assert(VG_(get_supp_kind)(su) == XS_Race);
- return VG_(get_error_kind)(err) == XE_Race;
-}
-
-static Char* tc_get_error_name ( Error* err )
-{
- if (XE_Race == VG_(get_error_kind)(err)) {
- return "Race";
- } else {
- return NULL; /* Other error types can't be suppressed */
+ switch (VG_(get_supp_kind)(su)) {
+ case XS_Race: return VG_(get_error_kind)(err) == XE_Race;
+ case XS_FreeMemLock: return VG_(get_error_kind)(err) == XE_FreeMemLock;
+ case XS_UnlockUnlocked: return VG_(get_error_kind)(err) == XE_UnlockUnlocked;
+ case XS_UnlockForeign: return VG_(get_error_kind)(err) == XE_UnlockForeign;
+ case XS_UnlockBogus: return VG_(get_error_kind)(err) == XE_UnlockBogus;
+ case XS_DestroyLocked: return VG_(get_error_kind)(err) == XE_DestroyLocked;
+ case XS_PthAPIerror: return VG_(get_error_kind)(err) == XE_PthAPIerror;
+ //case XS_: return VG_(get_error_kind)(err) == XE_;
+ default: tl_assert(0); /* fill in missing cases */
}
}
|
|
From: Josef W. <Jos...@gm...> - 2007-09-12 13:54:22
|
On Tuesday 11 September 2007, Benjamin Meyer wrote: > Nice :) Hmm it probably wouldn't take much work (cross fingers) to > get KCachegrind built on Qt4 only. A little bit OT regarding the Valgrind, but ... Yes, porting KCachegrind to pure Qt should be quite easy, as it started in the very beginning as Qt application. I really like to split the sources up into data model stuff (lib/), Qt GUI stuff, and KDE additions, which would give 3 versions: console (filtering/merging of profile data, ASCII output results), pure Qt version, and KDE version. > Slap in a few OS X integration > features and have a nice bundle to run on my laptop :) This would be appreciated a lot. However, I do not have an Apple machine to test this. Josef |
|
From: <sv...@va...> - 2007-09-12 13:25:48
|
Author: dirk
Date: 2007-09-12 14:25:35 +0100 (Wed, 12 Sep 2007)
New Revision: 6826
Log:
suppression update for 10.3
Modified:
trunk/glibc-2.6.supp
trunk/xfree-4.supp
Modified: trunk/glibc-2.6.supp
===================================================================
--- trunk/glibc-2.6.supp 2007-09-12 13:25:21 UTC (rev 6825)
+++ trunk/glibc-2.6.supp 2007-09-12 13:25:35 UTC (rev 6826)
@@ -47,6 +47,16 @@
obj:/lib*/ld-2.6*.so*
}
+{
+ dl-hack3
+ Memcheck:Cond
+ obj:/lib*/ld-2.6*.so
+ obj:/lib*/ld-2.6*.so
+ obj:/lib*/libc-2.6*.so
+ obj:/lib*/libdl-2.6*.so
+ obj:/lib*/ld-2.6*.so
+}
+
##----------------------------------------------------------------------##
{
glibc-2.5.x-on-SUSE-10.2-(PPC)-1
@@ -84,11 +94,19 @@
{
glibc-2.6-on-SUSE-10.3-(x86)
Memcheck:Addr4
- obj:/lib/ld-2.6*.so
- obj:/lib/ld-2.6*.so
- obj:/lib/ld-2.6*.so
+ obj:/lib*/ld-2.6*.so*
+ obj:/lib*/ld-2.6*.so*
+ obj:/lib*/ld-2.6*.so*
}
+{
+ glibc-2.6-on-SUSE-10.3-(x86_64)
+ Memcheck:Addr8
+ obj:/lib*/ld-2.6*.so
+ obj:/lib*/ld-2.6*.so
+ obj:/lib*/ld-2.6*.so
+}
+
##----------------------------------------------------------------------##
## Various structure padding things on SUSE 10.2
##
Modified: trunk/xfree-4.supp
===================================================================
--- trunk/xfree-4.supp 2007-09-12 13:25:21 UTC (rev 6825)
+++ trunk/xfree-4.supp 2007-09-12 13:25:35 UTC (rev 6826)
@@ -136,7 +136,7 @@
struct with uninitialized paddings - libxcb
Memcheck:Param
writev(vector[...])
- obj:/lib/ld-2.6.so
+ obj:/lib*/libc-2.6*.so
obj:/usr/lib*/libxcb.so.1.0.0
obj:/usr/lib*/libxcb.so.1.0.0
fun:xcb_send_request
@@ -147,7 +147,7 @@
struct with uninitialized paddings - libxcb
Memcheck:Param
writev(vector[...])
- obj:/lib/ld-2.6.so
+ obj:/lib*/libc-2.6*.so
obj:/usr/lib*/libxcb.so.1.0.0
obj:/usr/lib*/libxcb.so.1.0.0
obj:/usr/lib*/libxcb.so.1.0.0
|
|
From: <sv...@va...> - 2007-09-12 13:25:40
|
Author: dirk
Date: 2007-09-12 14:25:21 +0100 (Wed, 12 Sep 2007)
New Revision: 6825
Log:
suppression update for openSUSE 10.3
Modified:
branches/VALGRIND_3_2_BRANCH/glibc-2.6.supp
branches/VALGRIND_3_2_BRANCH/xfree-4.supp
Modified: branches/VALGRIND_3_2_BRANCH/glibc-2.6.supp
===================================================================
--- branches/VALGRIND_3_2_BRANCH/glibc-2.6.supp 2007-09-12 08:55:13 UTC (rev 6824)
+++ branches/VALGRIND_3_2_BRANCH/glibc-2.6.supp 2007-09-12 13:25:21 UTC (rev 6825)
@@ -47,6 +47,16 @@
obj:/lib*/ld-2.6*.so*
}
+{
+ dl-hack3
+ Memcheck:Cond
+ obj:/lib*/ld-2.6*.so
+ obj:/lib*/ld-2.6*.so
+ obj:/lib*/libc-2.6*.so
+ obj:/lib*/libdl-2.6*.so
+ obj:/lib*/ld-2.6*.so
+}
+
##----------------------------------------------------------------------##
{
glibc-2.5.x-on-SUSE-10.2-(PPC)-1
@@ -84,11 +94,19 @@
{
glibc-2.6-on-SUSE-10.3-(x86)
Memcheck:Addr4
- obj:/lib/ld-2.6*.so
- obj:/lib/ld-2.6*.so
- obj:/lib/ld-2.6*.so
+ obj:/lib*/ld-2.6*.so*
+ obj:/lib*/ld-2.6*.so*
+ obj:/lib*/ld-2.6*.so*
}
+{
+ glibc-2.6-on-SUSE-10.3-(x86_64)
+ Memcheck:Addr8
+ obj:/lib*/ld-2.6*.so
+ obj:/lib*/ld-2.6*.so
+ obj:/lib*/ld-2.6*.so
+}
+
##----------------------------------------------------------------------##
## Various structure padding things on SUSE 10.2
##
Modified: branches/VALGRIND_3_2_BRANCH/xfree-4.supp
===================================================================
--- branches/VALGRIND_3_2_BRANCH/xfree-4.supp 2007-09-12 08:55:13 UTC (rev 6824)
+++ branches/VALGRIND_3_2_BRANCH/xfree-4.supp 2007-09-12 13:25:21 UTC (rev 6825)
@@ -137,7 +137,7 @@
struct with uninitialized paddings - libxcb
Memcheck:Param
writev(vector[...])
- obj:/lib/ld-2.6.so
+ obj:/lib*/libc-2.6*.so
obj:/usr/lib*/libxcb.so.1.0.0
obj:/usr/lib*/libxcb.so.1.0.0
fun:xcb_send_request
@@ -148,7 +148,7 @@
struct with uninitialized paddings - libxcb
Memcheck:Param
writev(vector[...])
- obj:/lib/ld-2.6.so
+ obj:/lib*/libc-2.6*.so
obj:/usr/lib*/libxcb.so.1.0.0
obj:/usr/lib*/libxcb.so.1.0.0
obj:/usr/lib*/libxcb.so.1.0.0
|
|
From: <js...@ac...> - 2007-09-12 12:52:43
|
Nightly build on minnie ( SuSE 10.0, ppc32 ) started at 2007-09-12 09:00:01 BST Results unchanged from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 220 tests, 10 stderr failures, 6 stdout failures, 0 posttest failures == memcheck/tests/leak-tree (stderr) memcheck/tests/leakotron (stdout) memcheck/tests/pointer-trace (stderr) memcheck/tests/stack_changes (stderr) memcheck/tests/xml1 (stderr) none/tests/faultstatus (stderr) none/tests/fdleak_cmsg (stderr) none/tests/mremap (stderr) none/tests/mremap2 (stdout) none/tests/ppc32/jm-fp (stdout) none/tests/ppc32/jm-fp (stderr) none/tests/ppc32/round (stdout) none/tests/ppc32/round (stderr) none/tests/ppc32/test_fx (stdout) none/tests/ppc32/test_fx (stderr) none/tests/ppc32/test_gx (stdout) |
|
From: Bart V. A. <bar...@gm...> - 2007-09-12 09:05:46
|
A feature-request: would it be possible to not only print Valgrind's thread-ID but also the thread ID as known by the kernel (result of syscall(__NR_gettid)) ? This is essential in order to be able to correlate a thrcheck error report with a thread. Another possible solution is make it possible to query Valgrind's thread-ID's from within the user program, as is possible with drd. On 9/12/07, sv...@va... <sv...@va...> wrote: > Author: sewardj > Date: 2007-09-12 09:53:35 +0100 (Wed, 12 Sep 2007) > New Revision: 6823 > > Log: > Core-tool interface: give 'needs_tool_errors' an extra Boolean indicating > whether or not the core should print thread id's on error messages. |
|
From: <sv...@va...> - 2007-09-12 08:55:12
|
Author: sewardj
Date: 2007-09-12 09:55:13 +0100 (Wed, 12 Sep 2007)
New Revision: 6824
Log:
Update expected output following r6823.
Modified:
branches/THRCHECK/thrcheck/tests/hg03_inherit.stderr.exp
branches/THRCHECK/thrcheck/tests/hg04_race.stderr.exp
branches/THRCHECK/thrcheck/tests/hg05_race2.stderr.exp
branches/THRCHECK/thrcheck/tests/tc09_bad_unlock.stderr.exp
Modified: branches/THRCHECK/thrcheck/tests/hg03_inherit.stderr.exp
===================================================================
--- branches/THRCHECK/thrcheck/tests/hg03_inherit.stderr.exp 2007-09-12 08:53:35 UTC (rev 6823)
+++ branches/THRCHECK/thrcheck/tests/hg03_inherit.stderr.exp 2007-09-12 08:55:13 UTC (rev 6824)
@@ -1,5 +1,4 @@
-Thread 3:
Thread #1 is the program's root thread
Thread #3 was created
Modified: branches/THRCHECK/thrcheck/tests/hg04_race.stderr.exp
===================================================================
--- branches/THRCHECK/thrcheck/tests/hg04_race.stderr.exp 2007-09-12 08:53:35 UTC (rev 6823)
+++ branches/THRCHECK/thrcheck/tests/hg04_race.stderr.exp 2007-09-12 08:55:13 UTC (rev 6824)
@@ -1,5 +1,4 @@
-Thread 2:
Thread #2 was created
at 0x........: clone (in /...libc...)
by 0x........: ...
Modified: branches/THRCHECK/thrcheck/tests/hg05_race2.stderr.exp
===================================================================
--- branches/THRCHECK/thrcheck/tests/hg05_race2.stderr.exp 2007-09-12 08:53:35 UTC (rev 6823)
+++ branches/THRCHECK/thrcheck/tests/hg05_race2.stderr.exp 2007-09-12 08:55:13 UTC (rev 6824)
@@ -1,5 +1,4 @@
-Thread 2:
Thread #2 was created
at 0x........: clone (in /...libc...)
by 0x........: ...
Modified: branches/THRCHECK/thrcheck/tests/tc09_bad_unlock.stderr.exp
===================================================================
--- branches/THRCHECK/thrcheck/tests/tc09_bad_unlock.stderr.exp 2007-09-12 08:53:35 UTC (rev 6823)
+++ branches/THRCHECK/thrcheck/tests/tc09_bad_unlock.stderr.exp 2007-09-12 08:55:13 UTC (rev 6824)
@@ -10,7 +10,6 @@
by 0x........: nearly_main (tc09_bad_unlock.c:23)
by 0x........: main (tc09_bad_unlock.c:49)
-Thread 2:
Thread #2 was created
at 0x........: clone (in /...libc...)
by 0x........: ...
@@ -30,7 +29,6 @@
by 0x........: nearly_main (tc09_bad_unlock.c:31)
by 0x........: main (tc09_bad_unlock.c:49)
-Thread 1:
Thread #1 unlocked an invalid lock at 0x........
at 0x........: pthread_mutex_unlock (tc_intercepts.c:423)
by 0x........: nearly_main (tc09_bad_unlock.c:41)
@@ -58,7 +56,6 @@
by 0x........: nearly_main (tc09_bad_unlock.c:23)
by 0x........: main (tc09_bad_unlock.c:50)
-Thread 2:
Thread #3 was created
at 0x........: clone (in /...libc...)
by 0x........: ...
@@ -78,7 +75,6 @@
by 0x........: nearly_main (tc09_bad_unlock.c:31)
by 0x........: main (tc09_bad_unlock.c:50)
-Thread 1:
Thread #1 unlocked an invalid lock at 0x........
at 0x........: pthread_mutex_unlock (tc_intercepts.c:423)
by 0x........: nearly_main (tc09_bad_unlock.c:41)
|
|
From: <sv...@va...> - 2007-09-12 08:53:37
|
Author: sewardj
Date: 2007-09-12 09:53:35 +0100 (Wed, 12 Sep 2007)
New Revision: 6823
Log:
Core-tool interface: give 'needs_tool_errors' an extra Boolean indicating
whether or not the core should print thread id's on error messages.
Modified:
branches/THRCHECK/coregrind/m_errormgr.c
branches/THRCHECK/coregrind/m_tooliface.c
branches/THRCHECK/coregrind/pub_core_tooliface.h
branches/THRCHECK/helgrind/hg_main.c
branches/THRCHECK/include/pub_tool_tooliface.h
branches/THRCHECK/memcheck/mc_main.c
branches/THRCHECK/thrcheck/tc_main.c
Modified: branches/THRCHECK/coregrind/m_errormgr.c
===================================================================
--- branches/THRCHECK/coregrind/m_errormgr.c 2007-09-12 00:22:57 UTC (rev 6822)
+++ branches/THRCHECK/coregrind/m_errormgr.c 2007-09-12 08:53:35 UTC (rev 6823)
@@ -293,7 +293,8 @@
}
if (!VG_(clo_xml)) {
- if (err->tid > 0 && err->tid != last_tid_printed) {
+ if (VG_(tdict).tool_show_ThreadIDs_for_errors
+ && err->tid > 0 && err->tid != last_tid_printed) {
VG_(message)(Vg_UserMsg, "Thread %d:", err->tid );
last_tid_printed = err->tid;
}
Modified: branches/THRCHECK/coregrind/m_tooliface.c
===================================================================
--- branches/THRCHECK/coregrind/m_tooliface.c 2007-09-12 00:22:57 UTC (rev 6822)
+++ branches/THRCHECK/coregrind/m_tooliface.c 2007-09-12 08:53:35 UTC (rev 6823)
@@ -176,6 +176,7 @@
void VG_(needs_tool_errors)(
Bool (*eq) (VgRes, Error*, Error*),
void (*pp) (Error*),
+ Bool show_TIDs,
UInt (*update) (Error*),
Bool (*recog) (Char*, Supp*),
Bool (*read_extra) (Int, Char*, Int, Supp*),
@@ -187,6 +188,7 @@
VG_(needs).tool_errors = True;
VG_(tdict).tool_eq_Error = eq;
VG_(tdict).tool_pp_Error = pp;
+ VG_(tdict).tool_show_ThreadIDs_for_errors = show_TIDs;
VG_(tdict).tool_update_extra = update;
VG_(tdict).tool_recognised_suppression = recog;
VG_(tdict).tool_read_extra_suppression_info = read_extra;
Modified: branches/THRCHECK/coregrind/pub_core_tooliface.h
===================================================================
--- branches/THRCHECK/coregrind/pub_core_tooliface.h 2007-09-12 00:22:57 UTC (rev 6822)
+++ branches/THRCHECK/coregrind/pub_core_tooliface.h 2007-09-12 08:53:35 UTC (rev 6823)
@@ -118,6 +118,7 @@
// VG_(needs).tool_errors
Bool (*tool_eq_Error) (VgRes, Error*, Error*);
void (*tool_pp_Error) (Error*);
+ Bool tool_show_ThreadIDs_for_errors;
UInt (*tool_update_extra) (Error*);
Bool (*tool_recognised_suppression) (Char*, Supp*);
Bool (*tool_read_extra_suppression_info) (Int, Char*, Int, Supp*);
Modified: branches/THRCHECK/helgrind/hg_main.c
===================================================================
--- branches/THRCHECK/helgrind/hg_main.c 2007-09-12 00:22:57 UTC (rev 6822)
+++ branches/THRCHECK/helgrind/hg_main.c 2007-09-12 08:53:35 UTC (rev 6823)
@@ -3413,6 +3413,7 @@
VG_(needs_core_errors) ();
VG_(needs_tool_errors) (hg_eq_Error,
hg_pp_Error,
+ True,/*show TIDs for errors*/
hg_update_extra,
hg_recognised_suppression,
hg_read_extra_suppression_info,
Modified: branches/THRCHECK/include/pub_tool_tooliface.h
===================================================================
--- branches/THRCHECK/include/pub_tool_tooliface.h 2007-09-12 00:22:57 UTC (rev 6822)
+++ branches/THRCHECK/include/pub_tool_tooliface.h 2007-09-12 08:53:35 UTC (rev 6823)
@@ -303,6 +303,9 @@
// Print error context.
void (*pp_Error)(Error* err),
+ // Should the core indicate which ThreadId each error comes from?
+ Bool show_ThreadIDs_for_errors,
+
// Should fill in any details that could be postponed until after the
// decision whether to ignore the error (ie. details not affecting the
// result of VG_(tdict).tool_eq_Error()). This saves time when errors
Modified: branches/THRCHECK/memcheck/mc_main.c
===================================================================
--- branches/THRCHECK/memcheck/mc_main.c 2007-09-12 00:22:57 UTC (rev 6822)
+++ branches/THRCHECK/memcheck/mc_main.c 2007-09-12 08:53:35 UTC (rev 6823)
@@ -4975,6 +4975,7 @@
VG_(needs_core_errors) ();
VG_(needs_tool_errors) (mc_eq_Error,
mc_pp_Error,
+ True,/*show TIDs for errors*/
mc_update_extra,
mc_recognised_suppression,
mc_read_extra_suppression_info,
Modified: branches/THRCHECK/thrcheck/tc_main.c
===================================================================
--- branches/THRCHECK/thrcheck/tc_main.c 2007-09-12 00:22:57 UTC (rev 6822)
+++ branches/THRCHECK/thrcheck/tc_main.c 2007-09-12 08:53:35 UTC (rev 6823)
@@ -4617,6 +4617,7 @@
VG_(needs_core_errors) ();
VG_(needs_tool_errors) (tc_eq_Error,
tc_pp_Error,
+ False,/*show TIDs for errors*/
tc_update_extra,
tc_recognised_suppression,
tc_read_extra_suppression_info,
|
|
From: Kailash S. <hs...@gm...> - 2007-09-12 03:35:05
|
Hi, Yes, NetBSD does use the ELF file format. If you are considering a freebsd port, you will be able to reuse a lot of the code in vg4nbsd. For example, you will be able to use the changes to the build system to introduce a new OS, implement stack based syscall argument passing ( this is implemented in as clean a manner as possible as the mainline code is catered for register based semantics). Getting aspacem working in *BSD will also be reusable. Definitely,the vg4nbsd port will serve as a good reference till the point you get to handling signals. I recommend that you branch off -current and use what you can from the vg4nbsd port. One mistake we have made is that we have incorporated changes from upstream into our code base, and this is pending a big exercise to fix. It will be good for you to maintain patches against -current to introduce FreeBSD support so you can continually sync more easily. Hope this helps, Kailash On 9/12/07, Kumar Rangarajan <kum...@gm...> wrote: > Curiosity Q. How did the topic switch to AIX ? > > And AFAIK, a.out format on most modern systems, rely on the native > file format and is not really a separate file format by itself (it > was in the earlier Unix days, but no longer so). According to this > wiki, all BSD versions use ELF file format (include FreeBSD) > > http://en.wikipedia.org/wiki/A.out_(file_format) > > :-) > > - > The problem with winning the rat race is that, even if u win, u r > still a rat > > Kumar Rangarajan > Senior Architect > S7 Software Solutions > "Where Migration Meets Innovation" > > On 12-Sep-07, at 7:02 AM, Paul Mackerras wrote: > > > Nicholas Nethercote writes: > > > >> It will matter a lot -- Valgrind has its own ELF loader. > >> Although, does AIX > >> use ELF or a.out? If the latter, then Valgrind must have its own > >> a.out > >> loader too, I think... > > > > Neither; AIX uses XCOFF. There is a description at > > > > http://www.unet.univie.ac.at/aix/files/aixfiles/XCOFF.htm > > > > (I haven't checked that page for accuracy; I just found it with a > > quick google search.) > > > > Paul. > > > > ---------------------------------------------------------------------- > > --- > > This SF.net email is sponsored by: Microsoft > > Defy all challenges. Microsoft(R) Visual Studio 2005. > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > _______________________________________________ > > Valgrind-developers mailing list > > Val...@li... > > https://lists.sourceforge.net/lists/listinfo/valgrind-developers > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Valgrind-developers mailing list > Val...@li... > https://lists.sourceforge.net/lists/listinfo/valgrind-developers > |
|
From: Kumar R. <kum...@gm...> - 2007-09-12 03:04:32
|
Curiosity Q. How did the topic switch to AIX ? And AFAIK, a.out format on most modern systems, rely on the native file format and is not really a separate file format by itself (it was in the earlier Unix days, but no longer so). According to this wiki, all BSD versions use ELF file format (include FreeBSD) http://en.wikipedia.org/wiki/A.out_(file_format) :-) - The problem with winning the rat race is that, even if u win, u r still a rat Kumar Rangarajan Senior Architect S7 Software Solutions "Where Migration Meets Innovation" On 12-Sep-07, at 7:02 AM, Paul Mackerras wrote: > Nicholas Nethercote writes: > >> It will matter a lot -- Valgrind has its own ELF loader. >> Although, does AIX >> use ELF or a.out? If the latter, then Valgrind must have its own >> a.out >> loader too, I think... > > Neither; AIX uses XCOFF. There is a description at > > http://www.unet.univie.ac.at/aix/files/aixfiles/XCOFF.htm > > (I haven't checked that page for accuracy; I just found it with a > quick google search.) > > Paul. > > ---------------------------------------------------------------------- > --- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Valgrind-developers mailing list > Val...@li... > https://lists.sourceforge.net/lists/listinfo/valgrind-developers |
|
From: Tom H. <th...@cy...> - 2007-09-12 02:30:54
|
Nightly build on alvis ( i686, Red Hat 7.3 ) started at 2007-09-12 03:15:02 BST Results unchanged from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 256 tests, 27 stderr failures, 1 stdout failure, 0 posttest failures == memcheck/tests/addressable (stderr) memcheck/tests/badjump (stderr) memcheck/tests/describe-block (stderr) memcheck/tests/erringfds (stderr) memcheck/tests/leak-0 (stderr) memcheck/tests/leak-cycle (stderr) memcheck/tests/leak-pool-0 (stderr) memcheck/tests/leak-pool-1 (stderr) memcheck/tests/leak-pool-2 (stderr) memcheck/tests/leak-pool-3 (stderr) memcheck/tests/leak-pool-4 (stderr) memcheck/tests/leak-pool-5 (stderr) memcheck/tests/leak-regroot (stderr) memcheck/tests/leak-tree (stderr) memcheck/tests/long_namespace_xml (stderr) memcheck/tests/match-overrun (stderr) memcheck/tests/partial_load_dflt (stderr) memcheck/tests/partial_load_ok (stderr) memcheck/tests/partiallydefinedeq (stderr) memcheck/tests/pointer-trace (stderr) memcheck/tests/sigkill (stderr) memcheck/tests/stack_changes (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/mremap (stderr) none/tests/mremap2 (stdout) |
|
From: Tom H. <th...@cy...> - 2007-09-12 02:23:35
|
Nightly build on dellow ( x86_64, Fedora 7 ) started at 2007-09-12 03:10:05 BST Results differ from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 293 tests, 4 stderr failures, 3 stdout failures, 0 posttest failures == memcheck/tests/pointer-trace (stderr) memcheck/tests/vcpu_fnfns (stdout) memcheck/tests/x86/scalar (stderr) memcheck/tests/xml1 (stderr) none/tests/mremap (stderr) none/tests/mremap2 (stdout) none/tests/pth_detached (stdout) ================================================= == Results from 24 hours ago == ================================================= Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 293 tests, 4 stderr failures, 2 stdout failures, 0 posttest failures == memcheck/tests/pointer-trace (stderr) memcheck/tests/vcpu_fnfns (stdout) memcheck/tests/x86/scalar (stderr) memcheck/tests/xml1 (stderr) none/tests/mremap (stderr) none/tests/mremap2 (stdout) ================================================= == Difference between 24 hours ago and now == ================================================= *** old.short Wed Sep 12 03:16:57 2007 --- new.short Wed Sep 12 03:23:28 2007 *************** *** 8,10 **** ! == 293 tests, 4 stderr failures, 2 stdout failures, 0 posttest failures == memcheck/tests/pointer-trace (stderr) --- 8,10 ---- ! == 293 tests, 4 stderr failures, 3 stdout failures, 0 posttest failures == memcheck/tests/pointer-trace (stderr) *************** *** 15,16 **** --- 15,17 ---- none/tests/mremap2 (stdout) + none/tests/pth_detached (stdout) |
|
From: Tom H. <th...@cy...> - 2007-09-12 02:17:22
|
Nightly build on lloyd ( x86_64, Fedora Core 3 ) started at 2007-09-12 03:05:05 BST Results unchanged from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 293 tests, 6 stderr failures, 1 stdout failure, 0 posttest failures == memcheck/tests/pointer-trace (stderr) memcheck/tests/stack_switch (stderr) memcheck/tests/x86/scalar (stderr) memcheck/tests/x86/scalar_supp (stderr) memcheck/tests/xml1 (stderr) none/tests/mremap (stderr) none/tests/mremap2 (stdout) |
|
From: Tom H. <th...@cy...> - 2007-09-12 02:16:09
|
Nightly build on gill ( x86_64, Fedora Core 2 ) started at 2007-09-12 03:00:03 BST Results unchanged from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 295 tests, 6 stderr failures, 1 stdout failure, 0 posttest failures == memcheck/tests/pointer-trace (stderr) memcheck/tests/stack_switch (stderr) memcheck/tests/x86/scalar (stderr) memcheck/tests/x86/scalar_supp (stderr) none/tests/fdleak_fcntl (stderr) none/tests/mremap (stderr) none/tests/mremap2 (stdout) |
|
From: Paul M. <pa...@sa...> - 2007-09-12 01:37:57
|
Nicholas Nethercote writes: > It will matter a lot -- Valgrind has its own ELF loader. Although, does AIX > use ELF or a.out? If the latter, then Valgrind must have its own a.out > loader too, I think... Neither; AIX uses XCOFF. There is a description at http://www.unet.univie.ac.at/aix/files/aixfiles/XCOFF.htm (I haven't checked that page for accuracy; I just found it with a quick google search.) Paul. |
|
From: <sv...@va...> - 2007-09-12 00:22:58
|
Author: sewardj
Date: 2007-09-12 01:22:57 +0100 (Wed, 12 Sep 2007)
New Revision: 6822
Log:
Try to fix this so it doesn't hang when run on very slow machines.
Modified:
branches/THRCHECK/thrcheck/tests/tc08_hbl2.c
Modified: branches/THRCHECK/thrcheck/tests/tc08_hbl2.c
===================================================================
--- branches/THRCHECK/thrcheck/tests/tc08_hbl2.c 2007-09-11 15:07:20 UTC (rev 6821)
+++ branches/THRCHECK/thrcheck/tests/tc08_hbl2.c 2007-09-12 00:22:57 UTC (rev 6822)
@@ -2,7 +2,7 @@
#include <pthread.h>
#include <stdio.h>
#include <stdlib.h>
-#include <sched.h>
+#include <unistd.h>
/* Simple test program, no race. Parent writes atomically to a counter
whilst child reads it. When counter reaches a prearranged value,
@@ -55,19 +55,25 @@
#define LIMIT 10
-int x = 0;
+volatile int x = 0;
void* child_fn ( void* arg )
{
int q = 0;
int oldx = 0;
+ int ctr = 0;
while (1) {
- q = x == LIMIT;
+ q = (x >= LIMIT);
if (x != oldx) {
oldx = x;
printf("child: new value %d\n", oldx);
+ fflush(stdout);
}
if (q) break;
+ /* Make sure the parent doesn't starve. Seems to be a problem
+ on very slow machines. */
+ ctr++;
+ if (ctr == 2000000) sleep(1);
}
return NULL;
}
@@ -84,9 +90,7 @@
for (i = 0; i < LIMIT; i++) {
INC(x);
- /* Not really necessary, but just gives the child a chance
- to run too. */
- sched_yield();
+ if (i == 5) sleep(1); /* make sure child doesn't starve */
}
if (pthread_join(child, NULL)) {
@@ -94,5 +98,7 @@
exit(1);
}
+ printf("done, x = %d\n", x);
+
return 0;
}
|
|
From: <js...@ac...> - 2007-09-12 00:17:09
|
Nightly build on g5 ( SuSE 10.1, ppc970 ) started at 2007-09-12 02:00:01 CEST Results unchanged from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 228 tests, 6 stderr failures, 2 stdout failures, 0 posttest failures == memcheck/tests/deep_templates (stdout) memcheck/tests/leak-cycle (stderr) memcheck/tests/leak-tree (stderr) memcheck/tests/pointer-trace (stderr) none/tests/faultstatus (stderr) none/tests/fdleak_cmsg (stderr) none/tests/mremap (stderr) none/tests/mremap2 (stdout) |