Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1T14hu-0001oQ-Pz for pgsql-bugs@postgresql.org; Tue, 14 Aug 2012 00:10:02 +0000 Received: from mailout-de.gmx.net ([213.165.64.22]) by magus.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1T14hq-0003gj-Lq for pgsql-bugs@postgresql.org; Tue, 14 Aug 2012 00:10:02 +0000 Received: (qmail invoked by alias); 14 Aug 2012 00:09:57 -0000 Received: from mobile-198-228-196-081.mycingular.net (EHLO [172.20.10.2]) [198.228.196.81] by mail.gmx.net (mp038) with SMTP; 14 Aug 2012 02:09:57 +0200 X-Authenticated: #495269 X-Provags-ID: V01U2FsdGVkX18P+P5o+JIPRGexeqci3P7hgnVKqnCecSGXqB6+g/ QYDyiFpnKbEocN Message-ID: <1344902992.8485.8.camel@vanquo.pezone.net> Subject: Re: server crash with "process 22821 releasing ProcSignal slot 32, but it contains 0" From: Peter Eisentraut To: Merlin Moncure Cc: Tom Lane , pgsql-bugs Date: Mon, 13 Aug 2012 20:09:52 -0400 In-Reply-To: References: <21870.1340636260@sss.pgh.pa.us> <8740.1340730155@sss.pgh.pa.us> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.4.3-1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201208/76 X-Sequence-Number: 33800 On Thu, 2012-08-09 at 16:26 -0500, Merlin Moncure wrote: > Follow up on this. It is pl/sh and it is a newline issue: one of the > developers is using a tool (I think pgadmin?) that is sticking \r > characters at the end of every line which is throwing off pl/sh's > shebang parsing. The issuing query gets an error along the lines of > 'could not exec' and the server goes belly up if there is significant > concurrent load when that's issued. This is an out of date pl/sh, so > I'm going to upgrade it and try and reproduce. If I still can, I'll > supply a test case. I had received an independent report of this cr/lf issue and fixed it now. But that doesn't explain why the server would crash.