Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UErRz-0007qv-5U for pgsql-bugs@arkaria.postgresql.org; Mon, 11 Mar 2013 01:22:51 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1UErRy-0005ty-MT for pgsql-bugs@arkaria.postgresql.org; Mon, 11 Mar 2013 01:22:50 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UErRy-0005tn-5D for pgsql-bugs@postgresql.org; Mon, 11 Mar 2013 01:22:50 +0000 Received: from smtprelay0133.b.hostedemail.com ([64.98.42.133] helo=smtprelay.b.hostedemail.com) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UErRv-00085c-30 for pgsql-bugs@postgresql.org; Mon, 11 Mar 2013 01:22:49 +0000 Received: from filter.hostedemail.com (b-bigip1 [10.5.19.254]) by smtprelay04.b.hostedemail.com (Postfix) with SMTP id BBE07E4C15; Mon, 11 Mar 2013 01:22:44 +0000 (UTC) X-Panda: scanned! X-Session-Marker: 616C76686572726540616C76682E6E6F2D69702E6F7267 X-Filterd-Recvd-Size: 1897 Received: from perhan.alvh.no-ip.org (unknown [190.95.31.144]) (Authenticated sender: alvherre@alvh.no-ip.org) by omf08.b.hostedemail.com (Postfix) with ESMTPA; Mon, 11 Mar 2013 01:22:44 +0000 (UTC) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id CE23C6E0B3; Sun, 10 Mar 2013 22:22:40 -0300 (CLST) Date: Sun, 10 Mar 2013 22:22:40 -0300 From: Alvaro Herrera To: Josh Berkus Cc: pgsql-bugs@postgresql.org Subject: Re: New kind of crash? Message-ID: <20130311012240.GA9412@alvh.no-ip.org> References: <513A81F2.5060409@agliodbs.com> <20130309032708.GF5352@alvh.no-ip.org> <513BCD25.40003@agliodbs.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <513BCD25.40003@agliodbs.com> User-Agent: Mutt/1.5.21 (2010-09-15) Content-Transfer-Encoding: quoted-printable X-Pg-Spam-Score: -1.9 (-) 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 Josh Berkus wrote: > On 03/08/2013 07:27 PM, Alvaro Herrera wrote: > > Josh Berkus wrote: > >> Folks, > >> > >> This is one I've never seen before: > >> > >> =3D> select generate_master_tables(); > >> WARNING: AbortTransaction while in COMMIT state > >> PANIC: cannot abort transaction 9387287, it was already committed > >=20 > > Anything that causes an ERROR in the final stages of a transaction > > commit will look like this. Maybe, for example, something tried to > > acquire more shared memory for something (serializable xact?) but that > > was already full because of lock objects. >=20 > Well, is it worth trying to reproduce and diagnose? IMO it's worth adding enough protections that in these situations you get regular ERRORs rather than PANICs, assuming the scenario is not too contrived and the required patches are not too complex. --=20 =C1lvaro Herrera http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services --=20 Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs