From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Scot Kreienkamp <Scot.Kreienkamp@la-z-boy.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: psql crash on 9.6.16
Date: Mon, 16 Mar 2020 14:09:14 -0700
Message-ID: <6f72315f-cc56-83c5-77d7-114ebd73f3ef@aklaver.com> (raw)
In-Reply-To: <DM6PR15MB222036492779EDFCD59FB9D49AF90@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>
<6278.1584373211@sss.pgh.pa.us>
<DM6PR15MB222036492779EDFCD59FB9D49AF90@DM6PR15MB2220.namprd15.prod.outlook.com>
On 3/16/20 12:32 PM, Scot Kreienkamp wrote:
>
> 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
>
> [Scot Kreienkamp]
> Nothing unusual that I can think of. I typed it in by hand, the update succeeded, and I was able to recall it and run it again from history with no crash.
>
How did you get to the SELECT statement that ultimately crashed the session?
--
Adrian Klaver
adrian.klaver@aklaver.com
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: adrian.klaver@aklaver.com, Scot.Kreienkamp@la-z-boy.com, tgl@sss.pgh.pa.us
Subject: Re: psql crash on 9.6.16
In-Reply-To: <6f72315f-cc56-83c5-77d7-114ebd73f3ef@aklaver.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> <6278.1584373211@sss.pgh.pa.us> <DM6PR15MB222036492779EDFCD59FB9D49AF90@DM6PR15MB2220.namprd15.prod.outlook.com> <6f72315f-cc56-83c5-77d7-114ebd73f3ef@aklaver.com>
* 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