You can subscribe to this list here.
| 2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
(122) |
Nov
(152) |
Dec
(69) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2003 |
Jan
(6) |
Feb
(25) |
Mar
(73) |
Apr
(82) |
May
(24) |
Jun
(25) |
Jul
(10) |
Aug
(11) |
Sep
(10) |
Oct
(54) |
Nov
(203) |
Dec
(182) |
| 2004 |
Jan
(307) |
Feb
(305) |
Mar
(430) |
Apr
(312) |
May
(187) |
Jun
(342) |
Jul
(487) |
Aug
(637) |
Sep
(336) |
Oct
(373) |
Nov
(441) |
Dec
(210) |
| 2005 |
Jan
(385) |
Feb
(480) |
Mar
(636) |
Apr
(544) |
May
(679) |
Jun
(625) |
Jul
(810) |
Aug
(838) |
Sep
(634) |
Oct
(521) |
Nov
(965) |
Dec
(543) |
| 2006 |
Jan
(494) |
Feb
(431) |
Mar
(546) |
Apr
(411) |
May
(406) |
Jun
(322) |
Jul
(256) |
Aug
(401) |
Sep
(345) |
Oct
(542) |
Nov
(308) |
Dec
(481) |
| 2007 |
Jan
(427) |
Feb
(326) |
Mar
(367) |
Apr
(255) |
May
(244) |
Jun
(204) |
Jul
(223) |
Aug
(231) |
Sep
(354) |
Oct
(374) |
Nov
(497) |
Dec
(362) |
| 2008 |
Jan
(322) |
Feb
(482) |
Mar
(658) |
Apr
(422) |
May
(476) |
Jun
(396) |
Jul
(455) |
Aug
(267) |
Sep
(280) |
Oct
(253) |
Nov
(232) |
Dec
(304) |
| 2009 |
Jan
(486) |
Feb
(470) |
Mar
(458) |
Apr
(423) |
May
(696) |
Jun
(461) |
Jul
(551) |
Aug
(575) |
Sep
(134) |
Oct
(110) |
Nov
(157) |
Dec
(102) |
| 2010 |
Jan
(226) |
Feb
(86) |
Mar
(147) |
Apr
(117) |
May
(107) |
Jun
(203) |
Jul
(193) |
Aug
(238) |
Sep
(300) |
Oct
(246) |
Nov
(23) |
Dec
(75) |
| 2011 |
Jan
(133) |
Feb
(195) |
Mar
(315) |
Apr
(200) |
May
(267) |
Jun
(293) |
Jul
(353) |
Aug
(237) |
Sep
(278) |
Oct
(611) |
Nov
(274) |
Dec
(260) |
| 2012 |
Jan
(303) |
Feb
(391) |
Mar
(417) |
Apr
(441) |
May
(488) |
Jun
(655) |
Jul
(590) |
Aug
(610) |
Sep
(526) |
Oct
(478) |
Nov
(359) |
Dec
(372) |
| 2013 |
Jan
(467) |
Feb
(226) |
Mar
(391) |
Apr
(281) |
May
(299) |
Jun
(252) |
Jul
(311) |
Aug
(352) |
Sep
(481) |
Oct
(571) |
Nov
(222) |
Dec
(231) |
| 2014 |
Jan
(185) |
Feb
(329) |
Mar
(245) |
Apr
(238) |
May
(281) |
Jun
(399) |
Jul
(382) |
Aug
(500) |
Sep
(579) |
Oct
(435) |
Nov
(487) |
Dec
(256) |
| 2015 |
Jan
(338) |
Feb
(357) |
Mar
(330) |
Apr
(294) |
May
(191) |
Jun
(108) |
Jul
(142) |
Aug
(261) |
Sep
(190) |
Oct
(54) |
Nov
(83) |
Dec
(22) |
| 2016 |
Jan
(49) |
Feb
(89) |
Mar
(33) |
Apr
(50) |
May
(27) |
Jun
(34) |
Jul
(53) |
Aug
(53) |
Sep
(98) |
Oct
(206) |
Nov
(93) |
Dec
(53) |
| 2017 |
Jan
(65) |
Feb
(82) |
Mar
(102) |
Apr
(86) |
May
(187) |
Jun
(67) |
Jul
(23) |
Aug
(93) |
Sep
(65) |
Oct
(45) |
Nov
(35) |
Dec
(17) |
| 2018 |
Jan
(26) |
Feb
(35) |
Mar
(38) |
Apr
(32) |
May
(8) |
Jun
(43) |
Jul
(27) |
Aug
(30) |
Sep
(43) |
Oct
(42) |
Nov
(38) |
Dec
(67) |
| 2019 |
Jan
(32) |
Feb
(37) |
Mar
(53) |
Apr
(64) |
May
(49) |
Jun
(18) |
Jul
(14) |
Aug
(53) |
Sep
(25) |
Oct
(30) |
Nov
(49) |
Dec
(31) |
| 2020 |
Jan
(87) |
Feb
(45) |
Mar
(37) |
Apr
(51) |
May
(99) |
Jun
(36) |
Jul
(11) |
Aug
(14) |
Sep
(20) |
Oct
(24) |
Nov
(40) |
Dec
(23) |
| 2021 |
Jan
(14) |
Feb
(53) |
Mar
(85) |
Apr
(15) |
May
(19) |
Jun
(3) |
Jul
(14) |
Aug
(1) |
Sep
(57) |
Oct
(73) |
Nov
(56) |
Dec
(22) |
| 2022 |
Jan
(3) |
Feb
(22) |
Mar
(6) |
Apr
(55) |
May
(46) |
Jun
(39) |
Jul
(15) |
Aug
(9) |
Sep
(11) |
Oct
(34) |
Nov
(20) |
Dec
(36) |
| 2023 |
Jan
(79) |
Feb
(41) |
Mar
(99) |
Apr
(169) |
May
(48) |
Jun
(16) |
Jul
(16) |
Aug
(57) |
Sep
(19) |
Oct
|
Nov
|
Dec
|
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
|
|
|
|
|
|
1
(12) |
2
(9) |
|
3
(23) |
4
(24) |
5
(9) |
6
(7) |
7
(5) |
8
(2) |
9
(6) |
|
10
(5) |
11
(3) |
12
(11) |
13
(4) |
14
|
15
(3) |
16
(4) |
|
17
(3) |
18
(6) |
19
|
20
(1) |
21
(9) |
22
(8) |
23
(1) |
|
24
|
25
(2) |
26
(3) |
27
(16) |
28
(17) |
29
(22) |
30
(7) |
|
31
(4) |
|
|
|
|
|
|
|
From: Nicholas N. <n.n...@gm...> - 2010-01-04 23:21:59
|
On Mon, Dec 28, 2009 at 10:16 AM, Stefan Kost <en...@ho...> wrote: > Am 27.12.2009 16:29, schrieb Bart Van Assche: >> On Sat, Dec 26, 2009 at 5:52 PM, Stefan Kost <en...@ho... >> <mailto:en...@ho...>> wrote: >> >> I am quite interested in a coverage tool that does not need >> recompilation. There >> seems to be a patched qemu somewhere, but then I found >> valgrind-vcov. I had some >> issue building the branch. >> >> That is because at the time a Valgrind branch is created, only Valgrind >> is branched but not VEX. If you look up the last modification date of >> the Valgrind code on the Valgrind branch and update the VEX source code >> to that date, then the build should succeed. > > Thanks that helps, would be nice to put this to README_DEVELOPERS. VCov is on a branch, I haven't done anything with it for a while and probably won't any time soon. Nick |
|
From: <sv...@va...> - 2010-01-04 21:49:33
|
Author: sewardj
Date: 2010-01-04 21:49:25 +0000 (Mon, 04 Jan 2010)
New Revision: 11017
Log:
Disable pid caching for print output: it's wrong in a child after
a fork() and is very confusing.
Modified:
trunk/coregrind/m_libcprint.c
Modified: trunk/coregrind/m_libcprint.c
===================================================================
--- trunk/coregrind/m_libcprint.c 2010-01-04 21:05:42 UTC (rev 11016)
+++ trunk/coregrind/m_libcprint.c 2010-01-04 21:49:25 UTC (rev 11017)
@@ -470,6 +470,8 @@
/* Cache the results of getpid just once, so we don't have to call
getpid once for each line of text output. */
+ b->my_pid = -1; /* LATER: cacheing is confusing in presence of fork(),
+ disable for now. */
if (UNLIKELY(b->my_pid == -1)) {
b->my_pid = VG_(getpid)();
vg_assert(b->my_pid >= 0);
|
|
From: <sv...@va...> - 2010-01-04 21:05:50
|
Author: sewardj
Date: 2010-01-04 21:05:42 +0000 (Mon, 04 Jan 2010)
New Revision: 11016
Log:
Enable pread64 on arm-linux.
Modified:
trunk/coregrind/m_syswrap/syswrap-arm-linux.c
Modified: trunk/coregrind/m_syswrap/syswrap-arm-linux.c
===================================================================
--- trunk/coregrind/m_syswrap/syswrap-arm-linux.c 2010-01-04 15:01:44 UTC (rev 11015)
+++ trunk/coregrind/m_syswrap/syswrap-arm-linux.c 2010-01-04 21:05:42 UTC (rev 11016)
@@ -1460,7 +1460,7 @@
LINXY(__NR_rt_sigqueueinfo, sys_rt_sigqueueinfo),// 178
LINX_(__NR_rt_sigsuspend, sys_rt_sigsuspend), // 179
- // GENXY(__NR_pread64, sys_pread64_on32bitplat), // 180
+ GENXY(__NR_pread64, sys_pread64), // 180
//GENX_(__NR_pwrite64, sys_pwrite64_on32bitplat), // 181
LINX_(__NR_chown, sys_chown16), // 182
GENXY(__NR_getcwd, sys_getcwd), // 183
|
|
From: Julian S. <js...@ac...> - 2010-01-04 20:57:43
|
> When running 'make regtest' on an IBM POWER5 using either valgrind 3.4.1 or
> 3.5, the memcheck/tests/leak-cycle test fails (actually, all of the
> memcheck leak tests fail similarly). The bad stderr output that was
> unexpected was:
>
> leaked: 192 bytes in 12 blocks
> dubious: 0 bytes in 0 blocks
> reachable: 96 bytes in 6 blocks
> suppressed: 0 bytes in 0 blocks
>
> The expected output is:
>
> leaked: 288 bytes in 12 blocks
> dubious: 0 bytes in 0 blocks
> reachable: 0 bytes in 6 blocks
> suppressed: 0 bytes in 0 blocks
Timely. I was looking at the same problem on arm-linux just this
morning.
At least for leak-cases.c, which is used for the tests leak-cases
full and leak-cases summary, I observed (as above) that the leak
checker reports a few blocks to be reachable, when in fact they
should be reported as leaked. I believe this to be because it
also considers the values in integer registers to be valid pointers
to blocks, even if the value is just junk left over from a previous
computation. Hence a few "lucky" blocks get considered
still-reachable when they should be considered leaked (lost).
It's arguably a portability bug in leak-cases.c. I'd guess a
similar problem afflicts the other tests too.
To verify this, I changed main() in leak-cases.c to zero out the
caller-saved registers after the call to f(), where all the work
is done. This causes the two tests to pass on arm-linux. I did
not try with the other leak tests yet. The revised version of
main is below, w/ explaination w.r.t caller-saved regs in comments.
I would be interested to hear if a similar hack on ppc64 also fixes
it. The set of caller-saved regs on ppc64-ELF is listed in
docs/internals/register-uses.txt if that's helpful.
J
int main(void)
{
DECLARE_LEAK_COUNTERS;
GET_INITIAL_LEAK_COUNTS;
// Originally, this program did all the work in main(), but on some
// platforms (x86/Darwin and AMD64/Linux with --enable-only32bit) stray
// pointers to supposedly-lost heap blocks were being left on the stack,
// thus making them reachable. Doing the allocations in f() and the leak
// counting in main() avoids the problem.
f();
// Zero out all the caller-saved registers, so we don't inadvertantly
// inherit roots in caller-saved registers that were written by f().
// We don't need to zero out the callee-saved registers, because
// by definition they must have the same value they had before the
// call to f(), and so can't hold any pointers created by f().
__asm__ __volatile__(
"mov r0, #0" "\n"
"mov r1, #0" "\n"
"mov r2, #0" "\n"
"mov r3, #0" "\n"
"mov r12, #0" "\n"
: : : /*trash*/"r0", "r1", "r2", "r3", "r12"
);
GET_FINAL_LEAK_COUNTS;
PRINT_LEAK_COUNTS(stderr);
return 0;
}
>
> When I ran this testcase without the '-q' option, I get two leak summaries
> -- they are not the same. The first one is:
>
> ==20677== LEAK SUMMARY:
> ==20677== definitely lost: 48 bytes in 3 blocks
> ==20677== indirectly lost: 144 bytes in 9 blocks
> ==20677== possibly lost: 0 bytes in 0 blocks
> ==20677== still reachable: 96 bytes in 6 blocks
> ==20677== suppressed: 0 bytes in 0 blocks
>
> and the second is:
>
> ==20677== LEAK SUMMARY:
> ==20677== definitely lost: 64 bytes in 4 blocks
> ==20677== indirectly lost: 224 bytes in 14 blocks
> ==20677== possibly lost: 0 bytes in 0 blocks
> ==20677== still reachable: 0 bytes in 0 blocks
> ==20677== suppressed: 0 bytes in 0 blocks
>
> The second leak summary is correct -- at least, it's what is expected in
> the leak-cycle.stderr.exp.
>
> The leak-cycle test on an Intel Xeon with Valgrind 3.5 passes. And when I
> run it without the '-q' option on Intel, both leak summaries are the same.
> So apparently, the problem I'm seeing is ppc64-specific. Can anyone give
> me some guidance on where to start to look for the problem?
>
> Thanks.
> -Maynard
>
>
> ---------------------------------------------------------------------------
>--- This SF.Net email is sponsored by the Verizon Developer Community
> Take advantage of Verizon's best-in-class app development support
> A streamlined, 14 day to market process makes app distribution fast and
> easy Join now and get one step closer to millions of Verizon customers
> http://p.sf.net/sfu/verizon-dev2dev
> _______________________________________________
> Valgrind-developers mailing list
> Val...@li...
> https://lists.sourceforge.net/lists/listinfo/valgrind-developers
|
|
From: Maynard J. <may...@us...> - 2010-01-04 18:19:54
|
Hi, I posted a message to the valgrind-users mailing list on this topic last month, but got no reply. Probably should have posted it to valgrind-developers list instead. Hopefully someone on this list can point me in the right direction. When running 'make regtest' on an IBM POWER5 using either valgrind 3.4.1 or 3.5, the memcheck/tests/leak-cycle test fails (actually, all of the memcheck leak tests fail similarly). The bad stderr output that was unexpected was: leaked: 192 bytes in 12 blocks dubious: 0 bytes in 0 blocks reachable: 96 bytes in 6 blocks suppressed: 0 bytes in 0 blocks The expected output is: leaked: 288 bytes in 12 blocks dubious: 0 bytes in 0 blocks reachable: 0 bytes in 6 blocks suppressed: 0 bytes in 0 blocks When I ran this testcase without the '-q' option, I get two leak summaries -- they are not the same. The first one is: ==20677== LEAK SUMMARY: ==20677== definitely lost: 48 bytes in 3 blocks ==20677== indirectly lost: 144 bytes in 9 blocks ==20677== possibly lost: 0 bytes in 0 blocks ==20677== still reachable: 96 bytes in 6 blocks ==20677== suppressed: 0 bytes in 0 blocks and the second is: ==20677== LEAK SUMMARY: ==20677== definitely lost: 64 bytes in 4 blocks ==20677== indirectly lost: 224 bytes in 14 blocks ==20677== possibly lost: 0 bytes in 0 blocks ==20677== still reachable: 0 bytes in 0 blocks ==20677== suppressed: 0 bytes in 0 blocks The second leak summary is correct -- at least, it's what is expected in the leak-cycle.stderr.exp. The leak-cycle test on an Intel Xeon with Valgrind 3.5 passes. And when I run it without the '-q' option on Intel, both leak summaries are the same. So apparently, the problem I'm seeing is ppc64-specific. Can anyone give me some guidance on where to start to look for the problem? Thanks. -Maynard |
|
From: Dave G. <go...@mc...> - 2010-01-04 17:31:29
|
On Dec 31, 2009, at 7:32 AM, Bart Van Assche wrote: > On Thu, Dec 31, 2009 at 1:38 PM, Julian Seward <js...@ac...> > wrote: >> >> More seriously, it means that the installation tree (still) >> lacks a config.h which matches/describes how the installed >> libraries and executables were built. Perhaps a better solution >> would be to revert this and to install config.h too. > > Sorry Julian, but I disagree completely with the above. ... > Furthermore, exposing all symbols defined in Valgrind's "config.h" to > external projects would create a high probability of symbol collisions > / redefinitions, e.g. the HAVE_* macro's. The HAVE_* macros are usually the least of your problems, because they _usually_ are redefined to identical values, which is OK by the preprocessor. The most common show stoppers are PACKAGE, VERSION, etc that are practically guaranteed to have different values between two projects. The unmodified config.h is definitely not installable. > If we really have to expose some of the symbols defined during > Valgrind's configure process, we should do like Stefan Kost proposed > and let the configure process transform a file valgrind_config.h.in to > valgrind_config.h. That would allow us to export a minimum set of > symbols from Valgrind to external projects instead of all symbols > defined during the configure step. You may already be aware of this, but the AX_PREFIX_CONFIG_H macro was written so that you could safely install a namespaced version of the config.h if you need to: http://www.nongnu.org/autoconf-archive/ax_prefix_config_h.html It's a pretty heavy-handed solution though, and it might be worth the additional effort to generate a header containing only the minimum set of symbols instead. Which one makes more sense will depend on how large that minimal set is and how often it changes. -Dave |
|
From: Rich C. <Ric...@me...> - 2010-01-04 17:27:46
|
Nightly build on macbook ( Darwin 9.8.0 i386 )
Started at 2010-01-02 23:05:00 CST
Ended at 2010-01-02 23:23:54 CST
Results differ from 24 hours ago
Checking out valgrind source tree ... done
Configuring valgrind ... done
Building valgrind ... failed
Last 20 lines of verbose log follow echo
echo "dsymutil $f"; \
dsymutil $f; \
fi; \
done
mkdir -p ../.in_place; \
for f in helgrind-x86-darwin vgpreload_helgrind-x86-darwin.so ; do \
rm -f ../.in_place/$f.dSYM; \
ln -f -s ../helgrind/$f.dSYM ../.in_place; \
done
Making check in tests
make annotate_hbefore hg01_all_ok hg02_deadlock hg03_inherit hg04_race hg05_race2 hg06_readshared tc01_simple_race tc02_simple_tls tc03_re_excl tc04_free_lock tc05_simple_race tc06_two_races tc07_hbl1 tc08_hbl2 tc09_bad_unlock tc10_rec_lock tc11_XCHG tc12_rwl_trivial tc13_laog1 tc14_laog_dinphils tc15_laog_lockdel tc16_byterace tc17_sembar tc18_semabuse tc19_shadowmem tc21_pthonce tc23_bogus_condwait tc24_nonzero_sem
gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../include -I../../coregrind -I../../include -I../../VEX/pub -DVGA_x86=1 -DVGO_darwin=1 -DVGP_x86_darwin=1 -Winline -Wall -Wshadow -g -arch i386 -Wno-long-long -Wno-pointer-sign -fno-stack-protector -MT annotate_hbefore-annotate_hbefore.o -MD -MP -MF .deps/annotate_hbefore-annotate_hbefore.Tpo -c -o annotate_hbefore-annotate_hbefore.o `test -f 'annotate_hbefore.c' || echo './'`annotate_hbefore.c
annotate_hbefore.c: In function 'do_acasW':
annotate_hbefore.c:119: error: PIC register 'ebx' clobbered in 'asm'
make[5]: *** [annotate_hbefore-annotate_hbefore.o] Error 1
make[4]: *** [check-am] Error 2
make[3]: *** [check-recursive] Error 1
make[2]: *** [check] Error 2
make[1]: *** [check-recursive] Error 1
make: *** [check] Error 2
=================================================
== 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
== 419 tests, 10 stderr failures, 1 stdout failure, 0 post failures ==
memcheck/tests/null_socket (stdout)
memcheck/tests/origin5-bz2 (stderr)
memcheck/tests/varinfo3 (stderr)
memcheck/tests/varinfo5 (stderr)
none/tests/async-sigs (stderr)
none/tests/faultstatus (stderr)
none/tests/pth_blockedsig (stderr)
helgrind/tests/rwlock_race (stderr)
helgrind/tests/tc06_two_races_xml (stderr)
helgrind/tests/tc18_semabuse (stderr)
helgrind/tests/tc23_bogus_condwait (stderr)
=================================================
== Difference between 24 hours ago and now ==
=================================================
*** old.short Sat Jan 2 23:19:25 2010
--- new.short Sat Jan 2 23:23:54 2010
***************
*** 3,21 ****
Configuring valgrind ... done
! Building valgrind ... done
! Running regression tests ... failed
!
! Regression test results follow
!
! == 419 tests, 10 stderr failures, 1 stdout failure, 0 post failures ==
! memcheck/tests/null_socket (stdout)
! memcheck/tests/origin5-bz2 (stderr)
! memcheck/tests/varinfo3 (stderr)
! memcheck/tests/varinfo5 (stderr)
! none/tests/async-sigs (stderr)
! none/tests/faultstatus (stderr)
! none/tests/pth_blockedsig (stderr)
! helgrind/tests/rwlock_race (stderr)
! helgrind/tests/tc06_two_races_xml (stderr)
! helgrind/tests/tc18_semabuse (stderr)
! helgrind/tests/tc23_bogus_condwait (stderr)
--- 3,26 ----
Configuring valgrind ... done
! Building valgrind ... failed
+ Last 20 lines of verbose log follow echo
+ echo "dsymutil $f"; \
+ dsymutil $f; \
+ fi; \
+ done
+ mkdir -p ../.in_place; \
+ for f in helgrind-x86-darwin vgpreload_helgrind-x86-darwin.so ; do \
+ rm -f ../.in_place/$f.dSYM; \
+ ln -f -s ../helgrind/$f.dSYM ../.in_place; \
+ done
+ Making check in tests
+ make annotate_hbefore hg01_all_ok hg02_deadlock hg03_inherit hg04_race hg05_race2 hg06_readshared tc01_simple_race tc02_simple_tls tc03_re_excl tc04_free_lock tc05_simple_race tc06_two_races tc07_hbl1 tc08_hbl2 tc09_bad_unlock tc10_rec_lock tc11_XCHG tc12_rwl_trivial tc13_laog1 tc14_laog_dinphils tc15_laog_lockdel tc16_byterace tc17_sembar tc18_semabuse tc19_shadowmem tc21_pthonce tc23_bogus_condwait tc24_nonzero_sem
+ gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../include -I../../coregrind -I../../include -I../../VEX/pub -DVGA_x86=1 -DVGO_darwin=1 -DVGP_x86_darwin=1 -Winline -Wall -Wshadow -g -arch i386 -Wno-long-long -Wno-pointer-sign -fno-stack-protector -MT annotate_hbefore-annotate_hbefore.o -MD -MP -MF .deps/annotate_hbefore-annotate_hbefore.Tpo -c -o annotate_hbefore-annotate_hbefore.o `test -f 'annotate_hbefore.c' || echo './'`annotate_hbefore.c
+ annotate_hbefore.c: In function 'do_acasW':
+ annotate_hbefore.c:119: error: PIC register 'ebx' clobbered in 'asm'
+ make[5]: *** [annotate_hbefore-annotate_hbefore.o] Error 1
+ make[4]: *** [check-am] Error 2
+ make[3]: *** [check-recursive] Error 1
+ make[2]: *** [check] Error 2
+ make[1]: *** [check-recursive] Error 1
+ make: *** [check] Error 2
=================================================
./valgrind-old/helgrind/tests/rwlock_race.stderr.diff
=================================================
--- rwlock_race.stderr.exp 2010-01-02 23:05:18.000000000 -0600
+++ rwlock_race.stderr.out 2010-01-02 23:16:41.000000000 -0600
@@ -1,25 +1,4 @@
-Thread #x was created
- ...
- by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: main (rwlock_race.c:48)
-
-Thread #x was created
- ...
- by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: main (rwlock_race.c:47)
-
-Possible data race during write of size 4 at 0x........ by thread #x
- at 0x........: thread_func (rwlock_race.c:29)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
- This conflicts with a previous write of size 4 by thread #x
- at 0x........: thread_func (rwlock_race.c:29)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
- Location 0x........ is 0 bytes inside local var "s_racy"
- declared at rwlock_race.c:18, in frame #x of thread x
-
Result: 2
-ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
=================================================
./valgrind-old/helgrind/tests/tc06_two_races_xml.stderr.diff
=================================================
--- tc06_two_races_xml.stderr.exp 2010-01-02 23:05:18.000000000 -0600
+++ tc06_two_races_xml.stderr.out 2010-01-02 23:16:57.000000000 -0600
@@ -29,27 +29,17 @@
</status>
<announcethread>
- <hthreadid>1</threadid>
+ <hthreadid>1</hthreadid>
<isrootthread></isrootthread>
</announcethread>
<announcethread>
- <hthreadid>2</threadid>
+ <hthreadid>2</hthreadid>
<stack>
<frame>
<ip>0x........</ip>
<obj>...</obj>
- <fn>clone</fn>
- </frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>do_clone</fn>
- </frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>pthread_create@@GLIBC_2.2.5</fn>
+ <fn>__bsdthread_create</fn>
</frame>
<frame>
<ip>0x........</ip>
@@ -62,7 +52,7 @@
<frame>
<ip>0x........</ip>
<obj>...</obj>
- <fn>pthread_create@*</fn>
+ <fn>pthread_create</fn>
<dir>...</dir>
<file>hg_intercepts.c</file>
<line>...</line>
@@ -120,12 +110,12 @@
<frame>
<ip>0x........</ip>
<obj>...</obj>
- <fn>start_thread</fn>
+ <fn>_pthread_start</fn>
</frame>
<frame>
<ip>0x........</ip>
<obj>...</obj>
- <fn>clone</fn>
+ <fn>thread_start</fn>
</frame>
</stack>
<auxwhat>Location 0x........ is 0 bytes inside global var "unprot1"</auxwhat>
@@ -174,12 +164,12 @@
<frame>
<ip>0x........</ip>
<obj>...</obj>
- <fn>start_thread</fn>
+ <fn>_pthread_start</fn>
</frame>
<frame>
<ip>0x........</ip>
<obj>...</obj>
- <fn>clone</fn>
+ <fn>thread_start</fn>
</frame>
</stack>
<auxwhat>Location 0x........ is 0 bytes inside global var "unprot1"</auxwhat>
@@ -228,12 +218,12 @@
<frame>
<ip>0x........</ip>
<obj>...</obj>
- <fn>start_thread</fn>
+ <fn>_pthread_start</fn>
</frame>
<frame>
<ip>0x........</ip>
<obj>...</obj>
- <fn>clone</fn>
+ <fn>thread_start</fn>
</frame>
</stack>
<auxwhat>Location 0x........ is 0 bytes inside global var "unprot2"</auxwhat>
@@ -282,18 +272,19 @@
<frame>
<ip>0x........</ip>
<obj>...</obj>
- <fn>start_thread</fn>
+ <fn>_pthread_start</fn>
</frame>
<frame>
<ip>0x........</ip>
<obj>...</obj>
- <fn>clone</fn>
+ <fn>thread_start</fn>
</frame>
<truncated beyond 100 lines>
=================================================
./valgrind-old/helgrind/tests/tc18_semabuse.stderr.diff-glibc25-amd64
=================================================
--- tc18_semabuse.stderr.exp-glibc25-amd64 2010-01-02 23:05:18.000000000 -0600
+++ tc18_semabuse.stderr.out 2010-01-02 23:17:11.000000000 -0600
@@ -2,14 +2,30 @@
Thread #x is the program's root thread
Thread #x's call to sem_init failed
- with error code 22 (EINVAL: Invalid argument)
- at 0x........: sem_init@* (hg_intercepts.c:...)
+ with error code 78 (ENOSYS: Function not implemented)
+ at 0x........: sem_init (hg_intercepts.c:...)
by 0x........: main (tc18_semabuse.c:23)
-Thread #x: Bug in libpthread: sem_wait succeeded on semaphore without prior sem_post
+Thread #x's call to sem_init failed
+ with error code 78 (ENOSYS: Function not implemented)
+ at 0x........: sem_init (hg_intercepts.c:...)
+ by 0x........: main (tc18_semabuse.c:26)
+
+Thread #x's call to sem_wait failed
+ with error code 9 (EBADF: Bad file number)
at 0x........: sem_wait_WRK (hg_intercepts.c:...)
- by 0x........: sem_wait (hg_intercepts.c:...)
+ by 0x........: sem_wait$* (hg_intercepts.c:...)
by 0x........: main (tc18_semabuse.c:34)
+Thread #x's call to sem_post failed
+ with error code 9 (EBADF: Bad file number)
+ at 0x........: sem_post (hg_intercepts.c:...)
+ by 0x........: main (tc18_semabuse.c:37)
+
+Thread #x's call to sem_destroy failed
+ with error code 78 (ENOSYS: Function not implemented)
+ at 0x........: sem_destroy (hg_intercepts.c:...)
+ by 0x........: main (tc18_semabuse.c:39)
+
-ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 5 errors from 5 contexts (suppressed: 0 from 0)
=================================================
./valgrind-old/helgrind/tests/tc18_semabuse.stderr.diff-glibc28-amd64
=================================================
--- tc18_semabuse.stderr.exp-glibc28-amd64 2010-01-02 23:05:18.000000000 -0600
+++ tc18_semabuse.stderr.out 2010-01-02 23:17:11.000000000 -0600
@@ -2,20 +2,30 @@
Thread #x is the program's root thread
Thread #x's call to sem_init failed
- with error code 22 (EINVAL: Invalid argument)
- at 0x........: sem_init@* (hg_intercepts.c:...)
+ with error code 78 (ENOSYS: Function not implemented)
+ at 0x........: sem_init (hg_intercepts.c:...)
by 0x........: main (tc18_semabuse.c:23)
-Thread #x: Bug in libpthread: sem_wait succeeded on semaphore without prior sem_post
+Thread #x's call to sem_init failed
+ with error code 78 (ENOSYS: Function not implemented)
+ at 0x........: sem_init (hg_intercepts.c:...)
+ by 0x........: main (tc18_semabuse.c:26)
+
+Thread #x's call to sem_wait failed
+ with error code 9 (EBADF: Bad file number)
at 0x........: sem_wait_WRK (hg_intercepts.c:...)
- by 0x........: sem_wait (hg_intercepts.c:...)
+ by 0x........: sem_wait$* (hg_intercepts.c:...)
by 0x........: main (tc18_semabuse.c:34)
Thread #x's call to sem_post failed
- with error code 22 (EINVAL: Invalid argument)
- at 0x........: sem_post_WRK (hg_intercepts.c:...)
- by 0x........: sem_post (hg_intercepts.c:...)
+ with error code 9 (EBADF: Bad file number)
+ at 0x........: sem_post (hg_intercepts.c:...)
by 0x........: main (tc18_semabuse.c:37)
+Thread #x's call to sem_destroy failed
+ with error code 78 (ENOSYS: Function not implemented)
+ at 0x........: sem_destroy (hg_intercepts.c:...)
+ by 0x........: main (tc18_semabuse.c:39)
+
-ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 5 errors from 5 contexts (suppressed: 0 from 0)
=================================================
./valgrind-old/helgrind/tests/tc23_bogus_condwait.stderr.diff
=================================================
--- tc23_bogus_condwait.stderr.exp 2010-01-02 23:05:18.000000000 -0600
+++ tc23_bogus_condwait.stderr.out 2010-01-02 23:17:47.000000000 -0600
@@ -2,32 +2,52 @@
Thread #x is the program's root thread
Thread #x: pthread_cond_{timed}wait called with invalid mutex
- at 0x........: pthread_cond_wait@* (hg_intercepts.c:...)
+ at 0x........: pthread_cond_wait* (hg_intercepts.c:...)
+ by 0x........: main (tc23_bogus_condwait.c:69)
+
+Thread #x's call to pthread_cond_wait failed
+ with error code 22 (EINVAL: Invalid argument)
+ at 0x........: pthread_cond_wait* (hg_intercepts.c:...)
by 0x........: main (tc23_bogus_condwait.c:69)
Thread #x: pthread_cond_{timed}wait called with un-held mutex
- at 0x........: pthread_cond_wait@* (hg_intercepts.c:...)
+ at 0x........: pthread_cond_wait* (hg_intercepts.c:...)
by 0x........: main (tc23_bogus_condwait.c:72)
Thread #x: pthread_cond_{timed}wait: cond is associated with a different mutex
- at 0x........: pthread_cond_wait@* (hg_intercepts.c:...)
+ at 0x........: pthread_cond_wait* (hg_intercepts.c:...)
by 0x........: main (tc23_bogus_condwait.c:72)
Thread #x: pthread_cond_{timed}wait called with mutex of type pthread_rwlock_t*
- at 0x........: pthread_cond_wait@* (hg_intercepts.c:...)
+ at 0x........: pthread_cond_wait* (hg_intercepts.c:...)
by 0x........: main (tc23_bogus_condwait.c:75)
Thread #x: pthread_cond_{timed}wait: cond is associated with a different mutex
- at 0x........: pthread_cond_wait@* (hg_intercepts.c:...)
+ at 0x........: pthread_cond_wait* (hg_intercepts.c:...)
+ by 0x........: main (tc23_bogus_condwait.c:75)
+
+Thread #x's call to pthread_cond_wait failed
+ with error code 22 (EINVAL: Invalid argument)
+ at 0x........: pthread_cond_wait* (hg_intercepts.c:...)
by 0x........: main (tc23_bogus_condwait.c:75)
Thread #x: pthread_cond_{timed}wait called with mutex held by a different thread
- at 0x........: pthread_cond_wait@* (hg_intercepts.c:...)
+ at 0x........: pthread_cond_wait* (hg_intercepts.c:...)
by 0x........: main (tc23_bogus_condwait.c:78)
Thread #x: pthread_cond_{timed}wait: cond is associated with a different mutex
- at 0x........: pthread_cond_wait@* (hg_intercepts.c:...)
+ at 0x........: pthread_cond_wait* (hg_intercepts.c:...)
by 0x........: main (tc23_bogus_condwait.c:78)
+Thread #x: Bug in libpthread: write lock granted on mutex/rwlock which is currently wr-held by a different thread
+ at 0x........: pthread_mutex_lock (hg_intercepts.c:...)
+ by 0x........: _pthread_cond_wait (in /...libc...)
+ by 0x........: pthread_cond_wait$UNIX2003 (in /...libc...)
+ by 0x........: pthread_cond_wait* (hg_intercepts.c:...)
+ by 0x........: main (tc23_bogus_condwait.c:78)
+
+Thread #x: Exiting thread still holds 1 lock
+ ...
+
-ERROR SUMMARY: 7 errors from 7 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 11 errors from 11 contexts (suppressed: 0 from 0)
=================================================
./valgrind-old/memcheck/tests/null_socket.stdout.diff
=================================================
--- /dev/null 2010-01-02 23:11:26.000000000 -0600
+++ null_socket.stdout.out 2010-01-02 23:11:43.000000000 -0600
@@ -0,0 +1 @@
+recvfrom succeeded?
=================================================
./valgrind-old/memcheck/tests/origin5-bz2.stderr.diff-glibc25-amd64
=================================================
--- origin5-bz2.stderr.exp-glibc25-amd64 2010-01-02 23:05:36.000000000 -0600
+++ origin5-bz2.stderr.out 2010-01-02 23:11:58.000000000 -0600
@@ -11,7 +11,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 8
+Use of uninitialised value of size 4
at 0x........: handle_compress (origin5-bz2.c:4686)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
@@ -19,7 +19,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 8
+Use of uninitialised value of size 4
at 0x........: handle_compress (origin5-bz2.c:4686)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
@@ -27,7 +27,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 8
+Use of uninitialised value of size 4
at 0x........: mainSort (origin5-bz2.c:2820)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -38,7 +38,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 8
+Use of uninitialised value of size 4
at 0x........: mainSort (origin5-bz2.c:2823)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -49,8 +49,8 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 8
- at 0x........: mainSort (origin5-bz2.c:2854)
+Use of uninitialised value of size 4
+ at 0x........: mainSort (origin5-bz2.c:2855)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
by 0x........: handle_compress (origin5-bz2.c:4753)
@@ -60,8 +60,8 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 8
- at 0x........: mainSort (origin5-bz2.c:2858)
+Use of uninitialised value of size 4
+ at 0x........: mainSort (origin5-bz2.c:2859)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
by 0x........: handle_compress (origin5-bz2.c:4753)
@@ -71,7 +71,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 8
+Use of uninitialised value of size 4
at 0x........: mainSort (origin5-bz2.c:2963)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -82,7 +82,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 8
+Use of uninitialised value of size 4
at 0x........: mainSort (origin5-bz2.c:2964)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -93,7 +93,18 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 8
+Use of uninitialised value of size 4
+ at 0x........: mainSort (origin5-bz2.c:2964)
+ by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
+ by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
+ by 0x........: handle_compress (origin5-bz2.c:4753)
+ by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
+ by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
+ by 0x........: main (origin5-bz2.c:6484)
+ Uninitialised value was created by a client request
+ at 0x........: main (origin5-bz2.c:6479)
+
+Use of uninitialised value of size 4
at 0x........: fallbackSort (origin5-bz2.c:2269)
by 0x........: BZ2_blockSort (origin5-bz2.c:3116)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -104,7 +115,7 @@
Uninitialised value was created by a client request
<truncated beyond 100 lines>
=================================================
./valgrind-old/memcheck/tests/origin5-bz2.stderr.diff-glibc25-x86
=================================================
--- origin5-bz2.stderr.exp-glibc25-x86 2010-01-02 23:05:37.000000000 -0600
+++ origin5-bz2.stderr.out 2010-01-02 23:11:58.000000000 -0600
@@ -28,7 +28,8 @@
at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 4
- at 0x........: BZ2_blockSort (origin5-bz2.c:2820)
+ at 0x........: mainSort (origin5-bz2.c:2820)
+ by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
by 0x........: handle_compress (origin5-bz2.c:4753)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
@@ -38,7 +39,8 @@
at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 4
- at 0x........: BZ2_blockSort (origin5-bz2.c:2823)
+ at 0x........: mainSort (origin5-bz2.c:2823)
+ by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
by 0x........: handle_compress (origin5-bz2.c:4753)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
@@ -48,7 +50,8 @@
at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 4
- at 0x........: BZ2_blockSort (origin5-bz2.c:2855)
+ at 0x........: mainSort (origin5-bz2.c:2855)
+ by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
by 0x........: handle_compress (origin5-bz2.c:4753)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
@@ -58,7 +61,8 @@
at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 4
- at 0x........: BZ2_blockSort (origin5-bz2.c:2859)
+ at 0x........: mainSort (origin5-bz2.c:2859)
+ by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
by 0x........: handle_compress (origin5-bz2.c:4753)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
@@ -68,7 +72,8 @@
at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 4
- at 0x........: BZ2_blockSort (origin5-bz2.c:2963)
+ at 0x........: mainSort (origin5-bz2.c:2963)
+ by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
by 0x........: handle_compress (origin5-bz2.c:4753)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
@@ -78,7 +83,19 @@
at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 4
- at 0x........: BZ2_blockSort (origin5-bz2.c:2964)
+ at 0x........: mainSort (origin5-bz2.c:2964)
+ by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
+ by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
+ by 0x........: handle_compress (origin5-bz2.c:4753)
+ by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
+ by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
+ by 0x........: main (origin5-bz2.c:6484)
+ Uninitialised value was created by a client request
+ at 0x........: main (origin5-bz2.c:6479)
+
+Use of uninitialised value of size 4
+ at 0x........: mainSort (origin5-bz2.c:2964)
+ by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
by 0x........: handle_compress (origin5-bz2.c:4753)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
=================================================
./valgrind-old/memcheck/tests/origin5-bz2.stderr.diff-glibc27-ppc64
=================================================
--- origin5-bz2.stderr.exp-glibc27-ppc64 2010-01-02 23:05:36.000000000 -0600
+++ origin5-bz2.stderr.out 2010-01-02 23:11:58.000000000 -0600
@@ -1,7 +1,7 @@
Conditional jump or move depends on uninitialised value(s)
at 0x........: main (origin5-bz2.c:6481)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
Conditional jump or move depends on uninitialised value(s)
at 0x........: handle_compress (origin5-bz2.c:4686)
@@ -9,85 +9,102 @@
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 8
+Use of uninitialised value of size 4
at 0x........: handle_compress (origin5-bz2.c:4686)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 8
+Use of uninitialised value of size 4
at 0x........: handle_compress (origin5-bz2.c:4686)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 8
- at 0x........: BZ2_blockSort (origin5-bz2.c:2820)
+Use of uninitialised value of size 4
+ at 0x........: mainSort (origin5-bz2.c:2820)
+ by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
by 0x........: handle_compress (origin5-bz2.c:4753)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 8
- at 0x........: BZ2_blockSort (origin5-bz2.c:2823)
+Use of uninitialised value of size 4
+ at 0x........: mainSort (origin5-bz2.c:2823)
+ by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
by 0x........: handle_compress (origin5-bz2.c:4753)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 8
- at 0x........: BZ2_blockSort (origin5-bz2.c:2854)
+Use of uninitialised value of size 4
+ at 0x........: mainSort (origin5-bz2.c:2855)
+ by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
by 0x........: handle_compress (origin5-bz2.c:4753)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 8
- at 0x........: BZ2_blockSort (origin5-bz2.c:2858)
+Use of uninitialised value of size 4
+ at 0x........: mainSort (origin5-bz2.c:2859)
+ by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
by 0x........: handle_compress (origin5-bz2.c:4753)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 8
- at 0x........: BZ2_blockSort (origin5-bz2.c:2963)
+Use of uninitialised value of size 4
+ at 0x........: mainSort (origin5-bz2.c:2963)
+ by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
<truncated beyond 100 lines>
=================================================
./valgrind-old/memcheck/tests/varinfo3.stderr.diff
=================================================
--- varinfo3.stderr.exp 2010-01-02 23:05:36.000000000 -0600
+++ varinfo3.stderr.out 2010-01-02 23:12:54.000000000 -0600
@@ -31,7 +31,7 @@
by 0x........: bar (varinfo3.c:42)
by 0x........: foo (varinfo3.c:58)
by 0x........: main (varinfo3.c:66)
- Address 0x........ is 5 bytes inside data symbol "static_local_def.XXXX"
+ Address 0x........ is in the Data segment of ./varinfo3
Uninitialised byte(s) found during client check request
at 0x........: croak (varinfo3.c:28)
@@ -46,7 +46,7 @@
by 0x........: bar (varinfo3.c:44)
by 0x........: foo (varinfo3.c:58)
by 0x........: main (varinfo3.c:66)
- Address 0x........ is 7 bytes inside data symbol "static_local_undef.XXXX"
+ Address 0x........ is in the Data segment of ./varinfo3
Uninitialised byte(s) found during client check request
at 0x........: croak (varinfo3.c:28)
=================================================
./valgrind-old/memcheck/tests/varinfo5.stderr.diff
=================================================
--- varinfo5.stderr.exp 2010-01-02 23:05:37.000000000 -0600
+++ varinfo5.stderr.out 2010-01-02 23:12:56.000000000 -0600
@@ -119,7 +119,7 @@
by 0x........: varinfo3_main (varinfo5so.c:118)
by 0x........: varinfo5_main (varinfo5so.c:156)
by 0x........: main (varinfo5.c:5)
- Address 0x........ is 5 bytes inside data symbol "static_local_def.XXXX"
+ Address 0x........ is in the Data segment of /Users/minime/src/vg/nightly/valgrind-old/memcheck/tests/varinfo5so.so
Uninitialised byte(s) found during client check request
at 0x........: croak (varinfo5so.c:29)
@@ -138,7 +138,7 @@
by 0x........: varinfo3_main (varinfo5so.c:118)
by 0x........: varinfo5_main (varinfo5so.c:156)
by 0x........: main (varinfo5.c:5)
- Address 0x........ is 7 bytes inside data symbol "static_local_undef.XXXX"
+ Address 0x........ is in the Data segment of /Users/minime/src/vg/nightly/valgrind-old/memcheck/tests/varinfo5so.so
Uninitialised byte(s) found during client check request
at 0x........: croak (varinfo5so.c:29)
=================================================
./valgrind-old/none/tests/async-sigs.stderr.diff
=================================================
--- async-sigs.stderr.exp 2010-01-02 23:05:49.000000000 -0600
+++ async-sigs.stderr.out 2010-01-02 23:14:23.000000000 -0600
@@ -1,8 +1,30 @@
-testing: blocking=0 caught=11 fatal=7... PASSED
+testing: blocking=0 caught=11 fatal=10...
+Process terminating with default action of signal 10 (SIGBUS)
+ Non-existent physical address at address 0x........
+ at 0x........: test (async-sigs.c:94)
+ by 0x........: main (async-sigs.c:129)
+PASSED
testing: blocking=0 caught=11 fatal=1... PASSED
-testing: blocking=0 caught=10 fatal=7... PASSED
-testing: blocking=0 caught=10 fatal=1... PASSED
-testing: blocking=1 caught=11 fatal=7... PASSED
+testing: blocking=0 caught=30 fatal=10...
+Process terminating with default action of signal 10 (SIGBUS)
+ Non-existent physical address at address 0x........
+ at 0x........: test (async-sigs.c:94)
+ by 0x........: main (async-sigs.c:131)
+PASSED
+testing: blocking=0 caught=30 fatal=1... PASSED
+testing: blocking=1 caught=11 fatal=10...
+Process terminating with default action of signal 10 (SIGBUS)
+ Non-existent physical address at address 0x........
+ at 0x........: __sigsuspend (in /...libc...)
+ by 0x........: test (async-sigs.c:95)
+ by 0x........: main (async-sigs.c:133)
+PASSED
testing: blocking=1 caught=11 fatal=1... PASSED
-testing: blocking=1 caught=10 fatal=7... PASSED
-testing: blocking=1 caught=10 fatal=1... PASSED
+testing: blocking=1 caught=30 fatal=10...
+Process terminating with default action of signal 10 (SIGBUS)
+ Non-existent physical address at address 0x........
+ at 0x........: __sigsuspend (in /...libc...)
+ by 0x........: test (async-sigs.c:95)
+ by 0x........: main (async-sigs.c:135)
+PASSED
+testing: blocking=1 caught=30 fatal=1... PASSED
=================================================
./valgrind-old/none/tests/faultstatus.stderr.diff
=================================================
--- faultstatus.stderr.exp 2010-01-02 23:05:50.000000000 -0600
+++ faultstatus.stderr.out 2010-01-02 23:14:28.000000000 -0600
@@ -1,6 +1,6 @@
-Test 1: PASS
-Test 2: PASS
-Test 3: PASS
-Test 4: PASS
+Test 1: FAIL: expected signal 11, not 10
+Test 2: FAIL: expected signal 11, not 10
+Test 3: FAIL: no fault, or handler returned
+Test 4: FAIL: expected si_code==7, not 0
=================================================
./valgrind-old/none/tests/pth_blockedsig.stderr.diff
=================================================
--- pth_blockedsig.stderr.exp 2010-01-02 23:05:49.000000000 -0600
+++ pth_blockedsig.stderr.out 2010-01-02 23:15:32.000000000 -0600
@@ -1,2 +1,4 @@
+UNKNOWN __pthread_sigmask is unsupported. This warning will not be repeated.
+SHOULD NOT BE HERE (SIGUSR1)!!!!
|
|
From: <sv...@va...> - 2010-01-04 15:01:55
|
Author: bart
Date: 2010-01-04 15:01:44 +0000 (Mon, 04 Jan 2010)
New Revision: 11015
Log:
Updated expected output after recent updates in the stack backtrace code.
Modified:
trunk/drd/tests/tc23_bogus_condwait.stderr.exp-linux-ppc
Modified: trunk/drd/tests/tc23_bogus_condwait.stderr.exp-linux-ppc
===================================================================
--- trunk/drd/tests/tc23_bogus_condwait.stderr.exp-linux-ppc 2010-01-04 12:10:24 UTC (rev 11014)
+++ trunk/drd/tests/tc23_bogus_condwait.stderr.exp-linux-ppc 2010-01-04 15:01:44 UTC (rev 11015)
@@ -8,6 +8,6 @@
Invalid address alignment at address 0x........
at 0x........: (within libpthread-?.?.so)
by 0x........: pthread_cond_wait@@GLIBC_2.3.2(within libpthread-?.?.so)
- by 0x........: main (tc23_bogus_condwait.c:69)
+ by 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?)
ERROR SUMMARY: 2 errors from 1 contexts (suppressed: 0 from 0)
|
|
From: <sv...@va...> - 2010-01-04 12:10:32
|
Author: sewardj
Date: 2010-01-04 12:10:24 +0000 (Mon, 04 Jan 2010)
New Revision: 11014
Log:
Analysis/make-it-work for arm-linux.
Modified:
trunk/memcheck/tests/partiallydefinedeq.c
trunk/memcheck/tests/partiallydefinedeq.stderr.exp2
Modified: trunk/memcheck/tests/partiallydefinedeq.c
===================================================================
--- trunk/memcheck/tests/partiallydefinedeq.c 2010-01-04 12:04:38 UTC (rev 11013)
+++ trunk/memcheck/tests/partiallydefinedeq.c 2010-01-04 12:10:24 UTC (rev 11014)
@@ -57,9 +57,16 @@
// Note: on ppc32/64 the second call to foo() does give an error,
// since the expensive EQ/NE scheme does not apply to the CmpORD
// primops used by ppc.
-static void bar ( void )
+//
+// On arm, the "normal" (x86-like) comparison primops are used, so
+// the expensive EQ/NE scheme could apply. However, it doesn't,
+// because the constant 0x80808080 is placed in a constant pool
+// and so never appears as a literal, and so the instrumenter
+// never spots it and so doesn't use the expensive scheme (for foo).
+// Hence also on ARM we get 3 errors, not 2.
+static __attribute__((noinline)) void bar ( void )
{
-#if defined(__powerpc__) || defined(__powerpc64__)
- fprintf(stderr, "Currently running on ppc32/64: this test should give 3 errors, not 2.\n");
+#if defined(__powerpc__) || defined(__powerpc64__) || defined(__arm__)
+ fprintf(stderr, "Currently running on ppc32/64/arm: this test should give 3 errors, not 2.\n");
#endif
}
Modified: trunk/memcheck/tests/partiallydefinedeq.stderr.exp2
===================================================================
--- trunk/memcheck/tests/partiallydefinedeq.stderr.exp2 2010-01-04 12:04:38 UTC (rev 11013)
+++ trunk/memcheck/tests/partiallydefinedeq.stderr.exp2 2010-01-04 12:10:24 UTC (rev 11014)
@@ -1,5 +1,5 @@
-Currently running on ppc32/64: this test should give 3 errors, not 2.
+Currently running on ppc32/64/arm: this test should give 3 errors, not 2.
Conditional jump or move depends on uninitialised value(s)
at 0x........: foo (partiallydefinedeq.c:15)
by 0x........: main (partiallydefinedeq.c:37)
@@ -22,4 +22,3 @@
For counts of detected and suppressed errors, rerun with: -v
Use --track-origins=yes to see where uninitialised values come from
ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
-
|
|
From: <sv...@va...> - 2010-01-04 12:04:45
|
Author: bart Date: 2010-01-04 12:04:38 +0000 (Mon, 04 Jan 2010) New Revision: 11013 Log: Reverted r11010 because it was wrong. Added: trunk/drd/tests/tc23_bogus_condwait.stderr.exp-linux-ppc trunk/drd/tests/tc23_bogus_condwait.stderr.exp-linux-x86 Removed: trunk/drd/tests/tc23_bogus_condwait.stderr.exp-linux Modified: trunk/drd/tests/Makefile.am Modified: trunk/drd/tests/Makefile.am =================================================================== --- trunk/drd/tests/Makefile.am 2010-01-04 11:48:19 UTC (rev 11012) +++ trunk/drd/tests/Makefile.am 2010-01-04 12:04:38 UTC (rev 11013) @@ -227,7 +227,8 @@ tc22_exit_w_lock.stderr.exp-32bit \ tc22_exit_w_lock.stderr.exp-64bit \ tc22_exit_w_lock.vgtest \ - tc23_bogus_condwait.stderr.exp-linux \ + tc23_bogus_condwait.stderr.exp-linux-x86 \ + tc23_bogus_condwait.stderr.exp-linux-ppc \ tc23_bogus_condwait.stderr.exp-darwin \ tc23_bogus_condwait.vgtest \ tc24_nonzero_sem.stderr.exp \ Deleted: trunk/drd/tests/tc23_bogus_condwait.stderr.exp-linux =================================================================== --- trunk/drd/tests/tc23_bogus_condwait.stderr.exp-linux 2010-01-04 11:48:19 UTC (rev 11012) +++ trunk/drd/tests/tc23_bogus_condwait.stderr.exp-linux 2010-01-04 12:04:38 UTC (rev 11013) @@ -1,13 +0,0 @@ - -The object at address 0x........ is not a mutex. - at 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?) - by 0x........: main (tc23_bogus_condwait.c:69) - - -Process terminating with default action of signal 7 (SIGBUS) - Invalid address alignment at address 0x........ - at 0x........: (within libpthread-?.?.so) - by 0x........: pthread_cond_wait@@GLIBC_2.3.2(within libpthread-?.?.so) - by 0x........: main (tc23_bogus_condwait.c:69) - -ERROR SUMMARY: 2 errors from 1 contexts (suppressed: 0 from 0) Copied: trunk/drd/tests/tc23_bogus_condwait.stderr.exp-linux-ppc (from rev 11009, trunk/drd/tests/tc23_bogus_condwait.stderr.exp-linux-ppc) =================================================================== --- trunk/drd/tests/tc23_bogus_condwait.stderr.exp-linux-ppc (rev 0) +++ trunk/drd/tests/tc23_bogus_condwait.stderr.exp-linux-ppc 2010-01-04 12:04:38 UTC (rev 11013) @@ -0,0 +1,13 @@ + +The object at address 0x........ is not a mutex. + at 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?) + by 0x........: main (tc23_bogus_condwait.c:69) + + +Process terminating with default action of signal 7 (SIGBUS) + Invalid address alignment at address 0x........ + at 0x........: (within libpthread-?.?.so) + by 0x........: pthread_cond_wait@@GLIBC_2.3.2(within libpthread-?.?.so) + by 0x........: main (tc23_bogus_condwait.c:69) + +ERROR SUMMARY: 2 errors from 1 contexts (suppressed: 0 from 0) Copied: trunk/drd/tests/tc23_bogus_condwait.stderr.exp-linux-x86 (from rev 11009, trunk/drd/tests/tc23_bogus_condwait.stderr.exp-linux-x86) =================================================================== --- trunk/drd/tests/tc23_bogus_condwait.stderr.exp-linux-x86 (rev 0) +++ trunk/drd/tests/tc23_bogus_condwait.stderr.exp-linux-x86 2010-01-04 12:04:38 UTC (rev 11013) @@ -0,0 +1,86 @@ + +The object at address 0x........ is not a mutex. + at 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?) + by 0x........: main (tc23_bogus_condwait.c:69) + +Thread 3: +Probably a race condition: condition variable 0x........ has been signaled but the associated mutex 0x........ is not locked by the signalling thread. + at 0x........: pthread_cond_signal (drd_pthread_intercepts.c:?) + by 0x........: rescue_me (tc23_bogus_condwait.c:20) + by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?) +cond 0x........ was first observed at: + at 0x........: pthread_cond_init (drd_pthread_intercepts.c:?) + by 0x........: main (tc23_bogus_condwait.c:56) + +Thread 1: +Mutex not locked: mutex 0x........, recursion count 0, owner 0. + at 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?) + by 0x........: main (tc23_bogus_condwait.c:72) +mutex 0x........ was first observed at: + at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?) + by 0x........: main (tc23_bogus_condwait.c:51) + +Thread 3: +Probably a race condition: condition variable 0x........ has been signaled but the associated mutex 0x........ is not locked by the signalling thread. + at 0x........: pthread_cond_signal (drd_pthread_intercepts.c:?) + by 0x........: rescue_me (tc23_bogus_condwait.c:24) + by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?) +cond 0x........ was first observed at: + at 0x........: pthread_cond_init (drd_pthread_intercepts.c:?) + by 0x........: main (tc23_bogus_condwait.c:56) +mutex 0x........ was first observed at: + at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?) + by 0x........: main (tc23_bogus_condwait.c:51) + +Thread 1: +The object at address 0x........ is not a mutex. + at 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?) + by 0x........: main (tc23_bogus_condwait.c:75) +rwlock 0x........ was first observed at: + at 0x........: pthread_rwlock_init (drd_pthread_intercepts.c:?) + by 0x........: main (tc23_bogus_condwait.c:57) + +Thread 3: +Probably a race condition: condition variable 0x........ has been signaled but the associated mutex 0x........ is not locked by the signalling thread. + at 0x........: pthread_cond_signal (drd_pthread_intercepts.c:?) + by 0x........: rescue_me (tc23_bogus_condwait.c:28) + by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?) +cond 0x........ was first observed at: + at 0x........: pthread_cond_init (drd_pthread_intercepts.c:?) + by 0x........: main (tc23_bogus_condwait.c:56) +rwlock 0x........ was first observed at: + at 0x........: pthread_rwlock_init (drd_pthread_intercepts.c:?) + by 0x........: main (tc23_bogus_condwait.c:57) + +Thread 1: +Mutex not locked by calling thread: mutex 0x........, recursion count 1, owner 2. + at 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?) + by 0x........: main (tc23_bogus_condwait.c:78) +mutex 0x........ was first observed at: + at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?) + by 0x........: main (tc23_bogus_condwait.c:53) + +Thread 3: +Probably a race condition: condition variable 0x........ has been signaled but the associated mutex 0x........ is not locked by the signalling thread. + at 0x........: pthread_cond_signal (drd_pthread_intercepts.c:?) + by 0x........: rescue_me (tc23_bogus_condwait.c:32) + by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?) +cond 0x........ was first observed at: + at 0x........: pthread_cond_init (drd_pthread_intercepts.c:?) + by 0x........: main (tc23_bogus_condwait.c:56) +mutex 0x........ was first observed at: + at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?) + by 0x........: main (tc23_bogus_condwait.c:53) + +The impossible happened: mutex 0x........ is locked simultaneously by two threads (recursion count 1, owners 2 and 1) ! +Thread 2: +Mutex not locked by calling thread: mutex 0x........, recursion count 2, owner 1. + at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?) + by 0x........: grab_the_lock (tc23_bogus_condwait.c:42) + by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?) +mutex 0x........ was first observed at: + at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?) + by 0x........: main (tc23_bogus_condwait.c:53) + + +ERROR SUMMARY: 11 errors from 9 contexts (suppressed: 0 from 0) |
|
From: <sv...@va...> - 2010-01-04 11:48:27
|
Author: sewardj
Date: 2010-01-04 11:48:19 +0000 (Mon, 04 Jan 2010)
New Revision: 11012
Log:
Enable origin tracking through arm VFP registers; was apparently
previously not enabled only due to brain-deadness on my part.
Modified:
trunk/memcheck/mc_machine.c
Modified: trunk/memcheck/mc_machine.c
===================================================================
--- trunk/memcheck/mc_machine.c 2010-01-04 11:15:24 UTC (rev 11011)
+++ trunk/memcheck/mc_machine.c 2010-01-04 11:48:19 UTC (rev 11012)
@@ -727,22 +727,22 @@
if (o == GOF(FPSCR) && sz == 4) return -1;
if (o == GOF(TPIDRURO) && sz == 4) return -1;
- if (o >= GOF(D0) && o+sz <= GOF(D0) +SZB(D0)) return -1;
- if (o >= GOF(D1) && o+sz <= GOF(D1) +SZB(D1)) return -1;
- if (o >= GOF(D2) && o+sz <= GOF(D2) +SZB(D2)) return -1;
- if (o >= GOF(D3) && o+sz <= GOF(D3) +SZB(D3)) return -1;
- if (o >= GOF(D4) && o+sz <= GOF(D4) +SZB(D4)) return -1;
- if (o >= GOF(D5) && o+sz <= GOF(D5) +SZB(D5)) return -1;
- if (o >= GOF(D6) && o+sz <= GOF(D6) +SZB(D6)) return -1;
- if (o >= GOF(D7) && o+sz <= GOF(D7) +SZB(D7)) return -1;
- if (o >= GOF(D8) && o+sz <= GOF(D8) +SZB(D8)) return -1;
- if (o >= GOF(D9) && o+sz <= GOF(D9) +SZB(D9)) return -1;
- if (o >= GOF(D10) && o+sz <= GOF(D10)+SZB(D10)) return -1;
- if (o >= GOF(D11) && o+sz <= GOF(D11)+SZB(D11)) return -1;
- if (o >= GOF(D12) && o+sz <= GOF(D12)+SZB(D12)) return -1;
- if (o >= GOF(D13) && o+sz <= GOF(D13)+SZB(D13)) return -1;
- if (o >= GOF(D14) && o+sz <= GOF(D14)+SZB(D14)) return -1;
- if (o >= GOF(D15) && o+sz <= GOF(D15)+SZB(D15)) return -1;
+ if (o >= GOF(D0) && o+sz <= GOF(D0) +SZB(D0)) return GOF(D0);
+ if (o >= GOF(D1) && o+sz <= GOF(D1) +SZB(D1)) return GOF(D1);
+ if (o >= GOF(D2) && o+sz <= GOF(D2) +SZB(D2)) return GOF(D2);
+ if (o >= GOF(D3) && o+sz <= GOF(D3) +SZB(D3)) return GOF(D3);
+ if (o >= GOF(D4) && o+sz <= GOF(D4) +SZB(D4)) return GOF(D4);
+ if (o >= GOF(D5) && o+sz <= GOF(D5) +SZB(D5)) return GOF(D5);
+ if (o >= GOF(D6) && o+sz <= GOF(D6) +SZB(D6)) return GOF(D6);
+ if (o >= GOF(D7) && o+sz <= GOF(D7) +SZB(D7)) return GOF(D7);
+ if (o >= GOF(D8) && o+sz <= GOF(D8) +SZB(D8)) return GOF(D8);
+ if (o >= GOF(D9) && o+sz <= GOF(D9) +SZB(D9)) return GOF(D9);
+ if (o >= GOF(D10) && o+sz <= GOF(D10)+SZB(D10)) return GOF(D10);
+ if (o >= GOF(D11) && o+sz <= GOF(D11)+SZB(D11)) return GOF(D11);
+ if (o >= GOF(D12) && o+sz <= GOF(D12)+SZB(D12)) return GOF(D12);
+ if (o >= GOF(D13) && o+sz <= GOF(D13)+SZB(D13)) return GOF(D13);
+ if (o >= GOF(D14) && o+sz <= GOF(D14)+SZB(D14)) return GOF(D14);
+ if (o >= GOF(D15) && o+sz <= GOF(D15)+SZB(D15)) return GOF(D15);
VG_(printf)("MC_(get_otrack_shadow_offset)(arm)(off=%d,sz=%d)\n",
offset,szB);
|
|
From: <sv...@va...> - 2010-01-04 11:15:32
|
Author: sewardj
Date: 2010-01-04 11:15:24 +0000 (Mon, 04 Jan 2010)
New Revision: 11011
Log:
Updated expected output following bug fixes some time back by Ashley
Pittman.
Modified:
trunk/helgrind/tests/tc06_two_races_xml.stderr.exp
Modified: trunk/helgrind/tests/tc06_two_races_xml.stderr.exp
===================================================================
--- trunk/helgrind/tests/tc06_two_races_xml.stderr.exp 2010-01-04 10:49:48 UTC (rev 11010)
+++ trunk/helgrind/tests/tc06_two_races_xml.stderr.exp 2010-01-04 11:15:24 UTC (rev 11011)
@@ -29,12 +29,12 @@
</status>
<announcethread>
- <hthreadid>1</threadid>
+ <hthreadid>1</hthreadid>
<isrootthread></isrootthread>
</announcethread>
<announcethread>
- <hthreadid>2</threadid>
+ <hthreadid>2</hthreadid>
<stack>
<frame>
<ip>0x........</ip>
@@ -294,6 +294,7 @@
<xauxwhat><text>declared at tc06_two_races.c:9</text> <file>tc06_two_races.c</file> <line>...</line> </xauxwhat>
</error>
+
<status>
<state>FINISHED</state>
<time>...</time>
|
|
From: <sv...@va...> - 2010-01-04 10:49:55
|
Author: bart Date: 2010-01-04 10:49:48 +0000 (Mon, 04 Jan 2010) New Revision: 11010 Log: Merged tc23_bogus_condwait.stderr.exp-linux-x86 and -ppc. Added: trunk/drd/tests/tc23_bogus_condwait.stderr.exp-linux Removed: trunk/drd/tests/tc23_bogus_condwait.stderr.exp-linux-ppc trunk/drd/tests/tc23_bogus_condwait.stderr.exp-linux-x86 Modified: trunk/drd/tests/Makefile.am Modified: trunk/drd/tests/Makefile.am =================================================================== --- trunk/drd/tests/Makefile.am 2010-01-04 10:47:25 UTC (rev 11009) +++ trunk/drd/tests/Makefile.am 2010-01-04 10:49:48 UTC (rev 11010) @@ -227,8 +227,7 @@ tc22_exit_w_lock.stderr.exp-32bit \ tc22_exit_w_lock.stderr.exp-64bit \ tc22_exit_w_lock.vgtest \ - tc23_bogus_condwait.stderr.exp-linux-x86 \ - tc23_bogus_condwait.stderr.exp-linux-ppc \ + tc23_bogus_condwait.stderr.exp-linux \ tc23_bogus_condwait.stderr.exp-darwin \ tc23_bogus_condwait.vgtest \ tc24_nonzero_sem.stderr.exp \ Copied: trunk/drd/tests/tc23_bogus_condwait.stderr.exp-linux (from rev 11006, trunk/drd/tests/tc23_bogus_condwait.stderr.exp-linux-ppc) =================================================================== --- trunk/drd/tests/tc23_bogus_condwait.stderr.exp-linux (rev 0) +++ trunk/drd/tests/tc23_bogus_condwait.stderr.exp-linux 2010-01-04 10:49:48 UTC (rev 11010) @@ -0,0 +1,13 @@ + +The object at address 0x........ is not a mutex. + at 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?) + by 0x........: main (tc23_bogus_condwait.c:69) + + +Process terminating with default action of signal 7 (SIGBUS) + Invalid address alignment at address 0x........ + at 0x........: (within libpthread-?.?.so) + by 0x........: pthread_cond_wait@@GLIBC_2.3.2(within libpthread-?.?.so) + by 0x........: main (tc23_bogus_condwait.c:69) + +ERROR SUMMARY: 2 errors from 1 contexts (suppressed: 0 from 0) Deleted: trunk/drd/tests/tc23_bogus_condwait.stderr.exp-linux-ppc =================================================================== --- trunk/drd/tests/tc23_bogus_condwait.stderr.exp-linux-ppc 2010-01-04 10:47:25 UTC (rev 11009) +++ trunk/drd/tests/tc23_bogus_condwait.stderr.exp-linux-ppc 2010-01-04 10:49:48 UTC (rev 11010) @@ -1,13 +0,0 @@ - -The object at address 0x........ is not a mutex. - at 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?) - by 0x........: main (tc23_bogus_condwait.c:69) - - -Process terminating with default action of signal 7 (SIGBUS) - Invalid address alignment at address 0x........ - at 0x........: (within libpthread-?.?.so) - by 0x........: pthread_cond_wait@@GLIBC_2.3.2(within libpthread-?.?.so) - by 0x........: main (tc23_bogus_condwait.c:69) - -ERROR SUMMARY: 2 errors from 1 contexts (suppressed: 0 from 0) Deleted: trunk/drd/tests/tc23_bogus_condwait.stderr.exp-linux-x86 =================================================================== --- trunk/drd/tests/tc23_bogus_condwait.stderr.exp-linux-x86 2010-01-04 10:47:25 UTC (rev 11009) +++ trunk/drd/tests/tc23_bogus_condwait.stderr.exp-linux-x86 2010-01-04 10:49:48 UTC (rev 11010) @@ -1,86 +0,0 @@ - -The object at address 0x........ is not a mutex. - at 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?) - by 0x........: main (tc23_bogus_condwait.c:69) - -Thread 3: -Probably a race condition: condition variable 0x........ has been signaled but the associated mutex 0x........ is not locked by the signalling thread. - at 0x........: pthread_cond_signal (drd_pthread_intercepts.c:?) - by 0x........: rescue_me (tc23_bogus_condwait.c:20) - by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?) -cond 0x........ was first observed at: - at 0x........: pthread_cond_init (drd_pthread_intercepts.c:?) - by 0x........: main (tc23_bogus_condwait.c:56) - -Thread 1: -Mutex not locked: mutex 0x........, recursion count 0, owner 0. - at 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?) - by 0x........: main (tc23_bogus_condwait.c:72) -mutex 0x........ was first observed at: - at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?) - by 0x........: main (tc23_bogus_condwait.c:51) - -Thread 3: -Probably a race condition: condition variable 0x........ has been signaled but the associated mutex 0x........ is not locked by the signalling thread. - at 0x........: pthread_cond_signal (drd_pthread_intercepts.c:?) - by 0x........: rescue_me (tc23_bogus_condwait.c:24) - by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?) -cond 0x........ was first observed at: - at 0x........: pthread_cond_init (drd_pthread_intercepts.c:?) - by 0x........: main (tc23_bogus_condwait.c:56) -mutex 0x........ was first observed at: - at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?) - by 0x........: main (tc23_bogus_condwait.c:51) - -Thread 1: -The object at address 0x........ is not a mutex. - at 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?) - by 0x........: main (tc23_bogus_condwait.c:75) -rwlock 0x........ was first observed at: - at 0x........: pthread_rwlock_init (drd_pthread_intercepts.c:?) - by 0x........: main (tc23_bogus_condwait.c:57) - -Thread 3: -Probably a race condition: condition variable 0x........ has been signaled but the associated mutex 0x........ is not locked by the signalling thread. - at 0x........: pthread_cond_signal (drd_pthread_intercepts.c:?) - by 0x........: rescue_me (tc23_bogus_condwait.c:28) - by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?) -cond 0x........ was first observed at: - at 0x........: pthread_cond_init (drd_pthread_intercepts.c:?) - by 0x........: main (tc23_bogus_condwait.c:56) -rwlock 0x........ was first observed at: - at 0x........: pthread_rwlock_init (drd_pthread_intercepts.c:?) - by 0x........: main (tc23_bogus_condwait.c:57) - -Thread 1: -Mutex not locked by calling thread: mutex 0x........, recursion count 1, owner 2. - at 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?) - by 0x........: main (tc23_bogus_condwait.c:78) -mutex 0x........ was first observed at: - at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?) - by 0x........: main (tc23_bogus_condwait.c:53) - -Thread 3: -Probably a race condition: condition variable 0x........ has been signaled but the associated mutex 0x........ is not locked by the signalling thread. - at 0x........: pthread_cond_signal (drd_pthread_intercepts.c:?) - by 0x........: rescue_me (tc23_bogus_condwait.c:32) - by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?) -cond 0x........ was first observed at: - at 0x........: pthread_cond_init (drd_pthread_intercepts.c:?) - by 0x........: main (tc23_bogus_condwait.c:56) -mutex 0x........ was first observed at: - at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?) - by 0x........: main (tc23_bogus_condwait.c:53) - -The impossible happened: mutex 0x........ is locked simultaneously by two threads (recursion count 1, owners 2 and 1) ! -Thread 2: -Mutex not locked by calling thread: mutex 0x........, recursion count 2, owner 1. - at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?) - by 0x........: grab_the_lock (tc23_bogus_condwait.c:42) - by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?) -mutex 0x........ was first observed at: - at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?) - by 0x........: main (tc23_bogus_condwait.c:53) - - -ERROR SUMMARY: 11 errors from 9 contexts (suppressed: 0 from 0) |
|
From: Julian S. <js...@ac...> - 2010-01-04 10:49:29
|
On Sunday 03 January 2010, Alexander Potapenko wrote: > Nightly build on mcgrind ( Darwin 9.7.0 i386 ) > Started at 2010-01-03 09:06:01 MSK > Ended at 2010-01-03 09:18:35 MSK > annotate_hbefore.c: In function 'do_acasW': > annotate_hbefore.c:119: error: PIC register 'ebx' clobbered in 'asm' This and three other regtest build failures for x86-darwin are fixed by r11008 and 11009. Not sure why they were broken to start with, though. J |
|
From: <sv...@va...> - 2010-01-04 10:47:34
|
Author: sewardj
Date: 2010-01-04 10:47:25 +0000 (Mon, 04 Jan 2010)
New Revision: 11009
Log:
Fix building of these regtests on Darwin. Not sure why they broke
in the first place.
Modified:
trunk/helgrind/tests/tc07_hbl1.c
trunk/helgrind/tests/tc08_hbl2.c
trunk/helgrind/tests/tc11_XCHG.c
Modified: trunk/helgrind/tests/tc07_hbl1.c
===================================================================
--- trunk/helgrind/tests/tc07_hbl1.c 2010-01-04 10:46:44 UTC (rev 11008)
+++ trunk/helgrind/tests/tc07_hbl1.c 2010-01-04 10:47:25 UTC (rev 11009)
@@ -36,7 +36,8 @@
# define PLAT_arm_linux 1
#endif
-#if defined(PLAT_amd64_linux) || defined(PLAT_x86_linux)
+#if defined(PLAT_amd64_linux) || defined(PLAT_x86_linux) \
+ || defined(PLAT_amd64_darwin) || defined(PLAT_x86_darwin)
# define INC(_lval,_lqual) \
__asm__ __volatile__ ( \
"lock ; incl (%0)" : /*out*/ : /*in*/"r"(&(_lval)) : "memory", "cc" )
Modified: trunk/helgrind/tests/tc08_hbl2.c
===================================================================
--- trunk/helgrind/tests/tc08_hbl2.c 2010-01-04 10:46:44 UTC (rev 11008)
+++ trunk/helgrind/tests/tc08_hbl2.c 2010-01-04 10:47:25 UTC (rev 11009)
@@ -53,7 +53,8 @@
#endif
-#if defined(PLAT_amd64_linux) || defined(PLAT_x86_linux)
+#if defined(PLAT_amd64_linux) || defined(PLAT_x86_linux) \
+ || defined(PLAT_amd64_darwin) || defined(PLAT_x86_darwin)
# define INC(_lval,_lqual) \
__asm__ __volatile__ ( \
"lock ; incl (%0)" : /*out*/ : /*in*/"r"(&(_lval)) : "memory", "cc" )
Modified: trunk/helgrind/tests/tc11_XCHG.c
===================================================================
--- trunk/helgrind/tests/tc11_XCHG.c 2010-01-04 10:46:44 UTC (rev 11008)
+++ trunk/helgrind/tests/tc11_XCHG.c 2010-01-04 10:47:25 UTC (rev 11009)
@@ -40,7 +40,8 @@
#endif
-#if defined(PLAT_amd64_linux) || defined(PLAT_x86_linux)
+#if defined(PLAT_amd64_linux) || defined(PLAT_x86_linux) \
+ || defined(PLAT_amd64_darwin) || defined(PLAT_x86_darwin)
# define XCHG_M_R(_addr,_lval) \
__asm__ __volatile__( \
"xchgl %0, %1" \
|
|
From: <sv...@va...> - 2010-01-04 10:46:52
|
Author: sewardj
Date: 2010-01-04 10:46:44 +0000 (Mon, 04 Jan 2010)
New Revision: 11008
Log:
Don't trash %ebx on x86-darwin; gcc doesn't like it and goes off to sulk.
Modified:
trunk/helgrind/tests/annotate_hbefore.c
Modified: trunk/helgrind/tests/annotate_hbefore.c
===================================================================
--- trunk/helgrind/tests/annotate_hbefore.c 2010-01-04 10:31:41 UTC (rev 11007)
+++ trunk/helgrind/tests/annotate_hbefore.c 2010-01-04 10:46:44 UTC (rev 11008)
@@ -117,16 +117,18 @@
{
UWord block[4] = { (UWord)addr, expected, nyu, 2 };
__asm__ __volatile__(
+ "pushl %%ebx" "\n\t"
"movl 0(%%esi), %%edi" "\n\t" // addr
"movl 4(%%esi), %%eax" "\n\t" // expected
"movl 8(%%esi), %%ebx" "\n\t" // nyu
"xorl %%ecx,%%ecx" "\n\t"
"lock; cmpxchgl %%ebx,(%%edi)" "\n\t"
"setz %%cl" "\n\t"
- "movl %%ecx, 12(%%esi)" "\n"
+ "movl %%ecx, 12(%%esi)" "\n\t"
+ "popl %%ebx" "\n"
: /*out*/
: /*in*/ "S"(&block[0])
- : /*trash*/"memory","cc","edi","eax","ebx","ecx"
+ : /*trash*/"memory","cc","edi","eax","ecx"
);
assert(block[3] == 0 || block[3] == 1);
return block[3] & 1;
|
|
From: <sv...@va...> - 2010-01-04 10:31:49
|
Author: sewardj
Date: 2010-01-04 10:31:41 +0000 (Mon, 04 Jan 2010)
New Revision: 11007
Log:
Update arch_test.c properly for arm-linux, and add an entry to
platform_test.
Modified:
trunk/tests/arch_test.c
trunk/tests/platform_test
Modified: trunk/tests/arch_test.c
===================================================================
--- trunk/tests/arch_test.c 2010-01-04 01:01:02 UTC (rev 11006)
+++ trunk/tests/arch_test.c 2010-01-04 10:31:41 UTC (rev 11007)
@@ -27,6 +27,7 @@
"amd64",
"ppc32",
"ppc64",
+ "arm",
NULL
};
Modified: trunk/tests/platform_test
===================================================================
--- trunk/tests/platform_test 2010-01-04 01:01:02 UTC (rev 11006)
+++ trunk/tests/platform_test 2010-01-04 10:31:41 UTC (rev 11007)
@@ -12,6 +12,7 @@
all_platforms=
all_platforms="$all_platforms x86-linux amd64-linux ppc32-linux ppc64-linux"
+all_platforms="$all_platforms arm-linux"
all_platforms="$all_platforms ppc32-aix5 ppc64-aix5"
all_platforms="$all_platforms x86-darwin amd64-darwin"
|
|
From: Bart V. A. <bar...@gm...> - 2010-01-04 08:56:15
|
Nightly build on cellbuzz-native ( cellbuzz, ppc64, Fedora 7, native ) Started at 2010-01-04 02:27:36 EST Ended at 2010-01-04 03:55:59 EST Results differ from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... done Regression test results follow == 450 tests, 46 stderr failures, 11 stdout failures, 0 post failures == memcheck/tests/deep_templates (stdout) memcheck/tests/leak-cases-full (stderr) memcheck/tests/leak-cases-summary (stderr) memcheck/tests/leak-cycle (stderr) memcheck/tests/linux/timerfd-syscall (stdout) memcheck/tests/linux-syscalls-2007 (stderr) memcheck/tests/origin5-bz2 (stderr) memcheck/tests/partiallydefinedeq (stderr) memcheck/tests/varinfo1 (stderr) memcheck/tests/varinfo2 (stderr) memcheck/tests/varinfo3 (stderr) memcheck/tests/varinfo4 (stderr) memcheck/tests/varinfo5 (stderr) memcheck/tests/varinfo6 (stderr) memcheck/tests/wrap8 (stdout) memcheck/tests/wrap8 (stderr) none/tests/arm/v6int (stdout) none/tests/arm/v6int (stderr) none/tests/empty-exe (stderr) none/tests/linux/mremap (stderr) none/tests/ppc32/jm-fp (stdout) none/tests/ppc32/jm-vmx (stdout) none/tests/ppc32/round (stdout) none/tests/ppc32/test_gx (stdout) none/tests/ppc64/jm-fp (stdout) none/tests/ppc64/jm-vmx (stdout) none/tests/ppc64/round (stdout) none/tests/shell_valid2 (stderr) none/tests/shell_valid3 (stderr) none/tests/shell_zerolength (stderr) helgrind/tests/hg05_race2 (stderr) helgrind/tests/tc06_two_races_xml (stderr) helgrind/tests/tc22_exit_w_lock (stderr) helgrind/tests/tc23_bogus_condwait (stderr) drd/tests/tc23_bogus_condwait (stderr) exp-ptrcheck/tests/bad_percentify (stderr) exp-ptrcheck/tests/base (stderr) exp-ptrcheck/tests/ccc (stderr) exp-ptrcheck/tests/fp (stderr) exp-ptrcheck/tests/globalerr (stderr) exp-ptrcheck/tests/hackedbz2 (stderr) exp-ptrcheck/tests/hp_bounds (stderr) exp-ptrcheck/tests/hp_dangle (stderr) exp-ptrcheck/tests/hsg (stderr) exp-ptrcheck/tests/justify (stderr) exp-ptrcheck/tests/partial_bad (stderr) exp-ptrcheck/tests/partial_good (stderr) exp-ptrcheck/tests/preen_invars (stderr) exp-ptrcheck/tests/pth_create (stderr) exp-ptrcheck/tests/pth_specific (stderr) exp-ptrcheck/tests/realloc (stderr) exp-ptrcheck/tests/stackerr (stderr) exp-ptrcheck/tests/strcpy (stderr) exp-ptrcheck/tests/supp (stderr) exp-ptrcheck/tests/tricky (stderr) exp-ptrcheck/tests/unaligned (stderr) exp-ptrcheck/tests/zero (stderr) ================================================= == Results from 24 hours ago == ================================================= Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... done Regression test results follow == 449 tests, 45 stderr failures, 10 stdout failures, 0 post failures == memcheck/tests/deep_templates (stdout) memcheck/tests/leak-cases-full (stderr) memcheck/tests/leak-cases-summary (stderr) memcheck/tests/leak-cycle (stderr) memcheck/tests/linux/timerfd-syscall (stdout) memcheck/tests/linux-syscalls-2007 (stderr) memcheck/tests/origin5-bz2 (stderr) memcheck/tests/partiallydefinedeq (stderr) memcheck/tests/varinfo1 (stderr) memcheck/tests/varinfo2 (stderr) memcheck/tests/varinfo3 (stderr) memcheck/tests/varinfo4 (stderr) memcheck/tests/varinfo5 (stderr) memcheck/tests/varinfo6 (stderr) memcheck/tests/wrap8 (stdout) memcheck/tests/wrap8 (stderr) none/tests/empty-exe (stderr) none/tests/linux/mremap (stderr) none/tests/ppc32/jm-fp (stdout) none/tests/ppc32/jm-vmx (stdout) none/tests/ppc32/round (stdout) none/tests/ppc32/test_gx (stdout) none/tests/ppc64/jm-fp (stdout) none/tests/ppc64/jm-vmx (stdout) none/tests/ppc64/round (stdout) none/tests/shell_valid2 (stderr) none/tests/shell_valid3 (stderr) none/tests/shell_zerolength (stderr) helgrind/tests/hg05_race2 (stderr) helgrind/tests/tc06_two_races_xml (stderr) helgrind/tests/tc22_exit_w_lock (stderr) helgrind/tests/tc23_bogus_condwait (stderr) drd/tests/tc23_bogus_condwait (stderr) exp-ptrcheck/tests/bad_percentify (stderr) exp-ptrcheck/tests/base (stderr) exp-ptrcheck/tests/ccc (stderr) exp-ptrcheck/tests/fp (stderr) exp-ptrcheck/tests/globalerr (stderr) exp-ptrcheck/tests/hackedbz2 (stderr) exp-ptrcheck/tests/hp_bounds (stderr) exp-ptrcheck/tests/hp_dangle (stderr) exp-ptrcheck/tests/hsg (stderr) exp-ptrcheck/tests/justify (stderr) exp-ptrcheck/tests/partial_bad (stderr) exp-ptrcheck/tests/partial_good (stderr) exp-ptrcheck/tests/preen_invars (stderr) exp-ptrcheck/tests/pth_create (stderr) exp-ptrcheck/tests/pth_specific (stderr) exp-ptrcheck/tests/realloc (stderr) exp-ptrcheck/tests/stackerr (stderr) exp-ptrcheck/tests/strcpy (stderr) exp-ptrcheck/tests/supp (stderr) exp-ptrcheck/tests/tricky (stderr) exp-ptrcheck/tests/unaligned (stderr) exp-ptrcheck/tests/zero (stderr) ================================================= == Difference between 24 hours ago and now == ================================================= *** old.short Mon Jan 4 03:12:46 2010 --- new.short Mon Jan 4 03:55:59 2010 *************** *** 8,10 **** ! == 449 tests, 45 stderr failures, 10 stdout failures, 0 post failures == memcheck/tests/deep_templates (stdout) --- 8,10 ---- ! == 450 tests, 46 stderr failures, 11 stdout failures, 0 post failures == memcheck/tests/deep_templates (stdout) *************** *** 25,26 **** --- 25,28 ---- memcheck/tests/wrap8 (stderr) + none/tests/arm/v6int (stdout) + none/tests/arm/v6int (stderr) none/tests/empty-exe (stderr) |
|
From: Tom H. <th...@cy...> - 2010-01-04 03:49:48
|
Nightly build on lloyd ( x86_64, Fedora 7 ) Started at 2010-01-04 03:05:04 GMT Ended at 2010-01-04 03:49:31 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 == 532 tests, 3 stderr failures, 1 stdout failure, 0 post failures == memcheck/tests/x86-linux/scalar (stderr) none/tests/arm/v6int (stdout) none/tests/arm/v6int (stderr) helgrind/tests/tc06_two_races_xml (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 == 531 tests, 2 stderr failures, 0 stdout failures, 0 post failures == memcheck/tests/x86-linux/scalar (stderr) helgrind/tests/tc06_two_races_xml (stderr) ================================================= == Difference between 24 hours ago and now == ================================================= *** old.short Mon Jan 4 03:27:28 2010 --- new.short Mon Jan 4 03:49:31 2010 *************** *** 8,11 **** ! == 531 tests, 2 stderr failures, 0 stdout failures, 0 post failures == memcheck/tests/x86-linux/scalar (stderr) helgrind/tests/tc06_two_races_xml (stderr) --- 8,13 ---- ! == 532 tests, 3 stderr failures, 1 stdout failure, 0 post failures == memcheck/tests/x86-linux/scalar (stderr) + none/tests/arm/v6int (stdout) + none/tests/arm/v6int (stderr) helgrind/tests/tc06_two_races_xml (stderr) |
|
From: Tom H. <th...@cy...> - 2010-01-04 03:36:36
|
Nightly build on mg ( x86_64, Fedora 9 ) Started at 2010-01-04 03:10:06 GMT Ended at 2010-01-04 03:36:18 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 == 539 tests, 4 stderr failures, 1 stdout failure, 0 post failures == memcheck/tests/x86-linux/scalar (stderr) none/tests/arm/v6int (stdout) none/tests/arm/v6int (stderr) helgrind/tests/pth_spinlock (stderr) helgrind/tests/tc06_two_races_xml (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 == 538 tests, 2 stderr failures, 0 stdout failures, 0 post failures == memcheck/tests/x86-linux/scalar (stderr) helgrind/tests/tc06_two_races_xml (stderr) ================================================= == Difference between 24 hours ago and now == ================================================= *** old.short Mon Jan 4 03:23:19 2010 --- new.short Mon Jan 4 03:36:18 2010 *************** *** 8,11 **** ! == 538 tests, 2 stderr failures, 0 stdout failures, 0 post failures == memcheck/tests/x86-linux/scalar (stderr) helgrind/tests/tc06_two_races_xml (stderr) --- 8,14 ---- ! == 539 tests, 4 stderr failures, 1 stdout failure, 0 post failures == memcheck/tests/x86-linux/scalar (stderr) + none/tests/arm/v6int (stdout) + none/tests/arm/v6int (stderr) + helgrind/tests/pth_spinlock (stderr) helgrind/tests/tc06_two_races_xml (stderr) |
|
From: Nicholas N. <n.n...@gm...> - 2010-01-04 03:31:55
|
On Mon, Jan 4, 2010 at 8:52 AM, Stefan Kost <en...@ho...> wrote:
>
> One aspect of the vcov annotated output is kind of weird. In the announcement
> mail ("Experimental Valgrind coverage tool") Nicholas wrote:
> "It's pretty simple. It just records, for each line of source code, how many
> instructions that were derived from that line were executed."
>
> So is that number in the first column (e.g. 7 for int main()) the number of
> instruction that were executed for that line? In the coverage reports I know,
> one would see the how often that line was executed.
>
>
> 7: 54:int main(int argc, char **argv) {
> -: 55: gboolean res=FALSE;
> 1: 56: gboolean arg_version=FALSE;
> 1: 57: gboolean arg_quiet=FALSE;
>
> How can it be that the first gboolean res=FALSE does not get executed?
VCov relies entirely on the debugging info added by the compiler. In
this instance, the compiler wrote the debugging info in such a way
that no code is associated with the res=FALSE line. The higher you
set the optimisation level, the more such strange things you'll see.
Nick
|
|
From: Julian S. <js...@ac...> - 2010-01-04 01:13:45
|
Committed as r11006. Thanks. J On Wednesday 23 December 2009, Dmitry Zhurikhin wrote: > Hello. > > It seems like ARM branch can't be compiled with recent versions of GCC > (stock GCC 4.4 and CodeSourcery arm-2008q3 or even earlier). A patch is > attached that allows building of Valgrind. Probably the reason for the > failure is in the GCC version 4.4 changelog: "On ARM EABI targets, the C++ > mangling of the va_list type has been changed to conform to the current > revision of the EABI". This should mean that for ARM va_list is not > integer (but a structure it seems) anymore which is still true for other > platforms that Valgrind supports. Valgrind sources are written in such a > way that it wants va_list to be able to be casted to an integer type > implicitly. This is no longer available in current GCC for ARM. Seems > like CodeSourcery made this change a little bit earlier (as original GCC > version 4.3.2 is able to build Valgrind without errors). Please review the > patch. It only makes a cast using union. > > Following is the error log: > In file included from m_debuglog.c:57: > ../include/valgrind.h: In function 'VALGRIND_PRINTF': > ../include/valgrind.h:4186: error: aggregate value used where an integer > was expected > ../include/valgrind.h: In function 'VALGRIND_PRINTF_BACKTRACE': > ../include/valgrind.h:4201: error: aggregate value used where an integer > was expected > make[3]: *** [libcoregrind_arm_linux_a-m_debuglog.o] Error 1 > make[3]: *** Waiting for unfinished jobs.... > mv -f .deps/libcoregrind_arm_linux_a-m_debugger.Tpo > .deps/libcoregrind_arm_linux_a-m_debugger.Po > mv -f .deps/libcoregrind_arm_linux_a-m_commandline.Tpo > .deps/libcoregrind_arm_linux_a-m_commandline.Po > make[3]: Leaving directory > `/home/batuzovk/valgrind/valgrind-clean/coregrind' make[2]: *** [all] Error > 2 > make[2]: Leaving directory > `/home/batuzovk/valgrind/valgrind-clean/coregrind' make[1]: *** > [all-recursive] Error 1 > make[1]: Leaving directory `/home/batuzovk/valgrind/valgrind-clean' > make: *** [all] Error 2 > > > Regards, > Dmitry |
|
From: <sv...@va...> - 2010-01-04 01:01:12
|
Author: sewardj
Date: 2010-01-04 01:01:02 +0000 (Mon, 04 Jan 2010)
New Revision: 11006
Log:
Don't assume that va_list can be casted to an unsigned word. Fixes
the build on arm-linux with gcc-4.4 or later. Patch from Dmitry
Zhurikhin.
Modified:
trunk/coregrind/m_scheduler/scheduler.c
trunk/coregrind/pub_core_clreq.h
trunk/include/valgrind.h
Modified: trunk/coregrind/m_scheduler/scheduler.c
===================================================================
--- trunk/coregrind/m_scheduler/scheduler.c 2010-01-04 00:59:05 UTC (rev 11005)
+++ trunk/coregrind/m_scheduler/scheduler.c 2010-01-04 01:01:02 UTC (rev 11006)
@@ -1408,15 +1408,27 @@
break;
case VG_USERREQ__PRINTF: {
- Int count =
- VG_(vmessage)( Vg_ClientMsg, (char *)arg[1], (void*)arg[2] );
+ union {
+ va_list vargs;
+ unsigned long ul;
+ } args;
+ Int count;
+ args.ul = (unsigned long)arg[2];
+ count =
+ VG_(vmessage)( Vg_ClientMsg, (char *)arg[1], args.vargs );
VG_(message_flush)();
SET_CLREQ_RETVAL( tid, count );
break; }
case VG_USERREQ__INTERNAL_PRINTF: {
- Int count =
- VG_(vmessage)( Vg_DebugMsg, (char *)arg[1], (void*)arg[2] );
+ union {
+ va_list vargs;
+ unsigned long ul;
+ } args;
+ Int count;
+ args.ul = (unsigned long)arg[2];
+ count =
+ VG_(vmessage)( Vg_DebugMsg, (char *)arg[1], args.vargs );
VG_(message_flush)();
SET_CLREQ_RETVAL( tid, count );
break; }
@@ -1427,8 +1439,14 @@
break; }
case VG_USERREQ__PRINTF_BACKTRACE: {
- Int count =
- VG_(vmessage)( Vg_ClientMsg, (char *)arg[1], (void*)arg[2] );
+ union {
+ va_list vargs;
+ unsigned long ul;
+ } args;
+ Int count;
+ args.ul = (unsigned long)arg[2];
+ count =
+ VG_(vmessage)( Vg_ClientMsg, (char *)arg[1], args.vargs );
VG_(message_flush)();
VG_(get_and_pp_StackTrace)( tid, VG_(clo_backtrace_size) );
SET_CLREQ_RETVAL( tid, count );
Modified: trunk/coregrind/pub_core_clreq.h
===================================================================
--- trunk/coregrind/pub_core_clreq.h 2010-01-04 00:59:05 UTC (rev 11005)
+++ trunk/coregrind/pub_core_clreq.h 2010-01-04 01:01:02 UTC (rev 11006)
@@ -64,13 +64,16 @@
static int VALGRIND_INTERNAL_PRINTF(const char *format, ...)
{
unsigned long _qzz_res = 0;
- va_list vargs;
- va_start(vargs, format);
+ union {
+ va_list vargs;
+ unsigned long ul;
+ } args;
+ va_start(args.vargs, format);
VALGRIND_DO_CLIENT_REQUEST(
_qzz_res, 0, VG_USERREQ__INTERNAL_PRINTF,
- (unsigned long)format, (unsigned long)vargs, 0, 0, 0
+ (unsigned long)format, (unsigned long)(args.ul), 0, 0, 0
);
- va_end(vargs);
+ va_end(args.vargs);
return _qzz_res;
}
Modified: trunk/include/valgrind.h
===================================================================
--- trunk/include/valgrind.h 2010-01-04 00:59:05 UTC (rev 11005)
+++ trunk/include/valgrind.h 2010-01-04 01:01:02 UTC (rev 11006)
@@ -4183,12 +4183,16 @@
VALGRIND_PRINTF(const char *format, ...)
{
unsigned long _qzz_res;
- va_list vargs;
- va_start(vargs, format);
+ union {
+ va_list vargs;
+ unsigned long ul;
+ } args;
+ va_start(args.vargs, format);
VALGRIND_DO_CLIENT_REQUEST(_qzz_res, 0, VG_USERREQ__PRINTF,
- (unsigned long)format, (unsigned long)vargs,
+ (unsigned long)format,
+ (unsigned long)(args.ul),
0, 0, 0);
- va_end(vargs);
+ va_end(args.vargs);
return (int)_qzz_res;
}
@@ -4198,12 +4202,16 @@
VALGRIND_PRINTF_BACKTRACE(const char *format, ...)
{
unsigned long _qzz_res;
- va_list vargs;
- va_start(vargs, format);
+ union {
+ va_list vargs;
+ unsigned long ul;
+ } args;
+ va_start(args.vargs, format);
VALGRIND_DO_CLIENT_REQUEST(_qzz_res, 0, VG_USERREQ__PRINTF_BACKTRACE,
- (unsigned long)format, (unsigned long)vargs,
+ (unsigned long)format,
+ (unsigned long)(args.ul),
0, 0, 0);
- va_end(vargs);
+ va_end(args.vargs);
return (int)_qzz_res;
}
|
|
From: <sv...@va...> - 2010-01-04 00:59:15
|
Author: sewardj Date: 2010-01-04 00:59:05 +0000 (Mon, 04 Jan 2010) New Revision: 11005 Log: Include missing files in the tarball. Modified: trunk/include/Makefile.am Modified: trunk/include/Makefile.am =================================================================== --- trunk/include/Makefile.am 2010-01-03 23:58:25 UTC (rev 11004) +++ trunk/include/Makefile.am 2010-01-04 00:59:05 UTC (rev 11005) @@ -39,18 +39,21 @@ valgrind.h \ vki/vki-linux.h \ vki/vki-darwin.h \ - vki/vki-posixtypes-amd64-linux.h\ - vki/vki-posixtypes-ppc32-linux.h\ - vki/vki-posixtypes-ppc64-linux.h\ - vki/vki-posixtypes-x86-linux.h \ + vki/vki-posixtypes-amd64-linux.h \ + vki/vki-posixtypes-ppc32-linux.h \ + vki/vki-posixtypes-ppc64-linux.h \ + vki/vki-posixtypes-x86-linux.h \ + vki/vki-posixtypes-arm-linux.h \ vki/vki-amd64-linux.h \ vki/vki-ppc32-linux.h \ vki/vki-ppc64-linux.h \ vki/vki-x86-linux.h \ + vki/vki-arm-linux.h \ vki/vki-scnums-amd64-linux.h \ vki/vki-scnums-ppc32-linux.h \ vki/vki-scnums-ppc64-linux.h \ vki/vki-scnums-x86-linux.h \ + vki/vki-scnums-arm-linux.h \ vki/vki-scnums-darwin.h noinst_HEADERS = \ |