Re: Help with Segmentation Fault - Mailing list pgsql-general

From Tom Lane
Subject Re: Help with Segmentation Fault
Date
Msg-id 13867.1045154584@sss.pgh.pa.us
Whole thread Raw
In response to Re: Help with Segmentation Fault  ("Patrick Bye (WFF)" <PBYE@Westfair.CA>)
List pgsql-general
"Patrick Bye (WFF)" <PBYE@Westfair.CA> writes:
> I did build postgres myself using the simple installation instructions
> provided on the website

> configure
> gmake
> gmake install

Hm, that should work.  What do you get from "ldd" on the psql executable?

> How do I do a stack trace?

If you aren't getting a core file from the segfault, try "ulimit -c unlimited".
Once you have a core file, do

    gdb /path/to/psql core
    gdb> bt
    gdb> quit

The trace will be a lot more informative if you first rebuild with
debugging support (configure --enable-debug, then gmake clean all install).

            regards, tom lane

pgsql-general by date:

Previous
From: chris.gamble@CPBINC.com
Date:
Subject: Restore from 7.3 to 7.2
Next
From: "Marc G. Fournier"
Date:
Subject: Re: mailing list archives