From: Tom Lane <tgl@sss.pgh.pa.us>
To: Merlin Moncure <mmoncure@gmail.com>
Cc: pgsql-bugs <pgsql-bugs@postgresql.org>
Subject: Re: server crash with "process 22821 releasing ProcSignal slot 32, but it contains 0"
Date: Mon, 25 Jun 2012 10:57:40 -0400
Message-ID: <21870.1340636260@sss.pgh.pa.us> (raw)
In-Reply-To: <CAHyXU0yyYKeKZwA7jCAstTCjMiZS9=ZDpuWWbtGchcOCPTigqg@mail.gmail.com>
References: <CAHyXU0yyYKeKZwA7jCAstTCjMiZS9=ZDpuWWbtGchcOCPTigqg@mail.gmail.com>
Merlin Moncure <mmoncure@gmail.com> writes:
> 2012-06-25 09:08:08 CDT [postgres@ysanalysis_hes]: LOG: could not
> send data to client: Broken pipe
> 2012-06-25 09:08:10 CDT [postgres@ysanalysis_hes]: LOG: unexpected
> EOF on client connection
> 2012-06-25 09:08:10 CDT [postgres@ysanalysis_hes]: LOG: process 22821
> releasing ProcSignal slot 32, but it contains 0
> 2012-06-25 09:08:10 CDT [postgres@ysanalysis_hes]: LOG: failed to
> find proc 0x7f48617e2ab0 in ProcArray
> [and a bit later]
> 2012-06-25 09:08:24 CDT [postgres@ysanalysis_hes]: FATAL: latch already owned
I think what we're looking at here is a screw-up in the process shutdown
sequence. Perhaps caused by bad recovery from an attempt to send an
error message to the already-disconnected client; but that's just
speculation, and it's hard to see how to get more info without a core
dump.
I wonder whether we shouldn't promote some or all of these three error
cases to PANIC, as they certainly suggest shared-memory corruption.
And if it did panic, we could hope to get a core dump for debugging
purposes.
regards, tom lane
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
Subject: Re: server crash with "process 22821 releasing ProcSignal slot 32, but it contains 0"
In-Reply-To: <21870.1340636260@sss.pgh.pa.us>
References: <CAHyXU0yyYKeKZwA7jCAstTCjMiZS9=ZDpuWWbtGchcOCPTigqg@mail.gmail.com> <21870.1340636260@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