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
|
2
|
3
|
4
|
5
(1) |
6
(4) |
|
7
(6) |
8
(1) |
9
(3) |
10
|
11
(6) |
12
|
13
(1) |
|
14
|
15
(1) |
16
(2) |
17
(3) |
18
|
19
(1) |
20
|
|
21
|
22
(1) |
23
|
24
|
25
|
26
(14) |
27
(2) |
|
28
|
29
(2) |
30
|
31
|
|
|
|
|
From: Paul F. <pa...@so...> - 2023-05-05 20:19:53
|
https://sourceware.org/git/gitweb.cgi?p=valgrind.git;h=40b914f0d09c1e021e7398a17ab5cc7a854f39c8 commit 40b914f0d09c1e021e7398a17ab5cc7a854f39c8 Author: Paul Floyd <pj...@wa...> Date: Fri May 5 22:05:36 2023 +0200 Add Helgrind and DRD tests and suppressions for getaddrinfo on Linux Bump version to 3.22.0.GIT The testcase was posted on the freebsd-hackers mailing list. I had time to get suppressions for FreeBSD into 3.21 but ran out of time for the test and Linux suppressions. I did take a look at how thread sanitizer handles this. Basically it intercepts the call, turns off checking, calls the resl function then turns checking back on. I don't see many other similar examples. Might be worth looking at dlopen and atexit. Diff: --- .gitignore | 1 + NEWS | 34 +++++++++++++++++++++++++++++++ configure.ac | 6 +++--- drd/tests/Makefile.am | 2 ++ drd/tests/getaddrinfo.stderr.exp | 0 drd/tests/getaddrinfo.vgtest | 3 +++ glibc-2.X-drd.supp.in | 10 +++++++++ glibc-2.X-helgrind.supp.in | 9 +++++++++ helgrind/tests/Makefile.am | 2 ++ helgrind/tests/getaddrinfo.c | 38 +++++++++++++++++++++++++++++++++++ helgrind/tests/getaddrinfo.stderr.exp | 0 helgrind/tests/getaddrinfo.vgtest | 2 ++ 12 files changed, 104 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 27183b99b9..6155f8f355 100644 --- a/.gitignore +++ b/.gitignore @@ -662,6 +662,7 @@ /helgrind/tests/cond_timedwait_test /helgrind/tests/free_is_write /helgrind/tests/garbage.filtered.out +/helgrind/tests/getaddrinfo /helgrind/tests/hg01_all_ok /helgrind/tests/hg02_deadlock /helgrind/tests/hg03_inherit diff --git a/NEWS b/NEWS index 342a733650..e269d128b9 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,37 @@ +Release 3.22.0 (?? Oct 2023) +~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +This release supports X86/Linux, AMD64/Linux, ARM32/Linux, ARM64/Linux, +PPC32/Linux, PPC64BE/Linux, PPC64LE/Linux, S390X/Linux, MIPS32/Linux, +MIPS64/Linux, ARM/Android, ARM64/Android, MIPS32/Android, X86/Android, +X86/Solaris, AMD64/Solaris, AMD64/MacOSX 10.12, X86/FreeBSD and +AMD64/FreeBSD. There is also preliminary support for X86/macOS 10.13, +AMD64/macOS 10.13 and nanoMIPS/Linux. + +* ==================== CORE CHANGES =================== + + +* ================== PLATFORM CHANGES ================= + + +* ==================== TOOL CHANGES =================== + + +* ==================== FIXED BUGS ==================== + +The following bugs have been fixed or resolved. Note that "n-i-bz" +stands for "not in bugzilla" -- that is, a bug that was reported to us +but never got a bugzilla entry. We encourage you to file bugs in +bugzilla (https://bugs.kde.org/enter_bug.cgi?product=valgrind) rather +than mailing the developers (or mailing lists) directly -- bugs that +are not entered into bugzilla tend to get forgotten about or ignored. + + + +To see details of a given bug, visit + https://bugs.kde.org/show_bug.cgi?id=XXXXXX +where XXXXXX is the bug number as listed above. + Release 3.21.0 (28 Apr 2023) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/configure.ac b/configure.ac index 79b17f3940..15fbf5ea20 100755 --- a/configure.ac +++ b/configure.ac @@ -15,10 +15,10 @@ # Also set the (expected/last) release date here. # Do not forget to rerun ./autogen.sh m4_define([v_major_ver], [3]) -m4_define([v_minor_ver], [21]) +m4_define([v_minor_ver], [22]) m4_define([v_micro_ver], [0]) -m4_define([v_suffix_ver], []) -m4_define([v_rel_date], ["28 Apr 2023"]) +m4_define([v_suffix_ver], [GIT]) +m4_define([v_rel_date], ["?? Oct 2023"]) m4_define([v_version], m4_if(v_suffix_ver, [], [v_major_ver.v_minor_ver.v_micro_ver], diff --git a/drd/tests/Makefile.am b/drd/tests/Makefile.am index 7ea83cbf7e..5482cf7be4 100755 --- a/drd/tests/Makefile.am +++ b/drd/tests/Makefile.am @@ -152,6 +152,8 @@ EXTRA_DIST = \ hold_lock_1.vgtest \ hold_lock_2.stderr.exp \ hold_lock_2.vgtest \ + getaddrinfo.stderr.exp \ + getaddrinfo.vgtest \ linuxthreads_det.stderr.exp \ linuxthreads_det.stderr.exp-linuxthreads \ linuxthreads_det.stdout.exp \ diff --git a/drd/tests/getaddrinfo.stderr.exp b/drd/tests/getaddrinfo.stderr.exp new file mode 100644 index 0000000000..e69de29bb2 diff --git a/drd/tests/getaddrinfo.vgtest b/drd/tests/getaddrinfo.vgtest new file mode 100644 index 0000000000..6faa2b6bde --- /dev/null +++ b/drd/tests/getaddrinfo.vgtest @@ -0,0 +1,3 @@ +prereq: ./supported_libpthread +vgopts: -q +prog: ../../helgrind/tests/getaddrinfo diff --git a/glibc-2.X-drd.supp.in b/glibc-2.X-drd.supp.in index 4c6bdb6a1a..9f8fda9f4f 100644 --- a/glibc-2.X-drd.supp.in +++ b/glibc-2.X-drd.supp.in @@ -351,3 +351,13 @@ ... fun:_ZN5boost6detail23set_current_thread_dataEPNS0_16thread_data_baseE } + +# +# Suppression patterrns for posix functions +{ + drd-libc-getaddrinfo + drd:ConflictingAccess + ... + fun:getaddrinfo +} + diff --git a/glibc-2.X-helgrind.supp.in b/glibc-2.X-helgrind.supp.in index 0f76ad0e9a..d46a7a1166 100644 --- a/glibc-2.X-helgrind.supp.in +++ b/glibc-2.X-helgrind.supp.in @@ -302,3 +302,12 @@ Helgrind:Race fun:gomp_ordered_last } + +#################################################### +# posix functions that are thread safe +{ + helgrind---getaddrinfo + Helgrind:Race + ... + fun:getaddrinfo +} diff --git a/helgrind/tests/Makefile.am b/helgrind/tests/Makefile.am index 5338ea4d6d..13e2d4db66 100755 --- a/helgrind/tests/Makefile.am +++ b/helgrind/tests/Makefile.am @@ -33,6 +33,7 @@ EXTRA_DIST = \ bar_trivial.vgtest bar_trivial.stdout.exp bar_trivial.stderr.exp \ free_is_write.vgtest free_is_write.stdout.exp \ free_is_write.stderr.exp \ + getaddrinfo.vgtest getaddrinfo.stderr.exp \ hg01_all_ok.vgtest hg01_all_ok.stdout.exp hg01_all_ok.stderr.exp \ hg02_deadlock.vgtest hg02_deadlock.stdout.exp hg02_deadlock.stderr.exp \ hg03_inherit.vgtest hg03_inherit.stdout.exp hg03_inherit.stderr.exp \ @@ -153,6 +154,7 @@ check_PROGRAMS = \ cond_timedwait_invalid \ cond_timedwait_test \ free_is_write \ + getaddrinfo \ hg01_all_ok \ hg02_deadlock \ hg03_inherit \ diff --git a/helgrind/tests/getaddrinfo.c b/helgrind/tests/getaddrinfo.c new file mode 100644 index 0000000000..bdb8434588 --- /dev/null +++ b/helgrind/tests/getaddrinfo.c @@ -0,0 +1,38 @@ +#include <netdb.h> +#include <pthread.h> +#include <sys/socket.h> +#include <sys/types.h> + +struct data { + const char *hostname; + struct addrinfo *res; +}; + +struct data threaddat[5] = { + { "www.freebsd.org", 0 }, + { "www.google.com", 0 }, + { "www.freshports.org", 0 }, + { "www.github.com", 0 }, + { "www.kernel.org", 0 } +}; + +pthread_t threads[5]; + +void *resolve(void *d) { + struct data *data = d; + getaddrinfo(data->hostname, 0, 0, &data->res); + return 0; +} + +int main(void) { + int i; + for (i = 0; i < 5; ++i) { + pthread_create(&threads[i], 0, resolve, &threaddat[i]); + } + for (i = 0; i < 5; ++i) { + pthread_join(threads[i], 0); + freeaddrinfo(threaddat[i].res); + } + return 0; +} + diff --git a/helgrind/tests/getaddrinfo.stderr.exp b/helgrind/tests/getaddrinfo.stderr.exp new file mode 100644 index 0000000000..e69de29bb2 diff --git a/helgrind/tests/getaddrinfo.vgtest b/helgrind/tests/getaddrinfo.vgtest new file mode 100644 index 0000000000..b58c618887 --- /dev/null +++ b/helgrind/tests/getaddrinfo.vgtest @@ -0,0 +1,2 @@ +prog: getaddrinfo +vgopts: -q |