pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Craig Ringer <craig@postnewspapers.com.au>
To: adrian.kitchingman@dse.vic.gov.au
Cc: Thom Brown <thom@linux.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: postgresql-9.0 Windows service stops after database transaction
Date: Tue, 28 Sep 2010 17:11:54 +0800
Message-ID: <4CA1B15A.7040008@postnewspapers.com.au> (raw)
In-Reply-To: <OF5D70F426.0AC1CA7C-ONCA2577AA.0082B85A-CA2577AB.00009A1D@nre.vic.gov.au>
References: <OFCB8A9345.AE48C426-ONCA2577A8.000E5F43-CA2577A8.00199E0D@nre.vic.gov.au>
	<AANLkTi=0uRPHYdcLWZ1mbuGGNLn84=wqW97LNhaZt=Du@mail.gmail.com>
	<OF5D70F426.0AC1CA7C-ONCA2577AA.0082B85A-CA2577AB.00009A1D@nre.vic.gov.au>

On 27/09/10 08:06, adrian.kitchingman@dse.vic.gov.au wrote:
> 
> /2010-09-27 09:53:19 EST LOG:  server process (PID 2564) was terminated
> by exception 0xC0000005/
> /2010-09-27 09:53:19 EST HINT:  See C include file "ntstatus.h" for a
> description of the hexadecimal value./

That's an access violation - in UNIX land, a segmentation fault, signal
11. A plain 'ol crash of a backend.

It'd be really nice to have some information about how it crashed. It'd
be ideal if you could make a .sql file that, when run on a newly created
database, creates a table and manipulates it in a way that causes the
backend to crash. Please do not add PostGIS to the test database. If you
cannot make it crash without PostGIS in the mix, that tells us something.

If you can make it crash without PostGIS, please post the .sql file that
creates the table(s) and runs the command that crashes the server.

If you have to add PostGIS to make it crash, it might be best to talk to
the PostGIS folks about the problem.

In either case, to make things even better you could collect some crash
information that may help diagnose where in PostgreSQL the crash occurs.
See:

http://wiki.postgresql.org/wiki/Getting_a_stack_trace_of_a_running_PostgreSQL_backend_on_Windows



By the way: You don't have the old 8.3 data directory on the system PATH
do you? You can check the value of the system path in the System control
panel, though exactly where varies from Windows version to Windows version.


-- 
Craig Ringer

Tech-related writing: http://soapyfrogs.blogspot.com/



view thread (6+ messages)  latest in thread

Message-ID: <4CA1B15A.7040008@postnewspapers.com.au>
Permalink:  ../4CA1B15A.7040008@postnewspapers.com.au/
Also on:    postgresql.org/message-id/4CA1B15A.7040008@postnewspapers.com.au

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: craig@postnewspapers.com.au, adrian.kitchingman@dse.vic.gov.au, thom@linux.com
  Subject: Re: postgresql-9.0 Windows service stops after database transaction
  In-Reply-To: <4CA1B15A.7040008@postnewspapers.com.au>

* 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