From nobody Thu Mar 16 19:35:41 2023 X-Original-To: dev-commits-doc-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PcyCy1RrMz3yVtr for ; Thu, 16 Mar 2023 19:35:42 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PcyCy0ydZz47d8; Thu, 16 Mar 2023 19:35:42 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678995342; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=gDQKKVEStmCSgrk+lILPPQo7Cc7Q8d+NnDetA4kXing=; b=rFiF7z0BHW7YxGRXj2HYl23Tdm3/iFjL0PaJqg4c+Ii4vWZ/LL/tnKCcmj0osUHMVHGl/h FvVt9iC+TRlTsGMtm/MA4/cn99qErCs2E5gTsNmCploepmamSyXHOkn962fwQHRQ7IA14z gbtC8Plkl8OgXTXOFGPCf4oW3vIAyHe2c1t//rJvDCEz6OMCe/gMRCeIuMyaoV3fIF8Op3 EOTbyhPnhi41MIFGntCpZ/j8tf00FUUlzD2ZAMU4rsKhL5fsP+ZeW66p3EBt0dyxbZBjCK /xI+o0LfRivm5oDIgpliWe02ST1BzWhyv6bgVvqX2H74WlEvLJ6k6j2fKjzB3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678995342; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=gDQKKVEStmCSgrk+lILPPQo7Cc7Q8d+NnDetA4kXing=; b=ekE9dfv4vQP/5KotZdK39JWjCl2R5Uoo3r8YggR3weS/DG90EdPSogEKHqnYf0B5HrwZ2/ UhDROp7csU+ZUnGBHi1HJW8BaBbdFIXRWRto9fehJe8z63Q8Yb0XnQKngFme4h8qQ4EOiW ytW1XBJnl+ShWZIpkFhCsxyidmxtYd0mGEM3sV5k8GvEMn7lrzXrT2iTSWbBW7J9uzZQ/M EETgr9XzGZWa0SaemW7vBfrlO3Ca5IpuKSE8O7INhuSxN9VqjVxUIN2TqsJw1HX0NSShq3 yfEuDtteWc30jOtkT3VuY2eETleM6bxC2dWytOcxacazWnn81F7QqLbgf0X23A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1678995342; a=rsa-sha256; cv=none; b=k8vOEEfN00FgtP4t0cGX4wfKZbBYytTRGmSKld8hLrWseRgFYfhvkhAJFHY+vh1w3yVMLD kaj6vhKFNUyw7lCbXFMDBKg9InyD0UIngPGyTGTaWrBQFOdqaaSFcbCDN/Ll3k/YsQAAtf dVJsM/e70GHgUFX0jzlovtCClWqTY2oKL0MQyBIbHgcpRt0Od9RIXmL15Q3AHnSuMRaVO8 LsKwRrKULjmyE2Ttf5U84FhNhi6i8pjAOy5gjOepRXBsMVqgHQaOOgRYV8IPTg6vv2+sWz z+Yk9oOOSrjJA8aPFWhzHhjYpeRbA2e2No4E8h3PaDEapjBqbpn90SEvG7jVGw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4PcyCy01N0zwSR; Thu, 16 Mar 2023 19:35:42 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 32GJZfYM002571; Thu, 16 Mar 2023 19:35:41 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 32GJZfsS002570; Thu, 16 Mar 2023 19:35:41 GMT (envelope-from git) Date: Thu, 16 Mar 2023 19:35:41 GMT Message-Id: <202303161935.32GJZfsS002570@gitrepo.freebsd.org> To: doc-committers@FreeBSD.org, dev-commits-doc-all@FreeBSD.org From: Lorenzo Salvadore Subject: git: dff50bc55d - main - Status/2023Q1: Add Valgrind report List-Id: Commit messages for all branches of the doc repository List-Archive: https://lists.freebsd.org/archives/dev-commits-doc-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-doc-all@freebsd.org X-BeenThere: dev-commits-doc-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: salvadore X-Git-Repository: doc X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: dff50bc55d981f683eecd5b060611f2b66bc06f6 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by salvadore: URL: https://cgit.FreeBSD.org/doc/commit/?id=dff50bc55d981f683eecd5b060611f2b66bc06f6 commit dff50bc55d981f683eecd5b060611f2b66bc06f6 Author: Paul Floyd AuthorDate: 2023-03-16 18:24:27 +0000 Commit: Lorenzo Salvadore CommitDate: 2023-03-16 18:31:50 +0000 Status/2023Q1: Add Valgrind report Reviewed by: Pau Amma Pull Request: https://github.com/freebsd/freebsd-doc/pull/120/files Differential Revision: https://reviews.freebsd.org/D39022 --- .../en/status/report-2023-01-2023-03/valgrind.adoc | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/website/content/en/status/report-2023-01-2023-03/valgrind.adoc b/website/content/en/status/report-2023-01-2023-03/valgrind.adoc new file mode 100644 index 0000000000..989b880182 --- /dev/null +++ b/website/content/en/status/report-2023-01-2023-03/valgrind.adoc @@ -0,0 +1,29 @@ +=== Valgrind - Preparing for Valgrind 3.21 + +Links: + +link:https://www.valgrind.org/[Valgrind Home Page] URL: link:https://www.valgrind.org/[https://www.valgrind.org/] + +link:https://www.valgrind.org/docs/manual/dist.news.html[Valgrind News] URL: link:https://www.valgrind.org/docs/manual/dist.news.html[https://www.valgrind.org/docs/manual/dist.news.html] + +Contact: Paul Floyd + +The package:devel/valgrind-devel[] port had an intermediate update which was submitted on 2023-02-20. +This contains most of what will be in the official release of Valgrind 3.21 which is due out shortly after this status report. + +There is a nice improvement to the vgdb interface. +It's now much easier to see which bits of memory are initialized or not. +There are a couple of fixes to the thread checks done by Helgrind. + +For FreeBSD specifically, the address space limit has been raised to be the same as Linux and Solaris on amd64. +It was 32Gbytes and now it is 128Gbytes. +The `kern.proc.pathname.PID` man:sysctl[3] has been fixed so that it returns the path of the guest exe and not that of the Valgrind host. +At the same time I fixed some `_umtx_op` false positives and corrected auxv `AT_EXECPATH` in a way similar to `kern.proc.pathname.PID`. +Syscall wrappers have been added for man:sctp_generic_sendmsg[2] and man:sctp_generic_recvmsg[2]. + +Not yet available in the ports versions of Valgrind, there is a workaround for the use of man:rfork[2]. +Previously, since it is not supported, it would cause Valgrind to abort. +Now it fails gracefully setting either EINVAL or ENOSYS. +The main use of this system call is in man:posix_spawn[3], which will fall back to using man:vfork[2]. + +The man:mknodat[2] syscall wrapper was incorrectly implemented on i386 and has now been fixed. + +There is a reworking of all of the aligned allocation functions so that they behave less like Linux glibc and more like the Valgrind build platform.