Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iUxpl-0001e3-QR for pgsql-general@arkaria.postgresql.org; Wed, 13 Nov 2019 18:57:41 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iUxpk-0006xs-7f for pgsql-general@arkaria.postgresql.org; Wed, 13 Nov 2019 18:57:40 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iUxpj-0006xk-RE for pgsql-general@lists.postgresql.org; Wed, 13 Nov 2019 18:57:39 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1iUxpg-0002DW-LL for pgsql-general@postgresql.org; Wed, 13 Nov 2019 18:57:38 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id xADIvXOA008992; Wed, 13 Nov 2019 13:57:33 -0500 From: Tom Lane To: Gerrit Fouche cc: pgsql-general@postgresql.org Subject: Re: terminated by signal 11: Segmentation fault In-reply-to: References: Comments: In-reply-to Gerrit Fouche message dated "Wed, 13 Nov 2019 12:02:46 +0200" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <8990.1573671453.1@sss.pgh.pa.us> Date: Wed, 13 Nov 2019 13:57:33 -0500 Message-ID: <8991.1573671453@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Gerrit Fouche writes: > This is the second time I get this error since Postgresql 12 was officially > released. My version: > PostgreSQL 12.0 (Ubuntu 12.0-2.pgdg18.04+1) on x86_64-pc-linux-gnu, > compiled by gcc (Ubuntu 7.4.0-1ubuntu1~18.04.1) 7.4.0, 64-bit Given that this failed in an UPDATE, I suspect it's a known problem: if you have a BEFORE UPDATE row-level trigger, and a concurrent update on the same row happens, 12.0 can dump core due to a slot memory management mistake. There's a fix in 12.1, due out tomorrow. regards, tom lane