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 1q9sJl-00034q-L4 for pgsql-bugs@arkaria.postgresql.org; Thu, 15 Jun 2023 19:07:37 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1q9sJk-0004pJ-9r for pgsql-bugs@arkaria.postgresql.org; Thu, 15 Jun 2023 19:07:36 +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 1q9sJk-0004p9-1n for pgsql-bugs@lists.postgresql.org; Thu, 15 Jun 2023 19:07:36 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1q9sJd-002Ogq-G8 for pgsql-bugs@lists.postgresql.org; Thu, 15 Jun 2023 19:07:34 +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 35FJ7RBb2252982; Thu, 15 Jun 2023 15:07:27 -0400 From: Tom Lane To: Cory Albrecht cc: pgsql-bugs@lists.postgresql.org Subject: Re: BUG #17977: PorstGreSQL in a jail crashes randomly with Signal 10 bus error In-reply-to: References: <17977-e252db4b187adeb5@postgresql.org> <2113225.1686835726@sss.pgh.pa.us> Comments: In-reply-to Cory Albrecht message dated "Thu, 15 Jun 2023 14:57:37 -0400" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <2252980.1686856047.1@sss.pgh.pa.us> Date: Thu, 15 Jun 2023 15:07:27 -0400 Message-ID: <2252981.1686856047@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Cory Albrecht writes: > Also, which PID do I attach GDB to? > If it's the individual database ones like 15947 or 15990 in the > above example, I have no way of knowing which one will get a SIGBUS. Is the > main process (e.g. 15892) OK? If you don't know that, the best way is to collect a core file and then gdb that. Starting the postmaster under "ulimit -c unlimited" ought to be enough. regards, tom lane