pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: Andres Freund <andres@anarazel.de>
Cc: Alexander Lakhin <exclusion@gmail.com>
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #15899: Valgrind detects errors on create gist index
Date: Wed, 10 Jul 2019 16:07:25 +0900
Message-ID: <20190710070725.GA5042@paquier.xyz> (raw)
In-Reply-To: <20190709205925.5p7yu65a32yjzn5q@alap3.anarazel.de>
References: <15899-0d24fb273b3dd90c@postgresql.org>
	<38f18230-e766-3a87-e3ad-fef6562c0c23@gmail.com>
	<20190709044341.GA23827@paquier.xyz>
	<20190709205925.5p7yu65a32yjzn5q@alap3.anarazel.de>

On Tue, Jul 09, 2019 at 01:59:25PM -0700, Andres Freund wrote:
> I think this is just that openssl bug we've been talking about a while
> ago. keep_current_best is initialized via random(), which is in turn
> initialized with openssl's randomness (cf InitProcessGlobals()). As
> valgrind - legitimately - thinks that the openssl' random value is
> tainted by uninitialized data, it thinks that keep_current_best is
> uninitialized. And the branches above are the first values where a jump
> is made based on that uninitialized data.

Yes, thanks for reminding of that issue:
https://www.postgresql.org/message-id/20190611205131.e5trufqahzpiwut6@alap3.anarazel.de
I completely forgot about it, and I am now on 1.1.1c on my dev
machine, so this explains that.
--
Michael

Attachments:

  signature.asc (application/pgp-signature, 832B) download

view thread (6+ messages)

Message-ID: <20190710070725.GA5042@paquier.xyz>
Permalink:  ../20190710070725.GA5042@paquier.xyz/
Also on:    postgresql.org/message-id/20190710070725.GA5042@paquier.xyz

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: michael@paquier.xyz, andres@anarazel.de, exclusion@gmail.com, pgsql-bugs@lists.postgresql.org
  Subject: Re: BUG #15899: Valgrind detects errors on create gist index
  In-Reply-To: <20190710070725.GA5042@paquier.xyz>

* 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