Re: PSQL core dumps - Mailing list pgsql-general

From Tom Lane
Subject Re: PSQL core dumps
Date
Msg-id 14385.1010604309@sss.pgh.pa.us
Whole thread Raw
In response to PSQL core dumps  ("Ian Harding" <ianh@tpchd.org>)
List pgsql-general
"Ian Harding" <ianh@tpchd.org> writes:
> Can someone give me the 10 second "gdb for Dummies" so I can get some information from my psql.core files?  It dumps
coreevery time I exit after having done  
> \c otherdatabase
> within that session.  Other than that, no problems.

What version are you running?  I seem to recall a bug with symptoms like
that having been around for a short time.

If it's current code (7.1.3 or later) then it's worth gdb'ing.  Try

    gdb  psql-executable-file  psql-core-file
    gdb> bt
    gdb> quit

and send in the results.  If you don't get anything symbolic from the bt
command, you'll need to rebuild with debug symbols to get a useful
trace.

            regards, tom lane

pgsql-general by date:

Previous
From: Barry Lind
Date:
Subject: Re: Storing/retreiving Large Objects
Next
From: Doug McNaught
Date:
Subject: Re: Query planner isn't using my indices