pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Scot Kreienkamp <Scot.Kreienkamp@la-z-boy.com>
Cc: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: psql crash on 9.6.16
Date: Mon, 16 Mar 2020 11:40:11 -0400
Message-ID: <6278.1584373211@sss.pgh.pa.us> (raw)
In-Reply-To: <DM6PR15MB222098A0E463E061EE1F005E9AF90@DM6PR15MB2220.namprd15.prod.outlook.com>
References: <a2cd8084-b93e-4da0-8999-569a6e58ef6b.b1f17bd3-b7c3-46bc-9214-d78b49f2c9fc.e33dcacf-97fe-4da1-958c-75d7a1420bc2@emailsignatures365.codetwo.com>
	<a2cd8084-b93e-4da0-8999-569a6e58ef6b.b1460fbe-55a2-4060-995f-39f4e2f3c7f9.90fa68d0-6e14-4e31-aa04-c4e7c74b125a@emailsignatures365.codetwo.com>
	<DM6PR15MB222098A0E463E061EE1F005E9AF90@DM6PR15MB2220.namprd15.prod.outlook.com>

Scot Kreienkamp <Scot.Kreienkamp@la-z-boy.com> writes:
> I was using psql to connect to the local database for a simple update this 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





view thread (6+ messages)  latest in thread

Message-ID: <6278.1584373211@sss.pgh.pa.us>
Permalink:  ../6278.1584373211@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/6278.1584373211@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: tgl@sss.pgh.pa.us, Scot.Kreienkamp@la-z-boy.com
  Subject: Re: psql crash on 9.6.16
  In-Reply-To: <6278.1584373211@sss.pgh.pa.us>
  References: <a2cd8084-b93e-4da0-8999-569a6e58ef6b.b1f17bd3-b7c3-46bc-9214-d78b49f2c9fc.e33dcacf-97fe-4da1-958c-75d7a1420bc2@emailsignatures365.codetwo.com> <a2cd8084-b93e-4da0-8999-569a6e58ef6b.b1460fbe-55a2-4060-995f-39f4e2f3c7f9.90fa68d0-6e14-4e31-aa04-c4e7c74b125a@emailsignatures365.codetwo.com> <DM6PR15MB222098A0E463E061EE1F005E9AF90@DM6PR15MB2220.namprd15.prod.outlook.com> <6278.1584373211@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox