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
(16) |
2
(7) |
3
(9) |
4
(12) |
5
(20) |
|
6
(24) |
7
(10) |
8
(7) |
9
(17) |
10
(9) |
11
(7) |
12
(8) |
|
13
(12) |
14
(17) |
15
(15) |
16
(15) |
17
(21) |
18
(9) |
19
(17) |
|
20
(16) |
21
(12) |
22
(18) |
23
(8) |
24
(2) |
25
(17) |
26
(23) |
|
27
(30) |
28
(19) |
29
(14) |
30
(11) |
|
|
|
|
From: <sv...@va...> - 2008-04-27 22:34:11
|
Author: dirk
Date: 2008-04-27 23:34:16 +0100 (Sun, 27 Apr 2008)
New Revision: 7951
Log:
update suppression for glibc 2.8: the backtrace
points to ld-2.8.so here.. so just match for any
lib in /lib
Modified:
trunk/xfree-4.supp
Modified: trunk/xfree-4.supp
===================================================================
--- trunk/xfree-4.supp 2008-04-27 20:38:47 UTC (rev 7950)
+++ trunk/xfree-4.supp 2008-04-27 22:34:16 UTC (rev 7951)
@@ -136,7 +136,7 @@
struct with uninitialized paddings - libxcb
Memcheck:Param
writev(vector[...])
- obj:/lib*/libc-2.6*.so
+ obj:/lib*/*.so
obj:/usr/lib*/libxcb.so.1.0.0
obj:/usr/lib*/libxcb.so.1.0.0
fun:xcb_send_request
@@ -147,7 +147,7 @@
struct with uninitialized paddings - libxcb
Memcheck:Param
writev(vector[...])
- obj:/lib*/libc-2.6*.so
+ obj:/lib*/*.so
obj:/usr/lib*/libxcb.so.1.0.0
obj:/usr/lib*/libxcb.so.1.0.0
obj:/usr/lib*/libxcb.so.1.0.0
|
|
From: <sv...@va...> - 2008-04-27 20:38:43
|
Author: dirk
Date: 2008-04-27 21:38:47 +0100 (Sun, 27 Apr 2008)
New Revision: 7950
Log:
fix typo
Modified:
trunk/configure.in
Modified: trunk/configure.in
===================================================================
--- trunk/configure.in 2008-04-27 16:18:44 UTC (rev 7949)
+++ trunk/configure.in 2008-04-27 20:38:47 UTC (rev 7950)
@@ -528,7 +528,7 @@
;;
2.8)
AC_MSG_RESULT(2.8 family)
- AC_DEFINE([GLIBC_2_7], 1, [Define to 1 if you're using glibc 2.7.x])
+ AC_DEFINE([GLIBC_2_8], 1, [Define to 1 if you're using glibc 2.8.x])
DEFAULT_SUPP="glibc-2.X.supp ${DEFAULT_SUPP}"
DEFAULT_SUPP="glibc-2.34567-NPTL-helgrind.supp ${DEFAULT_SUPP}"
DEFAULT_SUPP="glibc-2.X-drd.supp ${DEFAULT_SUPP}"
|
|
From: <sv...@va...> - 2008-04-27 16:18:41
|
Author: bart Date: 2008-04-27 17:18:44 +0100 (Sun, 27 Apr 2008) New Revision: 7949 Log: Added reference to SPLASH-2. Modified: trunk/exp-drd/docs/README.txt Modified: trunk/exp-drd/docs/README.txt =================================================================== --- trunk/exp-drd/docs/README.txt 2008-04-27 16:17:34 UTC (rev 7948) +++ trunk/exp-drd/docs/README.txt 2008-04-27 16:18:44 UTC (rev 7949) @@ -592,6 +592,11 @@ Sun Studio 12: Thread Analyzer User's Guide http://docs.sun.com/app/docs/doc/820-0619 +[Venetis 2007] + Ioannis E. Venetis + The Modified SPLASH-2 Home Page + http://www.capsl.udel.edu/splash/Download.html + [Zhou 2007] Pin Zhou, Radu Teodorescu, Yuanyuan Zhou. HARD: Hardware-Assisted Lockset-based Race Detection. |
|
From: <sv...@va...> - 2008-04-27 16:17:29
|
Author: bart Date: 2008-04-27 17:17:34 +0100 (Sun, 27 Apr 2008) New Revision: 7948 Log: Updated to do list. Modified: trunk/exp-drd/TODO.txt Modified: trunk/exp-drd/TODO.txt =================================================================== --- trunk/exp-drd/TODO.txt 2008-04-27 13:21:01 UTC (rev 7947) +++ trunk/exp-drd/TODO.txt 2008-04-27 16:17:34 UTC (rev 7948) @@ -4,8 +4,6 @@ Data-race detection algorithm ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- More extensive testing of reader/writer locks. -- Regression test for bitmap manipulation functions. - Continue discussion about unification of DRD and Helgrind client requests. - Memory pool support. - Add locking order checking. Start from the following information: @@ -40,7 +38,8 @@ Testing ~~~~~~~ -- testing with more complex multithreaded test programs. +- More extensive testing of reader/writer locks. +- Regression test for bitmap manipulation functions. - test exp-drd's performance with the SPLASH-2 software, e.g. fft (http://www-flash.stanford.edu/apps/SPLASH/) or the PARSEC benchmark (http://parsec.cs.princeton.edu/license.htm). |
|
From: Bart V. A. <bar...@gm...> - 2008-04-27 15:02:45
|
Hello, As known the Valgrind documentation is in DocBook format, and that documentation is converted into PDF via PassiveTex. PassiveTeX is no longer maintained (last update was in March 2004, four years ago) and has fallen behind in its implementation of the XSL-FO specification. There are other XSL-FO converters, e.g. FOP. FOP version 0.94, as included in OpenSUSE 11.0, seems functional enough to convert the Valgrind documentation from XSL-FO to docbook format. However, errors in the current DocBook documentation prevent FOP to finish the conversion. It would be great if these errors could be fixed, such that we can switch from PassiveTeX to FOP. See also the following URL for more information about the error message printed by FOP and how to find its cause: http://www.nabble.com/fop-throws-a-javax.xml.transform.TransformerException-td16840978.html Bart. |
|
From: <sv...@va...> - 2008-04-27 13:20:55
|
Author: bart
Date: 2008-04-27 14:21:01 +0100 (Sun, 27 Apr 2008)
New Revision: 7947
Log:
Only run the timerfd_create()/timerfd_gettime()/timerfd_settime() test on kernel 2.6.25 and later.
Modified:
trunk/memcheck/tests/linux-timerfd-syscall.vgtest
Modified: trunk/memcheck/tests/linux-timerfd-syscall.vgtest
===================================================================
--- trunk/memcheck/tests/linux-timerfd-syscall.vgtest 2008-04-27 13:20:22 UTC (rev 7946)
+++ trunk/memcheck/tests/linux-timerfd-syscall.vgtest 2008-04-27 13:21:01 UTC (rev 7947)
@@ -1,2 +1,2 @@
-prereq: [ "$(uname)" = "Linux" ] && awk 'END{exit("'$(uname -r)'" >= "2.6.23" ? 0 : 1)}' </dev/null
+prereq: [ "$(uname)" = "Linux" ] && awk 'END{exit("'$(uname -r)'" >= "2.6.25" ? 0 : 1)}' </dev/null
prog: linux-timerfd-syscall
|
|
From: <sv...@va...> - 2008-04-27 13:20:16
|
Author: bart
Date: 2008-04-27 14:20:22 +0100 (Sun, 27 Apr 2008)
New Revision: 7946
Log:
Fixed typo.
Modified:
trunk/memcheck/tests/linux-timerfd-syscall.c
Modified: trunk/memcheck/tests/linux-timerfd-syscall.c
===================================================================
--- trunk/memcheck/tests/linux-timerfd-syscall.c 2008-04-27 13:20:07 UTC (rev 7945)
+++ trunk/memcheck/tests/linux-timerfd-syscall.c 2008-04-27 13:20:22 UTC (rev 7946)
@@ -183,7 +183,7 @@
tnow = getustime(clks[i].id);
if ((tfd = timerfd_create(clks[i].id, 0)) == -1)
{
- perror("timerfd");
+ perror("timerfd_create");
return 1;
}
fprintf(stdout, "timerfd = %d\n", tfd);
|
|
From: <sv...@va...> - 2008-04-27 13:20:01
|
Author: bart Date: 2008-04-27 14:20:07 +0100 (Sun, 27 Apr 2008) New Revision: 7945 Log: Fixed typo. Modified: trunk/memcheck/tests/Makefile.am Modified: trunk/memcheck/tests/Makefile.am =================================================================== --- trunk/memcheck/tests/Makefile.am 2008-04-27 13:17:45 UTC (rev 7944) +++ trunk/memcheck/tests/Makefile.am 2008-04-27 13:20:07 UTC (rev 7945) @@ -216,7 +216,7 @@ oset_test_CFLAGS = $(AM_FLAG_M3264_PRI) \ -DVGA_$(VG_ARCH)=1 -DVGO_$(VG_OS)=1 \ -DVGP_$(VG_ARCH)_$(VG_OS)=1 -linux_timerfd_syscall_CFLAGS = -lrt +linux_timerfd_syscall_LDADD = -lrt vcpu_bz2_CFLAGS = $(AM_FLAG_M3264_PRI) $(AM_CFLAGS) -O2 -g vcpu_fbench_CFLAGS = $(AM_FLAG_M3264_PRI) $(AM_CFLAGS) -O2 -g vcpu_fnfns_CFLAGS = $(AM_FLAG_M3264_PRI) $(AM_CFLAGS) -O2 -g |
|
From: <sv...@va...> - 2008-04-27 13:17:39
|
Author: bart Date: 2008-04-27 14:17:45 +0100 (Sun, 27 Apr 2008) New Revision: 7944 Log: Added more output variants. Added: trunk/exp-drd/tests/tc20_verifywrap.stderr.exp-glibc2.8 trunk/exp-drd/tests/tc20_verifywrap2.stderr.exp-glibc2.8 Added: trunk/exp-drd/tests/tc20_verifywrap.stderr.exp-glibc2.8 =================================================================== --- trunk/exp-drd/tests/tc20_verifywrap.stderr.exp-glibc2.8 (rev 0) +++ trunk/exp-drd/tests/tc20_verifywrap.stderr.exp-glibc2.8 2008-04-27 13:17:45 UTC (rev 7944) @@ -0,0 +1,106 @@ + + + +------ This is output for >= glibc 2.4 ------ + +---------------- pthread_create/join ---------------- + +Conflicting store by thread 1/1 at 0x........ size 2 + at 0x........: main (tc20_verifywrap.c:78) +Location 0x........ is 0 bytes inside global var "unprotected" +declared at tc20_verifywrap.c:27 +Other segment start (thread 0/2) + (thread finished, call stack no longer available) +Other segment end (thread 0/2) + (thread finished, call stack no longer available) + +---------------- pthread_mutex_lock et al ---------------- + + +The object at address 0x........ is not a mutex. + at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?) + by 0x........: main (tc20_verifywrap.c:92) + +Destroying locked mutex: mutex 0x........, recursion count 1, owner 1. + at 0x........: pthread_mutex_destroy (drd_pthread_intercepts.c:?) + by 0x........: main (tc20_verifywrap.c:102) + +The object at address 0x........ is not a mutex. + at 0x........: pthread_mutex_lock (drd_pthread_intercepts.c:?) + by 0x........: main (tc20_verifywrap.c:108) + +The object at address 0x........ is not a mutex. + at 0x........: pthread_mutex_trylock (drd_pthread_intercepts.c:?) + by 0x........: main (tc20_verifywrap.c:116) + +The object at address 0x........ is not a mutex. + at 0x........: pthread_mutex_timedlock (drd_pthread_intercepts.c:?) + by 0x........: main (tc20_verifywrap.c:121) + +The object at address 0x........ is not a mutex. + at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?) + by 0x........: main (tc20_verifywrap.c:125) + +---------------- pthread_cond_wait et al ---------------- + + +Mutex not locked: mutex 0x........, recursion count 0, owner 0. + at 0x........: pthread_cond_wait* (drd_pthread_intercepts.c:?) + by 0x........: main (tc20_verifywrap.c:147) + +FIXME: can't figure out how to verify wrap of pthread_cond_signal + + +FIXME: can't figure out how to verify wrap of pthread_broadcast_signal + + +---------------- pthread_rwlock_* ---------------- + + +Reader-writer lock not locked by calling thread: rwlock 0x......... + at 0x........: pthread_rwlock_unlock* (drd_pthread_intercepts.c:?) + by 0x........: main (tc20_verifywrap.c:179) +(1) no error on next line +(2) no error on next line +(3) ERROR on next line + +Reader-writer lock not locked by calling thread: rwlock 0x......... + at 0x........: pthread_rwlock_unlock* (drd_pthread_intercepts.c:?) + by 0x........: main (tc20_verifywrap.c:196) + +Reader-writer lock reinitialization: rwlock 0x......... + at 0x........: pthread_rwlock_init* (drd_pthread_intercepts.c:?) + by 0x........: main (tc20_verifywrap.c:199) +(4) no error on next line +(5) no error on next line +(6) no error on next line +(7) no error on next line +(8) ERROR on next line + +Reader-writer lock not locked by calling thread: rwlock 0x......... + at 0x........: pthread_rwlock_unlock* (drd_pthread_intercepts.c:?) + by 0x........: main (tc20_verifywrap.c:212) + +---------------- sem_* ---------------- + + +FIXME: can't figure out how to verify wrap of sem_destroy + + +Invalid semaphore: semaphore 0x........ + at 0x........: sem_wait* (drd_pthread_intercepts.c:?) + by 0x........: main (tc20_verifywrap.c:242) + +FIXME: can't figure out how to verify wrap of sem_post + + +------------ dealloc of mem holding locks ------------ + + +Destroying locked rwlock: rwlock 0x......... + at 0x........: main (tc20_verifywrap.c:262) + +Destroying locked mutex: mutex 0x........, recursion count 1, owner 1. + at 0x........: main (tc20_verifywrap.c:262) + +ERROR SUMMARY: 15 errors from 15 contexts (suppressed: 0 from 0) Added: trunk/exp-drd/tests/tc20_verifywrap2.stderr.exp-glibc2.8 =================================================================== --- trunk/exp-drd/tests/tc20_verifywrap2.stderr.exp-glibc2.8 (rev 0) +++ trunk/exp-drd/tests/tc20_verifywrap2.stderr.exp-glibc2.8 2008-04-27 13:17:45 UTC (rev 7944) @@ -0,0 +1,186 @@ + + + +------ This is output for >= glibc 2.4 ------ + +---------------- pthread_create/join ---------------- + +Conflicting store by thread 1/1 at 0x........ size 2 + at 0x........: main (tc20_verifywrap.c:78) +Location 0x........ is 0 bytes inside global var "unprotected" +declared at tc20_verifywrap.c:27 +Other segment start (thread 0/2) + (thread finished, call stack no longer available) +Other segment end (thread 0/2) + (thread finished, call stack no longer available) + +---------------- pthread_mutex_lock et al ---------------- + +[1/1] mutex_init invalid mutex 0x........ + +The object at address 0x........ is not a mutex. + at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?) + by 0x........: main (tc20_verifywrap.c:92) +[1/1] mutex_init mutex 0x........ +[1/1] pre_mutex_lock mutex 0x........ rc 0 owner 0 +[1/1] post_mutex_lock mutex 0x........ rc 0 owner 0 +[1/1] mutex_destroy mutex 0x........ + +Destroying locked mutex: mutex 0x........, recursion count 1, owner 1. + at 0x........: pthread_mutex_destroy (drd_pthread_intercepts.c:?) + by 0x........: main (tc20_verifywrap.c:102) +[1/1] pre_mutex_lock invalid mutex 0x........ rc 0 owner 0 + +The object at address 0x........ is not a mutex. + at 0x........: pthread_mutex_lock (drd_pthread_intercepts.c:?) + by 0x........: main (tc20_verifywrap.c:108) +[1/1] post_mutex_lock invalid mutex 0x........ rc 0 owner 0 (locking failed) +[1/1] pre_mutex_lock invalid mutex 0x........ rc 0 owner 0 + +The object at address 0x........ is not a mutex. + at 0x........: pthread_mutex_trylock (drd_pthread_intercepts.c:?) + by 0x........: main (tc20_verifywrap.c:116) +[1/1] post_mutex_lock invalid mutex 0x........ rc 0 owner 0 (locking failed) +[1/1] pre_mutex_lock invalid mutex 0x........ rc 0 owner 0 + +The object at address 0x........ is not a mutex. + at 0x........: pthread_mutex_timedlock (drd_pthread_intercepts.c:?) + by 0x........: main (tc20_verifywrap.c:121) +[1/1] post_mutex_lock invalid mutex 0x........ rc 0 owner 0 (locking failed) +[1/1] mutex_unlock invalid mutex 0x........ rc 0 + +The object at address 0x........ is not a mutex. + at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?) + by 0x........: main (tc20_verifywrap.c:125) + +---------------- pthread_cond_wait et al ---------------- + +[1/1] mutex_init error checking mutex 0x........ +[1/1] cond_init cond 0x........ +[1/1] mutex_unlock error checking mutex 0x........ rc 0 + +Mutex not locked: mutex 0x........, recursion count 0, owner 0. + at 0x........: pthread_cond_wait* (drd_pthread_intercepts.c:?) + by 0x........: main (tc20_verifywrap.c:147) +[1/1] cond_pre_wait cond 0x........ +[1/1] cond_post_wait cond 0x........ +[1/1] cond_post_wait error checking mutex 0x........ rc 0 owner 0 +[1/1] cond_signal cond 0x........ + +FIXME: can't figure out how to verify wrap of pthread_cond_signal + +[1/1] cond_broadcast cond 0x........ + +FIXME: can't figure out how to verify wrap of pthread_broadcast_signal + +[1/1] mutex_unlock error checking mutex 0x........ rc 1 +[1/1] cond_pre_wait cond 0x........ +[1/1] cond_post_wait cond 0x........ +[1/1] cond_post_wait error checking mutex 0x........ rc 0 owner 1 + +---------------- pthread_rwlock_* ---------------- + + +Reader-writer lock not locked by calling thread: rwlock 0x......... + at 0x........: pthread_rwlock_unlock* (drd_pthread_intercepts.c:?) + by 0x........: main (tc20_verifywrap.c:179) +(1) no error on next line +(2) no error on next line +(3) ERROR on next line + +Reader-writer lock not locked by calling thread: rwlock 0x......... + at 0x........: pthread_rwlock_unlock* (drd_pthread_intercepts.c:?) + by 0x........: main (tc20_verifywrap.c:196) + +Reader-writer lock reinitialization: rwlock 0x......... + at 0x........: pthread_rwlock_init* (drd_pthread_intercepts.c:?) + by 0x........: main (tc20_verifywrap.c:199) +(4) no error on next line +(5) no error on next line +(6) no error on next line +(7) no error on next line +(8) ERROR on next line + +Reader-writer lock not locked by calling thread: rwlock 0x......... + at 0x........: pthread_rwlock_unlock* (drd_pthread_intercepts.c:?) + by 0x........: main (tc20_verifywrap.c:212) + +---------------- sem_* ---------------- + +[1/1] semaphore_init 0x........ +[1/1] semaphore_init 0x........ + +FIXME: can't figure out how to verify wrap of sem_destroy + +[1/1] semaphore_pre_wait 0x........ +[1/1] semaphore_post_wait 0x........ + +Invalid semaphore: semaphore 0x........ + at 0x........: sem_wait* (drd_pthread_intercepts.c:?) + by 0x........: main (tc20_verifywrap.c:242) +[1/1] semaphore_post 0x........ + +FIXME: can't figure out how to verify wrap of sem_post + +[1/1] semaphore_destroy 0x........ + +------------ dealloc of mem holding locks ------------ + + +Destroying locked rwlock: rwlock 0x......... + at 0x........: main (tc20_verifywrap.c:262) +[1/1] mutex_destroy error checking mutex 0x........ + +Destroying locked mutex: mutex 0x........, recursion count 1, owner 1. + at 0x........: main (tc20_verifywrap.c:262) +[1/1] mutex_destroy invalid mutex 0x........ +[1/1] pre_mutex_lock recursive mutex 0x........ rc 0 owner 0 +[1/1] post_mutex_lock recursive mutex 0x........ rc 0 owner 0 +[1/1] mutex_unlock recursive mutex 0x........ rc 1 +[1/1] pre_mutex_lock recursive mutex 0x........ rc 0 owner 1 +[1/1] post_mutex_lock recursive mutex 0x........ rc 0 owner 1 +[1/1] mutex_unlock recursive mutex 0x........ rc 1 +[1/1] pre_mutex_lock recursive mutex 0x........ rc 0 owner 1 +[1/1] post_mutex_lock recursive mutex 0x........ rc 0 owner 1 +[1/1] mutex_unlock recursive mutex 0x........ rc 1 +[1/1] pre_mutex_lock recursive mutex 0x........ rc 0 owner 1 +[1/1] post_mutex_lock recursive mutex 0x........ rc 0 owner 1 +[1/1] mutex_unlock recursive mutex 0x........ rc 1 +[1/1] pre_mutex_lock recursive mutex 0x........ rc 0 owner 1 +[1/1] post_mutex_lock recursive mutex 0x........ rc 0 owner 1 +[1/1] mutex_unlock recursive mutex 0x........ rc 1 +[1/1] pre_mutex_lock recursive mutex 0x........ rc 0 owner 1 +[1/1] post_mutex_lock recursive mutex 0x........ rc 0 owner 1 +[1/1] mutex_unlock recursive mutex 0x........ rc 1 +[1/1] pre_mutex_lock recursive mutex 0x........ rc 0 owner 1 +[1/1] post_mutex_lock recursive mutex 0x........ rc 0 owner 1 +[1/1] mutex_unlock recursive mutex 0x........ rc 1 +[1/1] pre_mutex_lock recursive mutex 0x........ rc 0 owner 1 +[1/1] post_mutex_lock recursive mutex 0x........ rc 0 owner 1 +[1/1] mutex_unlock recursive mutex 0x........ rc 1 +[1/1] pre_mutex_lock recursive mutex 0x........ rc 0 owner 1 +[1/1] post_mutex_lock recursive mutex 0x........ rc 0 owner 1 +[1/1] mutex_unlock recursive mutex 0x........ rc 1 +[1/1] pre_mutex_lock recursive mutex 0x........ rc 0 owner 1 +[1/1] post_mutex_lock recursive mutex 0x........ rc 0 owner 1 +[1/1] mutex_unlock recursive mutex 0x........ rc 1 +[1/1] pre_mutex_lock recursive mutex 0x........ rc 0 owner 1 +[1/1] post_mutex_lock recursive mutex 0x........ rc 0 owner 1 +[1/1] mutex_unlock recursive mutex 0x........ rc 1 +[1/1] pre_mutex_lock recursive mutex 0x........ rc 0 owner 1 +[1/1] post_mutex_lock recursive mutex 0x........ rc 0 owner 1 +[1/1] mutex_unlock recursive mutex 0x........ rc 1 +[1/1] pre_mutex_lock recursive mutex 0x........ rc 0 owner 1 +[1/1] post_mutex_lock recursive mutex 0x........ rc 0 owner 1 +[1/1] mutex_unlock recursive mutex 0x........ rc 1 +[1/1] pre_mutex_lock recursive mutex 0x........ rc 0 owner 1 +[1/1] post_mutex_lock recursive mutex 0x........ rc 0 owner 1 +[1/1] mutex_unlock recursive mutex 0x........ rc 1 +[1/1] pre_mutex_lock recursive mutex 0x........ rc 0 owner 1 +[1/1] post_mutex_lock recursive mutex 0x........ rc 0 owner 1 +[1/1] mutex_unlock recursive mutex 0x........ rc 1 +[1/1] pre_mutex_lock recursive mutex 0x........ rc 0 owner 1 +[1/1] post_mutex_lock recursive mutex 0x........ rc 0 owner 1 +[1/1] mutex_unlock recursive mutex 0x........ rc 1 + +ERROR SUMMARY: 15 errors from 15 contexts (suppressed: 0 from 0) |
|
From: <sv...@va...> - 2008-04-27 13:17:23
|
Author: bart Date: 2008-04-27 14:17:27 +0100 (Sun, 27 Apr 2008) New Revision: 7943 Log: Renamed suppression file. Added: trunk/exp-drd/tests/tc09_bad_unlock.stderr.exp-glibc2.8 Removed: trunk/exp-drd/tests/tc09_bad_unlock.stderr.exp-opensuse11 Copied: trunk/exp-drd/tests/tc09_bad_unlock.stderr.exp-glibc2.8 (from rev 7942, trunk/exp-drd/tests/tc09_bad_unlock.stderr.exp-opensuse11) =================================================================== --- trunk/exp-drd/tests/tc09_bad_unlock.stderr.exp-glibc2.8 (rev 0) +++ trunk/exp-drd/tests/tc09_bad_unlock.stderr.exp-glibc2.8 2008-04-27 13:17:27 UTC (rev 7943) @@ -0,0 +1,48 @@ + +Mutex not locked by calling thread: mutex 0x........, recursion count 0, owner 1. + at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?) + by 0x........: nearly_main (tc09_bad_unlock.c:27) + by 0x........: main (tc09_bad_unlock.c:49) + +Thread 2: +Mutex not locked by calling thread: mutex 0x........, recursion count 1, owner 1. + at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?) + by 0x........: child_fn (tc09_bad_unlock.c:11) + by 0x........: vg_thread_wrapper (drd_pthread_intercepts.c:?) + by 0x........: (within libpthread-?.?.so) + by 0x........: clone (in /...libc...) + +Thread 1: +The object at address 0x........ is not a mutex. + at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?) + by 0x........: nearly_main (tc09_bad_unlock.c:41) + by 0x........: main (tc09_bad_unlock.c:49) + +Destroying locked mutex: mutex 0x........, recursion count 1, owner 1. + at 0x........: nearly_main (tc09_bad_unlock.c:45) + by 0x........: (below main) (in /...libc...) + +Mutex not locked by calling thread: mutex 0x........, recursion count 0, owner 1. + at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?) + by 0x........: nearly_main (tc09_bad_unlock.c:27) + by 0x........: main (tc09_bad_unlock.c:50) + +Thread 2: +Mutex not locked by calling thread: mutex 0x........, recursion count 1, owner 1. + at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?) + by 0x........: child_fn (tc09_bad_unlock.c:11) + by 0x........: vg_thread_wrapper (drd_pthread_intercepts.c:?) + by 0x........: (within libpthread-?.?.so) + by 0x........: clone (in /...libc...) + +Thread 1: +The object at address 0x........ is not a mutex. + at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?) + by 0x........: nearly_main (tc09_bad_unlock.c:41) + by 0x........: main (tc09_bad_unlock.c:50) + +Destroying locked mutex: mutex 0x........, recursion count 1, owner 1. + at 0x........: nearly_main (tc09_bad_unlock.c:45) + by 0x........: (below main) (in /...libc...) + +ERROR SUMMARY: 8 errors from 8 contexts (suppressed: 0 from 0) Property changes on: trunk/exp-drd/tests/tc09_bad_unlock.stderr.exp-glibc2.8 ___________________________________________________________________ Name: svn:mergeinfo + Deleted: trunk/exp-drd/tests/tc09_bad_unlock.stderr.exp-opensuse11 =================================================================== --- trunk/exp-drd/tests/tc09_bad_unlock.stderr.exp-opensuse11 2008-04-27 12:56:06 UTC (rev 7942) +++ trunk/exp-drd/tests/tc09_bad_unlock.stderr.exp-opensuse11 2008-04-27 13:17:27 UTC (rev 7943) @@ -1,48 +0,0 @@ - -Mutex not locked by calling thread: mutex 0x........, recursion count 0, owner 1. - at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?) - by 0x........: nearly_main (tc09_bad_unlock.c:27) - by 0x........: main (tc09_bad_unlock.c:49) - -Thread 2: -Mutex not locked by calling thread: mutex 0x........, recursion count 1, owner 1. - at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?) - by 0x........: child_fn (tc09_bad_unlock.c:11) - by 0x........: vg_thread_wrapper (drd_pthread_intercepts.c:?) - by 0x........: (within libpthread-?.?.so) - by 0x........: clone (in /...libc...) - -Thread 1: -The object at address 0x........ is not a mutex. - at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?) - by 0x........: nearly_main (tc09_bad_unlock.c:41) - by 0x........: main (tc09_bad_unlock.c:49) - -Destroying locked mutex: mutex 0x........, recursion count 1, owner 1. - at 0x........: nearly_main (tc09_bad_unlock.c:45) - by 0x........: (below main) (in /...libc...) - -Mutex not locked by calling thread: mutex 0x........, recursion count 0, owner 1. - at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?) - by 0x........: nearly_main (tc09_bad_unlock.c:27) - by 0x........: main (tc09_bad_unlock.c:50) - -Thread 2: -Mutex not locked by calling thread: mutex 0x........, recursion count 1, owner 1. - at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?) - by 0x........: child_fn (tc09_bad_unlock.c:11) - by 0x........: vg_thread_wrapper (drd_pthread_intercepts.c:?) - by 0x........: (within libpthread-?.?.so) - by 0x........: clone (in /...libc...) - -Thread 1: -The object at address 0x........ is not a mutex. - at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?) - by 0x........: nearly_main (tc09_bad_unlock.c:41) - by 0x........: main (tc09_bad_unlock.c:50) - -Destroying locked mutex: mutex 0x........, recursion count 1, owner 1. - at 0x........: nearly_main (tc09_bad_unlock.c:45) - by 0x........: (below main) (in /...libc...) - -ERROR SUMMARY: 8 errors from 8 contexts (suppressed: 0 from 0) |
|
From: <sv...@va...> - 2008-04-27 12:56:04
|
Author: bart
Date: 2008-04-27 13:56:06 +0100 (Sun, 27 Apr 2008)
New Revision: 7942
Log:
Added support for timerfd_create(), timerfd_gettime() and timerfd_settime() system calls.
Modified:
trunk/coregrind/m_syswrap/priv_syswrap-linux.h
trunk/coregrind/m_syswrap/syswrap-amd64-linux.c
trunk/coregrind/m_syswrap/syswrap-linux.c
trunk/coregrind/m_syswrap/syswrap-ppc32-linux.c
trunk/coregrind/m_syswrap/syswrap-ppc64-linux.c
trunk/coregrind/m_syswrap/syswrap-x86-linux.c
trunk/include/vki/vki-scnums-amd64-linux.h
trunk/include/vki/vki-scnums-ppc32-linux.h
trunk/include/vki/vki-scnums-ppc64-linux.h
trunk/include/vki/vki-scnums-x86-linux.h
Modified: trunk/coregrind/m_syswrap/priv_syswrap-linux.h
===================================================================
--- trunk/coregrind/m_syswrap/priv_syswrap-linux.h 2008-04-27 12:52:33 UTC (rev 7941)
+++ trunk/coregrind/m_syswrap/priv_syswrap-linux.h 2008-04-27 12:56:06 UTC (rev 7942)
@@ -126,7 +126,9 @@
DECL_TEMPLATE(linux, sys_timer_gettime);
DECL_TEMPLATE(linux, sys_timer_getoverrun);
DECL_TEMPLATE(linux, sys_timer_delete);
-DECL_TEMPLATE(linux, sys_timerfd);
+DECL_TEMPLATE(linux, sys_timerfd_create);
+DECL_TEMPLATE(linux, sys_timerfd_gettime);
+DECL_TEMPLATE(linux, sys_timerfd_settime);
DECL_TEMPLATE(linux, sys_signalfd);
Modified: trunk/coregrind/m_syswrap/syswrap-amd64-linux.c
===================================================================
--- trunk/coregrind/m_syswrap/syswrap-amd64-linux.c 2008-04-27 12:52:33 UTC (rev 7941)
+++ trunk/coregrind/m_syswrap/syswrap-amd64-linux.c 2008-04-27 12:56:06 UTC (rev 7942)
@@ -1383,9 +1383,11 @@
LINX_(__NR_utimensat, sys_utimensat), // 280
LINXY(__NR_epoll_pwait, sys_epoll_pwait), // 281
LINXY(__NR_signalfd, sys_signalfd), // 282
- LINXY(__NR_timerfd, sys_timerfd), // 283
+ LINXY(__NR_timerfd_create, sys_timerfd_create), // 283
LINX_(__NR_eventfd, sys_eventfd), // 284
// LINX_(__NR_fallocate, sys_ni_syscall), // 285
+ LINXY(__NR_timerfd_settime, sys_timerfd_settime), // 286
+ LINXY(__NR_timerfd_gettime, sys_timerfd_gettime), // 287
};
const UInt ML_(syscall_table_size) =
Modified: trunk/coregrind/m_syswrap/syswrap-linux.c
===================================================================
--- trunk/coregrind/m_syswrap/syswrap-linux.c 2008-04-27 12:52:33 UTC (rev 7941)
+++ trunk/coregrind/m_syswrap/syswrap-linux.c 2008-04-27 12:56:06 UTC (rev 7942)
@@ -1707,27 +1707,125 @@
PRE_REG_READ1(long, "timer_delete", vki_timer_t, timerid);
}
-PRE(sys_timerfd)
+/* ---------------------------------------------------------------------
+ timerfd* wrappers
+ See also http://lwn.net/Articles/260172/ for an overview.
+ See also /usr/src/linux/fs/timerfd.c for the implementation.
+ ------------------------------------------------------------------ */
+
+static int linux_kernel_2_6_22(void)
{
- PRINT("sys_timerfd ( %d, %d, %p )", ARG1, ARG2, ARG3);
- PRE_REG_READ3(long, "sys_timerfd",
- int, fd, int, clockid, const struct itimerspec *, tmr);
- PRE_MEM_READ( "timerfd(tmr)", ARG3,
- sizeof(struct vki_itimerspec) );
- if (ARG1 != -1 && !ML_(fd_allowed)(ARG1, "timerfd", tid, False))
- SET_STATUS_Failure( VKI_EBADF );
+ static int result = -1;
+ Int fd, read;
+ char release[64];
+ SysRes res;
+
+ if (result == -1)
+ {
+ res = VG_(open)("/proc/sys/kernel/osrelease", 0, 0);
+ vg_assert(! res.isError);
+ fd = res.res;
+ read = VG_(read)(fd, release, sizeof(release) - 1);
+ vg_assert(read >= 0);
+ release[read] = 0;
+ VG_(close)(fd);
+ //VG_(printf)("kernel release = %s\n", release);
+ result = (VG_(strncmp)(release, "2.6.22", 6) == 0);
+ }
+ return result;
}
-POST(sys_timerfd)
+
+PRE(sys_timerfd_create)
{
- if (!ML_(fd_allowed)(RES, "timerfd", tid, True)) {
- VG_(close)(RES);
- SET_STATUS_Failure( VKI_EMFILE );
- } else {
- if (VG_(clo_track_fds))
- ML_(record_fd_open_nameless) (tid, RES);
+ if (linux_kernel_2_6_22())
+ {
+ /* 2.6.22 kernel: timerfd system call. */
+ PRINT("sys_timerfd ( %d, %d, %p )", ARG1, ARG2, ARG3);
+ PRE_REG_READ3(long, "sys_timerfd",
+ int, fd, int, clockid, const struct itimerspec *, tmr);
+ PRE_MEM_READ("timerfd(tmr)", ARG3,
+ sizeof(struct vki_itimerspec) );
+ if (ARG1 != -1 && !ML_(fd_allowed)(ARG1, "timerfd", tid, False))
+ SET_STATUS_Failure( VKI_EBADF );
+ }
+ else
+ {
+ /* 2.6.24 and later kernels: timerfd_create system call. */
+ PRINT("sys_timerfd_create (%d, %d )", ARG1, ARG2);
+ PRE_REG_READ2(long, "timerfd_create", int, clockid, int, flags);
+ }
+}
+POST(sys_timerfd_create)
+{
+ if (linux_kernel_2_6_22())
+ {
+ /* 2.6.22 kernel: timerfd system call. */
+ if (!ML_(fd_allowed)(RES, "timerfd", tid, True)) {
+ VG_(close)(RES);
+ SET_STATUS_Failure( VKI_EMFILE );
+ } else {
+ if (VG_(clo_track_fds))
+ ML_(record_fd_open_nameless) (tid, RES);
+ }
}
+ else
+ {
+ /* 2.6.24 and later kernels: timerfd_create system call. */
+ if (!ML_(fd_allowed)(RES, "timerfd_create", tid, True)) {
+ VG_(close)(RES);
+ SET_STATUS_Failure( VKI_EMFILE );
+ } else {
+ if (VG_(clo_track_fds))
+ ML_(record_fd_open_nameless) (tid, RES);
+ }
+ }
}
+PRE(sys_timerfd_gettime)
+{
+ PRINT("sys_timerfd_gettime ( %d, %p )", ARG1, ARG2);
+ PRE_REG_READ2(long, "timerfd_gettime",
+ int, ufd,
+ struct vki_itimerspec*, otmr);
+ if (!ML_(fd_allowed)(ARG1, "timerfd_gettime", tid, False))
+ SET_STATUS_Failure(VKI_EBADF);
+ else
+ PRE_MEM_WRITE("timerfd_gettime(result)",
+ ARG2, sizeof(struct vki_itimerspec));
+}
+POST(sys_timerfd_gettime)
+{
+ if (RES == 0)
+ POST_MEM_WRITE(ARG2, sizeof(struct vki_itimerspec));
+}
+
+PRE(sys_timerfd_settime)
+{
+ PRINT("sys_timerfd_settime ( %d, %d, %p, %p )", ARG1, ARG2, ARG3, ARG4);
+ PRE_REG_READ4(long, "timerfd_settime",
+ int, ufd,
+ int, flags,
+ const struct vki_itimerspec*, utmr,
+ struct vki_itimerspec*, otmr);
+ if (!ML_(fd_allowed)(ARG1, "timerfd_settime", tid, False))
+ SET_STATUS_Failure(VKI_EBADF);
+ else
+ {
+ PRE_MEM_READ("timerfd_settime(result)",
+ ARG3, sizeof(struct vki_itimerspec));
+ if (ARG4)
+ {
+ PRE_MEM_WRITE("timerfd_settime(result)",
+ ARG4, sizeof(struct vki_itimerspec));
+ }
+ }
+}
+POST(sys_timerfd_settime)
+{
+ if (RES == 0 && ARG4 != 0)
+ POST_MEM_WRITE(ARG4, sizeof(struct vki_itimerspec));
+}
+
/* ---------------------------------------------------------------------
capabilities wrappers
------------------------------------------------------------------ */
Modified: trunk/coregrind/m_syswrap/syswrap-ppc32-linux.c
===================================================================
--- trunk/coregrind/m_syswrap/syswrap-ppc32-linux.c 2008-04-27 12:52:33 UTC (rev 7941)
+++ trunk/coregrind/m_syswrap/syswrap-ppc32-linux.c 2008-04-27 12:56:06 UTC (rev 7942)
@@ -1831,6 +1831,9 @@
LINX_(__NR_eventfd, sys_eventfd), // 307
// LINX_(__NR_sync_file_range2, sys_ni_syscall), // 308
// LINX_(__NR_fallocate, sys_ni_syscall), // 309
+// LINXY(__NR_subpage_prot, sys_ni_syscall), // 310
+ LINXY(__NR_timerfd_settime, sys_timerfd_settime), // 311
+ LINXY(__NR_timerfd_gettime, sys_timerfd_gettime), // 312
};
const UInt ML_(syscall_table_size) =
Modified: trunk/coregrind/m_syswrap/syswrap-ppc64-linux.c
===================================================================
--- trunk/coregrind/m_syswrap/syswrap-ppc64-linux.c 2008-04-27 12:52:33 UTC (rev 7941)
+++ trunk/coregrind/m_syswrap/syswrap-ppc64-linux.c 2008-04-27 12:56:06 UTC (rev 7942)
@@ -1487,6 +1487,9 @@
LINX_(__NR_eventfd, sys_eventfd), // 307
// LINX_(__NR_sync_file_range2, sys_ni_syscall), // 308
// LINX_(__NR_fallocate, sys_ni_syscall), // 309
+// LINXY(__NR_subpage_prot, sys_ni_syscall), // 310
+ LINXY(__NR_timerfd_settime, sys_timerfd_settime), // 311
+ LINXY(__NR_timerfd_gettime, sys_timerfd_gettime), // 312
};
const UInt ML_(syscall_table_size) =
Modified: trunk/coregrind/m_syswrap/syswrap-x86-linux.c
===================================================================
--- trunk/coregrind/m_syswrap/syswrap-x86-linux.c 2008-04-27 12:52:33 UTC (rev 7941)
+++ trunk/coregrind/m_syswrap/syswrap-x86-linux.c 2008-04-27 12:56:06 UTC (rev 7942)
@@ -2228,9 +2228,11 @@
LINX_(__NR_utimensat, sys_utimensat), // 320
LINXY(__NR_signalfd, sys_signalfd), // 321
- LINXY(__NR_timerfd, sys_timerfd), // 322
+ LINXY(__NR_timerfd_create, sys_timerfd_create), // 322
LINX_(__NR_eventfd, sys_eventfd), // 323
// LINX_(__NR_fallocate, sys_ni_syscall), // 324
+ LINXY(__NR_timerfd_settime, sys_timerfd_settime), // 325
+ LINXY(__NR_timerfd_gettime, sys_timerfd_gettime), // 326
};
const UInt ML_(syscall_table_size) =
Modified: trunk/include/vki/vki-scnums-amd64-linux.h
===================================================================
--- trunk/include/vki/vki-scnums-amd64-linux.h 2008-04-27 12:52:33 UTC (rev 7941)
+++ trunk/include/vki/vki-scnums-amd64-linux.h 2008-04-27 12:56:06 UTC (rev 7942)
@@ -364,9 +364,11 @@
#define __NR_utimensat 280
#define __NR_epoll_pwait 281
#define __NR_signalfd 282
-#define __NR_timerfd 283
+#define __NR_timerfd_create 283
#define __NR_eventfd 284
#define __NR_fallocate 285
+#define __NR_timerfd_settime 286
+#define __NR_timerfd_gettime 287
#endif /* __VKI_SCNUMS_AMD64_LINUX_H */
Modified: trunk/include/vki/vki-scnums-ppc32-linux.h
===================================================================
--- trunk/include/vki/vki-scnums-ppc32-linux.h 2008-04-27 12:52:33 UTC (rev 7941)
+++ trunk/include/vki/vki-scnums-ppc32-linux.h 2008-04-27 12:56:06 UTC (rev 7942)
@@ -348,13 +348,14 @@
#define __NR_epoll_pwait 303
#define __NR_utimensat 304
#define __NR_signalfd 305
-#define __NR_timerfd 306
+#define __NR_timerfd_create 306
#define __NR_eventfd 307
#define __NR_sync_file_range2 308
#define __NR_fallocate 309
+#define __NR_subpage_prot 310
+#define __NR_timerfd_settime 311
+#define __NR_timerfd_gettime 312
-#define __NR_syscalls 310
-
#endif /* __VKI_SCNUMS_PPC32_LINUX_H */
/*--------------------------------------------------------------------*/
Modified: trunk/include/vki/vki-scnums-ppc64-linux.h
===================================================================
--- trunk/include/vki/vki-scnums-ppc64-linux.h 2008-04-27 12:52:33 UTC (rev 7941)
+++ trunk/include/vki/vki-scnums-ppc64-linux.h 2008-04-27 12:56:06 UTC (rev 7942)
@@ -340,10 +340,13 @@
#define __NR_epoll_pwait 303
#define __NR_utimensat 304
#define __NR_signalfd 305
-#define __NR_timerfd 306
+#define __NR_timerfd_create 306
#define __NR_eventfd 307
#define __NR_sync_file_range2 308
#define __NR_fallocate 309
+#define __NR_subpage_prot 310
+#define __NR_timerfd_settime 311
+#define __NR_timerfd_gettime 312
#endif /* __VKI_SCNUMS_PPC64_LINUX_H */
Modified: trunk/include/vki/vki-scnums-x86-linux.h
===================================================================
--- trunk/include/vki/vki-scnums-x86-linux.h 2008-04-27 12:52:33 UTC (rev 7941)
+++ trunk/include/vki/vki-scnums-x86-linux.h 2008-04-27 12:56:06 UTC (rev 7942)
@@ -356,9 +356,11 @@
#define __NR_epoll_pwait 319
#define __NR_utimensat 320
#define __NR_signalfd 321
-#define __NR_timerfd 322
+#define __NR_timerfd_create 322
#define __NR_eventfd 323
#define __NR_fallocate 324
+#define __NR_timerfd_settime 325
+#define __NR_timerfd_gettime 326
#endif /* __VKI_SCNUMS_X86_LINUX_H */
|
|
From: <sv...@va...> - 2008-04-27 12:52:28
|
Author: bart Date: 2008-04-27 13:52:33 +0100 (Sun, 27 Apr 2008) New Revision: 7941 Log: Added regression test for timerfd_create(), timerfd_gettime() and timerfd_settime() system calls. Added: trunk/memcheck/tests/linux-timerfd-syscall.c trunk/memcheck/tests/linux-timerfd-syscall.stderr.exp trunk/memcheck/tests/linux-timerfd-syscall.stdout.exp trunk/memcheck/tests/linux-timerfd-syscall.vgtest Modified: trunk/memcheck/tests/Makefile.am Modified: trunk/memcheck/tests/Makefile.am =================================================================== --- trunk/memcheck/tests/Makefile.am 2008-04-27 11:43:23 UTC (rev 7940) +++ trunk/memcheck/tests/Makefile.am 2008-04-27 12:52:33 UTC (rev 7941) @@ -67,6 +67,7 @@ leakotron.vgtest leakotron.stdout.exp leakotron.stderr.exp \ linux-syslog-syscall linux-syslog-syscall.stderr.exp \ linux-syscalls-2007 linux-syscalls-2007.stderr.exp \ + linux-timerfd-syscall linux-timerfd-syscall.stderr.exp \ long_namespace_xml.vgtest long_namespace_xml.stdout.exp \ long_namespace_xml.stderr.exp \ lsframe1.vgtest lsframe1.stdout.exp lsframe1.stderr.exp \ @@ -174,6 +175,7 @@ leak-0 leak-cycle leak-pool leak-tree leak-regroot leakotron \ linux-syslog-syscall \ linux-syscalls-2007 \ + linux-timerfd-syscall \ long_namespace_xml \ lsframe1 lsframe2 \ mallinfo \ @@ -214,6 +216,7 @@ oset_test_CFLAGS = $(AM_FLAG_M3264_PRI) \ -DVGA_$(VG_ARCH)=1 -DVGO_$(VG_OS)=1 \ -DVGP_$(VG_ARCH)_$(VG_OS)=1 +linux_timerfd_syscall_CFLAGS = -lrt vcpu_bz2_CFLAGS = $(AM_FLAG_M3264_PRI) $(AM_CFLAGS) -O2 -g vcpu_fbench_CFLAGS = $(AM_FLAG_M3264_PRI) $(AM_CFLAGS) -O2 -g vcpu_fnfns_CFLAGS = $(AM_FLAG_M3264_PRI) $(AM_CFLAGS) -O2 -g Added: trunk/memcheck/tests/linux-timerfd-syscall.c =================================================================== --- trunk/memcheck/tests/linux-timerfd-syscall.c (rev 0) +++ trunk/memcheck/tests/linux-timerfd-syscall.c 2008-04-27 12:52:33 UTC (rev 7941) @@ -0,0 +1,298 @@ +/** Test Valgrind's interception of the Linux syscalls timerfd_create(), + * timerfd_gettime() and timerfd_settime(). + * + * This is a modified version of + * timerfd-test2 by Davide Libenzi (test app for timerfd) + * Copyright (C) 2007 Davide Libenzi <da...@xm...> + * Modified for inclusion in Valgrind. + * Copyright (C) 2008 Bart Van Assche <bar...@gm...> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * See also http://www.xmailserver.org/timerfd-test2.c + */ + +#if defined(__linux__) + +#define _GNU_SOURCE + +#include "../../config.h" +#include <errno.h> +#include <fcntl.h> +#include <poll.h> +#include <signal.h> +#include <stdio.h> +#include <stdlib.h> +#include <string.h> +#include <time.h> +#include <unistd.h> +#if defined(HAVE_SYS_SIGNAL_H) +#include <sys/signal.h> +#endif +#if defined(HAVE_SYS_SYSCALL_H) +#include <sys/syscall.h> +#endif +#if defined(HAVE_SYS_TIME_H) +#include <sys/time.h> +#endif +#if defined(HAVE_SYS_TYPES_H) +#include <sys/types.h> +#endif + + +/* + * timerfd_* system call numbers introduced in 2.6.23. These constants are + * not yet in the glibc 2.7 headers, that is why they are defined here. + */ +#ifndef __NR_timerfd_create +#if defined(__x86_64__) +#define __NR_timerfd_create 283 +#define __NR_timerfd_settime 286 +#define __NR_timerfd_gettime 287 +#elif defined(__i386__) +#define __NR_timerfd_create 322 +#define __NR_timerfd_settime 325 +#define __NR_timerfd_gettime 326 +#elif defined(__powerpc__) +#define __NR_timerfd_create 306 +#define __NR_timerfd_settime 311 +#define __NR_timerfd_gettime 312 +#else +#error Cannot detect your architecture! +#endif +#endif + + + +/* Definitions from include/linux/timerfd.h */ +#define TFD_TIMER_ABSTIME (1 << 0) + + + +struct tmr_type +{ + int id; + char const *name; +}; + + +#if defined(HAVE_CLOCK_GETTIME) +unsigned long long getustime(int clockid) +{ + struct timespec tp; + + if (clock_gettime((clockid_t) clockid, &tp)) + { + perror("clock_gettime"); + return 0; + } + + return 1000000ULL * tp.tv_sec + tp.tv_nsec / 1000; +} +#else +unsigned long long getustime(int clockid) +{ + fprintf(stderr, "error: clock_gettime\n"); + return 0; +} +#endif + +void set_timespec(struct timespec *tmr, unsigned long long ustime) +{ + tmr->tv_sec = (time_t) (ustime / 1000000ULL); + tmr->tv_nsec = (long) (1000ULL * (ustime % 1000000ULL)); +} + +int timerfd_create(int clockid, int flags) +{ + return syscall(__NR_timerfd_create, clockid, flags); +} + +int timerfd_settime(int ufc, int flags, const struct itimerspec *utmr, + struct itimerspec *otmr) +{ + return syscall(__NR_timerfd_settime, ufc, flags, utmr, otmr); +} + +int timerfd_gettime(int ufc, struct itimerspec *otmr) +{ + return syscall(__NR_timerfd_gettime, ufc, otmr); +} + +long waittmr(int tfd, int timeo) +{ + u_int64_t ticks; + struct pollfd pfd; + + pfd.fd = tfd; + pfd.events = POLLIN; + pfd.revents = 0; + if (poll(&pfd, 1, timeo) < 0) + { + perror("poll"); + return -1; + } + if ((pfd.revents & POLLIN) == 0) + { + fprintf(stdout, "no ticks happened\n"); + return -1; + } + if (read(tfd, &ticks, sizeof(ticks)) != sizeof(ticks)) + { + perror("timerfd read"); + return -1; + } + + return ticks; +} + +int main(int ac, char **av) +{ + int i, tfd; + long ticks; + unsigned long long tnow, ttmr; + u_int64_t uticks; + struct itimerspec tmr; + struct tmr_type clks[] = + { + { CLOCK_MONOTONIC, "CLOCK MONOTONIC" }, + { CLOCK_REALTIME, "CLOCK REALTIME" }, + }; + + for (i = 0; i < sizeof(clks) / sizeof(clks[0]); i++) + { + fprintf(stdout, "\n\n---------------------------------------\n"); + fprintf(stdout, "| testing %s\n", clks[i].name); + fprintf(stdout, "---------------------------------------\n\n"); + + fprintf(stdout, "relative timer test (at 500 ms) ...\n"); + set_timespec(&tmr.it_value, 500 * 1000); + set_timespec(&tmr.it_interval, 0); + tnow = getustime(clks[i].id); + if ((tfd = timerfd_create(clks[i].id, 0)) == -1) + { + perror("timerfd"); + return 1; + } + fprintf(stdout, "timerfd = %d\n", tfd); + + if (timerfd_settime(tfd, 0, &tmr, NULL)) + { + perror("timerfd_settime"); + return 1; + } + + fprintf(stdout, "wating timer ...\n"); + ticks = waittmr(tfd, -1); + ttmr = getustime(clks[i].id); + if (ticks <= 0) + fprintf(stdout, "whooops! no timer showed up!\n"); + else + fprintf(stdout, "got timer ticks (%ld) after %.1f s\n", + ticks, (ttmr - tnow) * 1e-6); + + + fprintf(stdout, "absolute timer test (at 500 ms) ...\n"); + tnow = getustime(clks[i].id); + set_timespec(&tmr.it_value, tnow + 500 * 1000); + set_timespec(&tmr.it_interval, 0); + if (timerfd_settime(tfd, TFD_TIMER_ABSTIME, &tmr, NULL)) + { + perror("timerfd_settime"); + return 1; + } + + fprintf(stdout, "wating timer ...\n"); + ticks = waittmr(tfd, -1); + ttmr = getustime(clks[i].id); + if (ticks <= 0) + fprintf(stdout, "whooops! no timer showed up!\n"); + else + fprintf(stdout, "got timer ticks (%ld) after %.1f s\n", + ticks, (ttmr - tnow) * 1e-6); + + fprintf(stdout, "sequential timer test (100 ms clock) ...\n"); + tnow = getustime(clks[i].id); + set_timespec(&tmr.it_value, tnow + 100 * 1000); + set_timespec(&tmr.it_interval, 100 * 1000); + if (timerfd_settime(tfd, TFD_TIMER_ABSTIME, &tmr, NULL)) + { + perror("timerfd_settime"); + return 1; + } + + fprintf(stdout, "sleeping one second ...\n"); + sleep(1); + if (timerfd_gettime(tfd, &tmr)) + { + perror("timerfd_gettime"); + return 1; + } + fprintf(stdout, "timerfd_gettime returned:\n" + "\tit_value = %.1f it_interval = %.1f\n", + tmr.it_value.tv_sec + 1e-9 * tmr.it_value.tv_nsec, + tmr.it_interval.tv_sec + 1e-9 * tmr.it_interval.tv_nsec); + fprintf(stdout, "sleeping 1 second ...\n"); + sleep(1); + + fprintf(stdout, "wating timer ...\n"); + ticks = waittmr(tfd, -1); + ttmr = getustime(clks[i].id); + if (ticks <= 0) + fprintf(stdout, "whooops! no timer showed up!\n"); + else + fprintf(stdout, "got timer ticks (%ld) after %.1f s\n", + ticks, (ttmr - tnow) * 1e-6); + + + fprintf(stdout, "O_NONBLOCK test ...\n"); + tnow = getustime(clks[i].id); + set_timespec(&tmr.it_value, 100 * 1000); + set_timespec(&tmr.it_interval, 0); + if (timerfd_settime(tfd, 0, &tmr, NULL)) + { + perror("timerfd_settime"); + return 1; + } + fprintf(stdout, "timerfd = %d\n", tfd); + + fprintf(stdout, "wating timer (flush the single tick) ...\n"); + ticks = waittmr(tfd, -1); + ttmr = getustime(clks[i].id); + if (ticks <= 0) + fprintf(stdout, "whooops! no timer showed up!\n"); + else + fprintf(stdout, "got timer ticks (%ld) after %.1f s\n", + ticks, (ttmr - tnow) * 1e-6); + + fcntl(tfd, F_SETFL, fcntl(tfd, F_GETFL, 0) | O_NONBLOCK); + + if (read(tfd, &uticks, sizeof(uticks)) > 0) + fprintf(stdout, "whooops! timer ticks not zero when should have been\n"); + else if (errno != EAGAIN) + fprintf(stdout, "whooops! bad errno value (%d = '%s')!\n", + errno, strerror(errno)); + else + fprintf(stdout, "success\n"); + + fcntl(tfd, F_SETFL, fcntl(tfd, F_GETFL, 0) & ~O_NONBLOCK); + + close(tfd); + } + + return 0; +} + +#endif /* __linux__ */ Added: trunk/memcheck/tests/linux-timerfd-syscall.stderr.exp =================================================================== --- trunk/memcheck/tests/linux-timerfd-syscall.stderr.exp (rev 0) +++ trunk/memcheck/tests/linux-timerfd-syscall.stderr.exp 2008-04-27 12:52:33 UTC (rev 7941) @@ -0,0 +1,7 @@ + + +ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) +malloc/free: in use at exit: 0 bytes in 0 blocks. +malloc/free: 0 allocs, 0 frees, 0 bytes allocated. +For a detailed leak analysis, rerun with: --leak-check=yes +For counts of detected errors, rerun with: -v Added: trunk/memcheck/tests/linux-timerfd-syscall.stdout.exp =================================================================== --- trunk/memcheck/tests/linux-timerfd-syscall.stdout.exp (rev 0) +++ trunk/memcheck/tests/linux-timerfd-syscall.stdout.exp 2008-04-27 12:52:33 UTC (rev 7941) @@ -0,0 +1,50 @@ + + +--------------------------------------- +| testing CLOCK MONOTONIC +--------------------------------------- + +relative timer test (at 500 ms) ... +timerfd = 3 +wating timer ... +got timer ticks (1) after 0.5 s +absolute timer test (at 500 ms) ... +wating timer ... +got timer ticks (1) after 0.5 s +sequential timer test (100 ms clock) ... +sleeping one second ... +timerfd_gettime returned: + it_value = 0.1 it_interval = 0.1 +sleeping 1 second ... +wating timer ... +got timer ticks (20) after 2.0 s +O_NONBLOCK test ... +timerfd = 3 +wating timer (flush the single tick) ... +got timer ticks (1) after 0.1 s +success + + +--------------------------------------- +| testing CLOCK REALTIME +--------------------------------------- + +relative timer test (at 500 ms) ... +timerfd = 3 +wating timer ... +got timer ticks (1) after 0.5 s +absolute timer test (at 500 ms) ... +wating timer ... +got timer ticks (1) after 0.5 s +sequential timer test (100 ms clock) ... +sleeping one second ... +timerfd_gettime returned: + it_value = 0.1 it_interval = 0.1 +sleeping 1 second ... +wating timer ... +got timer ticks (20) after 2.0 s +O_NONBLOCK test ... +timerfd = 3 +wating timer (flush the single tick) ... +got timer ticks (1) after 0.1 s +success Added: trunk/memcheck/tests/linux-timerfd-syscall.vgtest =================================================================== --- trunk/memcheck/tests/linux-timerfd-syscall.vgtest (rev 0) +++ trunk/memcheck/tests/linux-timerfd-syscall.vgtest 2008-04-27 12:52:33 UTC (rev 7941) @@ -0,0 +1,2 @@ +prereq: [ "$(uname)" = "Linux" ] && awk 'END{exit("'$(uname -r)'" >= "2.6.23" ? 0 : 1)}' </dev/null +prog: linux-timerfd-syscall |
|
From: <sv...@va...> - 2008-04-27 11:43:19
|
Author: bart
Date: 2008-04-27 12:43:23 +0100 (Sun, 27 Apr 2008)
New Revision: 7940
Log:
Added more configure tests.
Modified:
trunk/configure.in
Modified: trunk/configure.in
===================================================================
--- trunk/configure.in 2008-04-27 07:42:52 UTC (rev 7939)
+++ trunk/configure.in 2008-04-27 11:43:23 UTC (rev 7940)
@@ -986,7 +986,11 @@
sys/eventfd.h \
sys/klog.h \
sys/poll.h \
+ sys/signal.h \
sys/signalfd.h \
+ sys/syscall.h \
+ sys/time.h \
+ sys/types.h \
])
@@ -1002,7 +1006,10 @@
AC_FUNC_MMAP
AC_TYPE_SIGNAL
+AC_CHECK_LIB([rt], [clock_gettime])
+
AC_CHECK_FUNCS([ \
+ clock_gettime\
epoll_create \
epoll_pwait \
floor \
@@ -1014,6 +1021,7 @@
ppoll \
semtimedop \
signalfd \
+ syscall \
strchr \
strdup \
strpbrk \
|
|
From: <sv...@va...> - 2008-04-27 07:42:49
|
Author: bart Date: 2008-04-27 08:42:52 +0100 (Sun, 27 Apr 2008) New Revision: 7939 Log: Added interpreter name. Modified: trunk/vg-in-place Modified: trunk/vg-in-place =================================================================== --- trunk/vg-in-place 2008-04-27 07:11:45 UTC (rev 7938) +++ trunk/vg-in-place 2008-04-27 07:42:52 UTC (rev 7939) @@ -1,3 +1,5 @@ +#!/bin/sh + # This ensures it works when invoked from any directory. d=`dirname $0` |
|
From: <sv...@va...> - 2008-04-27 07:11:40
|
Author: bart Date: 2008-04-27 08:11:45 +0100 (Sun, 27 Apr 2008) New Revision: 7938 Log: Added yet another output variant. Added: trunk/none/tests/mremap.stderr.exp-glibc27 Added: trunk/none/tests/mremap.stderr.exp-glibc27 =================================================================== --- trunk/none/tests/mremap.stderr.exp-glibc27 (rev 0) +++ trunk/none/tests/mremap.stderr.exp-glibc27 2008-04-27 07:11:45 UTC (rev 7938) @@ -0,0 +1,6 @@ + +mremap(grow, fixed): Cannot allocate memory +grow, nomove: p=0x........ np=0x........: shrink moved?! +grow, maymove: p=0x........ np=0x........: shrink moved?! +mremap(grow, nomove, constrained): Cannot allocate memory + |
|
From: <sv...@va...> - 2008-04-27 07:07:14
|
Author: bart Date: 2008-04-27 08:07:20 +0100 (Sun, 27 Apr 2008) New Revision: 7937 Log: Added yet another output variant. Added: trunk/none/tests/shell_zerolength.stderr.exp-dash Added: trunk/none/tests/shell_zerolength.stderr.exp-dash =================================================================== --- trunk/none/tests/shell_zerolength.stderr.exp-dash (rev 0) +++ trunk/none/tests/shell_zerolength.stderr.exp-dash 2008-04-27 07:07:20 UTC (rev 7937) @@ -0,0 +1 @@ +Bus error |
|
From: <sv...@va...> - 2008-04-27 07:06:11
|
Author: bart Date: 2008-04-27 08:06:14 +0100 (Sun, 27 Apr 2008) New Revision: 7936 Log: Added yet another output variant. Added: trunk/none/tests/shell.stderr.exp-dash Added: trunk/none/tests/shell.stderr.exp-dash =================================================================== --- trunk/none/tests/shell.stderr.exp-dash (rev 0) +++ trunk/none/tests/shell.stderr.exp-dash 2008-04-27 07:06:14 UTC (rev 7936) @@ -0,0 +1,13 @@ + +./shell: 10: ./x86/: Permission denied + +./shell: 13: ./shell.vgtest: Permission denied + +execve(0x........(./shell_badinterp), 0x........, 0x........) failed, errno 2 +EXEC FAILED: I can't recover from execve() failing, so I'm dying. +Add more stringent tests in PRE(sys_execve), or work out how to recover. +./shell_binaryfile: 4: Syntax error: ")" unexpected +./shell: 22: ./shell_nosuchfile: not found + +./shell: 25: shell_nosuchfile: not found + |
|
From: <sv...@va...> - 2008-04-27 07:00:45
|
Author: bart Date: 2008-04-27 08:00:50 +0100 (Sun, 27 Apr 2008) New Revision: 7935 Log: Added yet another output variant. Added: trunk/memcheck/tests/zeropage.stdout.exp-glibc27 Added: trunk/memcheck/tests/zeropage.stdout.exp-glibc27 =================================================================== |
|
From: <sv...@va...> - 2008-04-27 06:47:38
|
Author: bart
Date: 2008-04-27 07:47:44 +0100 (Sun, 27 Apr 2008)
New Revision: 7934
Log:
Filtered malloc/free statistics out from more output variant files.
Modified:
trunk/memcheck/tests/addressable.stderr.exp2
trunk/memcheck/tests/badjump.stderr.exp2
trunk/memcheck/tests/leak-pool-0.stderr.exp64
trunk/memcheck/tests/leak-pool-1.stderr.exp64
trunk/memcheck/tests/leak-pool-2.stderr.exp64
trunk/memcheck/tests/leak-pool-3.stderr.exp64
trunk/memcheck/tests/leak-pool-4.stderr.exp64
trunk/memcheck/tests/leak-pool-5.stderr.exp64
trunk/memcheck/tests/partiallydefinedeq.stderr.exp2
trunk/memcheck/tests/sigkill.stderr.exp2
trunk/memcheck/tests/sigkill.stderr.exp3
Modified: trunk/memcheck/tests/addressable.stderr.exp2
===================================================================
--- trunk/memcheck/tests/addressable.stderr.exp2 2008-04-27 06:27:50 UTC (rev 7933)
+++ trunk/memcheck/tests/addressable.stderr.exp2 2008-04-27 06:47:44 UTC (rev 7934)
@@ -1,8 +1,8 @@
ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
-malloc/free: in use at exit: 0 bytes in 0 blocks.
-malloc/free: 1 allocs, 1 frees, 24 bytes allocated.
+malloc/free: in use at exit: ... bytes in ... blocks.
+malloc/free: ... allocs, ... frees, ... bytes allocated.
For a detailed leak analysis, rerun with: --leak-check=yes
For counts of detected errors, rerun with: -v
Unaddressable byte(s) found during client check request
@@ -21,14 +21,14 @@
by 0x........: main (addressable.c:125)
ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
-malloc/free: in use at exit: 24 bytes in 1 blocks.
-malloc/free: 1 allocs, 0 frees, 24 bytes allocated.
+malloc/free: in use at exit: ... bytes in ... blocks.
+malloc/free: ... allocs, ... frees, ... bytes allocated.
For a detailed leak analysis, rerun with: --leak-check=yes
For counts of detected errors, rerun with: -v
ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
-malloc/free: in use at exit: 0 bytes in 0 blocks.
-malloc/free: 1 allocs, 1 frees, 24 bytes allocated.
+malloc/free: in use at exit: ... bytes in ... blocks.
+malloc/free: ... allocs, ... frees, ... bytes allocated.
For a detailed leak analysis, rerun with: --leak-check=yes
For counts of detected errors, rerun with: -v
@@ -38,8 +38,8 @@
by 0x........: main (addressable.c:125)
ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
-malloc/free: in use at exit: 24 bytes in 1 blocks.
-malloc/free: 1 allocs, 0 frees, 24 bytes allocated.
+malloc/free: in use at exit: ... bytes in ... blocks.
+malloc/free: ... allocs, ... frees, ... bytes allocated.
For a detailed leak analysis, rerun with: --leak-check=yes
For counts of detected errors, rerun with: -v
Uninitialised byte(s) found during client check request
@@ -57,13 +57,13 @@
by 0x........: main (addressable.c:125)
ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
-malloc/free: in use at exit: 0 bytes in 0 blocks.
-malloc/free: 1 allocs, 1 frees, 24 bytes allocated.
+malloc/free: in use at exit: ... bytes in ... blocks.
+malloc/free: ... allocs, ... frees, ... bytes allocated.
For a detailed leak analysis, rerun with: --leak-check=yes
For counts of detected errors, rerun with: -v
ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
-malloc/free: in use at exit: 0 bytes in 0 blocks.
-malloc/free: 1 allocs, 1 frees, 24 bytes allocated.
+malloc/free: in use at exit: ... bytes in ... blocks.
+malloc/free: ... allocs, ... frees, ... bytes allocated.
For a detailed leak analysis, rerun with: --leak-check=yes
For counts of detected errors, rerun with: -v
Modified: trunk/memcheck/tests/badjump.stderr.exp2
===================================================================
--- trunk/memcheck/tests/badjump.stderr.exp2 2008-04-27 06:27:50 UTC (rev 7933)
+++ trunk/memcheck/tests/badjump.stderr.exp2 2008-04-27 06:47:44 UTC (rev 7934)
@@ -10,7 +10,7 @@
by 0x........: __libc_start_main (in /...libc...)
ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
-malloc/free: in use at exit: 24 bytes in 1 blocks.
-malloc/free: 1 allocs, 0 frees, 24 bytes allocated.
+malloc/free: in use at exit: ... bytes in ... blocks.
+malloc/free: ... allocs, ... frees, ... bytes allocated.
For a detailed leak analysis, rerun with: --leak-check=yes
For counts of detected errors, rerun with: -v
Modified: trunk/memcheck/tests/leak-pool-0.stderr.exp64
===================================================================
--- trunk/memcheck/tests/leak-pool-0.stderr.exp64 2008-04-27 06:27:50 UTC (rev 7933)
+++ trunk/memcheck/tests/leak-pool-0.stderr.exp64 2008-04-27 06:47:44 UTC (rev 7934)
@@ -1,7 +1,7 @@
ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
-malloc/free: in use at exit: 4,120 bytes in 2 blocks.
-malloc/free: 102 allocs, 0 frees, 5,720 bytes allocated.
+malloc/free: in use at exit: ... bytes in ... blocks.
+malloc/free: ... allocs, ... frees, ... bytes allocated.
For a detailed leak analysis, rerun with: --leak-check=yes
For counts of detected errors, rerun with: -v
Modified: trunk/memcheck/tests/leak-pool-1.stderr.exp64
===================================================================
--- trunk/memcheck/tests/leak-pool-1.stderr.exp64 2008-04-27 06:27:50 UTC (rev 7933)
+++ trunk/memcheck/tests/leak-pool-1.stderr.exp64 2008-04-27 06:47:44 UTC (rev 7934)
@@ -1,7 +1,7 @@
ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
-malloc/free: in use at exit: 4,120 bytes in 2 blocks.
-malloc/free: 102 allocs, 0 frees, 5,720 bytes allocated.
+malloc/free: in use at exit: ... bytes in ... blocks.
+malloc/free: ... allocs, ... frees, ... bytes allocated.
For a detailed leak analysis, rerun with: --leak-check=yes
For counts of detected errors, rerun with: -v
Modified: trunk/memcheck/tests/leak-pool-2.stderr.exp64
===================================================================
--- trunk/memcheck/tests/leak-pool-2.stderr.exp64 2008-04-27 06:27:50 UTC (rev 7933)
+++ trunk/memcheck/tests/leak-pool-2.stderr.exp64 2008-04-27 06:47:44 UTC (rev 7934)
@@ -1,7 +1,7 @@
ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
-malloc/free: in use at exit: 4,120 bytes in 2 blocks.
-malloc/free: 102 allocs, 0 frees, 5,720 bytes allocated.
+malloc/free: in use at exit: ... bytes in ... blocks.
+malloc/free: ... allocs, ... frees, ... bytes allocated.
For a detailed leak analysis, rerun with: --leak-check=yes
For counts of detected errors, rerun with: -v
Modified: trunk/memcheck/tests/leak-pool-3.stderr.exp64
===================================================================
--- trunk/memcheck/tests/leak-pool-3.stderr.exp64 2008-04-27 06:27:50 UTC (rev 7933)
+++ trunk/memcheck/tests/leak-pool-3.stderr.exp64 2008-04-27 06:47:44 UTC (rev 7934)
@@ -1,7 +1,7 @@
ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
-malloc/free: in use at exit: 4,120 bytes in 2 blocks.
-malloc/free: 102 allocs, 0 frees, 5,720 bytes allocated.
+malloc/free: in use at exit: ... bytes in ... blocks.
+malloc/free: ... allocs, ... frees, ... bytes allocated.
For a detailed leak analysis, rerun with: --leak-check=yes
For counts of detected errors, rerun with: -v
Modified: trunk/memcheck/tests/leak-pool-4.stderr.exp64
===================================================================
--- trunk/memcheck/tests/leak-pool-4.stderr.exp64 2008-04-27 06:27:50 UTC (rev 7933)
+++ trunk/memcheck/tests/leak-pool-4.stderr.exp64 2008-04-27 06:47:44 UTC (rev 7934)
@@ -1,7 +1,7 @@
ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
-malloc/free: in use at exit: 4,120 bytes in 2 blocks.
-malloc/free: 102 allocs, 0 frees, 5,720 bytes allocated.
+malloc/free: in use at exit: ... bytes in ... blocks.
+malloc/free: ... allocs, ... frees, ... bytes allocated.
For a detailed leak analysis, rerun with: --leak-check=yes
For counts of detected errors, rerun with: -v
Modified: trunk/memcheck/tests/leak-pool-5.stderr.exp64
===================================================================
--- trunk/memcheck/tests/leak-pool-5.stderr.exp64 2008-04-27 06:27:50 UTC (rev 7933)
+++ trunk/memcheck/tests/leak-pool-5.stderr.exp64 2008-04-27 06:47:44 UTC (rev 7934)
@@ -1,7 +1,7 @@
ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
-malloc/free: in use at exit: 4,120 bytes in 2 blocks.
-malloc/free: 102 allocs, 0 frees, 5,720 bytes allocated.
+malloc/free: in use at exit: ... bytes in ... blocks.
+malloc/free: ... allocs, ... frees, ... bytes allocated.
For a detailed leak analysis, rerun with: --leak-check=yes
For counts of detected errors, rerun with: -v
Modified: trunk/memcheck/tests/partiallydefinedeq.stderr.exp2
===================================================================
--- trunk/memcheck/tests/partiallydefinedeq.stderr.exp2 2008-04-27 06:27:50 UTC (rev 7933)
+++ trunk/memcheck/tests/partiallydefinedeq.stderr.exp2 2008-04-27 06:47:44 UTC (rev 7934)
@@ -13,7 +13,7 @@
by 0x........: main (partiallydefinedeq.c:52)
ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
-malloc/free: in use at exit: 8 bytes in 2 blocks.
-malloc/free: 2 allocs, 0 frees, 8 bytes allocated.
+malloc/free: in use at exit: ... bytes in ... blocks.
+malloc/free: ... allocs, ... frees, ... bytes allocated.
For a detailed leak analysis, rerun with: --leak-check=yes
For counts of detected errors, rerun with: -v
Modified: trunk/memcheck/tests/sigkill.stderr.exp2
===================================================================
--- trunk/memcheck/tests/sigkill.stderr.exp2 2008-04-27 06:27:50 UTC (rev 7933)
+++ trunk/memcheck/tests/sigkill.stderr.exp2 2008-04-27 06:47:44 UTC (rev 7934)
@@ -196,7 +196,7 @@
ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
-malloc/free: in use at exit: 0 bytes in 0 blocks.
-malloc/free: 0 allocs, 0 frees, 0 bytes allocated.
+malloc/free: in use at exit: ... bytes in ... blocks.
+malloc/free: ... allocs, ... frees, ... bytes allocated.
For a detailed leak analysis, rerun with: --leak-check=yes
For counts of detected errors, rerun with: -v
Modified: trunk/memcheck/tests/sigkill.stderr.exp3
===================================================================
--- trunk/memcheck/tests/sigkill.stderr.exp3 2008-04-27 06:27:50 UTC (rev 7933)
+++ trunk/memcheck/tests/sigkill.stderr.exp3 2008-04-27 06:47:44 UTC (rev 7934)
@@ -196,7 +196,7 @@
ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
-malloc/free: in use at exit: 0 bytes in 0 blocks.
-malloc/free: 0 allocs, 0 frees, 0 bytes allocated.
+malloc/free: in use at exit: ... bytes in ... blocks.
+malloc/free: ... allocs, ... frees, ... bytes allocated.
For a detailed leak analysis, rerun with: --leak-check=yes
For counts of detected errors, rerun with: -v
|
|
From: <sv...@va...> - 2008-04-27 06:27:44
|
Author: bart Date: 2008-04-27 07:27:50 +0100 (Sun, 27 Apr 2008) New Revision: 7933 Log: Added yet another malloc_free_fill output variant. Added: trunk/memcheck/tests/malloc_free_fill.stderr.exp-glibc27-amd64 Added: trunk/memcheck/tests/malloc_free_fill.stderr.exp-glibc27-amd64 =================================================================== --- trunk/memcheck/tests/malloc_free_fill.stderr.exp-glibc27-amd64 (rev 0) +++ trunk/memcheck/tests/malloc_free_fill.stderr.exp-glibc27-amd64 2008-04-27 06:27:50 UTC (rev 7933) @@ -0,0 +1,57 @@ + +test simple malloc/free: +Use of uninitialised value of size 8 + at 0x........: (within /...libc...) + by 0x........: ... + by 0x........: ... + by 0x........: ... + by 0x........: ... + by 0x........: main (malloc_free_fill.c:17) + +Conditional jump or move depends on uninitialised value(s) + at 0x........: (within /...libc...) + by 0x........: ... + by 0x........: ... + by 0x........: ... + by 0x........: ... + by 0x........: main (malloc_free_fill.c:17) + +Conditional jump or move depends on uninitialised value(s) + at 0x........: vfprintf (in /...libc...) + by 0x........: ... + by 0x........: ... + by 0x........: ... + by 0x........: main (malloc_free_fill.c:17) +(should be malloc-filled) a[4] = 55555555 + +Invalid read of size 4 + at 0x........: main (malloc_free_fill.c:20) + Address 0x........ is 20 bytes inside a block of size 40 free'd + at 0x........: free (vg_replace_malloc.c:...) + by 0x........: main (malloc_free_fill.c:19) +(should be free-filled) a[5] = 77777777 +test realloc-larger: +(should be malloc-filled) r[25] = 55555555 + +Invalid read of size 4 + at 0x........: main (malloc_free_fill.c:33) + Address 0x........ is 104 bytes inside a block of size 120 free'd + at 0x........: realloc (vg_replace_malloc.c:...) + by 0x........: main (malloc_free_fill.c:31) +(should be free-filled) oldr[26] = 77777777 +(should be malloc-filled) r[35] = 55555555 +test realloc-smaller: +(should be malloc-filled) r[25] = 55555555 + +Invalid read of size 4 + at 0x........: main (malloc_free_fill.c:49) + Address 0x........ is not stack'd, malloc'd or (recently) free'd +(should be free-filled) oldr[26] = 77777777 +test calloc: +(should be zero) a[42] = 0 + +ERROR SUMMARY: 67 errors from 6 contexts (suppressed: 0 from 0) +malloc/free: in use at exit: 0 bytes in 0 blocks. +malloc/free: 6 allocs, 6 frees, 920 bytes allocated. +For a detailed leak analysis, rerun with: --leak-check=yes +For counts of detected errors, rerun with: -v |
|
From: <sv...@va...> - 2008-04-27 06:21:31
|
Author: bart
Date: 2008-04-27 07:21:37 +0100 (Sun, 27 Apr 2008)
New Revision: 7932
Log:
Removed malloc/free statistics from alternate output files.
Modified:
trunk/memcheck/tests/partial_load_dflt.stderr.exp64
trunk/memcheck/tests/partial_load_ok.stderr.exp64
Modified: trunk/memcheck/tests/partial_load_dflt.stderr.exp64
===================================================================
--- trunk/memcheck/tests/partial_load_dflt.stderr.exp64 2008-04-27 06:14:06 UTC (rev 7931)
+++ trunk/memcheck/tests/partial_load_dflt.stderr.exp64 2008-04-27 06:21:37 UTC (rev 7932)
@@ -24,7 +24,7 @@
by 0x........: main (partial_load.c:36)
ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 0 from 0)
-malloc/free: in use at exit: 0 bytes in 0 blocks.
-malloc/free: 4 allocs, 4 frees, 24 bytes allocated.
+malloc/free: in use at exit: ... bytes in ... blocks.
+malloc/free: ... allocs, ... frees, ... bytes allocated.
For a detailed leak analysis, rerun with: --leak-check=yes
For counts of detected errors, rerun with: -v
Modified: trunk/memcheck/tests/partial_load_ok.stderr.exp64
===================================================================
--- trunk/memcheck/tests/partial_load_ok.stderr.exp64 2008-04-27 06:14:06 UTC (rev 7931)
+++ trunk/memcheck/tests/partial_load_ok.stderr.exp64 2008-04-27 06:21:37 UTC (rev 7932)
@@ -18,7 +18,7 @@
by 0x........: main (partial_load.c:36)
ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
-malloc/free: in use at exit: 0 bytes in 0 blocks.
-malloc/free: 4 allocs, 4 frees, 24 bytes allocated.
+malloc/free: in use at exit: ... bytes in ... blocks.
+malloc/free: ... allocs, ... frees, ... bytes allocated.
For a detailed leak analysis, rerun with: --leak-check=yes
For counts of detected errors, rerun with: -v
|
|
From: <sv...@va...> - 2008-04-27 06:14:00
|
Author: bart
Date: 2008-04-27 07:14:06 +0100 (Sun, 27 Apr 2008)
New Revision: 7931
Log:
The sigkill regression test no longer attempts to set signal handlers for the signal numbers 32 and 33.
Modified:
trunk/memcheck/tests/sigkill.c
trunk/memcheck/tests/sigkill.stderr.exp
Modified: trunk/memcheck/tests/sigkill.c
===================================================================
--- trunk/memcheck/tests/sigkill.c 2008-04-27 06:06:57 UTC (rev 7930)
+++ trunk/memcheck/tests/sigkill.c 2008-04-27 06:14:06 UTC (rev 7931)
@@ -19,10 +19,13 @@
int i;
int rc;
for (i = 1; i <= 65; i++) {
+ // Skip signals 32 and 33, since these are used by LinuxThreads. Some
+ // glibc versions do not invoke the sigaction system call for these
+ // signals.
// skip signals 63 and 64: some systems say "warning, ignored attempt
// to catch 32 because it's used internally by Valgrind", others say
// "invalid argument".
- if (i == 63 || i == 64) {
+ if (i == 32 || i == 33 || i == 63 || i == 64) {
continue;
} // different systems
sa.sa_flags = 0;
Modified: trunk/memcheck/tests/sigkill.stderr.exp
===================================================================
--- trunk/memcheck/tests/sigkill.stderr.exp 2008-04-27 06:06:57 UTC (rev 7930)
+++ trunk/memcheck/tests/sigkill.stderr.exp 2008-04-27 06:14:06 UTC (rev 7931)
@@ -96,12 +96,6 @@
setting signal 31: Success
getting signal 31: Success
-setting signal 32: Success
-getting signal 32: Success
-
-setting signal 33: Success
-getting signal 33: Success
-
setting signal 34: Success
getting signal 34: Success
|
|
From: <sv...@va...> - 2008-04-27 06:06:55
|
Author: bart
Date: 2008-04-27 07:06:57 +0100 (Sun, 27 Apr 2008)
New Revision: 7930
Log:
Replaced tests for eventfd() and eventfd_read().
Modified:
trunk/configure.in
Modified: trunk/configure.in
===================================================================
--- trunk/configure.in 2008-04-26 18:57:18 UTC (rev 7929)
+++ trunk/configure.in 2008-04-27 06:06:57 UTC (rev 7930)
@@ -633,6 +633,31 @@
AM_CONDITIONAL([HAVE_OPENMP], [test x$ac_have_openmp = xyes])
+# Check for eventfd_t, eventfd() and eventfd_read()
+AC_MSG_CHECKING([for eventfd()])
+
+AC_TRY_LINK(
+[
+#include <sys/eventfd.h>
+], [
+ eventfd_t ev;
+ int fd;
+
+ fd = eventfd(5, 0);
+ eventfd_read(fd, &ev);
+ return 0;
+],
+[
+AC_MSG_RESULT([yes])
+AC_DEFINE([HAVE_EVENTFD], 1,
+ [Define to 1 if you have the `eventfd' function.])
+AC_DEFINE([HAVE_EVENTFD_READ], 1,
+ [Define to 1 if you have the `eventfd_read' function.])
+], [
+AC_MSG_RESULT([no])
+])
+
+
# does this compiler support -m32 ?
AC_MSG_CHECKING([if gcc accepts -m32])
@@ -980,8 +1005,6 @@
AC_CHECK_FUNCS([ \
epoll_create \
epoll_pwait \
- eventfd \
- eventfd_read \
floor \
klogctl \
mallinfo \
|
|
From: Tom H. <th...@cy...> - 2008-04-27 03:08:43
|
Nightly build on alvis ( i686, Red Hat 7.3 ) started at 2008-04-27 03:15:07 BST Results differ from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 333 tests, 57 stderr failures, 1 stdout failure, 29 post failures == memcheck/tests/leak-0 (stderr) memcheck/tests/leak-cycle (stderr) memcheck/tests/leak-regroot (stderr) memcheck/tests/leak-tree (stderr) memcheck/tests/long_namespace_xml (stderr) memcheck/tests/malloc_free_fill (stderr) memcheck/tests/pointer-trace (stderr) memcheck/tests/stack_changes (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/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-names (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) none/tests/shell (stderr) none/tests/shell_valid1 (stderr) none/tests/shell_valid2 (stderr) none/tests/shell_valid3 (stderr) helgrind/tests/hg01_all_ok (stderr) helgrind/tests/hg02_deadlock (stderr) helgrind/tests/hg03_inherit (stderr) helgrind/tests/hg04_race (stderr) helgrind/tests/hg05_race2 (stderr) helgrind/tests/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) ================================================= == 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 == 331 tests, 76 stderr failures, 1 stdout failure, 29 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/mallinfo (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/varinfo1 (stderr) memcheck/tests/varinfo2 (stderr) memcheck/tests/varinfo3 (stderr) memcheck/tests/varinfo4 (stderr) memcheck/tests/varinfo5 (stderr) memcheck/tests/varinfo6 (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-names (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) none/tests/shell (stderr) none/tests/shell_valid1 (stderr) none/tests/shell_valid2 (stderr) none/tests/shell_valid3 (stderr) helgrind/tests/hg01_all_ok (stderr) helgrind/tests/hg02_deadlock (stderr) helgrind/tests/hg03_inherit (stderr) helgrind/tests/hg04_race (stderr) helgrind/tests/hg05_race2 (stderr) helgrind/tests/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) ================================================= == Difference between 24 hours ago and now == ================================================= *** old.short Sun Apr 27 04:38:39 2008 --- new.short Sun Apr 27 05:21:13 2008 *************** *** 8,22 **** ! == 331 tests, 76 stderr failures, 1 stdout failure, 29 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) --- 8,12 ---- ! == 333 tests, 57 stderr failures, 1 stdout failure, 29 post failures == memcheck/tests/leak-0 (stderr) memcheck/tests/leak-cycle (stderr) memcheck/tests/leak-regroot (stderr) *************** *** 24,36 **** memcheck/tests/long_namespace_xml (stderr) - memcheck/tests/lsframe1 (stderr) - memcheck/tests/lsframe2 (stderr) - memcheck/tests/mallinfo (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) --- 14,17 ---- |
|
From: Tom H. <th...@cy...> - 2008-04-27 03:05:34
|
Nightly build on alvis ( i686, Red Hat 7.3 ) started at 2008-04-27 03:15:02 BST Results differ from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 329 tests, 57 stderr failures, 2 stdout failures, 29 post failures == memcheck/tests/leak-0 (stderr) memcheck/tests/leak-cycle (stderr) memcheck/tests/leak-regroot (stderr) memcheck/tests/leak-tree (stderr) memcheck/tests/long_namespace_xml (stderr) memcheck/tests/malloc_free_fill (stderr) memcheck/tests/pointer-trace (stderr) memcheck/tests/stack_changes (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/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-names (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) none/tests/shell (stderr) none/tests/shell_valid1 (stderr) none/tests/shell_valid2 (stderr) none/tests/shell_valid3 (stderr) helgrind/tests/hg01_all_ok (stderr) helgrind/tests/hg02_deadlock (stderr) helgrind/tests/hg03_inherit (stderr) helgrind/tests/hg04_race (stderr) helgrind/tests/hg05_race2 (stderr) helgrind/tests/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 (stdout) 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) ================================================= == 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 == 327 tests, 76 stderr failures, 2 stdout failures, 29 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/mallinfo (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/varinfo1 (stderr) memcheck/tests/varinfo2 (stderr) memcheck/tests/varinfo3 (stderr) memcheck/tests/varinfo4 (stderr) memcheck/tests/varinfo5 (stderr) memcheck/tests/varinfo6 (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-names (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) none/tests/shell (stderr) none/tests/shell_valid1 (stderr) none/tests/shell_valid2 (stderr) none/tests/shell_valid3 (stderr) helgrind/tests/hg01_all_ok (stderr) helgrind/tests/hg02_deadlock (stderr) helgrind/tests/hg03_inherit (stderr) helgrind/tests/hg04_race (stderr) helgrind/tests/hg05_race2 (stderr) helgrind/tests/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 (stdout) 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) ================================================= == Difference between 24 hours ago and now == ================================================= *** old.short Sun Apr 27 03:40:11 2008 --- new.short Sun Apr 27 04:05:32 2008 *************** *** 8,22 **** ! == 327 tests, 76 stderr failures, 2 stdout failures, 29 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) --- 8,12 ---- ! == 329 tests, 57 stderr failures, 2 stdout failures, 29 post failures == memcheck/tests/leak-0 (stderr) memcheck/tests/leak-cycle (stderr) memcheck/tests/leak-regroot (stderr) *************** *** 24,36 **** memcheck/tests/long_namespace_xml (stderr) - memcheck/tests/lsframe1 (stderr) - memcheck/tests/lsframe2 (stderr) - memcheck/tests/mallinfo (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) --- 14,17 ---- |