Received: from magus.postgresql.org ([87.238.57.229]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TMFBY-00083Q-KX for pgsql-bugs@postgresql.org; Thu, 11 Oct 2012 09:36:08 +0000 Received: from mahout.postgresql.org ([98.129.198.123]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TMFBW-0004o3-GR for pgsql-bugs@postgresql.org; Thu, 11 Oct 2012 09:36:08 +0000 Received: from [204.145.124.246] (helo=wrigleys.postgresql.org) by mahout.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TMFBV-0001FQ-5m for pgsql-bugs@postgresql.org; Thu, 11 Oct 2012 09:36:05 +0000 Received: from www-data by wrigleys.postgresql.org with local (Exim 4.72) (envelope-from ) id 1TMFBU-00040R-S5 for pgsql-bugs@postgresql.org; Thu, 11 Oct 2012 09:36:04 +0000 Date: Thu, 11 Oct 2012 09:36:04 +0000 Message-Id: Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Subject: BUG #7597: exception 0xC0000005 To: pgsql-bugs@postgresql.org From: bo@budget123.dk X-Pg-Spam-Score: -4.0 (----) X-Archive-Number: 201210/82 X-Sequence-Number: 34382 The following bug has been logged on the website: Bug reference: 7597 Logged by: Bo T Jensen Email address: bo@budget123.dk PostgreSQL version: 9.1.6 Operating system: windows 7 home premium 64 Description: = Ive managed to boil this down to a repeatable example on a test setup, but it was found originally on windows server 2008 (64 bit). pg_log: 2012-10-11 11:29:49 CEST LOG: server process (PID 4400) was terminated by exception 0xC0000005 2012-10-11 11:29:49 CEST HINT: See C include file "ntstatus.h" for a description of the hexadecimal value. 2012-10-11 11:29:49 CEST LOG: terminating any other active server processes 2012-10-11 11:29:49 CEST WARNING: terminating connection because of crash of another server process 2012-10-11 11:29:49 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. 2012-10-11 11:29:49 CEST HINT: In a moment you should be able to reconnect to the database and repeat your command. 2012-10-11 11:29:49 CEST WARNING: terminating connection because of crash of another server process 2012-10-11 11:29:49 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. 2012-10-11 11:29:49 CEST HINT: In a moment you should be able to reconnect to the database and repeat your command. 2012-10-11 11:29:49 CEST LOG: all server processes terminated; reinitializing 2012-10-11 11:29:59 CEST FATAL: pre-existing shared memory block is still in use 2012-10-11 11:29:59 CEST HINT: Check if there are any old server processes still running, and terminate them. Offending sql looks like this: select 1 from reference where username =3D 'user1' and (refid, '127.0.0.1', 'manager1') not in (select refid, ip, manager from loguser); Kind regards Bo T Jensen