pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Josh Berkus <josh@agliodbs.com>
To: pgsql-bugs@postgresql.org
Subject: psql crashes with bad history file in 9.0.3
Date: Tue, 22 Mar 2011 13:40:59 -0700
Message-ID: <4D89095B.9050201@agliodbs.com> (raw)

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 ...

-- 
                                  -- Josh Berkus
                                     PostgreSQL Experts Inc.
                                     http://www.pgexperts.com



view thread (2+ messages)  latest in thread

Message-ID: <4D89095B.9050201@agliodbs.com>
Permalink:  ../4D89095B.9050201@agliodbs.com/
Also on:    postgresql.org/message-id/4D89095B.9050201@agliodbs.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: josh@agliodbs.com
  Subject: Re: psql crashes with bad history file in 9.0.3
  In-Reply-To: <4D89095B.9050201@agliodbs.com>
  References: <4D89095B.9050201@agliodbs.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