Re: BUG #15899: Valgrind detects errors on create gist index - Mailing list pgsql-bugs

From Michael Paquier
Subject Re: BUG #15899: Valgrind detects errors on create gist index
Date
Msg-id 20190710070725.GA5042@paquier.xyz
Whole thread Raw
In response to Re: BUG #15899: Valgrind detects errors on create gist index  (Andres Freund <andres@anarazel.de>)
List 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

Attachment

pgsql-bugs by date:

Previous
From: Michael Paquier
Date:
Subject: Re: BUG #15899: Valgrind detects errors on create gist index
Next
From: Andres Freund
Date:
Subject: Re: BUG #15888: Bogus "idle in transaction" state for logicaldecoding client after creating a slot