Re: Unpredictable signal 11 crashes on Mac OS X (SOLVED[?])

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Gareth Boden <gareth(dot)boden(at)egsgroup(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: Unpredictable signal 11 crashes on Mac OS X (SOLVED[?])
Date: 2003-10-14 00:32:22
Message-ID: 4021.1066091542@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Gareth Boden <gareth(dot)boden(at)egsgroup(dot)com> writes:
> Bizarrely, it came down to an infinite recursion in a plpgsql function
> we were using which exhausted memory and crashed the db server. Is
> there any way of limiting stack depth/having some sort of monitor on
> these functions to prevent this behaviour in future?

There's been some talk of this, but the sticking point has been to
figure out a reasonably portable way to measure and enforce stack
usage...

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Alexandr S 2003-10-14 05:40:50 Re: bug reporting
Previous Message Andreas Pflug 2003-10-13 10:13:32 Re: bug reporting