pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tomas Vondra <tomas.vondra@2ndquadrant.com>
To: Peter Geoghegan <pg@bowt.ie>
Cc: Andres Freund <andres@anarazel.de>
Cc: Tomas Vondra <tomas.vondra@postgresql.org>
Cc: pgsql-committers <pgsql-committers@lists.postgresql.org>
Subject: Re: pgsql: Add support for multivariate MCV lists
Date: Thu, 28 Mar 2019 02:27:52 +0100
Message-ID: <20190328012752.GD4406@development> (raw)
In-Reply-To: <20190327203353.GC21957@development>
References: <E1h9DoH-0004Bn-4N@gemulon.postgresql.org>
	<20190327190406.3gmupkthnbx7lvho@alap3.anarazel.de>
	<CAH2-Wzn8qvKsw3bgixXymQ6CAHTA3Vofw7vCUAFV0qGcTmkerg@mail.gmail.com>
	<20190327201346.GB21957@development>
	<20190327203353.GC21957@development>

On Wed, Mar 27, 2019 at 09:33:53PM +0100, Tomas Vondra wrote:
>On Wed, Mar 27, 2019 at 09:13:46PM +0100, Tomas Vondra wrote:
>>On Wed, Mar 27, 2019 at 12:32:34PM -0700, Peter Geoghegan wrote:
>>>On Wed, Mar 27, 2019 at 12:04 PM Andres Freund <andres@anarazel.de> wrote:
>>>>Congrats, this was long in the making!
>>>
>>>+1
>>>
>>
>>Thanks! I guess it's a Gordie Howe of our patches.
>>
>>>Buildfarm member aye-aye has a problem with this patch, though:
>>>
>>>https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=aye-aye&dt=2019-03-27%2019%3A07%3A53
>>>
>>
>>Damn. And I see locust, prion and dory also seem to have an issue.
>>locust is also a power machine, I wonder if that's somehow related.
>>
>>I'll take a look.
>>
>
>There seems to be a bug in statext_mcv_load - the deserialize happens
>after releasing syscache. That's probably why prion is failing, because
>it's running with -DRELCACHE_FORCE_RELEASE -DCATCACHE_FORCE_RELEASE. Not
>sure about aye-aye.
>

FWIW I can reproduce the issue by simply using the same CFLAGS, and it
turns out the MCV deserialization is a bit borked (the value may easily
reference memory that already went away). I have a patch that resolves
that for me, and I assume it'll address the other failures related to
this commit too - for example the segfault on gharial).

It's a bit too late for pushing emergency fixes over here, so I'll do
more testing tomorrow and then push.


regards

-- 
Tomas Vondra                  http://www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services 





view thread (16+ messages)  latest in thread

Message-ID: <20190328012752.GD4406@development>
Permalink:  ../20190328012752.GD4406@development/
Also on:    postgresql.org/message-id/20190328012752.GD4406@development

 · 

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 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-committers@postgresql.org
  Cc: tomas.vondra@2ndquadrant.com, pg@bowt.ie, andres@anarazel.de, tomas.vondra@postgresql.org
  Subject: Re: pgsql: Add support for multivariate MCV lists
  In-Reply-To: <20190328012752.GD4406@development>
  References: <E1h9DoH-0004Bn-4N@gemulon.postgresql.org> <20190327190406.3gmupkthnbx7lvho@alap3.anarazel.de> <CAH2-Wzn8qvKsw3bgixXymQ6CAHTA3Vofw7vCUAFV0qGcTmkerg@mail.gmail.com> <20190327201346.GB21957@development> <20190327203353.GC21957@development> <20190328012752.GD4406@development>

* 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