BUG #7597: exception 0xC0000005

From: bo(at)budget123(dot)dk
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #7597: exception 0xC0000005
Date: 2012-10-11 09:36:04
Message-ID: E1TMFBU-00040R-S5@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 7597
Logged by: Bo T Jensen
Email address: bo(at)budget123(dot)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 = 'user1'
and (refid, '127.0.0.1', 'manager1') not in (select refid, ip, manager from
loguser);

Kind regards
Bo T Jensen

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Bo Thorbjørn Jensen 2012-10-11 10:07:36 Re: BUG #7597: exception 0xC0000005
Previous Message Ashesh Vashi 2012-10-11 09:32:43 Re: BUG #7596: Problem with /etc/init.d/postgresql.9.x file