Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WXBdg-0005DN-6W for pgsql-bugs@arkaria.postgresql.org; Mon, 07 Apr 2014 15:39:12 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WXBde-00083G-W9 for pgsql-bugs@arkaria.postgresql.org; Mon, 07 Apr 2014 15:39:11 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WXBdd-0007zj-1E for pgsql-bugs@postgresql.org; Mon, 07 Apr 2014 15:39:09 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WXBda-0006jl-Gv for pgsql-bugs@postgresql.org; Mon, 07 Apr 2014 15:39:08 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id s37Fd1oi019448; Mon, 7 Apr 2014 11:39:01 -0400 From: Tom Lane To: Andres Freund cc: "Sofer, Yuval" , "pgsql-bugs@postgresql.org" Subject: Re: Postgres 9.2.8 crash sporadically on Windows In-reply-to: <20140407152025.GF4161@awork2.anarazel.de> References: <2C0926ABD16BB641A8E2F11A54920042556493AA22@PHXCCRPRD01.adprod.bmc.com> <20140407145202.GE4161@awork2.anarazel.de> <18921.1396883732@sss.pgh.pa.us> <20140407152025.GF4161@awork2.anarazel.de> Comments: In-reply-to Andres Freund message dated "Mon, 07 Apr 2014 17:20:25 +0200" Date: Mon, 07 Apr 2014 11:39:01 -0400 Message-ID: <19447.1396885141@sss.pgh.pa.us> X-Pg-Spam-Score: -2.2 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org Andres Freund writes: > On 2014-04-07 11:15:32 -0400, Tom Lane wrote: >> The "exit code 0" bit reminds me of this: >> >> http://www.postgresql.org/message-id/21027.1393546453@sss.pgh.pa.us >> >> Is there another exit report for the same PID just above the quoted log >> extract? Because if there isn't, the postmaster shouldn't be thinking >> that status 0 represents a crash. > Wouldn't a pl or library doing a exit(0); cause exactly that, because it > will still be in PM_CHILD_ASSIGNED? Oh, hm, that's a possibility, if the OP is using any untrusted PLs. As you say, we lack sufficient context. regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs