Re: Segmentation fault

From: "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>
To: "Lance Campbell" <lance(at)illinois(dot)edu>, "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Segmentation fault
Date: 2011-08-31 21:42:53
Message-ID: 4E5E648D02000025000409E1@gw.wicourts.gov
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

"Campbell, Lance" <lance(at)illinois(dot)edu> wrote:
> From: Kevin Grittner [Kevin(dot)Grittner(at)wicourts(dot)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

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Kevin Grittner 2011-08-31 21:53:52 Re: function based index problem
Previous Message Campbell, Lance 2011-08-31 21:30:14 Re: Segmentation fault