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
(1) |
3
|
|
4
|
5
(1) |
6
(2) |
7
(1) |
8
(1) |
9
(2) |
10
|
|
11
|
12
|
13
(6) |
14
(4) |
15
(1) |
16
(4) |
17
(2) |
|
18
(1) |
19
(8) |
20
(8) |
21
(2) |
22
(3) |
23
(3) |
24
|
|
25
|
26
|
27
(1) |
28
|
29
|
30
|
31
(2) |
|
From: John R. <jr...@bi...> - 2019-08-16 23:17:25
|
>> Is Valgrind now able to load programs with really large BSS and data segments (4 GB)? >> I have asked this before: https://www.mail-archive.com/search?l=val...@li...&q=subject:%22Re%5C%3A+%5C%5BValgrind%5C-users%5C%5D+failed+in+UME+with+error+22%22&o=newest > Is this possible now, or can this be an improvement? > > Can anyone clarify? It is likely that there will be no progress until: 1) Create a bug report. Start at http://valgrind.org/ and follow the "Bug Reports" link in the left column. Publish here (on the mailing list) a link to the bug report. 2) Attach to the bug report the source code of a short stand-alone program in C language which triggers the complaint. Give the build recipe to create the executable file, and the invocation command line for valgrind. If there is no bug report, then the issue likely will be forgotten. The mailing list is not a substitute for the bug report. If there is no reproducible test case, then likely no one will work on it. |
|
From: João M. S. S. <joa...@gm...> - 2019-08-16 21:51:48
|
On 8/5/19 9:47 PM, João M. S. Silva wrote: > Hi, > > Is Valgrind now able to load programs with really large BSS and data > segments (4 GB)? > > I have asked this before: > https://www.mail-archive.com/search?l=val...@li...&q=subject:%22Re%5C%3A+%5C%5BValgrind%5C-users%5C%5D+failed+in+UME+with+error+22%22&o=newest > > > But now I was wondering if anything changed that allows me to run > Valgrind on this program. Changing the configuration and building > Valgrind (as suggested in the archive thread) does not work for such > large segments (only for ~1,5 GB, the program has grown to 4 GB). > > Thanks. > Is this possible now, or can this be an improvement? Can anyone clarify? Thanks. João M. S. Silva |
|
From: Andreas A. <ar...@so...> - 2019-08-16 18:14:16
|
https://sourceware.org/git/gitweb.cgi?p=valgrind.git;h=7cca96dba291cf8b9bef80f472665f15ab00ec61 commit 7cca96dba291cf8b9bef80f472665f15ab00ec61 Author: Andreas Arnez <ar...@li...> Date: Fri Aug 16 20:06:53 2019 +0200 Update s390x maintainership in AUTHORS I have taken over maintainership of the s390x support some time ago. Update the AUTHORS file to reflect that. Diff: --- AUTHORS | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/AUTHORS b/AUTHORS index 4c03a66..84c47b4 100644 --- a/AUTHORS +++ b/AUTHORS @@ -57,9 +57,9 @@ use in Valgrind. David Woodhouse has helped out with test and build machines over the course of many releases. -Florian Krohm and Christian Borntraeger wrote and maintain the -S390X/Linux port. Florian improved and ruggedised the regression test -system during 2011. +Florian Krohm and Christian Borntraeger wrote the initial S390X/Linux +port. Andreas Arnez is the current maintainer and developer of it. +Florian improved and ruggedised the regression test system during 2011. Philippe Waroquiers wrote and maintains the embedded GDB server. He also made a bunch of performance and memory-reduction fixes across |
|
From: Petar J. <pe...@so...> - 2019-08-16 16:00:13
|
https://sourceware.org/git/gitweb.cgi?p=valgrind.git;h=c6a6cf929f3e2a9bf5d7f09f334ed4d67f2d6e18 commit c6a6cf929f3e2a9bf5d7f09f334ed4d67f2d6e18 Author: Petar Jovanovic <mip...@gm...> Date: Fri Aug 16 15:57:50 2019 +0000 Use statx rather than other stat system calls *STAT* system calls other than statx are becoming deprecated. Coregrind should use statx as the first candidate in order to achieve "stat" functionality. There are also systems that do not even support older "stats". This fixes KDE #400593. Patch by Aleksandar Rikalo. Diff: --- coregrind/m_aspacemgr/aspacemgr-common.c | 19 ++++++++- coregrind/m_libcfile.c | 69 +++++++++++++++++++++++++++++--- include/pub_tool_libcbase.h | 12 ++++++ include/vki/vki-linux.h | 4 ++ 4 files changed, 96 insertions(+), 8 deletions(-) diff --git a/coregrind/m_aspacemgr/aspacemgr-common.c b/coregrind/m_aspacemgr/aspacemgr-common.c index 79f5252..789cc9b 100644 --- a/coregrind/m_aspacemgr/aspacemgr-common.c +++ b/coregrind/m_aspacemgr/aspacemgr-common.c @@ -314,9 +314,21 @@ Bool ML_(am_get_fd_d_i_m)( Int fd, { # if defined(VGO_linux) || defined(VGO_darwin) SysRes res; - struct vki_stat buf; +# if defined(VGO_linux) + /* First try with statx. */ + struct vki_statx bufx; + const char* file_name = ""; + res = VG_(do_syscall5)(__NR_statx, fd, (RegWord)file_name, + VKI_AT_EMPTY_PATH, VKI_STATX_ALL, (RegWord)&bufx); + if (!sr_isError(res)) { + *dev = VG_MAKEDEV(bufx.stx_dev_major, bufx.stx_dev_minor); + *ino = (ULong)bufx.stx_ino; + *mode = (UInt)bufx.stx_mode; + return True; + } +# endif # if defined(VGO_linux) && defined(__NR_fstat64) - /* Try fstat64 first as it can cope with minor and major device + /* fstat64 is second candidate as it can cope with minor and major device numbers outside the 0-255 range and it works properly for x86 binaries on amd64 systems where fstat seems to be broken. */ struct vki_stat64 buf64; @@ -328,6 +340,8 @@ Bool ML_(am_get_fd_d_i_m)( Int fd, return True; } # endif +# if defined(__NR_fstat) + struct vki_stat buf; res = VG_(do_syscall2)(__NR_fstat, fd, (UWord)&buf); if (!sr_isError(res)) { *dev = (ULong)buf.st_dev; @@ -335,6 +349,7 @@ Bool ML_(am_get_fd_d_i_m)( Int fd, *mode = (UInt) buf.st_mode; return True; } +# endif return False; # elif defined(VGO_solaris) # if defined(VGP_x86_solaris) diff --git a/coregrind/m_libcfile.c b/coregrind/m_libcfile.c index c65551a..5c356ad 100644 --- a/coregrind/m_libcfile.c +++ b/coregrind/m_libcfile.c @@ -337,14 +337,51 @@ Off64T VG_(lseek) ( Int fd, Off64T offset, Int whence ) (_p_vgstat)->ctime_nsec = (ULong)( (_p_vkistat)->st_ctime_nsec ); \ } while (0) +#define TRANSLATE_statx_TO_vg_stat(_p_vgstat, _p_vkistat) \ + do { \ + (_p_vgstat)->dev = VG_MAKEDEV( (_p_vkistat)->stx_dev_major, \ + (_p_vkistat)->stx_dev_minor ); \ + (_p_vgstat)->ino = (ULong)( (_p_vkistat)->stx_ino ); \ + (_p_vgstat)->nlink = (ULong)( (_p_vkistat)->stx_nlink ); \ + (_p_vgstat)->mode = (UInt) ( (_p_vkistat)->stx_mode ); \ + (_p_vgstat)->uid = (UInt) ( (_p_vkistat)->stx_uid ); \ + (_p_vgstat)->gid = (UInt) ( (_p_vkistat)->stx_gid ); \ + (_p_vgstat)->rdev = VG_MAKEDEV( (_p_vkistat)->stx_rdev_major, \ + (_p_vkistat)->stx_rdev_minor ); \ + (_p_vgstat)->size = (Long) ( (_p_vkistat)->stx_size ); \ + (_p_vgstat)->blksize = (ULong)( (_p_vkistat)->stx_blksize ); \ + (_p_vgstat)->blocks = (ULong)( (_p_vkistat)->stx_blocks ); \ + (_p_vgstat)->atime = (ULong)( (_p_vkistat)->stx_atime.tv_sec ); \ + (_p_vgstat)->atime_nsec = (ULong)( (_p_vkistat)->stx_atime.tv_nsec ); \ + (_p_vgstat)->mtime = (ULong)( (_p_vkistat)->stx_mtime.tv_sec ); \ + (_p_vgstat)->mtime_nsec = (ULong)( (_p_vkistat)->stx_mtime.tv_nsec ); \ + (_p_vgstat)->ctime = (ULong)( (_p_vkistat)->stx_ctime.tv_sec ); \ + (_p_vgstat)->ctime_nsec = (ULong)( (_p_vkistat)->stx_ctime.tv_nsec ); \ + } while (0) + SysRes VG_(stat) ( const HChar* file_name, struct vg_stat* vgbuf ) { SysRes res; VG_(memset)(vgbuf, 0, sizeof(*vgbuf)); +# if defined(VGO_linux) + /* On Linux, first try with statx. If that doesn't work out, fall back to + the stat64 or vanilla version. */ + { struct vki_statx buf; + res = VG_(do_syscall5)(__NR_statx, VKI_AT_FDCWD, (UWord)file_name, 0, + VKI_STATX_ALL, (UWord)&buf); + if (!(sr_isError(res) && sr_Err(res) == VKI_ENOSYS)) { + /* Success, or any failure except ENOSYS */ + if (!sr_isError(res)) + TRANSLATE_statx_TO_vg_stat(vgbuf, &buf); + return res; + } + } +# endif # if defined(VGO_linux) || defined(VGO_darwin) - /* First try with stat64. If that doesn't work out, fall back to - the vanilla version. */ + /* Try with stat64. This is the second candidate on Linux, and the first + one on Darwin. If that doesn't work out, fall back to vanilla version. + */ # if defined(__NR_stat64) { struct vki_stat64 buf64; res = VG_(do_syscall2)(__NR_stat64, (UWord)file_name, (UWord)&buf64); @@ -356,6 +393,7 @@ SysRes VG_(stat) ( const HChar* file_name, struct vg_stat* vgbuf ) } } # endif /* defined(__NR_stat64) */ +# if defined(__NR_stat) /* This is the fallback ("vanilla version"). */ { struct vki_stat buf; # if defined(VGP_arm64_linux) @@ -368,6 +406,7 @@ SysRes VG_(stat) ( const HChar* file_name, struct vg_stat* vgbuf ) TRANSLATE_TO_vg_stat(vgbuf, &buf); return res; } +# endif # elif defined(VGO_solaris) { # if defined(VGP_x86_solaris) @@ -395,9 +434,25 @@ Int VG_(fstat) ( Int fd, struct vg_stat* vgbuf ) SysRes res; VG_(memset)(vgbuf, 0, sizeof(*vgbuf)); +# if defined(VGO_linux) + /* On Linux, first try with statx. If that doesn't work out, fall back to + the fstat64 or vanilla version. */ + { struct vki_statx buf; + const char* file_name = ""; + res = VG_(do_syscall5)(__NR_statx, fd, (RegWord)file_name, + VKI_AT_EMPTY_PATH, VKI_STATX_ALL, (RegWord)&buf); + if (!(sr_isError(res) && sr_Err(res) == VKI_ENOSYS)) { + /* Success, or any failure except ENOSYS */ + if (!sr_isError(res)) + TRANSLATE_statx_TO_vg_stat(vgbuf, &buf); + return sr_isError(res) ? (-1) : 0; + } + } +#endif # if defined(VGO_linux) || defined(VGO_darwin) - /* First try with fstat64. If that doesn't work out, fall back to - the vanilla version. */ + /* Try with fstat64. This is the second candidate on Linux, and the first + one on Darwin. If that doesn't work out, fall back to vanilla version. + */ # if defined(__NR_fstat64) { struct vki_stat64 buf64; res = VG_(do_syscall2)(__NR_fstat64, (UWord)fd, (UWord)&buf64); @@ -408,13 +463,15 @@ Int VG_(fstat) ( Int fd, struct vg_stat* vgbuf ) return sr_isError(res) ? (-1) : 0; } } -# endif /* if defined(__NR_fstat64) */ +# endif /* defined(__NR_fstat64) */ +# if defined(__NR_fstat) { struct vki_stat buf; res = VG_(do_syscall2)(__NR_fstat, (RegWord)fd, (RegWord)(Addr)&buf); if (!sr_isError(res)) TRANSLATE_TO_vg_stat(vgbuf, &buf); return sr_isError(res) ? (-1) : 0; } +# endif # elif defined(VGO_solaris) { # if defined(VGP_x86_solaris) @@ -436,7 +493,7 @@ Int VG_(fstat) ( Int fd, struct vg_stat* vgbuf ) } #undef TRANSLATE_TO_vg_stat - +#undef TRANSLATE_statx_TO_vg_stat Long VG_(fsize) ( Int fd ) { diff --git a/include/pub_tool_libcbase.h b/include/pub_tool_libcbase.h index 33444ac..b71066e 100644 --- a/include/pub_tool_libcbase.h +++ b/include/pub_tool_libcbase.h @@ -202,6 +202,18 @@ static void VG_(bzero_inline) ( void* s, SizeT sz ) #define VG_PGROUNDDN(p) VG_ROUNDDN(p, VKI_PAGE_SIZE) #define VG_PGROUNDUP(p) VG_ROUNDUP(p, VKI_PAGE_SIZE) +/* Converts `Device ID` given as pair of 32-bit values (dev_major, dev_minor) + * to 64-bit dev_t using MMMM Mmmm mmmM MMmm encoding. This is + * downward compatible with legacy systems where dev_t is 16 bits wide, + * encoded as MMmm. It is also downward compatible with the Linux kernel, + * which uses 32-bit dev_t, encoded as mmmM MMmm. + * Original macro can be found in bits/sysmacros.h. */ +#define VG_MAKEDEV(__major, __minor) \ + ((((ULong) (__major & 0x00000fffu)) << 8) | \ + (((ULong) (__major & 0xfffff000u)) << 32) | \ + (((ULong) (__minor & 0x000000ffu)) << 0) | \ + (((ULong) (__minor & 0xffffff00u)) << 12)) + /* --------------------------------------------------------------------- Misc useful functions ------------------------------------------------------------------ */ diff --git a/include/vki/vki-linux.h b/include/vki/vki-linux.h index 76bc783..6024f21 100644 --- a/include/vki/vki-linux.h +++ b/include/vki/vki-linux.h @@ -1385,6 +1385,8 @@ struct vki_robust_list_head { #define VKI_S_IWOTH 00002 #define VKI_S_IXOTH 00001 +#define VKI_STATX_ALL 0x00000FFFU + struct vki_statx_timestamp { __vki_s64 tv_sec; __vki_u32 tv_nsec; @@ -1476,6 +1478,8 @@ struct vki_flock64 { __vki_kernel_pid_t l_pid; }; +#define VKI_AT_EMPTY_PATH 0x1000 /* Allow empty relative pathname */ + //---------------------------------------------------------------------- // From linux-2.6.8.1/include/linux/sysctl.h //---------------------------------------------------------------------- |