Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qgZlA-00GGV5-A9 for pgsql-bugs@arkaria.postgresql.org; Wed, 13 Sep 2023 23:59:04 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1qgZl9-003zh5-5z for pgsql-bugs@arkaria.postgresql.org; Wed, 13 Sep 2023 23:59:02 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qgZl8-003zgk-TQ for pgsql-bugs@lists.postgresql.org; Wed, 13 Sep 2023 23:59:02 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qgZl6-004QIu-0L for pgsql-bugs@lists.postgresql.org; Wed, 13 Sep 2023 23:59:01 +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 38DNwvCm3030993; Wed, 13 Sep 2023 19:58:57 -0400 From: Tom Lane To: wobbet@wobbet.com, Robert Sanford cc: pgsql-bugs@lists.postgresql.org Subject: Re: Segmentation Fault In-reply-to: References: Comments: In-reply-to Robert Sanford message dated "Wed, 13 Sep 2023 17:31:12 -0500" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <3030991.1694649537.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Wed, 13 Sep 2023 19:58:57 -0400 Message-ID: <3030992.1694649537@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Robert Sanford writes: > I realized that when I was running GDB I just took a snap of when it > failed. Here I've added after continuing and requesting a backtrace. This is still quite unhelpful; it appears to show normal behavior in a process that's not the failing one. There is some advice about collecting useful backtraces at https://wiki.postgresql.org/wiki/Generating_a_stack_trace_of_a_PostgreSQL_= backend I'd counsel the method of enabling core dumps and then attaching gdb to a core file, rather than dealing with live processes. regards, tom lane