From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andres Freund <andres@anarazel.de>
Cc: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: Alexander Lakhin <exclusion@gmail.com>
Cc: pgsql-bugs@lists.postgresql.org, PG Bug reporting form <noreply@postgresql.org>
Subject: Re: BUG #15943: Valgrind-detected error in SlruPhysicalWritePage
Date: Thu, 08 Aug 2019 14:41:42 -0400
Message-ID: <9616.1565289702@sss.pgh.pa.us> (raw)
In-Reply-To: <6F9C8AAA-D805-4E1D-8028-C9E1A1D8F0AB@anarazel.de>
References: <20190808164332.GA20632@alvherre.pgsql>
<6F9C8AAA-D805-4E1D-8028-C9E1A1D8F0AB@anarazel.de>
Andres Freund <andres@anarazel.de> writes:
> Seems there's no reason to not zero initialize memory here? But perhaps just by initializing the stack variable?
I think all we need here is another suppression in
src/tools/valgrind.supp. We have not insisted on zeroing
pad bytes that get sent to disk in the places already
enumerated in valgrind.supp, so why would we apply a
different rule to async.c?
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, andres@anarazel.de, alvherre@2ndquadrant.com, exclusion@gmail.com, noreply@postgresql.org
Subject: Re: BUG #15943: Valgrind-detected error in SlruPhysicalWritePage
In-Reply-To: <9616.1565289702@sss.pgh.pa.us>
References: <20190808164332.GA20632@alvherre.pgsql> <6F9C8AAA-D805-4E1D-8028-C9E1A1D8F0AB@anarazel.de> <9616.1565289702@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox