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
(32) |
Oct
|
Nov
|
Dec
|
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
|
|
|
|
|
1
(29) |
2
(23) |
3
(17) |
|
4
(19) |
5
(7) |
6
(11) |
7
(8) |
8
(6) |
9
(12) |
10
(23) |
|
11
(16) |
12
(21) |
13
(27) |
14
(35) |
15
(17) |
16
(6) |
17
(11) |
|
18
(13) |
19
(7) |
20
(12) |
21
(11) |
22
(9) |
23
|
24
(8) |
|
25
(15) |
26
(9) |
27
(14) |
28
(17) |
29
(41) |
30
(17) |
31
(15) |
|
From: Tom H. <th...@cy...> - 2008-05-25 02:48:54
|
Nightly build on trojan ( x86_64, Fedora Core 6 ) started at 2008-05-25 03:25: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 == 435 tests, 6 stderr failures, 5 stdout failures, 0 post failures == 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/cmdline1 (stdout) none/tests/cmdline2 (stdout) none/tests/mremap2 (stdout) helgrind/tests/tc20_verifywrap (stderr) helgrind/tests/tc21_pthonce (stderr) helgrind/tests/tc22_exit_w_lock (stderr) ================================================= == Results from 24 hours ago == ================================================= Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 435 tests, 7 stderr failures, 5 stdout failures, 0 post failures == 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/cmdline1 (stdout) none/tests/cmdline2 (stdout) none/tests/mremap2 (stdout) helgrind/tests/tc17_sembar (stderr) helgrind/tests/tc20_verifywrap (stderr) helgrind/tests/tc21_pthonce (stderr) helgrind/tests/tc22_exit_w_lock (stderr) ================================================= == Difference between 24 hours ago and now == ================================================= *** old.short Sun May 25 03:37:52 2008 --- new.short Sun May 25 03:49:00 2008 *************** *** 8,10 **** ! == 435 tests, 7 stderr failures, 5 stdout failures, 0 post failures == memcheck/tests/pointer-trace (stderr) --- 8,10 ---- ! == 435 tests, 6 stderr failures, 5 stdout failures, 0 post failures == memcheck/tests/pointer-trace (stderr) *************** *** 17,19 **** none/tests/mremap2 (stdout) - helgrind/tests/tc17_sembar (stderr) helgrind/tests/tc20_verifywrap (stderr) --- 17,18 ---- |
|
From: Tom H. <th...@cy...> - 2008-05-25 02:43:01
|
Nightly build on dellow ( x86_64, Fedora 8 ) started at 2008-05-25 03:10:06 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 == 431 tests, 7 stderr failures, 3 stdout failures, 0 post failures == memcheck/tests/pointer-trace (stderr) memcheck/tests/vcpu_fnfns (stdout) memcheck/tests/x86/scalar (stderr) none/tests/blockfault (stderr) none/tests/mremap2 (stdout) none/tests/pth_cvsimple (stdout) helgrind/tests/tc18_semabuse (stderr) helgrind/tests/tc20_verifywrap (stderr) helgrind/tests/tc21_pthonce (stderr) helgrind/tests/tc22_exit_w_lock (stderr) ================================================= == Results from 24 hours ago == ================================================= Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 431 tests, 8 stderr failures, 2 stdout failures, 0 post failures == memcheck/tests/pointer-trace (stderr) memcheck/tests/vcpu_fnfns (stdout) memcheck/tests/x86/scalar (stderr) none/tests/blockfault (stderr) none/tests/mremap2 (stdout) helgrind/tests/hg05_race2 (stderr) helgrind/tests/tc18_semabuse (stderr) helgrind/tests/tc20_verifywrap (stderr) helgrind/tests/tc21_pthonce (stderr) helgrind/tests/tc22_exit_w_lock (stderr) ================================================= == Difference between 24 hours ago and now == ================================================= *** old.short Sun May 25 03:24:33 2008 --- new.short Sun May 25 03:43:05 2008 *************** *** 8,10 **** ! == 431 tests, 8 stderr failures, 2 stdout failures, 0 post failures == memcheck/tests/pointer-trace (stderr) --- 8,10 ---- ! == 431 tests, 7 stderr failures, 3 stdout failures, 0 post failures == memcheck/tests/pointer-trace (stderr) *************** *** 14,16 **** none/tests/mremap2 (stdout) ! helgrind/tests/hg05_race2 (stderr) helgrind/tests/tc18_semabuse (stderr) --- 14,16 ---- none/tests/mremap2 (stdout) ! none/tests/pth_cvsimple (stdout) helgrind/tests/tc18_semabuse (stderr) |
|
From: Tom H. <th...@cy...> - 2008-05-25 02:23:36
|
Nightly build on gill ( x86_64, Fedora Core 2 ) started at 2008-05-25 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 == 437 tests, 30 stderr failures, 3 stdout failures, 0 post failures == 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/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) 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/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) |
|
From: Bart V. A. <bar...@gm...> - 2008-05-24 07:02:27
|
Hello,
Currently whenever a file is mapped into memory Valgrind's core first notifies
the tool about the mmap() system call and after this the core reads the debug
information from the file being mapped. This is unfortunate because this
makes it impossible for tools to use the debug information when notified about
an mmap() system call. I would like to have the debug information available in
exp-drd when this tool is notified about an mmap() system call. There are two
possible approaches: either adding a new notification, one that is sent after
the debug info has been read, or swapping the order of tool notification and
debug info reading. The patch below implements the latter approach. Is it OK
if I merge this patch from the CROSS_COMPILATION branch to the trunk ?
I have verified that the "make regtest" output is identical both with and
without the patch.
Bart.
Index: coregrind/m_syswrap/syswrap-generic.c
===================================================================
--- coregrind/m_syswrap/syswrap-generic.c (.../trunk/coregrind/m_syswrap/syswrap-generic.c) (revision 8086)
+++ coregrind/m_syswrap/syswrap-generic.c (.../branches/CROSS_COMPILATION/coregrind/m_syswrap/syswrap-generic.c) (working copy)
@@ -59,6 +59,15 @@
#include "priv_syswrap-generic.h"
+/* Local function declarations. */
+
+static
+void notify_aspacem_of_mmap(Addr a, SizeT len, UInt prot,
+ UInt flags, Int fd, Off64T offset);
+static
+void notify_tool_of_mmap(Addr a, SizeT len, UInt prot, Off64T offset);
+
+
/* Returns True iff address range is something the client can
plausibly mess with: all of it is either already belongs to the
client or is free or a reservation. */
@@ -147,8 +156,16 @@
ML_(notify_aspacem_and_tool_of_mmap) ( Addr a, SizeT len, UInt prot,
UInt flags, Int fd, Off64T offset )
{
- Bool rr, ww, xx, d;
+ notify_aspacem_of_mmap(a, len, prot, flags, fd, offset);
+ notify_tool_of_mmap(a, len, prot, offset);
+}
+static
+void notify_aspacem_of_mmap(Addr a, SizeT len, UInt prot,
+ UInt flags, Int fd, Off64T offset)
+{
+ Bool d;
+
/* 'a' is the return value from a real kernel mmap, hence: */
vg_assert(VG_IS_PAGE_ALIGNED(a));
/* whereas len is whatever the syscall supplied. So: */
@@ -156,15 +173,26 @@
d = VG_(am_notify_client_mmap)( a, len, prot, flags, fd, offset );
+ if (d)
+ VG_(discard_translations)( (Addr64)a, (ULong)len,
+ "ML_(notify_aspacem_of_mmap)" );
+}
+
+static
+void notify_tool_of_mmap(Addr a, SizeT len, UInt prot, Off64T offset)
+{
+ Bool rr, ww, xx;
+
+ /* 'a' is the return value from a real kernel mmap, hence: */
+ vg_assert(VG_IS_PAGE_ALIGNED(a));
+ /* whereas len is whatever the syscall supplied. So: */
+ len = VG_PGROUNDUP(len);
+
rr = toBool(prot & VKI_PROT_READ);
ww = toBool(prot & VKI_PROT_WRITE);
xx = toBool(prot & VKI_PROT_EXEC);
VG_TRACK( new_mem_mmap, a, len, rr, ww, xx );
-
- if (d)
- VG_(discard_translations)( (Addr64)a, (ULong)len,
- "ML_(notify_aspacem_and_tool_of_mmap)" );
}
/* Expand (or shrink) an existing mapping, potentially moving it at
@@ -1909,15 +1937,24 @@
}
if (!sres.isError) {
- /* Notify aspacem and the tool. */
- ML_(notify_aspacem_and_tool_of_mmap)(
+ /* Notify aspacem. */
+ notify_aspacem_of_mmap(
(Addr)sres.res, /* addr kernel actually assigned */
- arg2, arg3,
+ arg2, /* length */
+ arg3, /* prot */
arg4, /* the original flags value */
- arg5, arg6
+ arg5, /* fd */
+ arg6 /* offset */
);
/* Load symbols? */
VG_(di_notify_mmap)( (Addr)sres.res, False/*allow_SkFileV*/ );
+ /* Notify the tool. */
+ notify_tool_of_mmap(
+ (Addr)sres.res, /* addr kernel actually assigned */
+ arg2, /* length */
+ arg3, /* prot */
+ arg6 /* offset */
+ );
}
/* Stay sane */
|
|
From: <sv...@va...> - 2008-05-24 06:45:42
|
Author: bart
Date: 2008-05-24 07:45:28 +0100 (Sat, 24 May 2008)
New Revision: 8121
Log:
Removed two unused arguments from notify_tool_of_mmap().
Modified:
branches/CROSS_COMPILATION/coregrind/m_syswrap/syswrap-generic.c
Modified: branches/CROSS_COMPILATION/coregrind/m_syswrap/syswrap-generic.c
===================================================================
--- branches/CROSS_COMPILATION/coregrind/m_syswrap/syswrap-generic.c 2008-05-24 06:13:09 UTC (rev 8120)
+++ branches/CROSS_COMPILATION/coregrind/m_syswrap/syswrap-generic.c 2008-05-24 06:45:28 UTC (rev 8121)
@@ -65,8 +65,7 @@
void notify_aspacem_of_mmap(Addr a, SizeT len, UInt prot,
UInt flags, Int fd, Off64T offset);
static
-void notify_tool_of_mmap(Addr a, SizeT len, UInt prot,
- UInt flags, Int fd, Off64T offset);
+void notify_tool_of_mmap(Addr a, SizeT len, UInt prot, Off64T offset);
/* Returns True iff address range is something the client can
@@ -158,7 +157,7 @@
UInt flags, Int fd, Off64T offset )
{
notify_aspacem_of_mmap(a, len, prot, flags, fd, offset);
- notify_tool_of_mmap(a, len, prot, flags, fd, offset);
+ notify_tool_of_mmap(a, len, prot, offset);
}
static
@@ -176,12 +175,11 @@
if (d)
VG_(discard_translations)( (Addr64)a, (ULong)len,
- "ML_(notify_aspacem_and_tool_of_mmap)" );
+ "ML_(notify_aspacem_of_mmap)" );
}
static
-void notify_tool_of_mmap(Addr a, SizeT len, UInt prot,
- UInt flags, Int fd, Off64T offset)
+void notify_tool_of_mmap(Addr a, SizeT len, UInt prot, Off64T offset)
{
Bool rr, ww, xx;
@@ -1942,18 +1940,20 @@
/* Notify aspacem. */
notify_aspacem_of_mmap(
(Addr)sres.res, /* addr kernel actually assigned */
- arg2, arg3,
+ arg2, /* length */
+ arg3, /* prot */
arg4, /* the original flags value */
- arg5, arg6
+ arg5, /* fd */
+ arg6 /* offset */
);
/* Load symbols? */
VG_(di_notify_mmap)( (Addr)sres.res, False/*allow_SkFileV*/ );
/* Notify the tool. */
notify_tool_of_mmap(
(Addr)sres.res, /* addr kernel actually assigned */
- arg2, arg3,
- arg4, /* the original flags value */
- arg5, arg6
+ arg2, /* length */
+ arg3, /* prot */
+ arg6 /* offset */
);
}
|
|
From: <sv...@va...> - 2008-05-24 06:13:38
|
Author: bart
Date: 2008-05-24 07:13:09 +0100 (Sat, 24 May 2008)
New Revision: 8120
Log:
Changed visibility of two functions from global to static.
Modified:
branches/CROSS_COMPILATION/coregrind/m_syswrap/priv_syswrap-generic.h
branches/CROSS_COMPILATION/coregrind/m_syswrap/syswrap-generic.c
Modified: branches/CROSS_COMPILATION/coregrind/m_syswrap/priv_syswrap-generic.h
===================================================================
--- branches/CROSS_COMPILATION/coregrind/m_syswrap/priv_syswrap-generic.h 2008-05-22 14:44:39 UTC (rev 8119)
+++ branches/CROSS_COMPILATION/coregrind/m_syswrap/priv_syswrap-generic.h 2008-05-24 06:13:09 UTC (rev 8120)
@@ -64,16 +64,10 @@
/* So that it can be seen from syswrap-x86-linux.c. */
/* When a client mmap has been successfully done, both aspacem and the
tool need to be notified of the new mapping. Hence this fn. */
-extern
+extern
void
ML_(notify_aspacem_and_tool_of_mmap) ( Addr a, SizeT len, UInt prot,
UInt mm_flags, Int fd, ULong offset );
-void
-ML_(notify_aspacem_of_mmap) ( Addr a, SizeT len, UInt prot,
- UInt mm_flags, Int fd, ULong offset );
-void
-ML_(notify_tool_of_mmap) ( Addr a, SizeT len, UInt prot,
- UInt mm_flags, Int fd, ULong offset );
DECL_TEMPLATE(generic, sys_ni_syscall); // * P -- unimplemented
Modified: branches/CROSS_COMPILATION/coregrind/m_syswrap/syswrap-generic.c
===================================================================
--- branches/CROSS_COMPILATION/coregrind/m_syswrap/syswrap-generic.c 2008-05-22 14:44:39 UTC (rev 8119)
+++ branches/CROSS_COMPILATION/coregrind/m_syswrap/syswrap-generic.c 2008-05-24 06:13:09 UTC (rev 8120)
@@ -59,6 +59,16 @@
#include "priv_syswrap-generic.h"
+/* Local function declarations. */
+
+static
+void notify_aspacem_of_mmap(Addr a, SizeT len, UInt prot,
+ UInt flags, Int fd, Off64T offset);
+static
+void notify_tool_of_mmap(Addr a, SizeT len, UInt prot,
+ UInt flags, Int fd, Off64T offset);
+
+
/* Returns True iff address range is something the client can
plausibly mess with: all of it is either already belongs to the
client or is free or a reservation. */
@@ -147,13 +157,13 @@
ML_(notify_aspacem_and_tool_of_mmap) ( Addr a, SizeT len, UInt prot,
UInt flags, Int fd, Off64T offset )
{
- ML_(notify_aspacem_of_mmap)(a, len, prot, flags, fd, offset);
- ML_(notify_tool_of_mmap)(a, len, prot, flags, fd, offset);
+ notify_aspacem_of_mmap(a, len, prot, flags, fd, offset);
+ notify_tool_of_mmap(a, len, prot, flags, fd, offset);
}
-void
-ML_(notify_aspacem_of_mmap) ( Addr a, SizeT len, UInt prot,
- UInt flags, Int fd, Off64T offset )
+static
+void notify_aspacem_of_mmap(Addr a, SizeT len, UInt prot,
+ UInt flags, Int fd, Off64T offset)
{
Bool d;
@@ -169,9 +179,9 @@
"ML_(notify_aspacem_and_tool_of_mmap)" );
}
-void
-ML_(notify_tool_of_mmap) ( Addr a, SizeT len, UInt prot,
- UInt flags, Int fd, Off64T offset )
+static
+void notify_tool_of_mmap(Addr a, SizeT len, UInt prot,
+ UInt flags, Int fd, Off64T offset)
{
Bool rr, ww, xx;
@@ -1930,7 +1940,7 @@
if (!sres.isError) {
/* Notify aspacem. */
- ML_(notify_aspacem_of_mmap)(
+ notify_aspacem_of_mmap(
(Addr)sres.res, /* addr kernel actually assigned */
arg2, arg3,
arg4, /* the original flags value */
@@ -1939,7 +1949,7 @@
/* Load symbols? */
VG_(di_notify_mmap)( (Addr)sres.res, False/*allow_SkFileV*/ );
/* Notify the tool. */
- ML_(notify_tool_of_mmap)(
+ notify_tool_of_mmap(
(Addr)sres.res, /* addr kernel actually assigned */
arg2, arg3,
arg4, /* the original flags value */
|
|
From: Tom H. <th...@cy...> - 2008-05-24 02:56:42
|
Nightly build on aston ( x86_64, Fedora Core 5 ) started at 2008-05-24 03:20:07 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 == 437 tests, 7 stderr failures, 1 stdout failure, 0 post failures == memcheck/tests/malloc_free_fill (stderr) memcheck/tests/pointer-trace (stderr) memcheck/tests/x86/scalar (stderr) none/tests/blockfault (stderr) none/tests/mremap2 (stdout) helgrind/tests/tc20_verifywrap (stderr) helgrind/tests/tc21_pthonce (stderr) helgrind/tests/tc22_exit_w_lock (stderr) |
|
From: Tom H. <th...@cy...> - 2008-05-24 02:48:18
|
Nightly build on lloyd ( x86_64, Fedora 7 ) started at 2008-05-24 03:05:08 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 == 431 tests, 4 stderr failures, 2 stdout failures, 0 post failures == memcheck/tests/pointer-trace (stderr) memcheck/tests/vcpu_fnfns (stdout) memcheck/tests/x86/scalar (stderr) none/tests/mremap2 (stdout) helgrind/tests/tc20_verifywrap (stderr) helgrind/tests/tc22_exit_w_lock (stderr) |
|
From: Tom H. <th...@cy...> - 2008-05-24 02:42:01
|
Nightly build on trojan ( x86_64, Fedora Core 6 ) started at 2008-05-24 03:25:04 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 == 435 tests, 6 stderr failures, 5 stdout failures, 0 post failures == 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/cmdline1 (stdout) none/tests/cmdline2 (stdout) none/tests/mremap2 (stdout) helgrind/tests/tc20_verifywrap (stderr) helgrind/tests/tc21_pthonce (stderr) helgrind/tests/tc22_exit_w_lock (stderr) ================================================= == Results from 24 hours ago == ================================================= Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 435 tests, 7 stderr failures, 5 stdout failures, 0 post failures == 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/cmdline1 (stdout) none/tests/cmdline2 (stdout) none/tests/mremap2 (stdout) helgrind/tests/tc17_sembar (stderr) helgrind/tests/tc20_verifywrap (stderr) helgrind/tests/tc21_pthonce (stderr) helgrind/tests/tc22_exit_w_lock (stderr) ================================================= == Difference between 24 hours ago and now == ================================================= *** old.short Sat May 24 03:33:39 2008 --- new.short Sat May 24 03:42:08 2008 *************** *** 8,10 **** ! == 435 tests, 7 stderr failures, 5 stdout failures, 0 post failures == memcheck/tests/pointer-trace (stderr) --- 8,10 ---- ! == 435 tests, 6 stderr failures, 5 stdout failures, 0 post failures == memcheck/tests/pointer-trace (stderr) *************** *** 17,19 **** none/tests/mremap2 (stdout) - helgrind/tests/tc17_sembar (stderr) helgrind/tests/tc20_verifywrap (stderr) --- 17,18 ---- |
|
From: Tom H. <th...@cy...> - 2008-05-24 02:37:17
|
Nightly build on dellow ( x86_64, Fedora 8 ) started at 2008-05-24 03:10:03 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 == 431 tests, 7 stderr failures, 3 stdout failures, 0 post failures == memcheck/tests/pointer-trace (stderr) memcheck/tests/vcpu_fnfns (stdout) memcheck/tests/x86/scalar (stderr) none/tests/blockfault (stderr) none/tests/mremap2 (stdout) none/tests/pth_cvsimple (stdout) helgrind/tests/tc18_semabuse (stderr) helgrind/tests/tc20_verifywrap (stderr) helgrind/tests/tc21_pthonce (stderr) helgrind/tests/tc22_exit_w_lock (stderr) ================================================= == Results from 24 hours ago == ================================================= Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 431 tests, 6 stderr failures, 2 stdout failures, 0 post failures == memcheck/tests/pointer-trace (stderr) memcheck/tests/vcpu_fnfns (stdout) memcheck/tests/x86/scalar (stderr) none/tests/blockfault (stderr) none/tests/mremap2 (stdout) helgrind/tests/tc18_semabuse (stderr) helgrind/tests/tc20_verifywrap (stderr) helgrind/tests/tc22_exit_w_lock (stderr) ================================================= == Difference between 24 hours ago and now == ================================================= *** old.short Sat May 24 03:23:47 2008 --- new.short Sat May 24 03:37:24 2008 *************** *** 8,10 **** ! == 431 tests, 6 stderr failures, 2 stdout failures, 0 post failures == memcheck/tests/pointer-trace (stderr) --- 8,10 ---- ! == 431 tests, 7 stderr failures, 3 stdout failures, 0 post failures == memcheck/tests/pointer-trace (stderr) *************** *** 14,17 **** --- 14,19 ---- none/tests/mremap2 (stdout) + none/tests/pth_cvsimple (stdout) helgrind/tests/tc18_semabuse (stderr) helgrind/tests/tc20_verifywrap (stderr) + helgrind/tests/tc21_pthonce (stderr) helgrind/tests/tc22_exit_w_lock (stderr) |
|
From: Tom H. <th...@cy...> - 2008-05-24 02:24:50
|
Nightly build on gill ( x86_64, Fedora Core 2 ) started at 2008-05-24 03:00:06 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 == 437 tests, 30 stderr failures, 3 stdout failures, 0 post failures == 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/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) 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/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) |
|
From: <sv...@va...> - 2008-05-22 14:44:33
|
Author: bart Date: 2008-05-22 15:44:39 +0100 (Thu, 22 May 2008) New Revision: 8119 Log: Filter out thread stack size. Modified: branches/CROSS_COMPILATION/none/tests/blockfault.stderr.exp branches/CROSS_COMPILATION/none/tests/filter_stderr Modified: branches/CROSS_COMPILATION/none/tests/blockfault.stderr.exp =================================================================== --- branches/CROSS_COMPILATION/none/tests/blockfault.stderr.exp 2008-05-22 14:30:33 UTC (rev 8118) +++ branches/CROSS_COMPILATION/none/tests/blockfault.stderr.exp 2008-05-22 14:44:39 UTC (rev 8119) @@ -6,5 +6,5 @@ If you believe this happened as a result of a stack overflow in your program's main thread (unlikely but possible), you can try to increase the size of the main thread stack using the --main-stacksize= flag. - The main thread stack size used in this run was 16777216. + The main thread stack size used in this run was .... Modified: branches/CROSS_COMPILATION/none/tests/filter_stderr =================================================================== --- branches/CROSS_COMPILATION/none/tests/filter_stderr 2008-05-22 14:30:33 UTC (rev 8118) +++ branches/CROSS_COMPILATION/none/tests/filter_stderr 2008-05-22 14:44:39 UTC (rev 8119) @@ -8,5 +8,7 @@ sed "/^Nulgrind, a binary JIT-compiler./ , /./ d" | # Anonymise addresses -$dir/../../tests/filter_addresses +$dir/../../tests/filter_addresses | +# Remove the size in "The main thread stack size..." message. +sed "s/The main thread stack size used in this run was [0-9]*/The main thread stack size used in this run was .../" |
|
From: <sv...@va...> - 2008-05-22 14:30:30
|
Author: bart
Date: 2008-05-22 15:30:33 +0100 (Thu, 22 May 2008)
New Revision: 8118
Log:
Don't complain when attempting to read debug information from a file with zero length.
Modified:
branches/CROSS_COMPILATION/coregrind/m_debuginfo/debuginfo.c
Modified: branches/CROSS_COMPILATION/coregrind/m_debuginfo/debuginfo.c
===================================================================
--- branches/CROSS_COMPILATION/coregrind/m_debuginfo/debuginfo.c 2008-05-22 14:26:00 UTC (rev 8117)
+++ branches/CROSS_COMPILATION/coregrind/m_debuginfo/debuginfo.c 2008-05-22 14:30:33 UTC (rev 8118)
@@ -550,7 +550,9 @@
nread = VG_(read)( fd.res, buf1k, sizeof(buf1k) );
VG_(close)( fd.res );
- if (nread <= 0) {
+ if (nread == 0)
+ return;
+ if (nread < 0) {
DebugInfo fake_di;
VG_(memset)(&fake_di, 0, sizeof(fake_di));
fake_di.filename = filename;
|
|
From: <sv...@va...> - 2008-05-22 14:25:59
|
Author: bart
Date: 2008-05-22 15:26:00 +0100 (Thu, 22 May 2008)
New Revision: 8117
Log:
Make sure the filename is printed when reading the ELF header fails.
Modified:
branches/CROSS_COMPILATION/coregrind/m_debuginfo/debuginfo.c
Modified: branches/CROSS_COMPILATION/coregrind/m_debuginfo/debuginfo.c
===================================================================
--- branches/CROSS_COMPILATION/coregrind/m_debuginfo/debuginfo.c 2008-05-21 16:34:35 UTC (rev 8116)
+++ branches/CROSS_COMPILATION/coregrind/m_debuginfo/debuginfo.c 2008-05-22 14:26:00 UTC (rev 8117)
@@ -538,9 +538,9 @@
VG_(memset)(buf1k, 0, sizeof(buf1k));
fd = VG_(open)( filename, VKI_O_RDONLY, 0 );
if (fd.isError) {
- DebugInfo fake_di;
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");
@@ -551,7 +551,10 @@
VG_(close)( fd.res );
if (nread <= 0) {
- ML_(symerr)(NULL, True, "can't read file to inspect ELF header");
+ 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;
}
vg_assert(nread > 0 && nread <= sizeof(buf1k) );
|
|
From: Bart V. A. <bar...@gm...> - 2008-05-22 12:58:37
|
Hello Julian, If I remember correctly you added some time ago Imbe_BusLock / Imbe_BusUnlock to VEX. Were these intended to be instruction-set independent, or only to handle x86 bus locking ? In the last case, how should tools like Helgrind or exp-drd handle atomic ppc instructions ? See also http://bugs.kde.org/show_bug.cgi?id=162354. Bart. |
|
From: Tom H. <th...@cy...> - 2008-05-22 02:57:24
|
Nightly build on aston ( x86_64, Fedora Core 5 ) started at 2008-05-22 03:20:07 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 == 437 tests, 6 stderr failures, 1 stdout failure, 0 post failures == memcheck/tests/malloc_free_fill (stderr) memcheck/tests/pointer-trace (stderr) memcheck/tests/x86/scalar (stderr) none/tests/blockfault (stderr) none/tests/mremap2 (stdout) helgrind/tests/tc20_verifywrap (stderr) helgrind/tests/tc22_exit_w_lock (stderr) ================================================= == Results from 24 hours ago == ================================================= Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 437 tests, 7 stderr failures, 1 stdout failure, 0 post failures == memcheck/tests/malloc_free_fill (stderr) memcheck/tests/pointer-trace (stderr) memcheck/tests/x86/scalar (stderr) none/tests/blockfault (stderr) none/tests/mremap2 (stdout) helgrind/tests/tc17_sembar (stderr) helgrind/tests/tc20_verifywrap (stderr) helgrind/tests/tc22_exit_w_lock (stderr) ================================================= == Difference between 24 hours ago and now == ================================================= *** old.short Thu May 22 03:38:28 2008 --- new.short Thu May 22 03:57:28 2008 *************** *** 8,10 **** ! == 437 tests, 7 stderr failures, 1 stdout failure, 0 post failures == memcheck/tests/malloc_free_fill (stderr) --- 8,10 ---- ! == 437 tests, 6 stderr failures, 1 stdout failure, 0 post failures == memcheck/tests/malloc_free_fill (stderr) *************** *** 14,16 **** none/tests/mremap2 (stdout) - helgrind/tests/tc17_sembar (stderr) helgrind/tests/tc20_verifywrap (stderr) --- 14,15 ---- |
|
From: Tom H. <th...@cy...> - 2008-05-22 02:50:59
|
Nightly build on lloyd ( x86_64, Fedora 7 ) started at 2008-05-22 03:05:04 BST Results unchanged from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 431 tests, 4 stderr failures, 2 stdout failures, 0 post failures == memcheck/tests/pointer-trace (stderr) memcheck/tests/vcpu_fnfns (stdout) memcheck/tests/x86/scalar (stderr) none/tests/mremap2 (stdout) helgrind/tests/tc20_verifywrap (stderr) helgrind/tests/tc22_exit_w_lock (stderr) |
|
From: Tom H. <th...@cy...> - 2008-05-22 02:42:02
|
Nightly build on trojan ( x86_64, Fedora Core 6 ) started at 2008-05-22 03:25: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 == 435 tests, 7 stderr failures, 5 stdout failures, 0 post failures == 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/cmdline1 (stdout) none/tests/cmdline2 (stdout) none/tests/mremap2 (stdout) helgrind/tests/tc17_sembar (stderr) helgrind/tests/tc20_verifywrap (stderr) helgrind/tests/tc21_pthonce (stderr) helgrind/tests/tc22_exit_w_lock (stderr) |
|
From: Tom H. <th...@cy...> - 2008-05-22 02:37:15
|
Nightly build on dellow ( x86_64, Fedora 8 ) started at 2008-05-22 03:10:06 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 == 431 tests, 7 stderr failures, 2 stdout failures, 0 post failures == memcheck/tests/pointer-trace (stderr) memcheck/tests/vcpu_fnfns (stdout) memcheck/tests/x86/scalar (stderr) none/tests/blockfault (stderr) none/tests/mremap2 (stdout) helgrind/tests/tc18_semabuse (stderr) helgrind/tests/tc20_verifywrap (stderr) helgrind/tests/tc21_pthonce (stderr) helgrind/tests/tc22_exit_w_lock (stderr) |
|
From: Tom H. <th...@cy...> - 2008-05-22 02:23:18
|
Nightly build on gill ( x86_64, Fedora Core 2 ) started at 2008-05-22 03:00:02 BST Results unchanged from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 437 tests, 30 stderr failures, 3 stdout failures, 0 post failures == 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/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) 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/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) |
|
From: <sv...@va...> - 2008-05-21 21:39:35
|
Author: bart
Date: 2008-05-21 16:11:30 +0100 (Wed, 21 May 2008)
New Revision: 8115
Log:
Removed superfluous suppression patterns.
Modified:
branches/CROSS_COMPILATION/glibc-2.X-drd.supp
Modified: branches/CROSS_COMPILATION/glibc-2.X-drd.supp
===================================================================
--- branches/CROSS_COMPILATION/glibc-2.X-drd.supp 2008-05-21 14:33:07 UTC (rev 8114)
+++ branches/CROSS_COMPILATION/glibc-2.X-drd.supp 2008-05-21 15:11:30 UTC (rev 8115)
@@ -1,30 +1,10 @@
{
dl
exp-drd:ConflictingAccess
- fun:_dl_lookup_symbol_x
- fun:_dl_fixup
- fun:_dl_runtime_resolve
-}
-{
- dl
- exp-drd:ConflictingAccess
- fun:do_lookup_x
- fun:_dl_lookup_symbol_x
- fun:_dl_fixup
- fun:_dl_runtime_resolve
-}
-{
- dl
- exp-drd:ConflictingAccess
fun:_dl_fini
fun:exit
}
{
- dl
- exp-drd:ConflictingAccess
- fun:_dl_fixup
-}
-{
dl-2.6.*
exp-drd:ConflictingAccess
obj:/lib*/ld-*.so
@@ -38,32 +18,6 @@
obj:/lib*/ld-*.so
}
{
- dl-dlsym-1
- exp-drd:ConflictingAccess
- obj:/lib*/ld-*.so
- obj:/lib*/libc-*.so
- obj:/lib*/libdl-*.so
-}
-{
- dl-dlsym-2
- exp-drd:ConflictingAccess
- obj:/lib*/libc-*.so
- obj:/lib*/libdl-*.so
- obj:/lib*/ld-*.so
-}
-{
- dl-dlsym-3
- exp-drd:ConflictingAccess
- obj:/lib*/ld-*.so
- obj:/lib*/ld-*.so
- obj:/lib*/libc-*.so
-}
-{
- dl-dl_addr
- exp-drd:ConflictingAccess
- fun:_dl_addr
-}
-{
libc
exp-drd:ConflictingAccess
fun:__libc_enable_asynccancel
|
|
From: <sv...@va...> - 2008-05-21 16:34:41
|
Author: bart
Date: 2008-05-21 17:34:35 +0100 (Wed, 21 May 2008)
New Revision: 8116
Log:
Reintroduced one DRD suppression pattern.
Modified:
branches/CROSS_COMPILATION/glibc-2.X-drd.supp
Modified: branches/CROSS_COMPILATION/glibc-2.X-drd.supp
===================================================================
--- branches/CROSS_COMPILATION/glibc-2.X-drd.supp 2008-05-21 15:11:30 UTC (rev 8115)
+++ branches/CROSS_COMPILATION/glibc-2.X-drd.supp 2008-05-21 16:34:35 UTC (rev 8116)
@@ -1,6 +1,12 @@
{
dl
exp-drd:ConflictingAccess
+ fun:_dl_fixup
+ fun:_dl_runtime_resolve
+}
+{
+ dl
+ exp-drd:ConflictingAccess
fun:_dl_fini
fun:exit
}
|
|
From: <sv...@va...> - 2008-05-21 14:33:12
|
Author: bart Date: 2008-05-21 15:33:07 +0100 (Wed, 21 May 2008) New Revision: 8114 Log: Added more comments and assert statements. Modified: branches/CROSS_COMPILATION/exp-drd/drd_main.c Modified: branches/CROSS_COMPILATION/exp-drd/drd_main.c =================================================================== --- branches/CROSS_COMPILATION/exp-drd/drd_main.c 2008-05-21 14:27:42 UTC (rev 8113) +++ branches/CROSS_COMPILATION/exp-drd/drd_main.c 2008-05-21 14:33:07 UTC (rev 8114) @@ -554,10 +554,16 @@ drd_stop_using_mem(a1, len, False); } -/** Suppress data race reports on all addresses contained in .plt sections - * inside the address range [ a, a + len [. +/** Suppress data race reports on all addresses contained in .plt and + * .got.plt sections inside the address range [ a, a + len [. The data in + * these sections is modified by _dl_relocate_object() every time a function + * in a shared library is called for the first time. Since the first call + * to a function in a shared library can happen from a multithreaded context, + * such calls can cause conflicting accesses. See also Ulrich Drepper's + * paper "How to Write Shared Libraries" for more information about relocation + * (http://people.redhat.com/drepper/dsohowto.pdf). */ -static void suppress_plt(const Addr a, const SizeT len) +static void suppress_relocation_conflicts(const Addr a, const SizeT len) { const DebugInfo* di; @@ -577,6 +583,7 @@ #if 0 VG_(printf)("Suppressing .plt @ 0x%lx size %ld\n", avma, size); #endif + tl_assert(VG_(seginfo_sect_kind)(NULL, 0, avma) == Vg_SectPLT); drd_start_suppression(avma, avma + size, ".plt"); } @@ -587,6 +594,7 @@ #if 0 VG_(printf)("Suppressing .got.plt @ 0x%lx size %ld\n", avma, size); #endif + tl_assert(VG_(seginfo_sect_kind)(NULL, 0, avma) == Vg_SectGOTPLT); drd_start_suppression(avma, avma + size, ".gotplt"); } } @@ -600,7 +608,7 @@ drd_start_using_mem(a, len); - suppress_plt(a, len); + suppress_relocation_conflicts(a, len); } /* Called by the core when the stack of a thread grows, to indicate that */ |
|
From: <sv...@va...> - 2008-05-21 14:27:39
|
Author: bart
Date: 2008-05-21 15:27:42 +0100 (Wed, 21 May 2008)
New Revision: 8113
Log:
VG_(seginfo_sect_kind)() now also recognizes .got.plt sections.
Modified:
branches/CROSS_COMPILATION/coregrind/m_debuginfo/debuginfo.c
branches/CROSS_COMPILATION/include/pub_tool_debuginfo.h
Modified: branches/CROSS_COMPILATION/coregrind/m_debuginfo/debuginfo.c
===================================================================
--- branches/CROSS_COMPILATION/coregrind/m_debuginfo/debuginfo.c 2008-05-21 14:17:42 UTC (rev 8112)
+++ branches/CROSS_COMPILATION/coregrind/m_debuginfo/debuginfo.c 2008-05-21 14:27:42 UTC (rev 8113)
@@ -2321,6 +2321,12 @@
res = Vg_SectGOT;
break;
}
+ if (di->gotplt_present
+ && di->gotplt_size > 0
+ && a >= di->gotplt_avma && a < di->gotplt_avma + di->gotplt_size) {
+ res = Vg_SectGOTPLT;
+ break;
+ }
if (di->opd_present
&& di->opd_size > 0
&& a >= di->opd_avma && a < di->opd_avma + di->opd_size) {
Modified: branches/CROSS_COMPILATION/include/pub_tool_debuginfo.h
===================================================================
--- branches/CROSS_COMPILATION/include/pub_tool_debuginfo.h 2008-05-21 14:17:42 UTC (rev 8112)
+++ branches/CROSS_COMPILATION/include/pub_tool_debuginfo.h 2008-05-21 14:27:42 UTC (rev 8113)
@@ -155,6 +155,7 @@
Vg_SectBSS,
Vg_SectGOT,
Vg_SectPLT,
+ Vg_SectGOTPLT,
Vg_SectOPD
}
VgSectKind;
|
|
From: <sv...@va...> - 2008-05-21 14:17:48
|
Author: bart
Date: 2008-05-21 15:17:42 +0100 (Wed, 21 May 2008)
New Revision: 8112
Log:
Undid function reordering, in order to minimize the diffs with the trunk.
Modified:
branches/CROSS_COMPILATION/coregrind/m_debuginfo/debuginfo.c
branches/CROSS_COMPILATION/include/pub_tool_debuginfo.h
Modified: branches/CROSS_COMPILATION/coregrind/m_debuginfo/debuginfo.c
===================================================================
--- branches/CROSS_COMPILATION/coregrind/m_debuginfo/debuginfo.c 2008-05-20 12:35:39 UTC (rev 8111)
+++ branches/CROSS_COMPILATION/coregrind/m_debuginfo/debuginfo.c 2008-05-21 14:17:42 UTC (rev 8112)
@@ -2186,11 +2186,6 @@
return di->text_present ? di->text_size : 0;
}
-ULong VG_(seginfo_get_text_bias)(const DebugInfo* di)
-{
- return di->text_present ? di->text_bias : 0;
-}
-
Addr VG_(seginfo_get_plt_avma)(const DebugInfo* di)
{
return di->plt_present ? di->plt_avma : 0;
@@ -2221,6 +2216,11 @@
return di->filename;
}
+ULong VG_(seginfo_get_text_bias)(const DebugInfo* di)
+{
+ return di->text_present ? di->text_bias : 0;
+}
+
Int VG_(seginfo_syms_howmany) ( const DebugInfo *si )
{
return si->symtab_used;
Modified: branches/CROSS_COMPILATION/include/pub_tool_debuginfo.h
===================================================================
--- branches/CROSS_COMPILATION/include/pub_tool_debuginfo.h 2008-05-20 12:35:39 UTC (rev 8111)
+++ branches/CROSS_COMPILATION/include/pub_tool_debuginfo.h 2008-05-21 14:17:42 UTC (rev 8112)
@@ -119,13 +119,13 @@
/* Fish bits out of DebugInfos. */
extern Addr VG_(seginfo_get_text_avma)( const DebugInfo *di );
extern SizeT VG_(seginfo_get_text_size)( const DebugInfo *di );
-extern ULong VG_(seginfo_get_text_bias)( const DebugInfo *di );
extern Addr VG_(seginfo_get_plt_avma) ( const DebugInfo *di );
extern SizeT VG_(seginfo_get_plt_size) ( const DebugInfo *di );
extern Addr VG_(seginfo_get_gotplt_avma)( const DebugInfo *di );
extern SizeT VG_(seginfo_get_gotplt_size)( const DebugInfo *di );
extern const UChar* VG_(seginfo_soname) ( const DebugInfo *di );
extern const UChar* VG_(seginfo_filename) ( const DebugInfo *di );
+extern ULong VG_(seginfo_get_text_bias)( const DebugInfo *di );
/* Function for traversing the seginfo list. When called with NULL it
returns the first element; otherwise it returns the given element's
|