Re: plperlu function caused a segmentation fault

From: bricklen <bricklen(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: plperlu function caused a segmentation fault
Date: 2011-08-24 18:32:39
Message-ID: CAGrpgQ_RF7=6x58pxH1nbrN==ZkVVpab6+rWFysMT720ix0Mdw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, Aug 24, 2011 at 11:28 AM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> bricklen <bricklen(at)gmail(dot)com> writes:
>> I was just testing a simple plperlu function to return the existence
>> of a directory and as soon I pasted the function into psql and hit
>> Enter, I got the following crash:
>
> FWIW, this function seems to work fine for me in 9.0.4 on a Fedora 14
> x86_64 box ... and there haven't been any bug fixes in plperl since
> 9.0.2, except for this one
> http://git.postgresql.org/gitweb/?p=postgresql.git&a=commitdiff&h=cb252c2acd415d304e3254e99f82058d11a69e04
> which seems unlikely to be related.
>
> I wonder if there is something wonky about your Perl installation.

I tested originally on two other 9.0.4 databases and there were no
issues at all. I'll have to assume that you are correct about the Perl
setup on that server -- I'm quite leery of doing anything else with
that server as it is a production db.
I'll consider this a lesson learned, and not test any other Perl
functions on that db.

Cheers

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Mcleod, John 2011-08-24 18:53:52 What is postgresql status?
Previous Message Tom Lane 2011-08-24 18:28:24 Re: plperlu function caused a segmentation fault