pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: John R Pierce <pierce@hogranch.com>
To: pgsql-bugs@postgresql.org
Subject: Re: psql crashes with bad history file in 9.0.3
Date: Tue, 22 Mar 2011 13:56:48 -0700
Message-ID: <4D890D10.8030302@hogranch.com> (raw)
In-Reply-To: <4D89095B.9050201@agliodbs.com>
References: <4D89095B.9050201@agliodbs.com>

On 03/22/11 1:40 PM, Josh Berkus wrote:
> All,
>
> At two sites I'm not allowed to share data from (grrr), I've encountered
> core dumps of psql.  In once case the core dump happens as soon as you
> run any query.   In the second case, it occurs when you exit.
>
> What both sites have in common is that there's something screwy about
> the .psql_history file.  In the first case, moving the history file
> fixed the issue.  In the second case, the shell user has messed up
> permissions on their home dir and can't save the history file.
>
> I'd never encountered this before 9.0.3.  Both sites are RHEL.
>
> Hopefully I'll run into it somewhere I can do a stack trace ...

sounds like a readline problem





view thread (2+ messages)

Message-ID: <4D890D10.8030302@hogranch.com>
Permalink:  ../4D890D10.8030302@hogranch.com/
Also on:    postgresql.org/message-id/4D890D10.8030302@hogranch.com

 · 

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-bugs@postgresql.org
  Cc: pierce@hogranch.com
  Subject: Re: psql crashes with bad history file in 9.0.3
  In-Reply-To: <4D890D10.8030302@hogranch.com>
  References: <4D89095B.9050201@agliodbs.com> <4D890D10.8030302@hogranch.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