pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@anarazel.de>
To: Bo Ørsted Andresen <boa@neogrid.dk>
Cc: pgsql-bugs@postgresql.org <pgsql-bugs@postgresql.org>
Subject: Re: BUG #14180: Segmentation fault on replication slave
Date: Tue, 7 Jun 2016 10:59:59 -0700
Message-ID: <20160607175959.e22j2qvam4qa66vu@alap3.anarazel.de> (raw)
In-Reply-To: <VI1PR04MB14885FE6EBB1465EF8B88515CB5D0@VI1PR04MB1488.eurprd04.prod.outlook.com>
References: <20160607091618.1385.29368@wrigleys.postgresql.org>
	<20160607172115.7pty2qzptgkw5fxg@alap3.anarazel.de>
	<VI1PR04MB14881F9BDA4E90ABAF67A6FFCB5D0@VI1PR04MB1488.eurprd04.prod.outlook.com>
	<20160607174042.dskfqhcjrr5lufwi@alap3.anarazel.de>
	<VI1PR04MB14885FE6EBB1465EF8B88515CB5D0@VI1PR04MB1488.eurprd04.prod.outlook.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

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



view thread (15+ messages)  latest in thread

Message-ID: <20160607175959.e22j2qvam4qa66vu@alap3.anarazel.de>
Permalink:  ../20160607175959.e22j2qvam4qa66vu@alap3.anarazel.de/
Also on:    postgresql.org/message-id/20160607175959.e22j2qvam4qa66vu@alap3.anarazel.de

 · 

reply

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: andres@anarazel.de, boa@neogrid.dk
  Subject: Re: BUG #14180: Segmentation fault on replication slave
  In-Reply-To: <20160607175959.e22j2qvam4qa66vu@alap3.anarazel.de>
  References: <20160607091618.1385.29368@wrigleys.postgresql.org> <20160607172115.7pty2qzptgkw5fxg@alap3.anarazel.de> <VI1PR04MB14881F9BDA4E90ABAF67A6FFCB5D0@VI1PR04MB1488.eurprd04.prod.outlook.com> <20160607174042.dskfqhcjrr5lufwi@alap3.anarazel.de> <VI1PR04MB14885FE6EBB1465EF8B88515CB5D0@VI1PR04MB1488.eurprd04.prod.outlook.com> <20160607175959.e22j2qvam4qa66vu@alap3.anarazel.de>

* 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