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) |
2
(1) |
3
|
4
|
|
5
|
6
(2) |
7
(1) |
8
|
9
(1) |
10
(1) |
11
(2) |
|
12
(1) |
13
(3) |
14
(5) |
15
|
16
|
17
(4) |
18
|
|
19
(4) |
20
|
21
|
22
|
23
(2) |
24
(1) |
25
|
|
26
|
27
|
28
|
29
|
30
|
31
|
|
|
From: Rhys K. <rhy...@so...> - 2018-08-19 19:03:11
|
https://sourceware.org/git/gitweb.cgi?p=valgrind.git;h=2b0aa0a5b88f900e986a3360952fcb3d2513419d commit 2b0aa0a5b88f900e986a3360952fcb3d2513419d Author: Rhys Kidd <rhy...@gm...> Date: Sun Feb 11 20:42:17 2018 -0500 macos: Fix missing syscall ulock_wait (OS X 10.12). bz#379754 Based upon patch available at: https://bugs.kde.org/attachment.cgi?id=105482 Diff: --- NEWS | 1 + coregrind/m_syswrap/priv_syswrap-darwin.h | 2 +- coregrind/m_syswrap/syswrap-darwin.c | 35 ++++++++++++++++++++++++++++++- docs/internals/3_13_BUGSTATUS.txt | 2 -- include/vki/vki-darwin.h | 12 +++++++++++ 5 files changed, 48 insertions(+), 4 deletions(-) diff --git a/NEWS b/NEWS index 19f911e..e14e44c 100644 --- a/NEWS +++ b/NEWS @@ -69,6 +69,7 @@ where XXXXXX is the bug number as listed below. 379373 Fix syscall param msg->desc.port.name points to uninitialised byte(s) on macOS 10.12 379748 Fix missing pselect syscall (OS X 10.11) +379754 Fix missing syscall ulock_wait (OS X 10.12) 380397 s390x: __GI_strcspn() replacemenet needed 381162 possible array overrun in VEX register allocator 381272 ppc64 doesn't compile test_isa_2_06_partx.c without VSX support diff --git a/coregrind/m_syswrap/priv_syswrap-darwin.h b/coregrind/m_syswrap/priv_syswrap-darwin.h index bdb38cf..4b90f57 100644 --- a/coregrind/m_syswrap/priv_syswrap-darwin.h +++ b/coregrind/m_syswrap/priv_syswrap-darwin.h @@ -630,7 +630,7 @@ DECL_TEMPLATE(darwin, getentropy); // 500 // 512 // 513 // 514 -// NYI ulock_wait // 515 +DECL_TEMPLATE(darwin, ulock_wait); // 515 DECL_TEMPLATE(darwin, ulock_wake); // 516 // NYI fclonefileat // 517 // NYI fs_snapshot // 518 diff --git a/coregrind/m_syswrap/syswrap-darwin.c b/coregrind/m_syswrap/syswrap-darwin.c index f5b5b61..590493d 100644 --- a/coregrind/m_syswrap/syswrap-darwin.c +++ b/coregrind/m_syswrap/syswrap-darwin.c @@ -9922,6 +9922,15 @@ PRE(getentropy) void*, buffer, size_t, size); } +static const HChar *ulop_name(int op) +{ + switch (op) { + case VKI_UL_UNFAIR_LOCK: return "UL_UNFAIR_LOCK"; + case VKI_UL_COMPARE_AND_WAIT: return "UL_COMPARE_AND_WAIT"; + default: return "??"; + } +} + PRE(ulock_wake) { PRINT("ulock_wake(operation:%ld, addr:%#lx, wake_value:%ld) FIXME", @@ -9930,6 +9939,30 @@ PRE(ulock_wake) uint32_t, operation, void*, addr, uint64_t, wake_value); } +PRE(ulock_wait) +{ + uint ul_opcode = ARG1 & VKI_UL_OPCODE_MASK; + uint ul_flags = ARG1 & VKI_UL_FLAGS_MASK; + + switch (ul_opcode) { + case VKI_UL_UNFAIR_LOCK: + case VKI_UL_COMPARE_AND_WAIT: { + const char* name = ulop_name(ul_opcode); + PRINT("ulock_wait(operation:%s (flags: %#x), addr:%#lx, value:%ld, timeout:%ld)", + name, ul_flags, ARG2, ARG3, ARG4); + PRE_REG_READ4(int, "ulock_wait", + uint32_t, operation, void*, addr, uint64_t, value, uint32_t, timeout); + PRE_MEM_READ("ulock_wait(addr)", ARG2, 4 ); + break; + } + + default: + PRINT("ulock_wait(operation:%ld (opcode: %u [??], flags: %#x), addr:%#lx, value:%ld, timeout:%ld)", ARG1, ul_opcode, ul_flags, ARG2, ARG3, ARG4); + log_decaying("UNKNOWN ulock_wait %ld (opcode: %u [??], flags: %#x)!", ARG1, ul_opcode, ul_flags); + break; + } +} + PRE(host_create_mach_voucher_trap) { // munge_wwww -- no need to call helper @@ -10629,7 +10662,7 @@ const SyscallTableEntry ML_(syscall_table)[] = { _____(VG_DARWIN_SYSCALL_CONSTRUCT_UNIX(512)), // ??? _____(VG_DARWIN_SYSCALL_CONSTRUCT_UNIX(513)), // ??? _____(VG_DARWIN_SYSCALL_CONSTRUCT_UNIX(514)), // ??? -// _____(__NR_ulock_wait), // 515 + MACX_(__NR_ulock_wait, ulock_wait), // 515 MACX_(__NR_ulock_wake, ulock_wake), // 516 // _____(__NR_fclonefileat), // 517 // _____(__NR_fs_snapshot), // 518 diff --git a/docs/internals/3_13_BUGSTATUS.txt b/docs/internals/3_13_BUGSTATUS.txt index 3db6a03..ac2ad29 100644 --- a/docs/internals/3_13_BUGSTATUS.txt +++ b/docs/internals/3_13_BUGSTATUS.txt @@ -229,8 +229,6 @@ Should possibly take 379373 Syscall param msg->desc.port.name points to uninitialised byte(s) on macOS 10.12 -379754 Missing syscall ulock_wait (OS X 10.12) - 379893 valgrind segfault os x 10.12.4 380269 No multithreading in macOS Sierra (10.12) diff --git a/include/vki/vki-darwin.h b/include/vki/vki-darwin.h index 5bebbba..3b31ff1 100644 --- a/include/vki/vki-darwin.h +++ b/include/vki/vki-darwin.h @@ -1128,5 +1128,17 @@ struct vki_necp_aggregate_result { }; #endif /* DARWIN_VERS == DARWIN_10_10 */ +#if DARWIN_VERS >= DARWIN_10_12 +// ulock_wake & ulock_wait operations +#define VKI_UL_OPCODE_MASK 0x000000FF +#define VKI_UL_FLAGS_MASK 0xFFFFFF00 +#define VKI_UL_COMPARE_AND_WAIT 1 +#define VKI_UL_UNFAIR_LOCK 2 +// ulock_wake & ulock_wait flags +#define ULF_NO_ERRNO 0x01000000 + +// ulock_wait flags +#define WKI_ULF_WAIT_WORKQ_DATA_CONTENTION 0x00010000 +#endif /* DARWIN_VERS >= DARWIN_10_12 */ #endif |
|
From: Rhys K. <rhy...@so...> - 2018-08-19 18:34:30
|
https://sourceware.org/git/gitweb.cgi?p=valgrind.git;h=f61cd55a9e614a872b157c014722a37bab219767 commit f61cd55a9e614a872b157c014722a37bab219767 Author: Rhys Kidd <rhy...@gm...> Date: Sun Aug 19 14:22:13 2018 -0400 macos: Fix valgrind OS-X build: config.h not found (out-of-tree macOS builds). bz#396475 Patch from Rob Boehne. Diff: --- NEWS | 1 + coregrind/Makefile.am | 2 +- docs/internals/3_13_BUGSTATUS.txt | 1 - 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/NEWS b/NEWS index dcbfce6..19f911e 100644 --- a/NEWS +++ b/NEWS @@ -138,6 +138,7 @@ where XXXXXX is the bug number as listed below. 395709 PPC64 is missing support for the xvnegsp instruction 395682 Accept read-only PT_LOAD segments and .rodata by ld -z separate-code == 384727 +396475 valgrind OS-X build: config.h not found (out-of-tree macOS builds) 396887 arch_prctl should return EINVAL on unknown option 397012 glibc ld.so uses arch_prctl on i386 diff --git a/coregrind/Makefile.am b/coregrind/Makefile.am index 4acacae..914a270 100644 --- a/coregrind/Makefile.am +++ b/coregrind/Makefile.am @@ -736,7 +736,7 @@ if VGCONF_OS_IS_DARWIN BUILT_SOURCES += fixup_macho_loadcmds fixup_macho_loadcmds: fixup_macho_loadcmds.c - $(CC) -I $(top_srcdir) -g -Wall -o $@ $< + $(CC) -I$(top_srcdir) -I$(top_builddir) -g -Wall -o $@ $< CLEANFILES += fixup_macho_loadcmds diff --git a/docs/internals/3_13_BUGSTATUS.txt b/docs/internals/3_13_BUGSTATUS.txt index 1cc17d7..3db6a03 100644 --- a/docs/internals/3_13_BUGSTATUS.txt +++ b/docs/internals/3_13_BUGSTATUS.txt @@ -853,7 +853,6 @@ Mon 6 Aug 11:04:50 CEST 2018 396369 WARNING: unhandled amd64-linux syscall: 332 396415 Valgrind is not looking up $ORIGIN rpath of shebang programs 396452 none/test/arm/vfp.c doesn't build with binutils 2.31 gas -396475 valgrind OS-X build: config.h not found 396476 Reading debug info of binaries with zero-size PT_LOAD segment 396656 Warnings while reading debug info 396706 VEX issue with AMD64 SHR instruction? |
|
From: Julian S. <se...@so...> - 2018-08-19 07:19:02
|
https://sourceware.org/git/gitweb.cgi?p=valgrind.git;h=ad1cbd325124b21d74e5829bb0bb6577d19d6687 commit ad1cbd325124b21d74e5829bb0bb6577d19d6687 Author: Julian Seward <js...@ac...> Date: Sun Aug 19 09:18:20 2018 +0200 arm64 front end: add early-writeback handling for w (32 bit int) and q (128 bit) stores. Clang 6.0.1 creates instructions of the form str wX, [sp,#-N] and str qX, [sp,#-N], and the lack of early writeback causes many false positive errors from Memcheck, plus it potentially breaks the segfault-based main-thread stack extension mechanism. This commit adds support for them, using the same scheme with which existing cases are handled. Diff: --- VEX/priv/guest_arm64_toIR.c | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/VEX/priv/guest_arm64_toIR.c b/VEX/priv/guest_arm64_toIR.c index 34035c0..476eedc 100644 --- a/VEX/priv/guest_arm64_toIR.c +++ b/VEX/priv/guest_arm64_toIR.c @@ -4815,19 +4815,20 @@ Bool dis_ARM64_load_store(/*MB_OUT*/DisResult* dres, UInt insn, } /* Normally rN would be updated after the transfer. However, in - the special case typifed by + the special cases typifed by str x30, [sp,#-16]! + str w1, [sp,#-32]! it is necessary to update SP before the transfer, (1) because Memcheck will otherwise complain about a write below the stack pointer, and (2) because the segfault stack extension mechanism will otherwise extend the stack only down to SP before the instruction, which might not be - far enough, if the -16 bit takes the actual access + far enough, if the -16/-32 bit takes the actual access address to the next page. */ Bool earlyWBack - = wBack && simm9 < 0 && szB == 8 - && how == BITS2(1,1) && nn == 31 && !isLoad && tt != nn; + = wBack && simm9 < 0 && (szB == 8 || szB == 4) + && how == BITS2(1,1) && nn == 31 && !isLoad; if (wBack && earlyWBack) putIReg64orSP(nn, mkexpr(tEA)); @@ -5724,11 +5725,13 @@ Bool dis_ARM64_load_store(/*MB_OUT*/DisResult* dres, UInt insn, /* Do early writeback for the cases typified by str d8, [sp, #-32]! str d10, [sp, #-128]! + str q1, [sp, #-32]! for the same reasons as described in a similar comment in the "LDP,STP (immediate, simm7) (FP&VEC)" case just above. */ Bool earlyWBack - = !atRN && !isLD && ty == Ity_F64 && nn == 31 && ((Long)simm9) < 0; + = !atRN && !isLD && (ty == Ity_F64 || ty == Ity_V128) + && nn == 31 && ((Long)simm9) < 0; if (earlyWBack) putIReg64orSP(nn, mkexpr(tEA)); |
|
From: Julian S. <se...@so...> - 2018-08-19 07:14:34
|
https://sourceware.org/git/gitweb.cgi?p=valgrind.git;h=43833b681df0fff4cc22a082b02c19fae147781c commit 43833b681df0fff4cc22a082b02c19fae147781c Author: Julian Seward <js...@ac...> Date: Sun Aug 19 09:13:30 2018 +0200 supp_pattEQinp: initialise a variable that gcc 7.3.1 + LTO thinks might be used uninitialised. Diff: --- coregrind/m_errormgr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coregrind/m_errormgr.c b/coregrind/m_errormgr.c index ebc947d..5dc1725 100644 --- a/coregrind/m_errormgr.c +++ b/coregrind/m_errormgr.c @@ -1829,7 +1829,7 @@ static Bool supp_pattEQinp ( const void* supplocV, const void* addrV, const SuppLoc* supploc = (const SuppLoc*)supplocV; /* PATTERN */ IPtoFunOrObjCompleter* ip2fo = (IPtoFunOrObjCompleter*)inputCompleterV; const HChar* funobjsrc_name; // Fun, Obj, or src file name. - UInt src_lineno; + UInt src_lineno = 0; Bool ret; expandInput(ip2fo, ixInput); |