PSQL core dumps
Can someone give me the 10 second "gdb for Dummies" so I can get some information from my psql.core files? It dumps core every time I exit after having done
\c otherdatabase
within that session. Other than that, no problems.
Ian A. Harding
Programmer/Analyst II
Tacoma-Pierce County Health Department
(253) 798-3549
mailto: iharding@tpchd.org
"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 core every 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