pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Merlin Moncure <mmoncure@gmail.com>
Cc: Peter Eisentraut <peter_e@gmx.net>
Cc: pgsql-bugs <pgsql-bugs@postgresql.org>
Subject: Re: server crash with "process 22821 releasing ProcSignal slot 32, but it contains 0"
Date: Tue, 26 Jun 2012 13:02:35 -0400
Message-ID: <8740.1340730155@sss.pgh.pa.us> (raw)
In-Reply-To: <CAHyXU0z1SO5fpLzk0nNz+4w1naMDhpNBFqZRc9Bjw3jUgBWGwQ@mail.gmail.com>
References: <CAHyXU0yyYKeKZwA7jCAstTCjMiZS9=ZDpuWWbtGchcOCPTigqg@mail.gmail.com>
	<21870.1340636260@sss.pgh.pa.us>
	<CAHyXU0xiFbmA9GNk-DkALADbAphf5f8FCs2K5VqZ8c9KnXP98g@mail.gmail.com>
	<CAHyXU0xHCMy8eWsakxjEzD4K9yQ-VwnW8WPvxCFv4LxeZj+FOA@mail.gmail.com>
	<CAHyXU0z1SO5fpLzk0nNz+4w1naMDhpNBFqZRc9Bjw3jUgBWGwQ@mail.gmail.com>

Merlin Moncure <mmoncure@gmail.com> writes:
> I suspect (but haven't had time to prove and may not for several days
> -- unfortunately going on vacation momentarily) that this might be
> caused by pl/sh.

Hm.  The reported symptoms might be explainable if something had caused
multiple threads to become active within the backend process --- then
it would be plausible for it to try to do proc_exit cleanup twice.
Which would explain the first two errors, though I'm not sure how that
leads to failing to disown the process latch, as the third error
suggests must have happened.  But I don't know enough about pl/sh to
know if it could cause threading activation.

> In particular, we have a routine that was
> inadvertently applied to the database in with windows cr/lf instead of
> the normal linux newline.

This doesn't seem real promising as an explanation ...

			regards, tom lane



view thread (9+ messages)  latest in thread

Message-ID: <8740.1340730155@sss.pgh.pa.us>
Permalink:  ../8740.1340730155@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/8740.1340730155@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-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, mmoncure@gmail.com, peter_e@gmx.net
  Subject: Re: server crash with "process 22821 releasing ProcSignal slot 32, but it contains 0"
  In-Reply-To: <8740.1340730155@sss.pgh.pa.us>
  References: <CAHyXU0yyYKeKZwA7jCAstTCjMiZS9=ZDpuWWbtGchcOCPTigqg@mail.gmail.com> <21870.1340636260@sss.pgh.pa.us> <CAHyXU0xiFbmA9GNk-DkALADbAphf5f8FCs2K5VqZ8c9KnXP98g@mail.gmail.com> <CAHyXU0xHCMy8eWsakxjEzD4K9yQ-VwnW8WPvxCFv4LxeZj+FOA@mail.gmail.com> <CAHyXU0z1SO5fpLzk0nNz+4w1naMDhpNBFqZRc9Bjw3jUgBWGwQ@mail.gmail.com> <8740.1340730155@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