Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oIW6p-0004IZ-7K for pgsql-bugs@arkaria.postgresql.org; Mon, 01 Aug 2022 14:09:27 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1oIW6n-00023X-Lp for pgsql-bugs@arkaria.postgresql.org; Mon, 01 Aug 2022 14:09:25 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oIW6n-00023O-DP for pgsql-bugs@lists.postgresql.org; Mon, 01 Aug 2022 14:09:25 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oIW6g-0007F2-R2 for pgsql-bugs@lists.postgresql.org; Mon, 01 Aug 2022 14:09:24 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 271E9GAC1699771; Mon, 1 Aug 2022 10:09:16 -0400 From: Tom Lane To: Michael Paquier cc: melody_xiaodi@sina.com, pgsql-bugs@lists.postgresql.org Subject: Re: BUG #17563: exception " Segmentation fault" occured when i executed 'reindex index concurrently' in pg12.0 In-reply-to: References: <17563-2aeaf763e2edfa83@postgresql.org> Comments: In-reply-to Michael Paquier message dated "Mon, 01 Aug 2022 16:57:40 +0900" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1699769.1659362956.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Mon, 01 Aug 2022 10:09:16 -0400 Message-ID: <1699770.1659362956@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Michael Paquier writes: > On Mon, Aug 01, 2022 at 02:39:36AM +0000, PG Bug reporting form wrote: >> i executed the sql below to rebuild an index in my pg database(version = 12.0) >> : >> psql> reindex index concurrently myindex; >> an unexpectend error was reported and all of the client processes exite= d >> abnormally . > 12.0 is 3 years behind in terms of bug fixes, 12.11 being the latest > minor version available. So you may want to check with this version > first and see if the problem reproduces there are well. Yeah, and REINDEX CONCURRENTLY has been one of the more-often-fixed features :-(. If it does still reproduce with 12.11, please see if you can get a stack trace from the crash [1]. Also, does it crash if you omit CONCURRENTLY? regards, tom lane [1] https://wiki.postgresql.org/wiki/Generating_a_stack_trace_of_a_Postgre= SQL_backend