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
(5) |
2
|
3
|
|
4
(2) |
5
|
6
|
7
(2) |
8
(2) |
9
(6) |
10
(1) |
|
11
(2) |
12
|
13
(3) |
14
|
15
(3) |
16
(1) |
17
|
|
18
(6) |
19
|
20
|
21
(2) |
22
|
23
|
24
|
|
25
|
26
|
27
|
28
(1) |
29
(2) |
30
|
31
|
|
From: Rhys K. <rhy...@so...> - 2018-03-29 01:32:53
|
https://sourceware.org/git/gitweb.cgi?p=valgrind.git;h=3b862b1cbb48e657e946dc839ff3d001c1b3c4b6 commit 3b862b1cbb48e657e946dc839ff3d001c1b3c4b6 Author: Rhys Kidd <rhy...@gm...> Date: Wed Mar 28 20:52:52 2018 -0400 helgrind: properly condition test for bug322621 upon pthread_barrier support Fixes: 9cf3d01 ("Add the helgrind/tests/bug322621 regression test") Diff: --- helgrind/tests/Makefile.am | 1 - 1 file changed, 1 deletion(-) diff --git a/helgrind/tests/Makefile.am b/helgrind/tests/Makefile.am index f86cbde..ad1af19 100644 --- a/helgrind/tests/Makefile.am +++ b/helgrind/tests/Makefile.am @@ -127,7 +127,6 @@ noinst_HEADERS = safe-pthread.h safe-semaphore.h # should be conditionally compiled like tc20_verifywrap is. check_PROGRAMS = \ annotate_hbefore \ - bug322621 \ cond_init_destroy \ cond_timedwait_invalid \ cond_timedwait_test \ |
|
From: Rhys K. <rhy...@gm...> - 2018-03-29 01:02:19
|
On 18 March 2018 at 01:13, Bart Van Assche <bva...@so...> wrote: > https://sourceware.org/git/gitweb.cgi?p=valgrind.git;h= > 9cf3d0193dee4cd9e193771ee7c79978debb853c > > commit 9cf3d0193dee4cd9e193771ee7c79978debb853c > Author: Bart Van Assche <bar...@wd...> > Date: Sat Mar 17 13:50:05 2018 -0700 > > Add the helgrind/tests/bug322621 regression test > > Diff: > --- > .gitignore | 1 + > helgrind/tests/Makefile.am | 6 ++- > helgrind/tests/bug322621.cpp | 89 ++++++++++++++++++++++++++++++ > +++++++ > helgrind/tests/bug322621.stderr.exp | 4 ++ > helgrind/tests/bug322621.vgtest | 2 + > 5 files changed, 101 insertions(+), 1 deletion(-) > > diff --git a/.gitignore b/.gitignore > index f9776ec..4a38b11 100644 > --- a/.gitignore > +++ b/.gitignore > @@ -644,6 +644,7 @@ > /helgrind/tests/annotate_rwlock > /helgrind/tests/bar_bad > /helgrind/tests/bar_trivial > +/helgrind/tests/bug322621 > /helgrind/tests/cond_init_destroy > /helgrind/tests/cond_timedwait_invalid > /helgrind/tests/cond_timedwait_test > diff --git a/helgrind/tests/Makefile.am b/helgrind/tests/Makefile.am > index 040790c..f86cbde 100644 > --- a/helgrind/tests/Makefile.am > +++ b/helgrind/tests/Makefile.am > @@ -13,6 +13,7 @@ EXTRA_DIST = \ > annotate_rwlock.stderr.exp \ > annotate_smart_pointer.vgtest annotate_smart_pointer.stdout.exp \ > annotate_smart_pointer.stderr.exp \ > + bug322621.vgtest bug322621.stderr.exp \ > cond_init_destroy.vgtest cond_init_destroy.stderr.exp \ > cond_timedwait_invalid.vgtest cond_timedwait_invalid.stdout.exp \ > cond_timedwait_invalid.stderr.exp \ > @@ -126,6 +127,7 @@ noinst_HEADERS = safe-pthread.h safe-semaphore.h > # should be conditionally compiled like tc20_verifywrap is. > check_PROGRAMS = \ > annotate_hbefore \ > + bug322621 \ > Hrmm, this isn't quite right. Adding the test for bug322621 here means that it is not conditionally compiled, which is the requirement further below to guard it on platforms that don't HAVE_PTHREAD_BARRIER. I'm sending a patch to fix this shortly. > cond_init_destroy \ > cond_timedwait_invalid \ > cond_timedwait_test \ > @@ -201,7 +203,7 @@ tc08_hbl2_CFLAGS = $(AM_CFLAGS) > endif > > if HAVE_PTHREAD_BARRIER > -check_PROGRAMS += bar_bad bar_trivial > +check_PROGRAMS += bar_bad bar_trivial bug322621 > endif > > if HAVE_PTHREAD_MUTEX_TIMEDLOCK > @@ -222,3 +224,5 @@ annotate_hbefore_CFLAGS = $(AM_CFLAGS) -mdynamic-no-pic > else > annotate_hbefore_CFLAGS = $(AM_CFLAGS) > endif > + > +bug322621_SOURCES = bug322621.cpp > diff --git a/helgrind/tests/bug322621.cpp b/helgrind/tests/bug322621.cpp > new file mode 100644 > index 0000000..8d31ca5 > --- /dev/null > +++ b/helgrind/tests/bug322621.cpp > @@ -0,0 +1,89 @@ > +// See also https://bugs.kde.org/show_bug.cgi?id=322621 > + > +#include <pthread.h> > +#include <iostream> > +#include "../helgrind.h" > + > +static int verbose; > +static pthread_t ls_thread; > +static pthread_barrier_t ls_barrier; > + > +char* ls_buf[2]; > + > +#define LS_BUF_SIZE (1024*1024) > +#define NR_RUNS 2 > + > +void fill_buffer(int buf) > +{ > + if (verbose) > + std::cerr << "Fill " << buf << "\n"; > + for (int i = 0; i < LS_BUF_SIZE; i++) > + ls_buf[buf][i] = 1; > + if (verbose) > + std::cerr << "Fill " << buf << " done\n"; > +} > + > +int read_buffer(int buf) > +{ > + if (verbose) > + std::cerr << "Read " << buf << "\n"; > + int res = 0; > + for (int i = 0; i < LS_BUF_SIZE; i++) > + res += ls_buf[buf][i]; > + if (verbose) > + std::cerr << "Read " << buf << " done\n"; > + return res; > +} > + > +void *the_thread(void *ptr) > +{ > + int buf = 1; > + > + for (int i = 0; i < NR_RUNS; i++) { > + > + fill_buffer(buf); > + > + if (verbose) > + std::cerr << "Aux at barrier " << i << "\n"; > + pthread_barrier_wait(&ls_barrier); > + if (verbose) > + std::cerr << "Aux after barrier " << i << "\n"; > + > + buf = buf ^ 1; > + } > + return ptr; > +} > + > + > +int main() > +{ > + VALGRIND_HG_DISABLE_CHECKING(&std::cerr, sizeof(std::cerr)); > + > + ls_buf[0] = new char[LS_BUF_SIZE]; > + ls_buf[1] = new char[LS_BUF_SIZE]; // second buffer only when > multithreaded > + > + pthread_barrier_init(&ls_barrier, NULL, 2); > + > + pthread_attr_t attr; > + pthread_attr_init(&attr); > + pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_JOINABLE); > + pthread_create(&ls_thread, &attr, the_thread, NULL); > + pthread_attr_destroy(&attr); > + > + int buf = 0; > + int res = 0; > + for (int i = 0; i < NR_RUNS; i++) { > + std::cerr << "Main at barrier " << i << "\n"; > + pthread_barrier_wait(&ls_barrier); > + std::cerr << "Main after barrier " << i << "\n"; > + buf = buf ^ 1; > + res += read_buffer(buf); > + } > + > + pthread_join(ls_thread,NULL); > + pthread_barrier_destroy(&ls_barrier); > + delete[] ls_buf[1]; // second buffer only when multithreaded > + delete[] ls_buf[0]; > + > + return 0; > +} > diff --git a/helgrind/tests/bug322621.stderr.exp > b/helgrind/tests/bug322621.stderr.exp > new file mode 100644 > index 0000000..e85a7b8 > --- /dev/null > +++ b/helgrind/tests/bug322621.stderr.exp > @@ -0,0 +1,4 @@ > +Main at barrier 0 > +Main after barrier 0 > +Main at barrier 1 > +Main after barrier 1 > diff --git a/helgrind/tests/bug322621.vgtest b/helgrind/tests/bug322621. > vgtest > new file mode 100644 > index 0000000..e4fcd44 > --- /dev/null > +++ b/helgrind/tests/bug322621.vgtest > @@ -0,0 +1,2 @@ > +vgopts: -q > +prog: bug322621 > > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > Valgrind-developers mailing list > Val...@li... > https://lists.sourceforge.net/lists/listinfo/valgrind-developers > |