pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Ian Lance Taylor <ian@airs.com>
Cc: mathijs@ilse.nl
Cc: pgsql-hackers@postgresql.org
Subject: Re: Re: [SQL] PostgreSQL crashes on me :(
Date: Mon, 18 Dec 2000 12:40:32 -0500
Message-ID: <20037.977161232@sss.pgh.pa.us> (raw)
In-Reply-To: <20001218173340.29569.qmail@daffy.airs.com>
References: <20001217215118.D64770@ilse.nl>
	<21339.977111275@sss.pgh.pa.us>
	<20001218173340.29569.qmail@daffy.airs.com>

Ian Lance Taylor <ian@airs.com> writes:
> Therefore, the scenario you describe is possible, but only if there
> happens to be both a timer interrupt and a SIGCHLD signal within a
> couple of instructions after the select returns.

Right.  A small failure window would explain the infrequency of the
symptom.

> Ideally, signal handlers should not make system calls.  However, if
> this is impossible, then signal handlers must save and restore errno.

I have just committed fixes to do that in current sources (7.1 branch).
I doubt we're going to make a 7.0.4 release, but if we do then this
ought to be back-patched.

			regards, tom lane



view thread (12+ messages)  latest in thread

Message-ID: <20037.977161232@sss.pgh.pa.us>
Permalink:  ../20037.977161232@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/20037.977161232@sss.pgh.pa.us

 · 

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-sql@postgresql.org
  Cc: tgl@sss.pgh.pa.us, ian@airs.com, mathijs@ilse.nl, pgsql-hackers@postgresql.org
  Subject: Re: [SQL] PostgreSQL crashes on me :(
  In-Reply-To: <20037.977161232@sss.pgh.pa.us>
  References: <20001217215118.D64770@ilse.nl> <21339.977111275@sss.pgh.pa.us> <20001218173340.29569.qmail@daffy.airs.com> <20037.977161232@sss.pgh.pa.us>

* 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