Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Ve5U6-0007jM-1w for pgsql-bugs@arkaria.postgresql.org; Wed, 06 Nov 2013 15:57:34 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Ve5U5-00085q-9L for pgsql-bugs@arkaria.postgresql.org; Wed, 06 Nov 2013 15:57:33 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Ve5U4-00085i-Cs for pgsql-bugs@postgresql.org; Wed, 06 Nov 2013 15:57:32 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Ve5U1-0001sc-NL for pgsql-bugs@postgresql.org; Wed, 06 Nov 2013 15:57:32 +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 rA6FvHiJ029014; Wed, 6 Nov 2013 10:57:17 -0500 From: Tom Lane To: Alvaro Herrera cc: rgr@cslab.de, pgsql-bugs@postgresql.org Subject: Re: BUG #8579: CoreDump of background writer process In-reply-to: <20131106154431.GN5809@eldon.alvh.no-ip.org> References: <20131106154431.GN5809@eldon.alvh.no-ip.org> Comments: In-reply-to Alvaro Herrera message dated "Wed, 06 Nov 2013 12:44:31 -0300" Date: Wed, 06 Nov 2013 10:57:17 -0500 Message-ID: <29013.1383753437@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) 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 Alvaro Herrera writes: > I wonder if the problem is mishandling of signals -- i.e. perhaps the > port is at fault, or maybe it was right in 8.3 but we changed something > that would affect the port, and it wasn't properly updated to match. The postmaster log looked like the problem was triggered by SIGHUP arriving while the bgwriter was doing an lseek(). It's not usual for seeks to be interruptable, though, unless maybe you're running the database over NFS? I tend to not trust that kind of arrangement much, mainly because NFS exposes you to all sorts of poorly-tested error recovery paths. Like this one. Anyway, in theory the bgwriter ought to be able to recover from such an error. Somehow the local state of BackgroundWriterMain is getting messed up, though. >> #0 0x00000000 in ?? () >> #1 0x08205ef4 in BackgroundWriterMain () >> #2 0x080e2759 in AuxiliaryProcessMain () > Not very useful, is it :-( The OP did provide a stack trace with debug symbols, further down. 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