Re: BUG #15899: Valgrind detects errors on create gist index

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: Alexander Lakhin <exclusion(at)gmail(dot)com>, pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #15899: Valgrind detects errors on create gist index
Date: 2019-07-10 07:07:25
Message-ID: 20190710070725.GA5042@paquier.xyz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Andres Freund 2019-07-10 07:55:01 Re: BUG #15888: Bogus "idle in transaction" state for logical decoding client after creating a slot
Previous Message Michael Paquier 2019-07-10 07:02:19 Re: BUG #15899: Valgrind detects errors on create gist index