pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Shahaf <shahaf@redfin.com>
To: pgsql-bugs@postgresql.org
Subject: Re: BUG #6204: Using plperl functions generate crash
Date: Wed, 21 Dec 2011 08:30:31 -0800 (PST)
Message-ID: <1324485031237-5092359.post@n5.nabble.com> (raw)
In-Reply-To: <CAFqwwS5y2tLV1XdGXBpMQFfYEA9N1BrZyrbbuAZzG2S8HmjNeg@mail.gmail.com>
References: <201109140915.p8E9Fs0w075076@wwwmaster.postgresql.org>
	<CAOWY8=am64=JeuFS+9SzELw4mgbi3p9qBVBmfQERTs_PgLJatw@mail.gmail.com>
	<loom.20111010T192453-600@post.gmane.org>
	<B28B3294-3D6F-4958-8D1E-B8E065CF1F65@enterprisedb.com>
	<4E933F4B.1080501@hogranch.com>
	<CAFqwwS5y2tLV1XdGXBpMQFfYEA9N1BrZyrbbuAZzG2S8HmjNeg@mail.gmail.com>

I'm running into the same issue.  I can "create language plperl;"
successfully, but as soon as I try to create a function (as shown above),
Postgres dies.

Guimaraes - did you find a solution using standard installers?
sachin - have you tried on win7?
pasman - what's the process to install from source?

More detail on my setup...

I'm on Win7.

Postgres 9.1 32-bit:
http://www.enterprisedb.com/products/pgdownload.do#windows (version 9.1.2-1)

Perl 5.14 32-bit, I've tried both:
http://downloads.activestate.com/ActivePerl/releases/5.14.2.1402/ActivePerl-5.14.2.1402-MSWin32-x86-...
http://downloads.activestate.com/ActivePerl/releases/5.14.1.1401/ActivePerl-5.14.1.1401-MSWin32-x86-...

Here's what I see in the log file:

2011-12-21 08:10:49 PST LOG:  server process (PID 7296) was terminated by
exception 0xC0000005
2011-12-21 08:10:49 PST HINT:  See C include file "ntstatus.h" for a
description of the hexadecimal value.
2011-12-21 08:10:49 PST LOG:  terminating any other active server processes
2011-12-21 08:10:49 PST WARNING:  terminating connection because of crash of
another server process
2011-12-21 08:10:49 PST DETAIL:  The postmaster has commanded this server
process to roll back the current transaction and exit, because another
server process exited abnormally and possibly corrupted shared memory.
2011-12-21 08:10:49 PST HINT:  In a moment you should be able to reconnect
to the database and repeat your command.
2011-12-21 08:10:49 PST LOG:  all server processes terminated;
reinitializing
2011-12-21 08:10:59 PST FATAL:  pre-existing shared memory block is still in
use
2011-12-21 08:10:59 PST HINT:  Check if there are any old server processes
still running, and terminate them.


--
View this message in context: http://postgresql.1045698.n5.nabble.com/BUG-6204-Using-plperl-functions-generate-crash-tp4802111p509...
Sent from the PostgreSQL - bugs mailing list archive at Nabble.com.



view thread (15+ messages)  latest in thread

Message-ID: <1324485031237-5092359.post@n5.nabble.com>
Permalink:  ../1324485031237-5092359.post@n5.nabble.com/
Also on:    postgresql.org/message-id/1324485031237-5092359.post@n5.nabble.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: shahaf@redfin.com
  Subject: Re: BUG #6204: Using plperl functions generate crash
  In-Reply-To: <1324485031237-5092359.post@n5.nabble.com>
  References: <201109140915.p8E9Fs0w075076@wwwmaster.postgresql.org> <CAOWY8=am64=JeuFS+9SzELw4mgbi3p9qBVBmfQERTs_PgLJatw@mail.gmail.com> <loom.20111010T192453-600@post.gmane.org> <B28B3294-3D6F-4958-8D1E-B8E065CF1F65@enterprisedb.com> <4E933F4B.1080501@hogranch.com> <CAFqwwS5y2tLV1XdGXBpMQFfYEA9N1BrZyrbbuAZzG2S8HmjNeg@mail.gmail.com> <1324485031237-5092359.post@n5.nabble.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox