Re: Segmentation fault - Mailing list pgsql-admin

From Kevin Grittner
Subject Re: Segmentation fault
Date
Msg-id 4E5E648D02000025000409E1@gw.wicourts.gov
Whole thread Raw
In response to Re: Segmentation fault  ("Campbell, Lance" <lance@illinois.edu>)
Responses Re: Segmentation fault  ("Campbell, Lance" <lance@illinois.edu>)
List pgsql-admin
"Campbell, Lance" <lance@illinois.edu> wrote:
> From: Kevin Grittner [Kevin.Grittner@wicourts.gov]

>> Can you get a core file from psql?

> I don't know how to get a core dump.  What do I do?

If running this shows a limit (especially zero):

ulimit -c

then run this in your shell before running psql:

ulimit -c unlimited

Look for a core file in your current directory after the failure.
If you get one, try running:

gdb --core=YOURCOREFILENAME

Once gdb is running, type:

bt

and post the results.

-Kevin

pgsql-admin by date:

Previous
From: "Campbell, Lance"
Date:
Subject: Re: Segmentation fault
Next
From: "Kevin Grittner"
Date:
Subject: Re: function based index problem