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 1v3GDz-00DcNN-77 for pgsql-bugs@arkaria.postgresql.org; Mon, 29 Sep 2025 15:55:39 +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 1v3GDx-002S7h-7h for pgsql-bugs@arkaria.postgresql.org; Mon, 29 Sep 2025 15:55:37 +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 1v3GDw-002S7Z-Vt for pgsql-bugs@lists.postgresql.org; Mon, 29 Sep 2025 15:55:37 +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.96) (envelope-from ) id 1v3GDv-000jwq-1j for pgsql-bugs@lists.postgresql.org; Mon, 29 Sep 2025 15:55:37 +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 58TFtVcb202544; Mon, 29 Sep 2025 11:55:31 -0400 From: Tom Lane To: Todd Cook cc: David Rowley , "pgsql-bugs@lists.postgresql.org" Subject: Re: BUG #19067: On master at commit 66cdef4425f3, "psql -c 'select 1' dbname" causes the backend to seg fault In-reply-to: References: <19067-9a2a03ceb9a4e46c@postgresql.org> Comments: In-reply-to Todd Cook message dated "Mon, 29 Sep 2025 15:28:13 -0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <202542.1759161331.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Mon, 29 Sep 2025 11:55:31 -0400 Message-ID: <202543.1759161331@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Todd Cook writes: > On 9/27/25, 5:07 AM, "David Rowley" > wrote: >> I think it's more likely you need to do "make clean" before building. > Generally, when is that needed? I pulled and built master last Monday w= ithout any problems, > didn't touch the tree, then pulled and built again on Friday and started= getting the seg faults. > I had expected an incremental build to work in that scenario. If you use --enable-depend that should generally work, but without it you'd better "make clean" any time *.h files change. regards, tom lane