Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Wt1DH-0007kU-EA for pgsql-bugs@arkaria.postgresql.org; Fri, 06 Jun 2014 20:58:11 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Wt1DG-0003Bw-UD for pgsql-bugs@arkaria.postgresql.org; Fri, 06 Jun 2014 20:58:10 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Wt1DG-0003Bq-An for pgsql-bugs@postgresql.org; Fri, 06 Jun 2014 20:58:10 +0000 Received: from mail.anarazel.de ([217.115.131.40]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Wt1DC-0004dQ-TB for pgsql-bugs@postgresql.org; Fri, 06 Jun 2014 20:58:09 +0000 Received: by mail.anarazel.de (Postfix, from userid 108) id 321F34F0001; Fri, 6 Jun 2014 22:58:05 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on mail X-Spam-Level: X-Spam-Status: No, score=-6.5 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 Received: from anarazel.de (p5DDC41C2.dip0.t-ipconnect.de [93.220.65.194]) (Authenticated sender: andres@anarazel.de) by mail.anarazel.de (Postfix) with ESMTPSA id D61754E8006; Fri, 6 Jun 2014 22:58:01 +0200 (CEST) Received: by anarazel.de (Postfix, from userid 1000) id 61F7010068F; Fri, 6 Jun 2014 22:58:01 +0200 (CEST) Date: Fri, 6 Jun 2014 22:58:01 +0200 From: Andres Freund To: Alvaro Herrera Cc: Keith Fiske , Heikki Linnakangas , levertond@googlemail.com, "pgsql-bugs@postgresql.org" Subject: Re: BUG #10533: 9.4 beta1 assertion failure in autovacuum process Message-ID: <20140606205801.GB23201@awork2.anarazel.de> References: <20140605180121.3061.28250@wrigleys.postgresql.org> <5390BA0F.2030103@vmware.com> <20140605213436.GA17217@awork2.anarazel.de> <20140606205557.GX5146@eldon.alvh.no-ip.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20140606205557.GX5146@eldon.alvh.no-ip.org> X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org On 2014-06-06 16:55:58 -0400, Alvaro Herrera wrote: > Keith Fiske wrote: > > Not sure if this is the same issue originally reported, but the description > > sounded the same. I can get this to happen pretty reliably in 9.4beta1 with > > the pgtap test suite for one of my extensions - > > Uh, this is a completely different problem. We discussed long ago that > those pallocs in relpath() were going to cause a problem: I actually don't think it's a different problem. If we'd restructure things so the critical sections are separate this wouldn't be a problem. It's imo not a particularly good idea to mdopen() inside a critical section either. Greetings, Andres Freund -- Andres Freund http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs