Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1aZKQz-00034Z-1W for pgsql-bugs@arkaria.postgresql.org; Fri, 26 Feb 2016 15:36:01 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1aZKQy-0005Ae-KI for pgsql-bugs@arkaria.postgresql.org; Fri, 26 Feb 2016 15:36:00 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1aZF41-0001BY-F4 for pgsql-bugs@postgresql.org; Fri, 26 Feb 2016 09:51:57 +0000 Received: from mbob.nabble.com ([162.253.133.15]) by makus.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1aZF3y-0006xk-H5 for pgsql-bugs@postgresql.org; Fri, 26 Feb 2016 09:51:56 +0000 Received: from msam.nabble.com (unknown [162.253.133.85]) by mbob.nabble.com (Postfix) with ESMTP id C4F21219C080 for ; Fri, 26 Feb 2016 01:44:15 -0800 (PST) Date: Fri, 26 Feb 2016 02:51:52 -0700 (MST) From: Chris Tessels To: pgsql-bugs@postgresql.org Message-ID: <1456480312750-5889384.post@n5.nabble.com> In-Reply-To: <20160225170259.fflfa2mdzkus3rkk@alap3.anarazel.de> References: <20160224125824.2573.27524@wrigleys.postgresql.org> <20160225170259.fflfa2mdzkus3rkk@alap3.anarazel.de> Subject: Re: BUG #13985: Segmentation fault on PREPARE TRANSACTION MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 Andres Freund wrote > Hi, > > On 2016-02-24 12:58:24 +0000, > chris.tessels@ > wrote: > >> Core was generated by `postgres: mailinfo_ow mailinfo_ods >> 10.50.6.6(4188'. >> Program terminated with signal 11, Segmentation fault. >> >> #0 MinimumActiveBackends (min=50) at procarray.c:2472 >> 2472 if (pgxact->xid == InvalidTransactionId) >> > > Could you get us a full backtrace here? It's interesting that you're in > an XLogFlush()... > >> Postgresql version: >> commit_delay 50 configuration file >> commit_siblings 50 configuration file > > FWIW, these look unlikely to be beneficial. How did you end up with > those parameters? > > > Greetings, > > Andres Freund > > > -- > Sent via pgsql-bugs mailing list ( > pgsql-bugs@ > ) > To make changes to your subscription: > http://www.postgresql.org/mailpref/pgsql-bugs Hi Andres, The full backtrace: Core was generated by `postgres: mailinfo_subscription_ow mailinfo_subsc'. Program terminated with signal 11, Segmentation fault. #0 MinimumActiveBackends (min=50) at procarray.c:2472 2472 if (pgxact->xid == InvalidTransactionId) (gdb) bt #0 MinimumActiveBackends (min=50) at procarray.c:2472 #1 0x00000000004c5bfb in XLogFlush (record=79323083800) at xlog.c:2856 #2 0x00000000004bea27 in EndPrepare (gxact=0x7fc2ccf22a00) at twophase.c:1125 #3 0x00000000004b6b02 in PrepareTransaction () at xact.c:2222 #4 0x00000000004b6e07 in CommitTransactionCommand () at xact.c:2738 #5 0x0000000000685719 in finish_xact_command () at postgres.c:2437 #6 0x00000000006899b0 in exec_execute_message (argc=, argv=, dbname=0x24e2c30 "mailinfo_subscription_ods", username=) at postgres.c:1974 #7 PostgresMain (argc=, argv=, dbname=0x24e2c30 "mailinfo_subscription_ods", username=) at postgres.c:4142 #8 0x0000000000634929 in BackendRun (argc=, argv=) at postmaster.c:4285 #9 BackendStartup (argc=, argv=) at postmaster.c:3948 #10 ServerLoop (argc=, argv=) at postmaster.c:1679 #11 PostmasterMain (argc=, argv=) at postmaster.c:1287 #12 0x00000000005cc248 in main (argc=3, argv=0x24b87e0) at main.c:228 I'm not sure why we deviated from the default settings for 'commit_delay' and 'commit_siblings'. I went through our documentation and could not find an entry why this setting was changed. We are running a test with the default settings to see if this has any impact. Regards, Chris -- View this message in context: http://postgresql.nabble.com/BUG-13985-Segmentation-fault-on-PREPARE-TRANSACTION-tp5889158p5889384.html Sent from the PostgreSQL - bugs mailing list archive at Nabble.com. -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs