Re: Backend often crashing

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Guido Notari" <gnotari(at)linkgroup(dot)it>
Cc: pgsql-general(at)postgresql(dot)org, Oliver Elphick <olly(at)lfix(dot)co(dot)uk>
Subject: Re: Backend often crashing
Date: 2003-02-20 21:07:59
Message-ID: 28085.1045775279@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Guido Notari" <gnotari(at)linkgroup(dot)it> writes:
> I have one of those nasty problems, with Postgres backend often crashing
> with signal 11.

My gut feeling after looking at the stack trace is that it's a
memory-stomp kind of error (something writing on memory that doesn't
belong to it --- probably a buffer overrun).

One quick-and-dirty thing to try is updating to 7.2.4. Neil fixed a few
potential buffer overrun conditions in 7.2.2 and 7.2.4. I don't have a
lot of hope that this will eliminate the issue, but (a) it's easy to do
and (b) you ought to be on 7.2.4 anyway on general principles.

If that doesn't help then you'll need to either create a reproducible
example so someone else can debug it, or work on debugging it yourself,
or possibly let someone else have access to your machine to try to debug
it for you. A first step in either the second or third choices is to
rebuild Postgres with --enable-debug so that you can get a more complete
stack trace.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Dmitry Tkach 2003-02-20 21:20:32 Re: A problem with sequences...
Previous Message Jason Earl 2003-02-20 21:00:32 Re: VB to postgresql located in Unix.