Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.92) (envelope-from ) id 1jDrqr-0001YU-Lk for pgsql-general@arkaria.postgresql.org; Mon, 16 Mar 2020 15:40:25 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1jDrqq-0000jT-Hx for pgsql-general@arkaria.postgresql.org; Mon, 16 Mar 2020 15:40:24 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1jDrqq-0000hw-8H for pgsql-general@lists.postgresql.org; Mon, 16 Mar 2020 15:40:24 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jDrqj-0004eq-Ef for pgsql-general@lists.postgresql.org; Mon, 16 Mar 2020 15:40:23 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id 02GFeBZa006279; Mon, 16 Mar 2020 11:40:11 -0400 From: Tom Lane To: Scot Kreienkamp cc: "pgsql-general@lists.postgresql.org" Subject: Re: psql crash on 9.6.16 In-reply-to: References: Comments: In-reply-to Scot Kreienkamp message dated "Mon, 16 Mar 2020 14:48:07 -0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <6277.1584373211.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Mon, 16 Mar 2020 11:40:11 -0400 Message-ID: <6278.1584373211@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Scot Kreienkamp writes: > I was using psql to connect to the local database for a simple update th= is morning and it crashed. Here's what was printed out after the crash. = I was not able to re-create it. Hm, the backtrace says the problem is somewhere inside libreadline, which means it has nothing to do with any SQL-level concepts, but rather with editing your input text. Did you do anything unusual while typing that line of input --- say, recall it from history, or edit it in a way that you don't usually do, or even mistype some control character you don't usually type? Sadly, the visible evidence here doesn't tell us much of anything about what provoked the crash :-( FWIW, there's a pretty good chance that this isn't psql's fault per se, but a libreadline bug. You might check to see if you can get a newer readline version installed. regards, tom lane