Re: psql Segmentation fault

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Robert Landrum <rlandrum(at)aol(dot)net>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: psql Segmentation fault
Date: 2007-11-14 20:04:43
Message-ID: 12194.1195070683@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Robert Landrum <rlandrum(at)aol(dot)net> writes:
> Since we converted to PG8, we've been experiencing segfaults when the
> psql client exits.

Hmm. We have heard that reported on OS X because of a bug in Apple's
version of libedit, but not on any flavor of Linux. Your tests seem
to eliminate libreadline as the cause anyway. Might be a corrupt
copy of libpq --- have you tried reinstalling that?

> That's what happens every time. No core file is produced.

That's normal on Linuxen, because "ulimit -c 0" is usually the default
setting. Please try "ulimit -c unlimited", and then if you get a core,
send a backtrace. The last few lines of an "strace" watching the psql
run might be useful as well.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Andrei Kovalevski 2007-11-14 20:10:28 Re: Windows x64 Port
Previous Message Robert Landrum 2007-11-14 19:57:03 psql Segmentation fault