Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bALJ0-00024J-5m for pgsql-bugs@arkaria.postgresql.org; Tue, 07 Jun 2016 18:00:46 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bALIz-0001Wl-Kj for pgsql-bugs@arkaria.postgresql.org; Tue, 07 Jun 2016 18:00:45 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bALIM-0000m4-Es for pgsql-bugs@postgresql.org; Tue, 07 Jun 2016 18:00:06 +0000 Received: from out2-smtp.messagingengine.com ([66.111.4.26]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bALII-0002dV-SW for pgsql-bugs@postgresql.org; Tue, 07 Jun 2016 18:00:06 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 21F7D20D1C; Tue, 7 Jun 2016 14:00:01 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute5.internal (MEProxy); Tue, 07 Jun 2016 14:00:01 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=vZBOR/YCbOAvRif sTDsDBtm9DiU=; b=eYvfII3D7YbvH/kPxPgUsS8JoK5yii3oi3Dt3SFzeKnyAm8 FkDmGWp3/qSxxrKfWI1IfCChqIEDpw6VwdJbbUt9rWo+RIlc6/aoS7729zUt9lNs Yc0akpHDf21ek53cZfKxk1ycihrQPhBHRJilbW+RUXkt+4KFRgvCpJDHJ4NI= X-Sasl-enc: QEiISogTvMP5zrZxdZnvjAFLdzlEsxDdqEdGqbSbAmyq 1465322400 Received: from intern.anarazel.de (somacentral.static.monkeybrains.net [162.217.75.74]) by mail.messagingengine.com (Postfix) with ESMTPA id C45CFCCD26; Tue, 7 Jun 2016 14:00:00 -0400 (EDT) Date: Tue, 7 Jun 2016 10:59:59 -0700 From: Andres Freund To: Bo =?iso-8859-1?Q?=D8rsted?= Andresen Cc: "pgsql-bugs@postgresql.org" Subject: Re: BUG #14180: Segmentation fault on replication slave Message-ID: <20160607175959.e22j2qvam4qa66vu@alap3.anarazel.de> References: <20160607091618.1385.29368@wrigleys.postgresql.org> <20160607172115.7pty2qzptgkw5fxg@alap3.anarazel.de> <20160607174042.dskfqhcjrr5lufwi@alap3.anarazel.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Pg-Spam-Score: -2.6 (--) 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 On 2016-06-07 17:53:46 +0000, Bo Ørsted Andresen wrote: > > On 2016-06-07 19:41, Andres Freund wrote: > > > Not sure what else I can do short of recompiling postgresql mysql. > > > > Any chance the running version of postgres is out of date with the installed > > binaries / debug symbols? > > You mean that I upgraded without restarting postgres before the segfault? Yes, that's what I was wondering. But alas, that's aparently not the reason. This is going to be a bit more complicated, sorry :( Could you try to reproduce the problem, and do 'p/x ReadRecPtr'? That should give you something like 0x5434343496. If you rewrite this as first-four-bytes/last-four-bytes e.g. 54/34343496 you get the LSN. With that, could you try pg_xlogdump -p /path/to/data/directory -s 54/34343496 -n 100 and send the output? Regards, Andres -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs