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 1red3z-00CSkc-C5 for pgsql-bugs@arkaria.postgresql.org; Mon, 26 Feb 2024 15:38:43 +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 1red3x-00EYog-Jk for pgsql-bugs@arkaria.postgresql.org; Mon, 26 Feb 2024 15:38:42 +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 1red3x-00EYoY-Bg for pgsql-bugs@lists.postgresql.org; Mon, 26 Feb 2024 15:38:41 +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 1red3v-001C1N-6q for pgsql-bugs@lists.postgresql.org; Mon, 26 Feb 2024 15:38:41 +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 41QFcbx71799639; Mon, 26 Feb 2024 10:38:37 -0500 From: Tom Lane To: gmirocha@gmail.com cc: pgsql-bugs@lists.postgresql.org Subject: Re: BUG #18364: psql execution error: Segmentation fault In-reply-to: <18364-d795323ccf002b99@postgresql.org> References: <18364-d795323ccf002b99@postgresql.org> Comments: In-reply-to PG Bug reporting form message dated "Mon, 26 Feb 2024 12:03:11 +0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1799637.1708961917.1@sss.pgh.pa.us> Date: Mon, 26 Feb 2024 10:38:37 -0500 Message-ID: <1799638.1708961917@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk PG Bug reporting form writes: > After upgrade Postgresql from 16.1 to 16.2 in both CENTOS 7 and RHEL 8 I'm > getting the segmentation fault error when I try to execute any "\" command > on psql. I have got this error in different hosts, plataforms, etc. Given the location of the error, it seems like you might have a problem with inconsistent ABI for "flex". I'm not quite sure how you'd get there, because that's usually pretty self-contained. (Once there was a "libfl.a" that could possibly cause this sort of problem, but I don't think that exists in modern flex versions.) Anyway, I'd check that you have a consistent installation of flex and then rebuild Postgres from source. regards, tom lane