Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 9D7B8B5DC16 for ; Wed, 14 Sep 2011 06:15:55 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 09116-10 for ; Wed, 14 Sep 2011 09:15:55 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.8.0-rc2 Received: from wwwmaster.postgresql.org (wwwmaster.postgresql.org [217.196.146.204]) by mail.postgresql.org (Postfix) with ESMTP id BFEBFB5DC13 for ; Wed, 14 Sep 2011 06:15:54 -0300 (ADT) Received: from wwwmaster.postgresql.org (wwwmaster.postgresql.org [217.196.146.204]) by wwwmaster.postgresql.org (8.14.3/8.14.3) with ESMTP id p8E9Fs0D075077 for ; Wed, 14 Sep 2011 09:15:54 GMT (envelope-from www@wwwmaster.postgresql.org) Received: (from www@localhost) by wwwmaster.postgresql.org (8.14.3/8.14.3/Submit) id p8E9Fs0w075076; Wed, 14 Sep 2011 09:15:54 GMT (envelope-from www) Date: Wed, 14 Sep 2011 09:15:54 GMT Message-Id: <201109140915.p8E9Fs0w075076@wwwmaster.postgresql.org> To: pgsql-bugs@postgresql.org Subject: BUG #6204: Using plperl functions generate crash From: "pasman" Content-Type: text/plain; charset=utf-8 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 201109/74 X-Sequence-Number: 31091 The following bug has been logged online: Bug reference: 6204 Logged by: pasman Email address: pasman.p@gmail.com PostgreSQL version: 9.1.0 Operating system: WinXP sp3 Description: Using plperl functions generate crash Details: After install postgresql 9.1.0 and Activestate perl 5.14.1 execute: create function perl_test() returns void as $$ $$ language plperl This generates server crash. Log contain: 2011-09-14 11:08:22 CEST STATEMENT: create function perl_test() returns void as $$ $$ language plperl 2011-09-14 11:08:47 CEST LOG: server process (PID 560) was terminated by exception 0xC0000005 2011-09-14 11:08:47 CEST HINT: See C include file "ntstatus.h" for a description of the hexadecimal value. 2011-09-14 11:08:47 CEST LOG: terminating any other active server processes 2011-09-14 11:08:47 CEST WARNING: terminating connection because of crash of another server process 2011-09-14 11:08:47 CEST 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-09-14 11:08:47 CEST HINT: In a moment you should be able to reconnect to the database and repeat your command. 2011-09-14 11:08:47 CEST WARNING: terminating connection because of crash of another server process 2011-09-14 11:08:47 CEST 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-09-14 11:08:47 CEST HINT: In a moment you should be able to reconnect to the database and repeat your command. 2011-09-14 11:08:47 CEST WARNING: terminating connection because of crash of another server process 2011-09-14 11:08:47 CEST 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-09-14 11:08:47 CEST HINT: In a moment you should be able to reconnect to the database and repeat your command. 2011-09-14 11:08:47 CEST LOG: all server processes terminated; reinitializing 2011-09-14 11:08:57 CEST FATAL: pre-existing shared memory block is still in use 2011-09-14 11:08:57 CEST HINT: Check if there are any old server processes still running, and terminate them.