Re: Help with Segmentation Fault

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Help with Segmentation Fault
Дата
Msg-id 13867.1045154584@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Help with Segmentation Fault  ("Patrick Bye (WFF)" <PBYE@Westfair.CA>)
Список 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 по дате отправления:

Предыдущее
От: chris.gamble@CPBINC.com
Дата:
Сообщение: Restore from 7.3 to 7.2
Следующее
От: "Marc G. Fournier"
Дата:
Сообщение: Re: mailing list archives