From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: Alexander Lakhin <exclusion@gmail.com>
Cc: Andres Freund <andres@anarazel.de>
Cc: pgsql-bugs@lists.postgresql.org, PG Bug reporting form <noreply@postgresql.org>
Subject: Re: BUG #15943: Valgrind-detected error in SlruPhysicalWritePage
Date: Thu, 8 Aug 2019 12:43:32 -0400
Message-ID: <20190808164332.GA20632@alvherre.pgsql> (raw)
In-Reply-To: <8c31c946-f2e8-3b07-3191-9f5698e3dd14@gmail.com>
On 2019-Aug-08, Alexander Lakhin wrote:
> Indeed, "memset(&qe, 0, sizeof(qe));" added in the beginning of
> asyncQueueAddEntries fixes the issue.
> More interestingly, "memset(qe.data, 0, sizeof(qe.data));" in the same
> place fixes it too (the patch is attached).
Maybe VALGRIND_MAKE_MEM_DEFINED?
--
Álvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
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: alvherre@2ndquadrant.com, exclusion@gmail.com, andres@anarazel.de, noreply@postgresql.org
Subject: Re: BUG #15943: Valgrind-detected error in SlruPhysicalWritePage
In-Reply-To: <20190808164332.GA20632@alvherre.pgsql>
References: <8c31c946-f2e8-3b07-3191-9f5698e3dd14@gmail.com> <20190808164332.GA20632@alvherre.pgsql>
* 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