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 1p0sBg-0000vJ-9U for pgsql-bugs@arkaria.postgresql.org; Thu, 01 Dec 2022 22:37:48 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1p0sBf-0002Un-45 for pgsql-bugs@arkaria.postgresql.org; Thu, 01 Dec 2022 22:37:47 +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 1p0sBe-0002Ue-Rg for pgsql-bugs@lists.postgresql.org; Thu, 01 Dec 2022 22:37:46 +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 1p0sBc-0008P0-GH for pgsql-bugs@lists.postgresql.org; Thu, 01 Dec 2022 22:37:45 +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 2B1MbdtP1721829; Thu, 1 Dec 2022 17:37:39 -0500 From: Tom Lane To: Andres Freund cc: garrett@rave.io, pgsql-bugs@lists.postgresql.org Subject: Re: =?US-ASCII?Q?Re=3A_BUG_=2317704=3A_Monitoring_Queries_trigger_=27Signal_?= =?US-ASCII?Q?7=3A_Bus_Error=27_After_Creating_Hash_Partitioned_Table?= In-reply-to: <6A41AC1A-18D8-4678-975D-2438722F08FC@anarazel.de> References: <17704-601ac10a659e8855@postgresql.org> <6A41AC1A-18D8-4678-975D-2438722F08FC@anarazel.de> Comments: In-reply-to Andres Freund message dated "Thu, 01 Dec 2022 13:59:03 -0800" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1721827.1669934259.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Thu, 01 Dec 2022 17:37:39 -0500 Message-ID: <1721828.1669934259@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Andres Freund writes: > On December 1, 2022 1:23:06 PM PST, PG Bug reporting form wrote: >> Today I rolled out a new hash partitioned table with 1024 partitions to= our >> production DB (PostgreSQL 14.6 (Ubuntu 14.6-1.pgdg22.04+1) on >> aarch64-unknown-linux-gnu, compiled by gcc (Ubuntu 11.3.0-1ubuntu1~22.0= 4) >> 11.3.0, 64-bit). Previously we had been using pganalyze2 and pgmetrics = with >> no issue. Starting with the deployment of the new partitioned table any= time >> pgmetrics or pganalyze2 would run we would get a SIGBUS and postgresql = would >> crash. = > Unfortunately that's not pointing anywhere obvious. We'll need a backtra= ce for the crash at least. Indeed. > I'm on my phone rn, so no link. But there's an article on the wiki with = information about collecting a backtrace. = https://wiki.postgresql.org/wiki/Generating_a_stack_trace_of_a_PostgreSQL_= backend regards, tom lane