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
(11) |
2
(9) |
3
(14) |
4
(18) |
5
(13) |
|
6
(4) |
7
(12) |
8
(16) |
9
(14) |
10
(8) |
11
(9) |
12
(7) |
|
13
(12) |
14
(6) |
15
(14) |
16
(5) |
17
(10) |
18
(8) |
19
(5) |
|
20
(10) |
21
(16) |
22
(5) |
23
(14) |
24
(10) |
25
(11) |
26
(6) |
|
27
(9) |
28
(8) |
29
(11) |
30
(9) |
31
(18) |
|
|
|
From: Tom H. <th...@cy...> - 2008-01-07 03:28:03
|
Nightly build on dellow ( x86_64, Fedora 8 ) started at 2008-01-07 03:10:05 GMT 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 == 357 tests, 8 stderr failures, 4 stdout failures, 0 post failures == memcheck/tests/malloc_free_fill (stderr) 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_cvsimple (stdout) none/tests/pth_detached (stdout) helgrind/tests/tc18_semabuse (stderr) 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 == 357 tests, 8 stderr failures, 3 stdout failures, 0 post failures == memcheck/tests/malloc_free_fill (stderr) 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) 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 Mon Jan 7 03:19:18 2008 --- new.short Mon Jan 7 03:28:05 2008 *************** *** 8,10 **** ! == 357 tests, 8 stderr failures, 3 stdout failures, 0 post failures == memcheck/tests/malloc_free_fill (stderr) --- 8,10 ---- ! == 357 tests, 8 stderr failures, 4 stdout failures, 0 post failures == memcheck/tests/malloc_free_fill (stderr) *************** *** 16,17 **** --- 16,18 ---- none/tests/mremap2 (stdout) + none/tests/pth_cvsimple (stdout) none/tests/pth_detached (stdout) |
|
From: Tom H. <th...@cy...> - 2008-01-07 03:15:07
|
Nightly build on gill ( x86_64, Fedora Core 2 ) started at 2008-01-07 03:00:02 GMT Results unchanged from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 359 tests, 30 stderr failures, 1 stdout failure, 0 post failures == memcheck/tests/addressable (stderr) memcheck/tests/badjump (stderr) memcheck/tests/describe-block (stderr) memcheck/tests/malloc_free_fill (stderr) memcheck/tests/match-overrun (stderr) memcheck/tests/pointer-trace (stderr) memcheck/tests/stack_switch (stderr) memcheck/tests/supp_unknown (stderr) memcheck/tests/x86/scalar (stderr) memcheck/tests/x86/scalar_supp (stderr) none/tests/blockfault (stderr) none/tests/fdleak_fcntl (stderr) none/tests/mremap (stderr) none/tests/mremap2 (stdout) 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: Tom H. <th...@cy...> - 2008-01-06 04:00:56
|
Nightly build on alvis ( i686, Red Hat 7.3 ) started at 2008-01-06 03:15:04 GMT Results unchanged from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 323 tests, 66 stderr failures, 1 stdout failure, 28 post 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/lsframe1 (stderr) memcheck/tests/lsframe2 (stderr) memcheck/tests/malloc_free_fill (stderr) memcheck/tests/match-overrun (stderr) memcheck/tests/noisy_child (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/supp_unknown (stderr) memcheck/tests/x86/bug152022 (stderr) memcheck/tests/x86/scalar (stderr) memcheck/tests/x86/scalar_supp (stderr) memcheck/tests/x86/xor-undef-x86 (stderr) memcheck/tests/xml1 (stderr) massif/tests/alloc-fns-A (post) massif/tests/alloc-fns-B (post) massif/tests/basic (post) massif/tests/basic2 (post) massif/tests/big-alloc (post) massif/tests/culling1 (stderr) massif/tests/culling2 (stderr) massif/tests/custom_alloc (post) massif/tests/deep-A (post) massif/tests/deep-B (stderr) massif/tests/deep-B (post) massif/tests/deep-C (stderr) massif/tests/deep-C (post) massif/tests/deep-D (post) massif/tests/ignoring (post) massif/tests/insig (post) massif/tests/long-time (post) massif/tests/new-cpp (post) massif/tests/null (post) massif/tests/one (post) massif/tests/overloaded-new (post) massif/tests/peak (post) massif/tests/peak2 (stderr) massif/tests/peak2 (post) massif/tests/realloc (stderr) massif/tests/realloc (post) massif/tests/thresholds_0_0 (post) massif/tests/thresholds_0_10 (post) massif/tests/thresholds_10_0 (post) massif/tests/thresholds_10_10 (post) massif/tests/thresholds_5_0 (post) massif/tests/thresholds_5_10 (post) massif/tests/zero1 (post) massif/tests/zero2 (post) none/tests/blockfault (stderr) none/tests/mremap (stderr) none/tests/mremap2 (stdout) helgrind/tests/hg01_all_ok (stderr) helgrind/tests/hg02_deadlock (stderr) helgrind/tests/hg03_inherit (stderr) helgrind/tests/hg04_race (stderr) helgrind/tests/hg05_race2 (stderr) helgrind/tests/hg06_readshared (stderr) helgrind/tests/tc01_simple_race (stderr) helgrind/tests/tc02_simple_tls (stderr) helgrind/tests/tc03_re_excl (stderr) helgrind/tests/tc05_simple_race (stderr) helgrind/tests/tc06_two_races (stderr) helgrind/tests/tc07_hbl1 (stderr) helgrind/tests/tc08_hbl2 (stderr) helgrind/tests/tc09_bad_unlock (stderr) helgrind/tests/tc11_XCHG (stderr) helgrind/tests/tc12_rwl_trivial (stderr) helgrind/tests/tc14_laog_dinphils (stderr) helgrind/tests/tc16_byterace (stderr) helgrind/tests/tc17_sembar (stderr) helgrind/tests/tc18_semabuse (stderr) helgrind/tests/tc19_shadowmem (stderr) helgrind/tests/tc20_verifywrap (stderr) helgrind/tests/tc21_pthonce (stderr) helgrind/tests/tc22_exit_w_lock (stderr) helgrind/tests/tc23_bogus_condwait (stderr) helgrind/tests/tc24_nonzero_sem (stderr) |
|
From: Tom H. <th...@cy...> - 2008-01-06 03:37:54
|
Nightly build on lloyd ( x86_64, Fedora 7 ) started at 2008-01-06 03:05:14 GMT Results unchanged from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 357 tests, 7 stderr failures, 2 stdout failures, 0 post failures == memcheck/tests/malloc_free_fill (stderr) 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) helgrind/tests/tc20_verifywrap (stderr) helgrind/tests/tc22_exit_w_lock (stderr) |
|
From: Tom H. <th...@cy...> - 2008-01-06 03:28:21
|
Nightly build on dellow ( x86_64, Fedora 8 ) started at 2008-01-06 03:10:05 GMT 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 == 357 tests, 9 stderr failures, 3 stdout failures, 0 post failures == memcheck/tests/malloc_free_fill (stderr) 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_cvsimple (stdout) helgrind/tests/tc17_sembar (stderr) helgrind/tests/tc18_semabuse (stderr) 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 == 357 tests, 8 stderr failures, 2 stdout failures, 0 post failures == memcheck/tests/malloc_free_fill (stderr) 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) 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 Sun Jan 6 03:19:18 2008 --- new.short Sun Jan 6 03:28:23 2008 *************** *** 8,10 **** ! == 357 tests, 8 stderr failures, 2 stdout failures, 0 post failures == memcheck/tests/malloc_free_fill (stderr) --- 8,10 ---- ! == 357 tests, 9 stderr failures, 3 stdout failures, 0 post failures == memcheck/tests/malloc_free_fill (stderr) *************** *** 16,17 **** --- 16,19 ---- none/tests/mremap2 (stdout) + none/tests/pth_cvsimple (stdout) + helgrind/tests/tc17_sembar (stderr) helgrind/tests/tc18_semabuse (stderr) |
|
From: Tom H. <th...@cy...> - 2008-01-06 03:15:07
|
Nightly build on gill ( x86_64, Fedora Core 2 ) started at 2008-01-06 03:00:03 GMT Results unchanged from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 359 tests, 30 stderr failures, 1 stdout failure, 0 post failures == memcheck/tests/addressable (stderr) memcheck/tests/badjump (stderr) memcheck/tests/describe-block (stderr) memcheck/tests/malloc_free_fill (stderr) memcheck/tests/match-overrun (stderr) memcheck/tests/pointer-trace (stderr) memcheck/tests/stack_switch (stderr) memcheck/tests/supp_unknown (stderr) memcheck/tests/x86/scalar (stderr) memcheck/tests/x86/scalar_supp (stderr) none/tests/blockfault (stderr) none/tests/fdleak_fcntl (stderr) none/tests/mremap (stderr) none/tests/mremap2 (stdout) 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: Nicholas N. <nj...@cs...> - 2008-01-05 23:14:46
|
On Sat, 5 Jan 2008, Julian Seward wrote: > So it seems to me the simple thing to do is move VG_(clo_backtrace_size) > from the core to the tool header file, yes? I'll do that shortly. yep N |
|
From: Julian S. <js...@ac...> - 2008-01-05 16:50:53
|
On Saturday 05 January 2008 14:09, Nicholas Nethercote wrote: > On Sat, 5 Jan 2008, Bart Van Assche wrote: > > I'm not entirely happy with hardcoding the stack depth either. Please > > note that the problem of hardcoded stack depths does not only exist in > > drd but also in other Valgrind tools (helgrind/hg_main.c, > > msm__show_state_change()). Other tools (exp-omega) use > > VG_(clo_backtrace_size) as stack depth by including coregrind header > > files, which should be avoided. > > Do you think it would be a good idea to use the stack depth specified > > via the --num-callers=... command line option when printing a call > > stack ? Unfortunately this value (VG_(clo_backtrace_size)) is not > > available to tools. One way to overcome this is to define a special > > value for n_ips that selects the stack depth specified via > > --num-callers=..., e.g. as follows: > > There are a couple of options that are tool-visible, eg. -v and --xml. It > would be reasonable to add --num-callers to that list if multiple tools > need it, and assuming using the --num-callers numbers is reasonable -- eg. > Massif has a --depth parameter which is similar, but different because > reusing --num-callers didn't feel appropriate. It's not a clear-cut > decision either way... using --num-callers is probably ok for DRD and > Helgrind. So it seems to me the simple thing to do is move VG_(clo_backtrace_size) from the core to the tool header file, yes? I'll do that shortly. J |
|
From: Nicholas N. <nj...@cs...> - 2008-01-05 13:13:11
|
On Sat, 5 Jan 2008, Bart Van Assche wrote: > I'm not entirely happy with hardcoding the stack depth either. Please > note that the problem of hardcoded stack depths does not only exist in > drd but also in other Valgrind tools (helgrind/hg_main.c, > msm__show_state_change()). Other tools (exp-omega) use > VG_(clo_backtrace_size) as stack depth by including coregrind header > files, which should be avoided. > Do you think it would be a good idea to use the stack depth specified > via the --num-callers=... command line option when printing a call > stack ? Unfortunately this value (VG_(clo_backtrace_size)) is not > available to tools. One way to overcome this is to define a special > value for n_ips that selects the stack depth specified via > --num-callers=..., e.g. as follows: There are a couple of options that are tool-visible, eg. -v and --xml. It would be reasonable to add --num-callers to that list if multiple tools need it, and assuming using the --num-callers numbers is reasonable -- eg. Massif has a --depth parameter which is similar, but different because reusing --num-callers didn't feel appropriate. It's not a clear-cut decision either way... using --num-callers is probably ok for DRD and Helgrind. Nick |
|
From: Bart V. A. <bar...@gm...> - 2008-01-05 11:33:54
|
> On 05/01/2008, Tom Hughes <to...@co...> wrote:
>
> > On 04/01/2008, Bart Van Assche <bar...@gm...> wrote:
> >
> > The attached patch solves this issue for exp-drd/drd_main.c. Can you
> > please review and apply the attached patch ?
>
> Applied, but is there not a better alternative to hardcoding the stack
> depth to fetch like that?
I'm not entirely happy with hardcoding the stack depth either. Please
note that the problem of hardcoded stack depths does not only exist in
drd but also in other Valgrind tools (helgrind/hg_main.c,
msm__show_state_change()). Other tools (exp-omega) use
VG_(clo_backtrace_size) as stack depth by including coregrind header
files, which should be avoided.
Do you think it would be a good idea to use the stack depth specified
via the --num-callers=... command line option when printing a call
stack ? Unfortunately this value (VG_(clo_backtrace_size)) is not
available to tools. One way to overcome this is to define a special
value for n_ips that selects the stack depth specified via
--num-callers=..., e.g. as follows:
Index: include/pub_tool_stacktrace.h
===================================================================
--- include/pub_tool_stacktrace.h (revision 7318)
+++ include/pub_tool_stacktrace.h (working copy)
@@ -52,8 +52,13 @@
// Print a StackTrace.
extern void VG_(pp_StackTrace) ( StackTrace ips, UInt n_ips );
+
+#define DEFAULT_PP_STACK_DEPTH 0
+
// Gets and immediately prints a StackTrace. Just a bit simpler than
// calling VG_(get_StackTrace)() then VG_(pp_StackTrace)().
+// Specify DEFAULT_PP_STACK_DEPTH for n_ips to print the number of stack frames
+// specified via --num-callers=<number>.
extern void VG_(get_and_pp_StackTrace) ( ThreadId tid, UInt n_ips );
#endif // __PUB_TOOL_STACKTRACE_H
Index: coregrind/m_stacktrace.c
===================================================================
--- coregrind/m_stacktrace.c (revision 7318)
+++ coregrind/m_stacktrace.c (working copy)
@@ -470,10 +470,16 @@
/* Get and immediately print a StackTrace. */
void VG_(get_and_pp_StackTrace) ( ThreadId tid, UInt n_ips )
{
- Addr ips[n_ips];
- UInt n_ips_obtained = VG_(get_StackTrace)(tid, ips, n_ips,
- 0/*first_ip_delta*/);
- VG_(pp_StackTrace)(ips, n_ips_obtained);
+ if (n_ips == DEFAULT_PP_STACK_DEPTH)
+ {
+ n_ips = VG_(clo_backtrace_size);
+ }
+ {
+ Addr ips[n_ips];
+ UInt n_ips_obtained = VG_(get_StackTrace)(tid, ips, n_ips,
+ 0/*first_ip_delta*/);
+ VG_(pp_StackTrace)(ips, n_ips_obtained);
+ }
}
|
|
From: Nicholas N. <nj...@cs...> - 2008-01-05 05:16:16
|
On Sat, 5 Jan 2008, Brad Hards wrote: > There is a bit of interest[0] in running a test coverage BoF session at > linux.conf.au 2008[1] (Melbourne, Australia). > > Are any of the valgrind developers going to be at the conference? I work on the Melbourne Uni campus so it would be very easy for me to go. I didn't realise it was in Melbourne this year. Unfortunately, it seems like registrations are full -- http://www.itwire.com/content/view/15889/1090/ says they sold out of registrations in late December. http://linux.conf.au/register doesn't say they've sold out, but I also can't find a link that would let a new registration occur. As for test coverage with Valgrind, I've tried writing a tool that does this (as has at least one other person). The problem I encountered was that Valgrind works at the binary level, whereas test coverage is all about a source level concept (lines). You can't get percentages when working at the binary level, except by using debug info, and I found GCC's output debug info to be sufficiently unreliable that this didn't work well. Nick |
|
From: Tom H. <th...@cy...> - 2008-01-05 04:01:43
|
Nightly build on alvis ( i686, Red Hat 7.3 ) started at 2008-01-05 03:15:04 GMT Results unchanged from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 323 tests, 66 stderr failures, 1 stdout failure, 28 post 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/lsframe1 (stderr) memcheck/tests/lsframe2 (stderr) memcheck/tests/malloc_free_fill (stderr) memcheck/tests/match-overrun (stderr) memcheck/tests/noisy_child (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/supp_unknown (stderr) memcheck/tests/x86/bug152022 (stderr) memcheck/tests/x86/scalar (stderr) memcheck/tests/x86/scalar_supp (stderr) memcheck/tests/x86/xor-undef-x86 (stderr) memcheck/tests/xml1 (stderr) massif/tests/alloc-fns-A (post) massif/tests/alloc-fns-B (post) massif/tests/basic (post) massif/tests/basic2 (post) massif/tests/big-alloc (post) massif/tests/culling1 (stderr) massif/tests/culling2 (stderr) massif/tests/custom_alloc (post) massif/tests/deep-A (post) massif/tests/deep-B (stderr) massif/tests/deep-B (post) massif/tests/deep-C (stderr) massif/tests/deep-C (post) massif/tests/deep-D (post) massif/tests/ignoring (post) massif/tests/insig (post) massif/tests/long-time (post) massif/tests/new-cpp (post) massif/tests/null (post) massif/tests/one (post) massif/tests/overloaded-new (post) massif/tests/peak (post) massif/tests/peak2 (stderr) massif/tests/peak2 (post) massif/tests/realloc (stderr) massif/tests/realloc (post) massif/tests/thresholds_0_0 (post) massif/tests/thresholds_0_10 (post) massif/tests/thresholds_10_0 (post) massif/tests/thresholds_10_10 (post) massif/tests/thresholds_5_0 (post) massif/tests/thresholds_5_10 (post) massif/tests/zero1 (post) massif/tests/zero2 (post) none/tests/blockfault (stderr) none/tests/mremap (stderr) none/tests/mremap2 (stdout) helgrind/tests/hg01_all_ok (stderr) helgrind/tests/hg02_deadlock (stderr) helgrind/tests/hg03_inherit (stderr) helgrind/tests/hg04_race (stderr) helgrind/tests/hg05_race2 (stderr) helgrind/tests/hg06_readshared (stderr) helgrind/tests/tc01_simple_race (stderr) helgrind/tests/tc02_simple_tls (stderr) helgrind/tests/tc03_re_excl (stderr) helgrind/tests/tc05_simple_race (stderr) helgrind/tests/tc06_two_races (stderr) helgrind/tests/tc07_hbl1 (stderr) helgrind/tests/tc08_hbl2 (stderr) helgrind/tests/tc09_bad_unlock (stderr) helgrind/tests/tc11_XCHG (stderr) helgrind/tests/tc12_rwl_trivial (stderr) helgrind/tests/tc14_laog_dinphils (stderr) helgrind/tests/tc16_byterace (stderr) helgrind/tests/tc17_sembar (stderr) helgrind/tests/tc18_semabuse (stderr) helgrind/tests/tc19_shadowmem (stderr) helgrind/tests/tc20_verifywrap (stderr) helgrind/tests/tc21_pthonce (stderr) helgrind/tests/tc22_exit_w_lock (stderr) helgrind/tests/tc23_bogus_condwait (stderr) helgrind/tests/tc24_nonzero_sem (stderr) |
|
From: Brad H. <br...@fr...> - 2008-01-05 03:46:55
|
There is a bit of interest[0] in running a test coverage BoF session at linux.conf.au 2008[1] (Melbourne, Australia). Are any of the valgrind developers going to be at the conference? Brad [0] http://lists.mel8ourne.org/pipermail/chat/2008-January/thread.html#37 [1] http://linux.conf.au |
|
From: Tom H. <th...@cy...> - 2008-01-05 03:38:33
|
Nightly build on lloyd ( x86_64, Fedora 7 ) started at 2008-01-05 03:05:09 GMT Results unchanged from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 357 tests, 7 stderr failures, 2 stdout failures, 0 post failures == memcheck/tests/malloc_free_fill (stderr) 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) helgrind/tests/tc20_verifywrap (stderr) helgrind/tests/tc22_exit_w_lock (stderr) |
|
From: Tom H. <th...@cy...> - 2008-01-05 03:31:42
|
Nightly build on dellow ( x86_64, Fedora 8 ) started at 2008-01-05 03:10:07 GMT Results unchanged from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 357 tests, 8 stderr failures, 3 stdout failures, 0 post failures == memcheck/tests/malloc_free_fill (stderr) 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) helgrind/tests/tc18_semabuse (stderr) helgrind/tests/tc20_verifywrap (stderr) helgrind/tests/tc22_exit_w_lock (stderr) |
|
From: Tom H. <th...@cy...> - 2008-01-05 03:16:02
|
Nightly build on gill ( x86_64, Fedora Core 2 ) started at 2008-01-05 03:00:03 GMT Results unchanged from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 359 tests, 30 stderr failures, 1 stdout failure, 0 post failures == memcheck/tests/addressable (stderr) memcheck/tests/badjump (stderr) memcheck/tests/describe-block (stderr) memcheck/tests/malloc_free_fill (stderr) memcheck/tests/match-overrun (stderr) memcheck/tests/pointer-trace (stderr) memcheck/tests/stack_switch (stderr) memcheck/tests/supp_unknown (stderr) memcheck/tests/x86/scalar (stderr) memcheck/tests/x86/scalar_supp (stderr) none/tests/blockfault (stderr) none/tests/fdleak_fcntl (stderr) none/tests/mremap (stderr) none/tests/mremap2 (stdout) 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: Tom H. <to...@co...> - 2008-01-05 00:16:59
|
On 04/01/2008, Bart Van Assche <bar...@gm...> wrote: > On Jan 1, 2008 7:11 PM, Julian Seward <js...@ac...> wrote: > > > A more serious module-related question for drd is that it should not > > include pub_core_*.h. Tools may only include pub_tool_*.h, in order > > to control the complexity of the core/tool interface. For one thing > > that will require adding the drd suppression file to DEFAULT_SUPP > > in configure.in - not a problem. Can you list precisely the stuff from > > the core_*.h includes that you need, that is not present in the > > tool_*.h files? > > The attached patch solves this issue for exp-drd/drd_main.c. Can you > please review and apply the attached patch ? Applied, but is there not a better alternative to hardcoding the stack depth to fetch like that? Tom -- Tom Hughes (to...@co...) http://www.compton.nu/ |
|
From: <sv...@va...> - 2008-01-05 00:12:42
|
Author: tom
Date: 2008-01-05 00:12:45 +0000 (Sat, 05 Jan 2008)
New Revision: 7318
Log:
Add drd suppression file to the default suppressions and avoid
including core headers in the drd tool.
Patch from Bart Van Assche <bar...@gm...>.
Modified:
trunk/configure.in
trunk/exp-drd/drd_main.c
Modified: trunk/configure.in
===================================================================
--- trunk/configure.in 2008-01-05 00:01:20 UTC (rev 7317)
+++ trunk/configure.in 2008-01-05 00:12:45 UTC (rev 7318)
@@ -485,6 +485,7 @@
AC_DEFINE([GLIBC_2_2], 1, [Define to 1 if you're using glibc 2.2.x])
DEFAULT_SUPP="glibc-2.2.supp ${DEFAULT_SUPP}"
DEFAULT_SUPP="glibc-2.2-LinuxThreads-helgrind.supp ${DEFAULT_SUPP}"
+ DEFAULT_SUPP="glibc-2.X-drd.supp ${DEFAULT_SUPP}"
;;
2.3)
@@ -492,6 +493,7 @@
AC_DEFINE([GLIBC_2_3], 1, [Define to 1 if you're using glibc 2.3.x])
DEFAULT_SUPP="glibc-2.3.supp ${DEFAULT_SUPP}"
DEFAULT_SUPP="glibc-2.34567-NPTL-helgrind.supp ${DEFAULT_SUPP}"
+ DEFAULT_SUPP="glibc-2.X-drd.supp ${DEFAULT_SUPP}"
;;
2.4)
@@ -499,6 +501,7 @@
AC_DEFINE([GLIBC_2_4], 1, [Define to 1 if you're using glibc 2.4.x])
DEFAULT_SUPP="glibc-2.4.supp ${DEFAULT_SUPP}"
DEFAULT_SUPP="glibc-2.34567-NPTL-helgrind.supp ${DEFAULT_SUPP}"
+ DEFAULT_SUPP="glibc-2.X-drd.supp ${DEFAULT_SUPP}"
;;
2.5)
@@ -506,18 +509,21 @@
AC_DEFINE([GLIBC_2_5], 1, [Define to 1 if you're using glibc 2.5.x])
DEFAULT_SUPP="glibc-2.5.supp ${DEFAULT_SUPP}"
DEFAULT_SUPP="glibc-2.34567-NPTL-helgrind.supp ${DEFAULT_SUPP}"
+ DEFAULT_SUPP="glibc-2.X-drd.supp ${DEFAULT_SUPP}"
;;
2.6)
AC_MSG_RESULT(2.6 family)
AC_DEFINE([GLIBC_2_6], 1, [Define to 1 if you're using glibc 2.6.x])
DEFAULT_SUPP="glibc-2.6.supp ${DEFAULT_SUPP}"
DEFAULT_SUPP="glibc-2.34567-NPTL-helgrind.supp ${DEFAULT_SUPP}"
+ DEFAULT_SUPP="glibc-2.X-drd.supp ${DEFAULT_SUPP}"
;;
2.7)
AC_MSG_RESULT(2.7 family)
AC_DEFINE([GLIBC_2_7], 1, [Define to 1 if you're using glibc 2.7.x])
DEFAULT_SUPP="glibc-2.7.supp ${DEFAULT_SUPP}"
DEFAULT_SUPP="glibc-2.34567-NPTL-helgrind.supp ${DEFAULT_SUPP}"
+ DEFAULT_SUPP="glibc-2.X-drd.supp ${DEFAULT_SUPP}"
;;
aix5)
AC_MSG_RESULT(AIX 5.1 or 5.2 or 5.3)
Modified: trunk/exp-drd/drd_main.c
===================================================================
--- trunk/exp-drd/drd_main.c 2008-01-05 00:01:20 UTC (rev 7317)
+++ trunk/exp-drd/drd_main.c 2008-01-05 00:12:45 UTC (rev 7318)
@@ -35,8 +35,6 @@
#include "drd_track.h"
#include "drd_vc.h"
#include "priv_drd_clientreq.h"
-#include "pub_core_mallocfree.h"
-#include "pub_core_options.h"
#include "pub_tool_vki.h"
#include "pub_tool_basics.h"
#include "pub_tool_debuginfo.h" // VG_(describe_IP)()
@@ -152,8 +150,7 @@
thread_get_name(thread_get_running_tid()),
VG_(get_running_tid)(),
thread_get_running_tid());
- VG_(get_and_pp_StackTrace)(VG_(get_running_tid)(),
- VG_(clo_backtrace_size));
+ VG_(get_and_pp_StackTrace)(VG_(get_running_tid)(), 12);
tl_assert(DrdThreadIdToVgThreadId(thread_get_running_tid())
== VG_(get_running_tid)());
}
@@ -195,8 +192,7 @@
VG_(get_running_tid)(),
thread_get_running_tid(),
addr - thread_get_stack_min(thread_get_running_tid()));
- VG_(get_and_pp_StackTrace)(VG_(get_running_tid)(),
- VG_(clo_backtrace_size));
+ VG_(get_and_pp_StackTrace)(VG_(get_running_tid)(), 12);
tl_assert(DrdThreadIdToVgThreadId(thread_get_running_tid())
== VG_(get_running_tid)());
}
@@ -251,8 +247,7 @@
VG_(message)(Vg_UserMsg, "start 0x%lx size %ld %s (tracing 0x%lx)",
a1, a2 - a1, thread_get_name(thread_get_running_tid()),
drd_trace_address);
- VG_(get_and_pp_StackTrace)(VG_(get_running_tid)(),
- VG_(clo_backtrace_size));
+ VG_(get_and_pp_StackTrace)(VG_(get_running_tid)(), 12);
}
}
@@ -264,8 +259,7 @@
VG_(message)(Vg_UserMsg, "end 0x%lx size %ld %s (tracing 0x%lx)",
a1, a2 - a1, thread_get_name(thread_get_running_tid()),
drd_trace_address);
- VG_(get_and_pp_StackTrace)(VG_(get_running_tid)(),
- VG_(clo_backtrace_size));
+ VG_(get_and_pp_StackTrace)(VG_(get_running_tid)(), 12);
}
thread_stop_using_mem(a1, a2);
mutex_stop_using_mem(a1, a2);
@@ -684,21 +678,6 @@
}
}
-static void drd_load_suppression_file(void)
-{
- tl_assert(VG_(clo_n_suppressions) < VG_CLO_MAX_SFILES - 1);
- {
- /* If we haven't reached the max number of suppression files, load
- the drd suppression patterns file. */
- static const Char drd_supp[] = "glibc-2.X-drd.supp";
- const Int len = VG_(strlen)(VG_(libdir)) + 1 + sizeof(drd_supp);
- Char* const buf = VG_(arena_malloc)(VG_AR_CORE, len);
- VG_(snprintf)(buf, len, "%s/%s", VG_(libdir), drd_supp);
- VG_(clo_suppressions)[VG_(clo_n_suppressions)] = buf;
- VG_(clo_n_suppressions)++;
- }
-}
-
static
void drd_pre_clo_init(void)
{
@@ -742,8 +721,6 @@
drd_clientreq_init();
drd_suppression_init();
-
- drd_load_suppression_file();
}
|
|
From: <sv...@va...> - 2008-01-05 00:01:17
|
Author: tom
Date: 2008-01-05 00:01:20 +0000 (Sat, 05 Jan 2008)
New Revision: 7317
Log:
Fix compiler warnings by using a variable to hide the null pointer
from the compiler.
Patch from Bart Van Assche <bar...@gm...>.
Modified:
trunk/memcheck/tests/execve.c
trunk/memcheck/tests/execve.stderr.exp
trunk/memcheck/tests/execve2.c
trunk/memcheck/tests/execve2.stderr.exp
Modified: trunk/memcheck/tests/execve.c
===================================================================
--- trunk/memcheck/tests/execve.c 2008-01-04 23:58:32 UTC (rev 7316)
+++ trunk/memcheck/tests/execve.c 2008-01-05 00:01:20 UTC (rev 7317)
@@ -2,10 +2,11 @@
int main(void)
{
+ char* null_filename = NULL;
char* bad[2] = { (char*)1, NULL };
char* good[1] = { NULL };
- execve(NULL, bad, bad);
+ execve(null_filename, bad, bad);
execve("/bin/true", good, good);
return 0;
Modified: trunk/memcheck/tests/execve.stderr.exp
===================================================================
--- trunk/memcheck/tests/execve.stderr.exp 2008-01-04 23:58:32 UTC (rev 7316)
+++ trunk/memcheck/tests/execve.stderr.exp 2008-01-05 00:01:20 UTC (rev 7317)
@@ -1,14 +1,14 @@
Syscall param execve(filename) points to unaddressable byte(s)
at 0x........: execve (in /...libc...)
- by 0x........: main (execve.c:8)
+ by 0x........: main (execve.c:9)
Address 0x........ is not stack'd, malloc'd or (recently) free'd
Syscall param execve(argv[i]) points to unaddressable byte(s)
at 0x........: execve (in /...libc...)
- by 0x........: main (execve.c:8)
+ by 0x........: main (execve.c:9)
Address 0x........ is not stack'd, malloc'd or (recently) free'd
Syscall param execve(envp[i]) points to unaddressable byte(s)
at 0x........: execve (in /...libc...)
- by 0x........: main (execve.c:8)
+ by 0x........: main (execve.c:9)
Address 0x........ is not stack'd, malloc'd or (recently) free'd
Modified: trunk/memcheck/tests/execve2.c
===================================================================
--- trunk/memcheck/tests/execve2.c 2008-01-04 23:58:32 UTC (rev 7316)
+++ trunk/memcheck/tests/execve2.c 2008-01-05 00:01:20 UTC (rev 7317)
@@ -3,7 +3,9 @@
int main ( int argc, char** argv, char** envp )
{
- execve(NULL, NULL, NULL);
+ char* null_filename = NULL;
+
+ execve(null_filename, NULL, NULL);
execve("../../tests/true", NULL, envp);
assert(0); // shouldn't get here
}
Modified: trunk/memcheck/tests/execve2.stderr.exp
===================================================================
--- trunk/memcheck/tests/execve2.stderr.exp 2008-01-04 23:58:32 UTC (rev 7316)
+++ trunk/memcheck/tests/execve2.stderr.exp 2008-01-05 00:01:20 UTC (rev 7317)
@@ -1,4 +1,4 @@
Syscall param execve(filename) points to unaddressable byte(s)
at 0x........: execve (in /...libc...)
- by 0x........: main (execve2.c:6)
+ by 0x........: main (execve2.c:8)
Address 0x........ is not stack'd, malloc'd or (recently) free'd
|
|
From: <sv...@va...> - 2008-01-04 23:58:30
|
Author: tom
Date: 2008-01-04 23:58:32 +0000 (Fri, 04 Jan 2008)
New Revision: 7316
Log:
Add const qualifiers to fix compiler warnings.
Patch from Bart Van Assche <bar...@gm...>.
Modified:
trunk/memcheck/tests/oset_test.c
Modified: trunk/memcheck/tests/oset_test.c
===================================================================
--- trunk/memcheck/tests/oset_test.c 2008-01-04 23:57:15 UTC (rev 7315)
+++ trunk/memcheck/tests/oset_test.c 2008-01-04 23:58:32 UTC (rev 7316)
@@ -347,10 +347,10 @@
return buf;
}
-static Word blockCmp(void* vkey, void* velem)
+static Word blockCmp(const void* vkey, const void* velem)
{
- Addr key = *(Addr*)vkey;
- Block* elem = (Block*)velem;
+ Addr key = *(const Addr*)vkey;
+ const Block* elem = (const Block*)velem;
assert(elem->first <= elem->last);
if (key < elem->first) return -1;
|
|
From: <sv...@va...> - 2008-01-04 23:57:16
|
Author: tom Date: 2008-01-04 23:57:15 +0000 (Fri, 04 Jan 2008) New Revision: 7315 Log: Add missing include to fix compiler warning. Patch from Bart Van Assche <bar...@gm...>. Modified: trunk/exp-drd/drd_segment.c Modified: trunk/exp-drd/drd_segment.c =================================================================== --- trunk/exp-drd/drd_segment.c 2008-01-04 23:55:27 UTC (rev 7314) +++ trunk/exp-drd/drd_segment.c 2008-01-04 23:57:15 UTC (rev 7315) @@ -31,6 +31,7 @@ #include "pub_tool_libcassert.h" // tl_assert() #include "pub_tool_libcbase.h" // VG_(strlen)() #include "pub_tool_libcprint.h" // VG_(printf)() +#include "pub_tool_machine.h" // VG_(get_SP)() #include "pub_tool_mallocfree.h" // VG_(malloc)(), VG_(free)() #include "pub_tool_threadstate.h" // VG_INVALID_THREADID |
|
From: <sv...@va...> - 2008-01-04 23:55:26
|
Author: tom
Date: 2008-01-04 23:55:27 +0000 (Fri, 04 Jan 2008)
New Revision: 7314
Log:
Fix compiler warning.
Patch from Bart Van Assche <bar...@gm...>.
Modified:
trunk/memcheck/tests/sigprocmask.c
Modified: trunk/memcheck/tests/sigprocmask.c
===================================================================
--- trunk/memcheck/tests/sigprocmask.c 2008-01-04 13:09:44 UTC (rev 7313)
+++ trunk/memcheck/tests/sigprocmask.c 2008-01-04 23:55:27 UTC (rev 7314)
@@ -11,10 +11,10 @@
int main(void)
{
+#if defined(__NR_sigprocmask) && !defined(__powerpc64__) && !defined(_AIX)
+
int x[6], *s, *os, i;
-#if defined(__NR_sigprocmask) && !defined(__powerpc64__) && !defined(_AIX)
-
x[0] = 0x11111111;
x[1] = 0x89abcdef;
x[2] = 0x22222222;
|
|
From: Bart V. A. <bar...@gm...> - 2008-01-04 20:30:54
|
I had a look at the non-drd regression test that fail on all
platforms. Is the patch below a correct fix for the
memcheck/tests/pointer-trace regression test ?
Index: memcheck/tests/pointer-trace.stderr.exp
===================================================================
--- memcheck/tests/pointer-trace.stderr.exp (revision 7313)
+++ memcheck/tests/pointer-trace.stderr.exp (working copy)
@@ -19,12 +19,10 @@
1,048,576 bytes in 1 blocks are definitely lost in loss record 1 of 1
at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (pointer-trace.c:43)
+ by 0x........: main (pointer-trace.c:47)
LEAK SUMMARY:
definitely lost: 1,048,576 bytes in 1 blocks.
possibly lost: 0 bytes in 0 blocks.
still reachable: 0 bytes in 0 blocks.
suppressed: 0 bytes in 0 blocks.
-Reachable blocks (those to which a pointer was found) are not shown.
-To see them, rerun with: --leak-check=full --show-reachable=yes
|
|
From: Bart V. A. <bar...@gm...> - 2008-01-04 20:02:42
|
Can the attached patch please be reviewed and applied ? Thanks, Bart. |
|
From: Bart V. A. <bar...@gm...> - 2008-01-04 19:52:36
|
On Jan 1, 2008 7:11 PM, Julian Seward <js...@ac...> wrote: > > A more serious module-related question for drd is that it should not > include pub_core_*.h. Tools may only include pub_tool_*.h, in order > to control the complexity of the core/tool interface. For one thing > that will require adding the drd suppression file to DEFAULT_SUPP > in configure.in - not a problem. Can you list precisely the stuff from > the core_*.h includes that you need, that is not present in the > tool_*.h files? The attached patch solves this issue for exp-drd/drd_main.c. Can you please review and apply the attached patch ? Thanks, Bart. |