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 1qkCUf-00DWON-Tb for pgsql-admin@arkaria.postgresql.org; Sat, 23 Sep 2023 23:57:01 +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 1qkCUd-003Ikq-Es for pgsql-admin@arkaria.postgresql.org; Sat, 23 Sep 2023 23:56:59 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qkCUd-003Ika-2Y for pgsql-admin@lists.postgresql.org; Sat, 23 Sep 2023 23:56:59 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qkCUU-007CWw-A8 for pgsql-admin@lists.postgresql.org; Sat, 23 Sep 2023 23:56:58 +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 38NNukeP1418007; Sat, 23 Sep 2023 19:56:46 -0400 From: Tom Lane To: Matt Gibbins cc: pgsql-admin@lists.postgresql.org Subject: Re: Segmentation fault when running queries in sequence In-reply-to: References: <728d1797-efdd-4298-8ab2-042a28ddaae2@fastmail.com.au> <1282819.1695479196@sss.pgh.pa.us> Comments: In-reply-to Matt Gibbins message dated "Sun, 24 Sep 2023 09:39:59 +1000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1418005.1695513406.1@sss.pgh.pa.us> Date: Sat, 23 Sep 2023 19:56:46 -0400 Message-ID: <1418006.1695513406@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Matt Gibbins writes: > When I launch gdb for stack trace on the server the process hangs. If you mean you're attaching gdb to the active server process, yes that would stop execution. You could just say "continue" and wait for the segfault to occur. regards, tom lane