Re: Segmentation fault when changing view

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: vlad(at)crystalballinc(dot)com
Cc: pgsql-bugs(at)postgreSQL(dot)org
Subject: Re: Segmentation fault when changing view
Date: 2001-04-16 23:53:39
Message-ID: 19880.987465219@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Vlad Seryakov <vlad(at)crystalballinc(dot)com> writes:
> Is it possible to get core file, i couldn't find how to setup this.

A crashed backend should leave a core file in $PGDATA/base/YOURDB/core

If you don't see a core file in that directory, it's possible that
the postmaster was started with "ulimit -c 0" to forbid core dumping.
(I think most Linuxen run their boot scripts with this setting.)
Restart the postmaster with "ulimit -c unlimited" to allow core dumping.
You might want to add that command to the boot script for Postgres.

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2001-04-17 00:35:01 Re: Segmentation fault when changing view
Previous Message Calvin Dodge 2001-04-16 20:39:12 p.s. (Re: another possible ODBC error)