Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1unHd5-0050fi-0W for pgsql-bugs@arkaria.postgresql.org; Sat, 16 Aug 2025 14:11:32 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1unHd4-005lHc-DT for pgsql-bugs@arkaria.postgresql.org; Sat, 16 Aug 2025 14:11:31 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1unHd4-005lHU-4q for pgsql-bugs@lists.postgresql.org; Sat, 16 Aug 2025 14:11:30 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1unHd2-000B1J-1X for pgsql-bugs@lists.postgresql.org; Sat, 16 Aug 2025 14:11:30 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 57GEBOpZ757308; Sat, 16 Aug 2025 10:11:24 -0400 From: Tom Lane To: exclusion@gmail.com cc: pgsql-bugs@lists.postgresql.org Subject: Re: BUG #19020: BufFileDumpBuffer writes uninitialized data on executing hash join In-reply-to: <19020-2028eba94974a545@postgresql.org> References: <19020-2028eba94974a545@postgresql.org> Comments: In-reply-to PG Bug reporting form message dated "Sat, 16 Aug 2025 12:00:01 -0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <757306.1755353484.1@sss.pgh.pa.us> Date: Sat, 16 Aug 2025 10:11:24 -0400 Message-ID: <757307.1755353484@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk PG Bug reporting form writes: > ==00:00:00:06.424 2914013== Syscall param pwrite64(buf) points to > uninitialised byte(s) > ==00:00:00:06.424 2914013== at 0x4FF8517: pwrite (pwrite64.c:25) > ==00:00:00:06.424 2914013== by 0x7C10E8: pg_pwritev (pg_iovec.h:101) > ==00:00:00:06.424 2914013== by 0x7C3BD1: FileWriteV (fd.c:2293) > ==00:00:00:06.424 2914013== by 0x7BEB0A: FileWrite (fd.h:219) > ==00:00:00:06.424 2914013== by 0x7BF685: BufFileDumpBuffer > (buffile.c:538) Looks like this path needs to be added to the suppressions in src/tools/valgrind.supp. I'm a bit surprised that the buildfarm hasn't already shown this up. regards, tom lane