Re: Segmentation fault

From: "Campbell, Lance" <lance(at)illinois(dot)edu>
To: Kevin Grittner <Kevin(dot)Grittner(at)wicourts(dot)gov>, "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Segmentation fault
Date: 2011-09-01 13:42:01
Message-ID: B75CD08C73BD3543B97E4EF3964B7D70098260AF@CITESMBX2.ad.uillinois.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Kevin,
That did it. Doing the command ulimit -c unlimited worked!

Thanks,

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

"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

Browse pgsql-admin by date

  From Date Subject
Next Message Campbell, Lance 2011-09-01 13:48:38 Password when logging into postgres
Previous Message Lukasz Brodziak 2011-09-01 07:32:57 Schema with OID 0 does not exist in pg_dump