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
(2) |
3
(3) |
4
(2) |
5
(4) |
6
(4) |
7
(1) |
8
|
|
9
|
10
(1) |
11
|
12
(3) |
13
(2) |
14
(2) |
15
|
|
16
|
17
|
18
|
19
(2) |
20
(10) |
21
|
22
(6) |
|
23
(7) |
24
|
25
(2) |
26
|
27
(1) |
28
(8) |
29
(2) |
|
30
|
31
|
|
|
|
|
|
|
From: Petar J. <pe...@so...> - 2018-12-12 18:15:57
|
https://sourceware.org/git/gitweb.cgi?p=valgrind.git;h=71be91d2ddf065b86a5cd9d4f3bfc3eca3c87a4b commit 71be91d2ddf065b86a5cd9d4f3bfc3eca3c87a4b Author: Petar Jovanovic <mip...@gm...> Date: Wed Dec 12 17:45:34 2018 +0000 make outputs of drd/tests/fork* deterministic Wait for children to finish before terminating the main process. This fixes occasional failures of the following tests: drd/tests/fork-parallel (stderr) drd/tests/fork-serial (stderr) Diff: --- drd/tests/fork.c | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/drd/tests/fork.c b/drd/tests/fork.c index 07aaf73..0f934ca 100644 --- a/drd/tests/fork.c +++ b/drd/tests/fork.c @@ -3,8 +3,12 @@ #include <stdlib.h> #include <string.h> #include <unistd.h> +#include <sys/wait.h> -static pthread_t tid[2]; +#define NUM_THREADS 2 + +static pthread_t tid[NUM_THREADS]; +static pid_t pids[NUM_THREADS]; static void *startproc(void *arg) { @@ -16,6 +20,8 @@ static void *startproc(void *arg) } else if (pid == 0) { dup2(2, 1); // redirect stdout to stderr execv(argv[0], argv); // child + } else { + *((pid_t*)arg) = pid; } return NULL; @@ -29,17 +35,20 @@ int main(int argc, char **argv) int i = 0; int err; - for (i = 0; i < 2; i++) { - err = pthread_create(&tid[i], NULL, &startproc, NULL); + for (i = 0; i < NUM_THREADS; i++) { + err = pthread_create(&tid[i], NULL, &startproc, &pids[i]); if (err != 0) perror("pthread_create()"); if (serialize_fork) pthread_join(tid[i], NULL); } if (!serialize_fork) { - for (i = 0; i < 2; i++) + for (i = 0; i < NUM_THREADS; i++) if (tid[i]) pthread_join(tid[i], NULL); } + for (i = 0; i < NUM_THREADS; i++) + waitpid(pids[i], &err, 0); + return 0; } |
|
From: Mark W. <ma...@so...> - 2018-12-12 13:20:37
|
https://sourceware.org/git/gitweb.cgi?p=valgrind.git;h=be7a73004583aab5d4c97cf55276ca58d5b3090b commit be7a73004583aab5d4c97cf55276ca58d5b3090b Author: Mark Wielaard <ma...@kl...> Date: Wed Dec 12 14:15:28 2018 +0100 Mark helper regs defined in final_tidyup before freeres_wrapper call. In final_tidyup we setup the guest to call the freeres_wrapper, which will (possibly) call __gnu_cxx::__freeres() and/or __libc_freeres(). In a couple of cases (ppc64be, ppc64le and mips32) this involves setting up one or more helper registers. Since we setup these guest registers we should make sure to mark them as fully defined. Otherwise we might see spurious warnings about undefined value usage if the guest register happened to not be fully defined before. This fixes PR402006. Diff: --- NEWS | 1 + coregrind/m_main.c | 17 +++++++++++++++-- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/NEWS b/NEWS index 562291f..d2a4207 100644 --- a/NEWS +++ b/NEWS @@ -70,6 +70,7 @@ where XXXXXX is the bug number as listed below. 401578 drd: crashes sometimes on fork() 401627 memcheck errors with glibc avx2 optimized wcsncmp 401822 none/tests/ppc64/jm-vmx fails and produces assembler warnings +402006 mark helper regs defined in final_tidyup before freeres_wrapper call Release 3.14.0 (9 October 2018) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/coregrind/m_main.c b/coregrind/m_main.c index 00702fc..22872a2 100644 --- a/coregrind/m_main.c +++ b/coregrind/m_main.c @@ -2304,22 +2304,35 @@ static void final_tidyup(ThreadId tid) "Caught __NR_exit; running %s wrapper\n", msgs[to_run - 1]); } - /* set thread context to point to freeres_wrapper */ - /* ppc64be-linux note: freeres_wrapper gives us the real + /* Set thread context to point to freeres_wrapper. + ppc64be-linux note: freeres_wrapper gives us the real function entry point, not a fn descriptor, so can use it directly. However, we need to set R2 (the toc pointer) appropriately. */ VG_(set_IP)(tid, freeres_wrapper); + # if defined(VGP_ppc64be_linux) VG_(threads)[tid].arch.vex.guest_GPR2 = r2; + VG_TRACK(post_reg_write, Vg_CoreClientReq, tid, + offsetof(VexGuestPPC64State, guest_GPR2), + sizeof(VG_(threads)[tid].arch.vex.guest_GPR2)); # elif defined(VGP_ppc64le_linux) /* setting GPR2 but not really needed, GPR12 is needed */ VG_(threads)[tid].arch.vex.guest_GPR2 = freeres_wrapper; + VG_TRACK(post_reg_write, Vg_CoreClientReq, tid, + offsetof(VexGuestPPC64State, guest_GPR2), + sizeof(VG_(threads)[tid].arch.vex.guest_GPR2)); VG_(threads)[tid].arch.vex.guest_GPR12 = freeres_wrapper; + VG_TRACK(post_reg_write, Vg_CoreClientReq, tid, + offsetof(VexGuestPPC64State, guest_GPR12), + sizeof(VG_(threads)[tid].arch.vex.guest_GPR12)); # endif /* mips-linux note: we need to set t9 */ # if defined(VGP_mips32_linux) || defined(VGP_mips64_linux) VG_(threads)[tid].arch.vex.guest_r25 = freeres_wrapper; + VG_TRACK(post_reg_write, Vg_CoreClientReq, tid, + offsetof(VexGuestMIPS32State, guest_r25), + sizeof(VG_(threads)[tid].arch.vex.guest_r25)); # endif /* Pass a parameter to freeres_wrapper(). */ |
|
From: Nicholas N. <nj...@so...> - 2018-12-12 09:56:43
|
https://sourceware.org/git/gitweb.cgi?p=valgrind.git;h=46fb3eb81ceadf808a3bf1d6dd4ae079a4f44256 commit 46fb3eb81ceadf808a3bf1d6dd4ae079a4f44256 Author: Nicholas Nethercote <nne...@mo...> Date: Wed Dec 12 20:52:33 2018 +1100 Fix path handling in the new Cachegrind and Callgrind tests. Diff: --- cachegrind/tests/a.c | 7 +++++++ cachegrind/tests/ann1.post.exp | 4 ++-- cachegrind/tests/ann2.post.exp | 4 ++-- cachegrind/tests/cgout-test | 2 +- callgrind/tests/ann1.post.exp | 6 +++--- callgrind/tests/ann1.vgtest | 2 +- callgrind/tests/ann2.post.exp | 6 +++--- callgrind/tests/ann2.vgtest | 2 +- 8 files changed, 20 insertions(+), 13 deletions(-) diff --git a/cachegrind/tests/a.c b/cachegrind/tests/a.c new file mode 100644 index 0000000..cd1c66e --- /dev/null +++ b/cachegrind/tests/a.c @@ -0,0 +1,7 @@ +int main(void) { + int z = 0; + for (int i = 0; i < 1000000; i++) { + z += i; + } + return z % 256; +} diff --git a/cachegrind/tests/ann1.post.exp b/cachegrind/tests/ann1.post.exp index d82b6ab..1019637 100644 --- a/cachegrind/tests/ann1.post.exp +++ b/cachegrind/tests/ann1.post.exp @@ -20,7 +20,7 @@ Ir I1mr ILmr -------------------------------------------------------------------------------- Ir I1mr ILmr file:function -------------------------------------------------------------------------------- -5,000,015 1 1 /home/njn/grind/ws2/a.c:main +5,000,015 1 1 a.c:main 47,993 19 19 /build/glibc-OTsEL5/glibc-2.27/elf/dl-lookup.c:do_lookup_x 28,534 11 11 /build/glibc-OTsEL5/glibc-2.27/elf/dl-lookup.c:_dl_lookup_symbol_x 28,136 7 7 /build/glibc-OTsEL5/glibc-2.27/elf/dl-tunables.c:__GI___tunables_init @@ -31,7 +31,7 @@ Ir I1mr ILmr file:function 6,898 2 2 /build/glibc-OTsEL5/glibc-2.27/elf/dl-misc.c:_dl_name_match_p -------------------------------------------------------------------------------- --- Auto-annotated source: /home/njn/grind/ws2/a.c +-- Auto-annotated source: a.c -------------------------------------------------------------------------------- Ir I1mr ILmr diff --git a/cachegrind/tests/ann2.post.exp b/cachegrind/tests/ann2.post.exp index 83d9378..d12fca0 100644 --- a/cachegrind/tests/ann2.post.exp +++ b/cachegrind/tests/ann2.post.exp @@ -20,7 +20,7 @@ Dw Dr Ir -------------------------------------------------------------------------------- Dw Dr Ir file:function -------------------------------------------------------------------------------- - 3 ( 0.02%) 4,000,004 (98.57%) 5,000,015 (95.61%) /home/njn/grind/ws2/a.c:main + 3 ( 0.02%) 4,000,004 (98.57%) 5,000,015 (95.61%) a.c:main 4,543 (25.23%) 17,566 ( 0.43%) 47,993 ( 0.92%) /build/glibc-OTsEL5/glibc-2.27/elf/dl-lookup.c:do_lookup_x 3,083 (17.12%) 5,750 ( 0.14%) 28,534 ( 0.55%) /build/glibc-OTsEL5/glibc-2.27/elf/dl-lookup.c:_dl_lookup_symbol_x 8 ( 0.04%) 5,521 ( 0.14%) 28,136 ( 0.54%) /build/glibc-OTsEL5/glibc-2.27/elf/dl-tunables.c:__GI___tunables_init @@ -28,7 +28,7 @@ Dw Dr Ir file:function 0 5,158 ( 0.13%) 25,408 ( 0.49%) /build/glibc-OTsEL5/glibc-2.27/string/../sysdeps/x86_64/strcmp.S:strcmp -------------------------------------------------------------------------------- --- Auto-annotated source: /home/njn/grind/ws2/a.c +-- Auto-annotated source: a.c -------------------------------------------------------------------------------- Dw Dr Ir diff --git a/cachegrind/tests/cgout-test b/cachegrind/tests/cgout-test index d59359b..b625ec8 100644 --- a/cachegrind/tests/cgout-test +++ b/cachegrind/tests/cgout-test @@ -3525,7 +3525,7 @@ fn=wmemchr fl=/build/glibc-OTsEL5/glibc-2.27/wcsmbs/../sysdeps/x86_64/multiarch/wmemset.c fn=wmemset 31 2 0 0 2 0 0 0 0 0 -fl=/home/njn/grind/ws2/a.c +fl=a.c fn=main 1 2 0 0 0 0 0 1 0 0 2 1 1 1 0 0 0 1 0 0 diff --git a/callgrind/tests/ann1.post.exp b/callgrind/tests/ann1.post.exp index 12ee255..201b967 100644 --- a/callgrind/tests/ann1.post.exp +++ b/callgrind/tests/ann1.post.exp @@ -9,7 +9,7 @@ Events recorded: Ir I1mr ILmr Dr D1mr DLmr Dw D1mw DLmw Events shown: Ir I1mr ILmr Event sort order: Ir I1mr ILmr Dr D1mr DLmr Dw D1mw DLmw Thresholds: 99 0 0 0 0 0 0 0 0 -Include dirs: +Include dirs: ../../cachegrind/tests/ User annotated: Auto-annotation: on @@ -21,7 +21,7 @@ Ir I1mr ILmr -------------------------------------------------------------------------------- Ir I1mr ILmr file:function -------------------------------------------------------------------------------- -5,000,015 1 1 /home/njn/grind/ws2/a.c:main +5,000,015 1 1 a.c:main 47,993 19 19 /build/glibc-OTsEL5/glibc-2.27/elf/dl-lookup.c:do_lookup_x 28,534 11 11 /build/glibc-OTsEL5/glibc-2.27/elf/dl-lookup.c:_dl_lookup_symbol_x 28,136 7 7 /build/glibc-OTsEL5/glibc-2.27/elf/dl-tunables.c:__GI___tunables_init @@ -32,7 +32,7 @@ Ir I1mr ILmr file:function 6,898 2 2 /build/glibc-OTsEL5/glibc-2.27/elf/dl-misc.c:_dl_name_match_p -------------------------------------------------------------------------------- --- Auto-annotated source: /home/njn/grind/ws2/a.c +-- Auto-annotated source: ../../cachegrind/tests/ + a.c -------------------------------------------------------------------------------- Ir I1mr ILmr diff --git a/callgrind/tests/ann1.vgtest b/callgrind/tests/ann1.vgtest index 5791b97..6b80ee3 100644 --- a/callgrind/tests/ann1.vgtest +++ b/callgrind/tests/ann1.vgtest @@ -2,5 +2,5 @@ # the post-processing of the cgout-test file. prog: ../../tests/true vgopts: --callgrind-out-file=callgrind.out -post: perl ../../callgrind/callgrind_annotate --show=Ir,I1mr,ILmr --auto=yes ../../cachegrind/tests/cgout-test +post: perl ../../callgrind/callgrind_annotate --show=Ir,I1mr,ILmr --auto=yes --include=../../cachegrind/tests ../../cachegrind/tests/cgout-test cleanup: rm callgrind.out diff --git a/callgrind/tests/ann2.post.exp b/callgrind/tests/ann2.post.exp index 62dae60..47e5636 100644 --- a/callgrind/tests/ann2.post.exp +++ b/callgrind/tests/ann2.post.exp @@ -9,7 +9,7 @@ Events recorded: Ir I1mr ILmr Dr D1mr DLmr Dw D1mw DLmw Events shown: Dw Dr Ir Event sort order: Dr Thresholds: 99 -Include dirs: +Include dirs: ../../cachegrind/tests/ User annotated: Auto-annotation: on @@ -21,11 +21,11 @@ Dw Dr Ir -------------------------------------------------------------------------------- Dw Dr Ir file:function -------------------------------------------------------------------------------- - 3 ( 0.02%) 4,000,004 (98.57%) 5,000,015 (95.61%) /home/njn/grind/ws2/a.c:main + 3 ( 0.02%) 4,000,004 (98.57%) 5,000,015 (95.61%) a.c:main 4,543 (25.23%) 17,566 ( 0.43%) 47,993 ( 0.92%) /build/glibc-OTsEL5/glibc-2.27/elf/dl-lookup.c:do_lookup_x -------------------------------------------------------------------------------- --- Auto-annotated source: /home/njn/grind/ws2/a.c +-- Auto-annotated source: ../../cachegrind/tests/ + a.c -------------------------------------------------------------------------------- Dw Dr Ir diff --git a/callgrind/tests/ann2.vgtest b/callgrind/tests/ann2.vgtest index 041fd85..e92f93a 100644 --- a/callgrind/tests/ann2.vgtest +++ b/callgrind/tests/ann2.vgtest @@ -2,5 +2,5 @@ # the post-processing of the cgout-test file. prog: ../../tests/true vgopts: --callgrind-out-file=callgrind.out -post: perl ../../callgrind/callgrind_annotate --sort=Dr --show=Dw,Dr,Ir --auto=yes --show-percs=yes ../../cachegrind/tests/cgout-test +post: perl ../../callgrind/callgrind_annotate --sort=Dr --show=Dw,Dr,Ir --auto=yes --include=../../cachegrind/tests --show-percs=yes ../../cachegrind/tests/cgout-test cleanup: rm callgrind.out |