Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ckHJf-00052y-IF for pgsql-hackers@arkaria.postgresql.org; Sat, 04 Mar 2017 21:34:15 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1ckHJe-0002Lv-Cn for pgsql-hackers@arkaria.postgresql.org; Sat, 04 Mar 2017 21:34:14 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1ckH2w-0001rQ-Hm for pgsql-hackers@postgresql.org; Sat, 04 Mar 2017 21:16:58 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1ckH2t-0001BG-Uu for pgsql-hackers@postgresql.org; Sat, 04 Mar 2017 21:16:58 +0000 Received: from pro.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id v24LGrUE011448; Sat, 4 Mar 2017 16:16:53 -0500 From: Tom Lane To: Stephen Frost cc: Andrew Dunstan , PostgreSQL-development Subject: Re: Re: check failure with -DRELCACHE_FORCE_RELEASE -DCLOBBER_FREED_MEMORY In-reply-to: <22846.1488660113@sss.pgh.pa.us> References: <7b52f900-0579-cda9-ae2e-de5da17090e6@2ndQuadrant.com> <2b2c4bc2-160c-8626-1374-c0da6a638339@2ndQuadrant.com> <22846.1488660113@sss.pgh.pa.us> Comments: In-reply-to Tom Lane message dated "Sat, 04 Mar 2017 15:41:53 -0500" Date: Sat, 04 Mar 2017 16:16:51 -0500 Message-ID: <40492.1488662211@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org I wrote: > Andrew Dunstan writes: >> On 03/03/2017 02:24 PM, Andrew Dunstan wrote: >>> I have been setting up a buildfarm member with -DRELCACHE_FORCE_RELEASE >>> -DCLOBBER_FREED_MEMORY, settings which Alvaro suggested to me.I got core >>> dumps with these stack traces. The platform is Amazon Linux. >> I have replicated this on a couple of other platforms (Fedora, FreeBSD) >> and back to 9.5. The same failure doesn't happen with buildfarm runs on >> earlier branches, although possibly they don't have the same set of tests. > well, the problem in rebuild_relation() seems pretty blatant: I fixed that, and the basic regression tests no longer crash outright with these settings, but I do see half a dozen errors that all seem to be in RLS-related tests. They all look like something is trying to access an already-closed relcache entry, much like the problem in rebuild_relation(). But I have no time to look closer for the next several days. Stephen, I think this is your turf anyway. regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers