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
(17) |
2
(15) |
3
(36) |
4
(24) |
5
(36) |
|
6
(18) |
7
(16) |
8
(18) |
9
(19) |
10
(18) |
11
(37) |
12
(18) |
|
13
(13) |
14
(21) |
15
(27) |
16
(10) |
17
(16) |
18
(25) |
19
(21) |
|
20
(11) |
21
(14) |
22
(6) |
23
(15) |
24
(27) |
25
(3) |
26
(9) |
|
27
(16) |
28
(24) |
29
(21) |
30
(43) |
31
(42) |
|
|
|
From: Jeremy F. <je...@go...> - 2005-03-11 23:32:30
|
CVS commit by fitzhardinge:
Add test case for forking threaded programs.
A threaded-fork.c 1.1 [no copyright]
A threaded-fork.stderr.exp 1.1
A threaded-fork.stdout.exp 1.1
A threaded-fork.vgtest 1.1
M +4 -1 Makefile.am 1.65
--- valgrind/none/tests/Makefile.am #1.64:1.65
@@ -62,4 +62,5 @@
system.stderr.exp system.vgtest \
thread-exits.stderr.exp thread-exits.stdout.exp thread-exits.vgtest \
+ threaded-fork.stderr.exp threaded-fork.stdout.exp threaded-fork.vgtest \
tls.stderr.exp tls.stdout.exp \
yield.stderr.exp yield.stdout.exp yield.vgtest
@@ -76,5 +77,5 @@
smc1 susphello pending pth_blockedsig pth_stackalign \
syscall-restart1 syscall-restart2 system \
- thread-exits \
+ thread-exits threaded-fork \
tls tls.so tls2.so \
coolo_sigaction gxx304 yield
@@ -151,4 +152,6 @@
pth_stackalign_SOURCES = pth_stackalign.c
pth_stackalign_LDADD = -lpthread
+threaded_fork_SOURCES = threaded-fork.c
+threaded_fork_LDADD = -lpthread
# generic C++ ones
|
|
From: Jeremy F. <je...@go...> - 2005-03-11 23:22:09
|
Tom Hughes wrote:
>I assumed that the problem was just that the inner valgrind wasn't
>clearing the outer valgrind's entries from LD_PRELOAD but it sounds
>like you've looked at it and there is more to it than that.
>
>
There's definitely more to it than that, but it could be a factor.
J
|
|
From: Tom H. <to...@co...> - 2005-03-11 23:04:40
|
In message <423...@go...>
Jeremy Fitzhardinge <je...@go...> wrote:
> Nicholas Nethercote wrote:
>
> > It's definitely worth aiming at. I certainly want to get unit testing
> > up and run the unit tests both natively and under V. (vgtest_ume.c
> > was a first attempt at that, although it's unfortunately broken on
> > many machines).
> >
> > As for V-on-V'ing the whole suite, who knows? I wonder how long it
> > would take :) We could add another line to the .vgtest files that
> > specifies if the regtest is suitable for V-on-V'ing.
>
> The biggest problem with V-on-V'ing is that if the outer Valgrind
> replaces malloc (ie, memcheck, addrcheck, etc), then you can only run
> tools which also do so on the inner Valgrind. So you can run memcheck
> on massif, but not on nulgrind.
I noticed that when I tried it this afternoon.
> I haven't fully worked out why, but I'm sure its related to the fact
> that the outer Valgrind sees too deeply. That is, if you have the
> command line "Vouter Vinner Client", then Vouter sees all the syscalls
> done by both Vinner and Client; if Client loads libc, then both Vinner
> *and* Vouter start doing intercepts on it (with Vouter also intercepting
> Vinner's own libc usage). It would be nice to have a mechanism whereby
> Vouter can be convinced to look for symbol info in Vinner's direct
> mmaps, and not Vinner's mmaps on behalf of the client, but I'm not sure
> exactly how that would work. (Fortunately Vouter doesn't see the
> Client's client requests; that would get really messy.)
I assumed that the problem was just that the inner valgrind wasn't
clearing the outer valgrind's entries from LD_PRELOAD but it sounds
like you've looked at it and there is more to it than that.
Tom
--
Tom Hughes (to...@co...)
http://www.compton.nu/
|
|
From: Jeremy F. <je...@go...> - 2005-03-11 22:38:58
|
CVS commit by fitzhardinge:
When a multi-threaded program forks(), only the thread actually
calling fork() appears in the child. The child Valgrind will inherit a
VG_(threads) array which still describes the other threads. The code in
vg_scheduler:sched_fork_cleanup is responsible for doing this, but it was
only "killing" the other threads by setting their statuses to VgTs_Empty.
This was causing confusion if the child later created other threads
and found partially initialized threads structures. This change
makes sched_fork_cleanup fully reinitialize the other thread slots
in VG_(threads).
M +20 -3 vg_scheduler.c 1.229
--- valgrind/coregrind/vg_scheduler.c #1.228:1.229
@@ -529,6 +529,21 @@ void mostly_clear_thread_record ( Thread
}
-/* Called in the child after fork. Presumably the parent was running,
- so we now we're running. */
+/*
+ Called in the child after fork. If the parent has multiple
+ threads, then we've inhereted a VG_(threads) array describing them,
+ but only the thread which called fork() is actually alive in the
+ child. This functions needs to clean up all those other thread
+ structures.
+
+ Whichever tid in the parent which called fork() becomes the
+ master_tid in the child. That's because the only living slot in
+ VG_(threads) in the child after fork is VG_(threads)[tid], and it
+ would be too hard to try to re-number the thread and relocate the
+ thread state down to VG_(threads)[1].
+
+ This function also needs to reinitialize the run_sema, since
+ otherwise we may end up sharing its state with the parent, which
+ would be deeply confusing.
+*/
static void sched_fork_cleanup(ThreadId me)
{
@@ -543,7 +558,9 @@ static void sched_fork_cleanup(ThreadId
/* clear out all the unused thread slots */
for (tid = 1; tid < VG_N_THREADS; tid++) {
- if (tid != me)
+ if (tid != me) {
+ mostly_clear_thread_record(tid);
VG_(threads)[tid].status = VgTs_Empty;
}
+ }
/* re-init and take the sema */
|
|
From: Jeremy F. <je...@go...> - 2005-03-11 22:23:31
|
Nicholas Nethercote wrote: > It's definitely worth aiming at. I certainly want to get unit testing > up and run the unit tests both natively and under V. (vgtest_ume.c > was a first attempt at that, although it's unfortunately broken on > many machines). > > As for V-on-V'ing the whole suite, who knows? I wonder how long it > would take :) We could add another line to the .vgtest files that > specifies if the regtest is suitable for V-on-V'ing. The biggest problem with V-on-V'ing is that if the outer Valgrind replaces malloc (ie, memcheck, addrcheck, etc), then you can only run tools which also do so on the inner Valgrind. So you can run memcheck on massif, but not on nulgrind. I haven't fully worked out why, but I'm sure its related to the fact that the outer Valgrind sees too deeply. That is, if you have the command line "Vouter Vinner Client", then Vouter sees all the syscalls done by both Vinner and Client; if Client loads libc, then both Vinner *and* Vouter start doing intercepts on it (with Vouter also intercepting Vinner's own libc usage). It would be nice to have a mechanism whereby Vouter can be convinced to look for symbol info in Vinner's direct mmaps, and not Vinner's mmaps on behalf of the client, but I'm not sure exactly how that would work. (Fortunately Vouter doesn't see the Client's client requests; that would get really messy.) The leakcheck assertion-on-nested heapblocks is bug 100628 <http://bugs.kde.org/show_bug.cgi?id=100628>. I think we definitely need some way to represent nesting of heap blocks to deal with pools and sub-allocations, but coming up with something which is general, well-defined and simple is tricky. J |
|
From: Robert W. <rj...@du...> - 2005-03-11 18:39:20
|
> As for V-on-V'ing the whole suite, who knows? I wonder how long it would= =20 > take :) We could add another line to the .vgtest files that specifies if= =20 > the regtest is suitable for V-on-V'ing. Default this one to "yes" and have the .vgtest file disable it... --=20 Robert Walsh Amalgamated Durables, Inc. - "We don't make the things you buy." Email: rj...@du... |
|
From: Nicholas N. <nj...@cs...> - 2005-03-11 14:23:30
|
On Fri, 11 Mar 2005, Julian Seward wrote: > Random thought: we should practice what we preach: is it possible > (in general, not for 2.4.0, don't want to delay that) to get V to > check V when running the entire testsuite? That might shake out a > few more memory management nasties. It's definitely worth aiming at. I certainly want to get unit testing up and run the unit tests both natively and under V. (vgtest_ume.c was a first attempt at that, although it's unfortunately broken on many machines). As for V-on-V'ing the whole suite, who knows? I wonder how long it would take :) We could add another line to the .vgtest files that specifies if the regtest is suitable for V-on-V'ing. N |
|
From: Julian S. <js...@ac...> - 2005-03-11 14:10:59
|
Looks like 2.4.0 is shaping up to be a really good release. Cool. Random thought: we should practice what we preach: is it possible (in general, not for 2.4.0, don't want to delay that) to get V to check V when running the entire testsuite? That might shake out a few more memory management nasties. J On Friday 11 March 2005 13:52, Nicholas Nethercote wrote: > On Thu, 10 Mar 2005, Jeremy Fitzhardinge wrote: > >> (I get an assertion failure from the leak checker on exit, but it's a > >> start...) > > > > Which assertion? The one about overlapping heap blocks? > > Looks like it. See attached log of double-valgrinding the program 'date'. > > N |
|
From: Nicholas N. <nj...@cs...> - 2005-03-11 13:52:11
|
On Thu, 10 Mar 2005, Jeremy Fitzhardinge wrote: >> (I get an assertion failure from the leak checker on exit, but it's a >> start...) > > Which assertion? The one about overlapping heap blocks? Looks like it. See attached log of double-valgrinding the program 'date'. N |
|
From: James B. <ja...@ha...> - 2005-03-11 09:32:10
|
On Thu, 2005-03-10 at 19:34 -0600, Nicholas Nethercote wrote: > On Thu, 10 Mar 2005, Jeremy Fitzhardinge wrote: > > >> Some printfs show that its xpt_snapshot->xpt which has the bad value; > >> running massif under memcheck shows that it is uninitialized: > >> > >> ==29793== Conditional jump or move depends on uninitialised value(s) > >> ==29793== at 0x5125B038: calc_exact_ST_dbld2 (ms_main.c:1266) > >> ==29793== > >> ==29793== Use of uninitialised value of size 4 > >> ==29793== at 0x5125B029: calc_exact_ST_dbld2 (ms_main.c:1268) > > Ok, I've fixed this problem. > > Turns out the problem was not in Massif. Rather, VG_(calloc)() was not > zeroing the entire block it allocated. (Massif was assuming the block was > zeroed.) The offending check-in was into vg_malloc2.c, 1.35: Thanks for fixing this - and thanks to Jeremy for finding an example to save me trying to create a simple test case. Massif from valgrind 2.4.0.rc2 works fine for me. Being able to run valgrind tools on other valgrind tools is fantastic. Cheers, James. James Begley -- Telephone: +354-575-2039. Marine Research Institute, Skulagata 4, P.O. Box 1390, 121 Reykjavik, Iceland. |
|
From: Jeremy F. <je...@go...> - 2005-03-11 07:07:42
|
Nicholas Nethercote wrote:
> Ah, I've figured it out: I was trying to run a PIE-Valgrind under a
> non-PIE-Valgrind. But if I run a PIE-Valgrind under itself, it works.
> I don't understand why, but cool!
ume.c has a hack which is dependent on HAVE_PIE. It shouldn't be
necessary, but I haven't put any thought into working out the correct fix.
> (I get an assertion failure from the leak checker on exit, but it's a
> start...)
Which assertion? The one about overlapping heap blocks?
J
|
|
From: Jeremy F. <je...@go...> - 2005-03-11 07:04:23
|
OK, I've put 2.4.0.rc2 up at http://www.goop.org/~jeremy/valgrind/dist/ This update fixes the following problems relative to rc1: * massif no longer crashes (caused by calloc not clearing memory) * suppressions with unmatched symbols no longer cause an assertion failure * Old-form sigsuspend and sigaction no longer cause Valgrind to die with a SEGV if you pass NULL signal sets * better reporting of internal errors * some printf format strings have been fixed * copyrights updated The NEWS file relative to 2.2.0 is attached. J |
|
From: Jeremy F. <je...@go...> - 2005-03-11 06:56:24
|
CVS commit by fitzhardinge: Set version to 2.4.0.rc2 M +1 -1 configure.in 1.152 --- valgrind/configure.in #1.151:1.152 @@ -1,4 +1,4 @@ # Process this file with autoconf to produce a configure script. -AC_INIT(Valgrind, 2.4.0.rc1, val...@li...) +AC_INIT(Valgrind, 2.4.0.rc2, val...@li...) AC_CONFIG_SRCDIR(coregrind/vg_main.c) AM_CONFIG_HEADER(config.h) |
|
From: Jeremy F. <je...@go...> - 2005-03-11 06:28:25
|
CVS commit by fitzhardinge:
Update copyrights on new files and files changed this year.
M +2 -2 addrcheck/ac_main.c 1.80
M +2 -2 cachegrind/cg_main.c 1.85
M +1 -1 cachegrind/x86/cg_arch.c 1.6
M +1 -1 coregrind/core.h 1.98
M +1 -1 coregrind/core_asm.h 1.8
M +1 -1 coregrind/gen_toolint.pl 1.8
M +1 -1 coregrind/stage1.c 1.34
M +1 -1 coregrind/ume.c 1.41
M +1 -1 coregrind/ume.h 1.18
M +1 -1 coregrind/vg_default.c 1.27
M +1 -1 coregrind/vg_demangle.c 1.10
M +1 -1 coregrind/vg_errcontext.c 1.74
M +1 -1 coregrind/vg_execontext.c 1.26
M +1 -1 coregrind/vg_from_ucode.c 1.92
M +3 -3 coregrind/vg_main.c 1.265
M +1 -1 coregrind/vg_malloc2.c 1.38
M +1 -1 coregrind/vg_memory.c 1.94
M +1 -1 coregrind/vg_messages.c 1.19
M +1 -1 coregrind/vg_mylibc.c 1.113
M +1 -1 coregrind/vg_procselfmaps.c 1.20
M +1 -1 coregrind/vg_scheduler.c 1.228
M +1 -1 coregrind/vg_signals.c 1.138
M +1 -1 coregrind/vg_skiplist.c 1.10
M +1 -1 coregrind/vg_symtab2.c 1.106
M +1 -1 coregrind/vg_symtypes.c 1.14
M +1 -1 coregrind/vg_syscalls.c 1.260
M +1 -1 coregrind/vg_to_ucode.c 1.158
M +1 -1 coregrind/vg_translate.c 1.99
M +1 -1 coregrind/vg_transtab.c 1.41
M +1 -1 coregrind/docs/coregrind_core.html 1.41
M +29 -0 coregrind/linux/core_os.c 1.10
M +1 -1 coregrind/linux/core_os.h 1.5
M +29 -0 coregrind/linux/sema.c 1.4
M +1 -1 coregrind/linux/syscalls.c 1.8
M +1 -1 coregrind/x86/core_arch.h 1.27
M +1 -1 coregrind/x86/core_arch_asm.h 1.5
M +1 -1 coregrind/x86/dispatch.S 1.7
M +1 -1 coregrind/x86/helpers.S 1.7
M +1 -1 coregrind/x86/jmp_with_stack.c 1.4
M +1 -1 coregrind/x86/signal.c 1.17
M +1 -1 coregrind/x86/state.c 1.19
M +1 -1 coregrind/x86-linux/core_platform.h 1.14
M +1 -1 coregrind/x86-linux/ldt.c 1.10
M +1 -1 coregrind/x86-linux/syscall.S 1.6
M +1 -1 coregrind/x86-linux/syscalls.c 1.27
M +2 -2 helgrind/hg_main.c 1.95
M +1 -1 include/tool.h.base 1.29
M +1 -1 include/tool_asm.h 1.4
M +1 -1 include/valgrind.h.in 1.7
M +1 -1 include/linux/vki.h 1.12
M +1 -1 include/x86/tool_arch.h 1.7
M +1 -1 include/x86-linux/vki_arch.h 1.16
M +2 -2 lackey/lk_main.c 1.27
M +1 -1 massif/ms_main.c 1.26
M +1 -1 memcheck/mac_leakcheck.c 1.24
M +1 -1 memcheck/mac_needs.c 1.38
M +1 -1 memcheck/mac_replace_strmem.c 1.16
M +1 -1 memcheck/mac_shared.h 1.38
M +1 -1 memcheck/mc_from_ucode.c 1.17
M +2 -2 memcheck/mc_main.c 1.68
M +1 -1 memcheck/mc_translate.c 1.45
M +1 -1 memcheck/memcheck.h 1.23
M +1 -1 none/tests/cmdline1.stdout.exp 1.15
M +1 -1 none/tests/cmdline2.stdout.exp 1.17
--- valgrind/addrcheck/ac_main.c #1.79:1.80
@@ -10,5 +10,5 @@
detecting memory errors.
- Copyright (C) 2000-2004 Julian Seward
+ Copyright (C) 2000-2005 Julian Seward
js...@ac...
@@ -1288,5 +1288,5 @@ void SK_(pre_clo_init)(void)
VG_(details_description) ("a fine-grained address checker");
VG_(details_copyright_author)(
- "Copyright (C) 2002-2004, and GNU GPL'd, by Julian Seward et al.");
+ "Copyright (C) 2002-2005, and GNU GPL'd, by Julian Seward et al.");
VG_(details_bug_reports_to) (VG_BUGS_TO);
VG_(details_avg_translation_sizeB) ( 135 );
--- valgrind/cachegrind/cg_main.c #1.84:1.85
@@ -9,5 +9,5 @@
profiling programs.
- Copyright (C) 2002-2004 Nicholas Nethercote
+ Copyright (C) 2002-2005 Nicholas Nethercote
nj...@ca...
@@ -1118,5 +1118,5 @@ void SK_(pre_clo_init)(void)
VG_(details_description) ("an I1/D1/L2 cache profiler");
VG_(details_copyright_author)(
- "Copyright (C) 2002-2004, and GNU GPL'd, by Nicholas Nethercote et al.");
+ "Copyright (C) 2002-2005, and GNU GPL'd, by Nicholas Nethercote et al.");
VG_(details_bug_reports_to) (VG_BUGS_TO);
VG_(details_avg_translation_sizeB) ( 155 );
--- valgrind/cachegrind/x86/cg_arch.c #1.5:1.6
@@ -8,5 +8,5 @@
profiling programs.
- Copyright (C) 2002-2004 Nicholas Nethercote
+ Copyright (C) 2002-2005 Nicholas Nethercote
nj...@ca...
--- valgrind/coregrind/core.h #1.97:1.98
@@ -10,5 +10,5 @@
emulator for monitoring program execution on x86-Unixes.
- Copyright (C) 2000-2004 Julian Seward
+ Copyright (C) 2000-2005 Julian Seward
js...@ac...
--- valgrind/coregrind/core_asm.h #1.7:1.8
@@ -8,5 +8,5 @@
emulator for monitoring program execution on x86-Unixes.
- Copyright (C) 2000-2004 Julian Seward
+ Copyright (C) 2000-2005 Julian Seward
js...@ac...
--- valgrind/coregrind/gen_toolint.pl #1.7:1.8
@@ -4,5 +4,5 @@
# emulator for monitoring program execution on x86-Unixes.
#
-# Copyright (C) 2000-2004 Julian Seward
+# Copyright (C) 2000-2005 Julian Seward
# js...@ac...
#
--- valgrind/coregrind/stage1.c #1.33:1.34
@@ -8,5 +8,5 @@
emulator for monitoring program execution on x86-Unixes.
- Copyright (C) 2000-2004 Julian Seward
+ Copyright (C) 2000-2005 Julian Seward
js...@ac...
--- valgrind/coregrind/ume.c #1.40:1.41
@@ -9,5 +9,5 @@
emulator for monitoring program execution on x86-Unixes.
- Copyright (C) 2000-2004 Julian Seward
+ Copyright (C) 2000-2005 Julian Seward
js...@ac...
--- valgrind/coregrind/ume.h #1.17:1.18
@@ -9,5 +9,5 @@
emulator for monitoring program execution on x86-Unixes.
- Copyright (C) 2000-2004 Julian Seward
+ Copyright (C) 2000-2005 Julian Seward
js...@ac...
--- valgrind/coregrind/vg_default.c #1.26:1.27
@@ -10,5 +10,5 @@
emulator for monitoring program execution on x86-Unixes.
- Copyright (C) 2000-2004 Nicholas Nethercote
+ Copyright (C) 2000-2005 Nicholas Nethercote
nj...@ca...
--- valgrind/coregrind/vg_demangle.c #1.9:1.10
@@ -9,5 +9,5 @@
emulator for monitoring program execution on x86-Unixes.
- Copyright (C) 2000-2004 Julian Seward
+ Copyright (C) 2000-2005 Julian Seward
js...@ac...
--- valgrind/coregrind/vg_errcontext.c #1.73:1.74
@@ -8,5 +8,5 @@
emulator for monitoring program execution on x86-Unixes.
- Copyright (C) 2000-2004 Julian Seward
+ Copyright (C) 2000-2005 Julian Seward
js...@ac...
--- valgrind/coregrind/vg_execontext.c #1.25:1.26
@@ -9,5 +9,5 @@
emulator for monitoring program execution on x86-Unixes.
- Copyright (C) 2000-2004 Julian Seward
+ Copyright (C) 2000-2005 Julian Seward
js...@ac...
--- valgrind/coregrind/vg_from_ucode.c #1.91:1.92
@@ -9,5 +9,5 @@
emulator for monitoring program execution on x86-Unixes.
- Copyright (C) 2000-2004 Julian Seward
+ Copyright (C) 2000-2005 Julian Seward
js...@ac...
--- valgrind/coregrind/vg_main.c #1.264:1.265
@@ -8,5 +8,5 @@
emulator for monitoring program execution on x86-Unixes.
- Copyright (C) 2000-2004 Julian Seward
+ Copyright (C) 2000-2005 Julian Seward
js...@ac...
@@ -1526,5 +1526,5 @@ void usage ( Bool debug_help )
" Extra options read from ~/.valgrindrc, $VALGRIND_OPTS, ./.valgrindrc\n"
"\n"
-" Valgrind is Copyright (C) 2000-2004 Julian Seward et al.\n"
+" Valgrind is Copyright (C) 2000-2005 Julian Seward et al.\n"
" and licensed under the GNU General Public License, version 2.\n"
" Bug reports, feedback, admiration, abuse, etc, to: %s.\n"
@@ -1892,5 +1892,5 @@ static void process_cmd_line_options( UI
VERSION, VG_PLATFORM);
VG_(message)(Vg_UserMsg,
- "Copyright (C) 2000-2004, and GNU GPL'd, by Julian Seward et al.");
+ "Copyright (C) 2000-2005, and GNU GPL'd, by Julian Seward et al.");
}
--- valgrind/coregrind/vg_malloc2.c #1.37:1.38
@@ -9,5 +9,5 @@
emulator for monitoring program execution on x86-Unixes.
- Copyright (C) 2000-2004 Julian Seward
+ Copyright (C) 2000-2005 Julian Seward
js...@ac...
--- valgrind/coregrind/vg_memory.c #1.93:1.94
@@ -10,5 +10,5 @@
emulator for monitoring program execution on x86-Unixes.
- Copyright (C) 2000-2004 Julian Seward
+ Copyright (C) 2000-2005 Julian Seward
js...@ac...
--- valgrind/coregrind/vg_messages.c #1.18:1.19
@@ -9,5 +9,5 @@
emulator for monitoring program execution on x86-Unixes.
- Copyright (C) 2000-2004 Julian Seward
+ Copyright (C) 2000-2005 Julian Seward
js...@ac...
--- valgrind/coregrind/vg_mylibc.c #1.112:1.113
@@ -10,5 +10,5 @@
emulator for monitoring program execution on x86-Unixes.
- Copyright (C) 2000-2004 Julian Seward
+ Copyright (C) 2000-2005 Julian Seward
js...@ac...
--- valgrind/coregrind/vg_procselfmaps.c #1.19:1.20
@@ -9,5 +9,5 @@
emulator for monitoring program execution on x86-Unixes.
- Copyright (C) 2000-2004 Julian Seward
+ Copyright (C) 2000-2005 Julian Seward
js...@ac...
--- valgrind/coregrind/vg_scheduler.c #1.227:1.228
@@ -8,5 +8,5 @@
emulator for monitoring program execution on x86-Unixes.
- Copyright (C) 2000-2004 Julian Seward
+ Copyright (C) 2000-2005 Julian Seward
js...@ac...
--- valgrind/coregrind/vg_signals.c #1.137:1.138
@@ -8,5 +8,5 @@
emulator for monitoring program execution on x86-Unixes.
- Copyright (C) 2000-2004 Julian Seward
+ Copyright (C) 2000-2005 Julian Seward
js...@ac...
--- valgrind/coregrind/vg_skiplist.c #1.9:1.10
@@ -4,5 +4,5 @@
emulator for monitoring program execution on x86-Unixes.
- Copyright (C) 2002-2004 Jeremy Fitzhardinge
+ Copyright (C) 2002-2005 Jeremy Fitzhardinge
je...@go...
--- valgrind/coregrind/vg_symtab2.c #1.105:1.106
@@ -8,5 +8,5 @@
emulator for monitoring program execution on x86-Unixes.
- Copyright (C) 2000-2004 Julian Seward
+ Copyright (C) 2000-2005 Julian Seward
js...@ac...
--- valgrind/coregrind/vg_symtypes.c #1.13:1.14
@@ -7,5 +7,5 @@
emulator for monitoring program execution on x86-Unixes.
- Copyright (C) 2000-2004 Julian Seward
+ Copyright (C) 2000-2005 Julian Seward
js...@ac...
--- valgrind/coregrind/vg_syscalls.c #1.259:1.260
@@ -8,5 +8,5 @@
emulator for monitoring program execution on x86-Unixes.
- Copyright (C) 2000-2004 Julian Seward
+ Copyright (C) 2000-2005 Julian Seward
js...@ac...
--- valgrind/coregrind/vg_to_ucode.c #1.157:1.158
@@ -9,5 +9,5 @@
emulator for monitoring program execution on x86-Unixes.
- Copyright (C) 2000-2004 Julian Seward
+ Copyright (C) 2000-2005 Julian Seward
js...@ac...
--- valgrind/coregrind/vg_translate.c #1.98:1.99
@@ -9,5 +9,5 @@
emulator for monitoring program execution on x86-Unixes.
- Copyright (C) 2000-2004 Julian Seward
+ Copyright (C) 2000-2005 Julian Seward
js...@ac...
--- valgrind/coregrind/vg_transtab.c #1.40:1.41
@@ -9,5 +9,5 @@
emulator for monitoring program execution on x86-Unixes.
- Copyright (C) 2000-2004 Julian Seward
+ Copyright (C) 2000-2005 Julian Seward
js...@ac...
--- valgrind/coregrind/docs/coregrind_core.html #1.40:1.41
@@ -1456,5 +1456,5 @@
~/Valgrind-6/valgrind -v ./bogon
==25832== Valgrind 0.10, a memory error detector for x86 RedHat 7.1.
-==25832== Copyright (C) 2000-2001, and GNU GPL'd, by Julian Seward.
+==25832== Copyright (C) 2000-2005, and GNU GPL'd, by Julian Seward.
==25832== Startup, with flags:
==25832== --suppressions=/home/sewardj/Valgrind/redhat71.supp
--- valgrind/coregrind/linux/core_os.c #1.9:1.10
@@ -1,2 +1,31 @@
+
+/*--------------------------------------------------------------------*/
+/*--- Linux-specific functions. linux/core_os.c ---*/
+/*--------------------------------------------------------------------*/
+
+/*
+ This file is part of Valgrind, an extensible x86 protected-mode
+ emulator for monitoring program execution on x86-Unixes.
+
+ Copyright (C) 2005 Jeremy Fitzhardinge
+ je...@go...
+
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License as
+ published by the Free Software Foundation; either version 2 of the
+ License, or (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+ 02111-1307, USA.
+
+ The GNU General Public License is contained in the file COPYING.
+*/
#include "core.h"
--- valgrind/coregrind/linux/core_os.h #1.4:1.5
@@ -9,5 +9,5 @@
emulator for monitoring program execution on x86-Unixes.
- Copyright (C) 2000-2004 Nicholas Nethercote
+ Copyright (C) 2000-2005 Nicholas Nethercote
nj...@ca...
--- valgrind/coregrind/linux/sema.c #1.3:1.4
@@ -1,2 +1,31 @@
+
+/*--------------------------------------------------------------------*/
+/*--- Linux-specific semaphore. linux/sema.c ---*/
+/*--------------------------------------------------------------------*/
+
+/*
+ This file is part of Valgrind, an extensible x86 protected-mode
+ emulator for monitoring program execution on x86-Unixes.
+
+ Copyright (C) 2005 Jeremy Fitzhardinge
+ je...@go...
+
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License as
+ published by the Free Software Foundation; either version 2 of the
+ License, or (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+ 02111-1307, USA.
+
+ The GNU General Public License is contained in the file COPYING.
+*/
#include "core.h"
--- valgrind/coregrind/linux/syscalls.c #1.7:1.8
@@ -8,5 +8,5 @@
emulator for monitoring program execution on x86-Unixes.
- Copyright (C) 2000-2004 Nicholas Nethercote
+ Copyright (C) 2000-2005 Nicholas Nethercote
nj...@ca...
--- valgrind/coregrind/x86/core_arch.h #1.26:1.27
@@ -8,5 +8,5 @@
emulator for monitoring program execution on x86-Unixes.
- Copyright (C) 2000-2004 Nicholas Nethercote
+ Copyright (C) 2000-2005 Nicholas Nethercote
nj...@ca...
--- valgrind/coregrind/x86/core_arch_asm.h #1.4:1.5
@@ -7,5 +7,5 @@
emulator for monitoring program execution on x86-Unixes.
- Copyright (C) 2000-2004 Nicholas Nethercote
+ Copyright (C) 2000-2005 Nicholas Nethercote
nj...@ca...
--- valgrind/coregrind/x86/dispatch.S #1.6:1.7
@@ -9,5 +9,5 @@
emulator for monitoring program execution on x86-Unixes.
- Copyright (C) 2000-2004 Julian Seward
+ Copyright (C) 2000-2005 Julian Seward
js...@ac...
--- valgrind/coregrind/x86/helpers.S #1.6:1.7
@@ -7,5 +7,5 @@
emulator for monitoring program execution on x86-Unixes.
- Copyright (C) 2000-2004 Julian Seward
+ Copyright (C) 2000-2005 Julian Seward
js...@ac...
--- valgrind/coregrind/x86/jmp_with_stack.c #1.3:1.4
@@ -4,5 +4,5 @@
emulator for monitoring program execution on x86-Unixes.
- Copyright (C) 2000-2004 Julian Seward
+ Copyright (C) 2000-2005 Julian Seward
js...@ac...
--- valgrind/coregrind/x86/signal.c #1.16:1.17
@@ -8,5 +8,5 @@
emulator for monitoring program execution on x86-Unixes.
- Copyright (C) 2000-2004 Nicholas Nethercote
+ Copyright (C) 2000-2005 Nicholas Nethercote
nj...@ca...
--- valgrind/coregrind/x86/state.c #1.18:1.19
@@ -8,5 +8,5 @@
emulator for monitoring program execution on x86-Unixes.
- Copyright (C) 2000-2004 Nicholas Nethercote
+ Copyright (C) 2000-2005 Nicholas Nethercote
nj...@ca...
--- valgrind/coregrind/x86-linux/core_platform.h #1.13:1.14
@@ -9,5 +9,5 @@
emulator for monitoring program execution on x86-Unixes.
- Copyright (C) 2000-2004 Nicholas Nethercote
+ Copyright (C) 2000-2005 Nicholas Nethercote
nj...@ca...
--- valgrind/coregrind/x86-linux/ldt.c #1.9:1.10
@@ -8,5 +8,5 @@
emulator for monitoring program execution on x86-Unixes.
- Copyright (C) 2000-2004 Julian Seward
+ Copyright (C) 2000-2005 Julian Seward
js...@ac...
--- valgrind/coregrind/x86-linux/syscall.S #1.5:1.6
@@ -8,5 +8,5 @@
emulator for monitoring program execution on x86-Unixes.
- Copyright (C) 2000-2004 Julian Seward
+ Copyright (C) 2000-2005 Julian Seward
js...@ac...
--- valgrind/coregrind/x86-linux/syscalls.c #1.26:1.27
@@ -8,5 +8,5 @@
emulator for monitoring program execution on x86-Unixes.
- Copyright (C) 2000-2004 Nicholas Nethercote
+ Copyright (C) 2000-2005 Nicholas Nethercote
nj...@ca...
--- valgrind/helgrind/hg_main.c #1.94:1.95
@@ -9,5 +9,5 @@
data races in threaded programs.
- Copyright (C) 2002-2004 Nicholas Nethercote
+ Copyright (C) 2002-2005 Nicholas Nethercote
nj...@ca...
@@ -3269,5 +3269,5 @@ void SK_(pre_clo_init)(void)
VG_(details_description) ("a data race detector");
VG_(details_copyright_author)(
- "Copyright (C) 2002-2004, and GNU GPL'd, by Nicholas Nethercote et al.");
+ "Copyright (C) 2002-2005, and GNU GPL'd, by Nicholas Nethercote et al.");
VG_(details_bug_reports_to) (VG_BUGS_TO);
VG_(details_avg_translation_sizeB) ( 115 );
--- valgrind/include/tool.h.base #1.28:1.29
@@ -8,5 +8,5 @@
emulator for monitoring program execution on x86-Unixes.
- Copyright (C) 2000-2004 Julian Seward
+ Copyright (C) 2000-2005 Julian Seward
js...@ac...
--- valgrind/include/tool_asm.h #1.3:1.4
@@ -8,5 +8,5 @@
emulator for monitoring program execution on x86-Unixes.
- Copyright (C) 2000-2004 Julian Seward
+ Copyright (C) 2000-2005 Julian Seward
js...@ac...
--- valgrind/include/valgrind.h.in #1.6:1.7
@@ -12,5 +12,5 @@
emulator for monitoring program execution on x86-Unixes.
- Copyright (C) 2000-2004 Julian Seward. All rights reserved.
+ Copyright (C) 2000-2005 Julian Seward. All rights reserved.
Redistribution and use in source and binary forms, with or without
--- valgrind/include/linux/vki.h #1.11:1.12
@@ -8,5 +8,5 @@
emulator for monitoring program execution on x86-Unixes.
- Copyright (C) 2000-2004 Julian Seward
+ Copyright (C) 2000-2005 Julian Seward
js...@ac...
--- valgrind/include/x86/tool_arch.h #1.6:1.7
@@ -7,5 +7,5 @@
emulator for monitoring program execution on x86-Unixes.
- Copyright (C) 2000-2004 Nicholas Nethercote
+ Copyright (C) 2000-2005 Nicholas Nethercote
nj...@ca...
--- valgrind/include/x86-linux/vki_arch.h #1.15:1.16
@@ -8,5 +8,5 @@
emulator for monitoring program execution on x86-Unixes.
- Copyright (C) 2000-2004 Julian Seward
+ Copyright (C) 2000-2005 Julian Seward
js...@ac...
--- valgrind/lackey/lk_main.c #1.26:1.27
@@ -9,5 +9,5 @@
some simple program measurement.
- Copyright (C) 2002-2004 Nicholas Nethercote
+ Copyright (C) 2002-2005 Nicholas Nethercote
nj...@ca...
@@ -79,5 +79,5 @@ void SK_(pre_clo_init)(void)
VG_(details_description) ("an example Valgrind tool");
VG_(details_copyright_author)(
- "Copyright (C) 2002-2004, and GNU GPL'd, by Nicholas Nethercote.");
+ "Copyright (C) 2002-2005, and GNU GPL'd, by Nicholas Nethercote.");
VG_(details_bug_reports_to) (VG_BUGS_TO);
VG_(details_avg_translation_sizeB) ( 175 );
--- valgrind/massif/ms_main.c #1.25:1.26
@@ -8,5 +8,5 @@
usage of programs.
- Copyright (C) 2003-2004 Nicholas Nethercote
+ Copyright (C) 2003-2005 Nicholas Nethercote
nj...@ca...
--- valgrind/memcheck/mac_leakcheck.c #1.23:1.24
@@ -10,5 +10,5 @@
for detecting memory errors.
- Copyright (C) 2000-2004 Julian Seward
+ Copyright (C) 2000-2005 Julian Seward
js...@ac...
--- valgrind/memcheck/mac_needs.c #1.37:1.38
@@ -10,5 +10,5 @@
for detecting memory errors.
- Copyright (C) 2000-2004 Julian Seward
+ Copyright (C) 2000-2005 Julian Seward
js...@ac...
--- valgrind/memcheck/mac_replace_strmem.c #1.15:1.16
@@ -10,5 +10,5 @@
detecting memory errors.
- Copyright (C) 2000-2004 Julian Seward
+ Copyright (C) 2000-2005 Julian Seward
js...@ac...
--- valgrind/memcheck/mac_shared.h #1.37:1.38
@@ -10,5 +10,5 @@
for detecting memory errors.
- Copyright (C) 2000-2004 Julian Seward
+ Copyright (C) 2000-2005 Julian Seward
js...@ac...
--- valgrind/memcheck/mc_from_ucode.c #1.16:1.17
@@ -9,5 +9,5 @@
detecting memory errors.
- Copyright (C) 2000-2004 Julian Seward
+ Copyright (C) 2000-2005 Julian Seward
js...@ac...
--- valgrind/memcheck/mc_main.c #1.67:1.68
@@ -10,5 +10,5 @@
detecting memory errors.
- Copyright (C) 2000-2004 Julian Seward
+ Copyright (C) 2000-2005 Julian Seward
js...@ac...
@@ -1935,5 +1935,5 @@ void SK_(pre_clo_init)(void)
VG_(details_description) ("a memory error detector");
VG_(details_copyright_author)(
- "Copyright (C) 2002-2004, and GNU GPL'd, by Julian Seward et al.");
+ "Copyright (C) 2002-2005, and GNU GPL'd, by Julian Seward et al.");
VG_(details_bug_reports_to) (VG_BUGS_TO);
VG_(details_avg_translation_sizeB) ( 228 );
--- valgrind/memcheck/mc_translate.c #1.44:1.45
@@ -9,5 +9,5 @@
detecting memory errors.
- Copyright (C) 2000-2004 Julian Seward
+ Copyright (C) 2000-2005 Julian Seward
js...@ac...
--- valgrind/memcheck/memcheck.h #1.22:1.23
@@ -13,5 +13,5 @@
detecting memory errors.
- Copyright (C) 2000-2004 Julian Seward. All rights reserved.
+ Copyright (C) 2000-2005 Julian Seward. All rights reserved.
Redistribution and use in source and binary forms, with or without
--- valgrind/none/tests/cmdline1.stdout.exp #1.14:1.15
@@ -36,5 +36,5 @@
Extra options read from ~/.valgrindrc, $VALGRIND_OPTS, ./.valgrindrc
- Valgrind is Copyright (C) 2000-2004 Julian Seward et al.
+ Valgrind is Copyright (C) 2000-2005 Julian Seward et al.
and licensed under the GNU General Public License, version 2.
Bug reports, feedback, admiration, abuse, etc, to: valgrind.kde.org.
--- valgrind/none/tests/cmdline2.stdout.exp #1.16:1.17
@@ -58,5 +58,5 @@
Extra options read from ~/.valgrindrc, $VALGRIND_OPTS, ./.valgrindrc
- Valgrind is Copyright (C) 2000-2004 Julian Seward et al.
+ Valgrind is Copyright (C) 2000-2005 Julian Seward et al.
and licensed under the GNU General Public License, version 2.
Bug reports, feedback, admiration, abuse, etc, to: valgrind.kde.org.
|
|
From: Nicholas N. <nj...@cs...> - 2005-03-11 05:24:44
|
On Thu, 10 Mar 2005, Jeremy Fitzhardinge wrote: > Oh, wait, you mean that the thing which the Valgrind build process generates > is wrong? And its passing -fpie/-pie in the appropriate places? Ah, I've figured it out: I was trying to run a PIE-Valgrind under a non-PIE-Valgrind. But if I run a PIE-Valgrind under itself, it works. I don't understand why, but cool! (I get an assertion failure from the leak checker on exit, but it's a start...) N |
|
From: Jeremy F. <je...@go...> - 2005-03-11 04:40:33
|
CVS commit by fitzhardinge:
Fix name of match-overrun.supp
M +1 -1 Makefile.am 1.72
--- valgrind/memcheck/tests/Makefile.am #1.71:1.72
@@ -44,5 +44,5 @@
manuel1.stderr.exp manuel1.stdout.exp manuel1.vgtest \
manuel2.stderr.exp manuel2.stdout.exp manuel2.vgtest \
- match-overrun.stderr.exp match-overrun.vgtest match-overrun.stderr.supp \
+ match-overrun.stderr.exp match-overrun.vgtest match-overrun.supp \
manuel3.stderr.exp manuel3.vgtest \
memalign_test.stderr.exp memalign_test.vgtest \
|
|
From: Jeremy F. <je...@go...> - 2005-03-11 04:19:06
|
CVS commit by fitzhardinge:
Fix a couple of printf formatting inconsistencies.
M +1 -1 vg_main.c 1.264
M +1 -1 vg_syscalls.c 1.259
--- valgrind/coregrind/vg_main.c #1.263:1.264
@@ -178,5 +178,5 @@ static void print_all_stats ( void )
VG_(bb_enchain_count), VG_(bb_dechain_count) );
VG_(message)(Vg_DebugMsg,
- " dispatch: %llu jumps (bb entries); of them %u (%lu%%) unchained.",
+ " dispatch: %llu jumps (bb entries); of them %u (%llu%%) unchained.",
VG_(bbs_done),
VG_(unchained_jumps_done),
--- valgrind/coregrind/vg_syscalls.c #1.258:1.259
@@ -6167,5 +6167,5 @@ void VG_(client_syscall) ( ThreadId tid
machinery. */
VG_(set_running)(tid);
- PRINT("SYSCALL[%d,%d](%3d) --> %ld (0x%lx)\n",
+ PRINT("SYSCALL[%d,%d](%3d) --> %lld (0x%llx)\n",
VG_(getpid)(), tid, syscallno, (Long)(Word)SYSRES, (ULong)SYSRES);
} else {
|
|
From: Jeremy F. <je...@go...> - 2005-03-11 04:15:26
|
Nicholas Nethercote wrote:
> Jeremy,
>
> I'm struggling again to get PIE to work, in order to self-host. I'm
> not sure if I've got GCC set up right for it to work.
>
> Looking at a single-file example, if I just compile in a single step,
> it doesn't work, viz:
>
> [~] gcc4 -fpie a.c
> [~] file a.out
> a.out: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV),
> dynamically linked (uses shared libs), not stripped
>
>
> If I compile and link in separate stages, it does work:
>
> [~] gcc4 -fpie -c a.c
> [~] gcc4 -pie a.o
> [~] file a.out
> a.out: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV),
> not stripped
>
>
> Does this look right? So PIE seems to be working at least a bit, but
> seemingly not enough to compile valgrind and self-host. Any ideas?
I think so. The gcc manpage mentions -pie as a linker option and -fpie
as a codegen option, and that's what coregrind/Makefile does too.
Oh, wait, you mean that the thing which the Valgrind build process
generates is wrong? And its passing -fpie/-pie in the appropriate
places? What does the complete build output look like? I wonder if
there's some interaction with the other link-time flags we're passing
which inhibits -pie.
J
|
|
From: Jeremy F. <je...@go...> - 2005-03-11 04:11:00
|
Nicholas Nethercote wrote: > On Thu, 10 Mar 2005, Jeremy Fitzhardinge wrote: > >> Nicholas Nethercote wrote: >> >>> Are you going to fix Tom Truscott's sizeof(*ehdr) bug? (I assume >>> it's a bug, haven't actually checked the code). >> >> >> Err, I don't think I know anything about that. Where/when did he >> mention it? > > > http://sourceforge.net/mailarchive/forum.php?thread_id=6767732&forum_id=32038 > Hm, OK. It isn't all that serious; it just means the padding and uninitialized fields in a core-dump will be junk. The sigprocmask one should be fixed, though it only affects the obsolete non-rt version (so an old executable might hit it, but anything newly compiled won't). J |
|
From: <js...@ac...> - 2005-03-11 04:04:16
|
Nightly build on phoenix ( SuSE 9.1 ) started at 2005-03-11 03:50:00 GMT Checking out source tree ... done Configuring ... done Building ... done Running regression tests ... done Last 20 lines of log.verbose follow insn_mmx: valgrind ./insn_mmx insn_mmxext: (skipping, prereq failed: ../../../tests/cputest x86-mmxext) insn_sse: valgrind ./insn_sse insn_sse2: (skipping, prereq failed: ../../../tests/cputest x86-sse2) int: valgrind ./int pushpopseg: valgrind ./pushpopseg rcl_assert: valgrind ./rcl_assert seg_override: valgrind ./seg_override -- Finished tests in none/tests/x86 ------------------------------------ yield: valgrind ./yield -- Finished tests in none/tests ---------------------------------------- == 199 tests, 5 stderr failures, 0 stdout failures ================= memcheck/tests/pth_once (stderr) memcheck/tests/scalar (stderr) memcheck/tests/threadederrno (stderr) memcheck/tests/writev (stderr) corecheck/tests/fdleak_fcntl (stderr) make: *** [regtest] Error 1 |
|
From: Nicholas N. <nj...@cs...> - 2005-03-11 03:59:37
|
CVS commit by nethercote: Fix line numbers in example. M +4 -4 valgrind-quick-start 1.6 --- devel-home/valgrind/valgrind-quick-start #1.5:1.6 @@ -58,10 +58,10 @@ ==19182== Invalid write of size 4 - ==19182== at 0x804838F: f (example.c:8) - ==19182== by 0x80483AB: main (example.c:14) + ==19182== at 0x804838F: f (example.c:5) + ==19182== by 0x80483AB: main (example.c:11) ==19182== Address 0x1BA45050 is 0 bytes after a block of size 40 alloc'd ==19182== at 0x1B8FF5CD: malloc (vg_replace_malloc.c:130) - ==19182== by 0x8048385: f (example.c:7) - ==19182== by 0x80483AB: main (example.c:14) + ==19182== by 0x8048385: f (example.c:6) + ==19182== by 0x80483AB: main (example.c:11) Things to notice: |
|
From: Tom H. <to...@co...> - 2005-03-11 03:28:13
|
Nightly build on dunsmere ( Fedora Core 3 ) started at 2005-03-11 03:20:03 GMT Checking out source tree ... done Configuring ... done Building ... done Running regression tests ... done Last 20 lines of log.verbose follow insn_cmov: valgrind ./insn_cmov insn_fpu: valgrind ./insn_fpu insn_mmx: valgrind ./insn_mmx insn_mmxext: valgrind ./insn_mmxext insn_sse: valgrind ./insn_sse insn_sse2: (skipping, prereq failed: ../../../tests/cputest x86-sse2) int: valgrind ./int sh: line 1: 27229 Segmentation fault VALGRINDLIB=/tmp/valgrind.2124/valgrind/.in_place /tmp/valgrind.2124/valgrind/./coregrind/valgrind --command-line-only=yes --memcheck:leak-check=no --addrcheck:leak-check=no --tool=none ./int >int.stdout.out 2>int.stderr.out pushpopseg: valgrind ./pushpopseg rcl_assert: valgrind ./rcl_assert seg_override: valgrind ./seg_override -- Finished tests in none/tests/x86 ------------------------------------ yield: valgrind ./yield -- Finished tests in none/tests ---------------------------------------- == 205 tests, 2 stderr failures, 0 stdout failures ================= memcheck/tests/scalar (stderr) memcheck/tests/scalar_supp (stderr) make: *** [regtest] Error 1 |
|
From: Tom H. <th...@cy...> - 2005-03-11 03:22:08
|
Nightly build on audi ( Red Hat 9 ) started at 2005-03-11 03:15:01 GMT Checking out source tree ... done Configuring ... done Building ... done Running regression tests ... done Last 20 lines of log.verbose follow cpuid: valgrind ./cpuid dastest: valgrind ./dastest fpu_lazy_eflags: valgrind ./fpu_lazy_eflags insn_basic: valgrind ./insn_basic insn_cmov: valgrind ./insn_cmov insn_fpu: valgrind ./insn_fpu insn_mmx: valgrind ./insn_mmx insn_mmxext: valgrind ./insn_mmxext insn_sse: valgrind ./insn_sse insn_sse2: (skipping, prereq failed: ../../../tests/cputest x86-sse2) int: valgrind ./int pushpopseg: valgrind ./pushpopseg rcl_assert: valgrind ./rcl_assert seg_override: valgrind ./seg_override -- Finished tests in none/tests/x86 ------------------------------------ yield: valgrind ./yield -- Finished tests in none/tests ---------------------------------------- == 204 tests, 0 stderr failures, 0 stdout failures ================= |
|
From: Tom H. <th...@cy...> - 2005-03-11 03:16:27
|
Nightly build on ginetta ( Red Hat 8.0 ) started at 2005-03-11 03:10:02 GMT Checking out source tree ... done Configuring ... done Building ... done Running regression tests ... done Last 20 lines of log.verbose follow insn_basic: valgrind ./insn_basic insn_cmov: valgrind ./insn_cmov insn_fpu: valgrind ./insn_fpu insn_mmx: valgrind ./insn_mmx insn_mmxext: valgrind ./insn_mmxext insn_sse: valgrind ./insn_sse insn_sse2: (skipping, prereq failed: ../../../tests/cputest x86-sse2) int: valgrind ./int pushpopseg: valgrind ./pushpopseg rcl_assert: valgrind ./rcl_assert seg_override: valgrind ./seg_override -- Finished tests in none/tests/x86 ------------------------------------ yield: valgrind ./yield -- Finished tests in none/tests ---------------------------------------- == 203 tests, 2 stderr failures, 0 stdout failures ================= memcheck/tests/pth_once (stderr) memcheck/tests/threadederrno (stderr) make: *** [regtest] Error 1 |
|
From: Tom H. <th...@cy...> - 2005-03-11 03:15:42
|
Nightly build on standard ( Red Hat 7.2 ) started at 2005-03-11 03:00:02 GMT Checking out source tree ... done Configuring ... done Building ... done Running regression tests ... done Last 20 lines of log.verbose follow insn_mmx: valgrind ./insn_mmx insn_mmxext: valgrind ./insn_mmxext insn_sse: valgrind ./insn_sse insn_sse2: (skipping, prereq failed: ../../../tests/cputest x86-sse2) int: valgrind ./int pushpopseg: valgrind ./pushpopseg rcl_assert: valgrind ./rcl_assert seg_override: valgrind ./seg_override -- Finished tests in none/tests/x86 ------------------------------------ yield: valgrind ./yield -- Finished tests in none/tests ---------------------------------------- == 203 tests, 5 stderr failures, 0 stdout failures ================= memcheck/tests/leak-tree (stderr) memcheck/tests/pth_once (stderr) memcheck/tests/threadederrno (stderr) memcheck/tests/vgtest_ume (stderr) addrcheck/tests/leak-tree (stderr) make: *** [regtest] Error 1 |