Re: BUG #7516: PL/Perl crash

From: Marko Tiikkaja <pgmail(at)joh(dot)to>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #7516: PL/Perl crash
Date: 2012-09-11 18:17:24
Message-ID: 504F8034.20802@joh.to
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On 10/09/2012 00:37, Tom Lane wrote:
> The attached patch fixes the problem I'm seeing. I am not sure whether
> it fixes what you saw; the crash you showed is in the right place, but
> unless there was a recursive call to a pl/perl function, I don't see
> how the existing code could have freed the prodesc too soon.

Joel Jacobson managed to narrow it down to this test case, which crashes
consistently on Ubuntu 12.04 both with and without your patch. I,
however, wasn't able to reproduce the problem on my OS X Mountain Lion.
I'll try to get some more information about it tomorrow, but in the
mean time if you can reproduce the problem or think of something, I'll
post the test case.

Regards,
Marko Tiikkaja

Attachment Content-Type Size
perlbug.sql text/plain 1.9 KB

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Devrim GÜNDÜZ 2012-09-11 19:07:25 Re: BUG #7531: ERROR: column spclocation do not exist
Previous Message alexandredepaula.sousa 2012-09-11 17:06:47 BUG #7531: ERROR: column spclocation do not exist