Re: Segmentation fault - Mailing list pgsql-admin

From Campbell, Lance
Subject Re: Segmentation fault
Date
Msg-id B75CD08C73BD3543B97E4EF3964B7D70098260AF@CITESMBX2.ad.uillinois.edu
Whole thread Raw
In response to Re: Segmentation fault  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
List pgsql-admin
Kevin,
That did it.  Doing the command ulimit -c unlimited worked!

Thanks,

Lance
________________________________________
From: Kevin Grittner [Kevin.Grittner@wicourts.gov]
Sent: Wednesday, August 31, 2011 4:42 PM
To: Campbell, Lance; pgsql-admin@postgresql.org
Subject: RE: [ADMIN] Segmentation fault

"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: Lukasz Brodziak
Date:
Subject: Schema with OID 0 does not exist in pg_dump
Next
From: "Campbell, Lance"
Date:
Subject: Password when logging into postgres