pg.ddx.io pgsql-bugs@postgresql.org mailing list archive
help / color / mirror / Atom feedpsql crashes with bad history file in 9.0.3
2+ messages / 2 participants
[nested] [flat]
* psql crashes with bad history file in 9.0.3
@ 2011-03-22 20:40 Josh Berkus <josh@agliodbs.com>
0 siblings, 1 reply; 2+ messages in thread
From: Josh Berkus @ 2011-03-22 20:40 UTC (permalink / raw)
To: pgsql-bugs
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
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: psql crashes with bad history file in 9.0.3
@ 2011-03-22 20:56 John R Pierce <pierce@hogranch.com>
parent: Josh Berkus <josh@agliodbs.com>
0 siblings, 0 replies; 2+ messages in thread
From: John R Pierce @ 2011-03-22 20:56 UTC (permalink / raw)
To: pgsql-bugs
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
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2011-03-22 20:56 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2011-03-22 20:40 psql crashes with bad history file in 9.0.3 Josh Berkus <josh@agliodbs.com>
2011-03-22 20:56 ` John R Pierce <pierce@hogranch.com>
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