pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Grigory Smolkin <g.smolkin@postgrespro.ru>
To: Peter Geoghegan <pg@bowt.ie>
Cc: PostgreSQL mailing lists <pgsql-bugs@lists.postgresql.org>
Subject: Re: amcheck assert failure
Date: Mon, 22 Apr 2019 19:03:11 +0300
Message-ID: <61090467-0a38-d58b-dfcc-81463e66708c@postgrespro.ru> (raw)
In-Reply-To: <CAH2-WzkmvoOzP6pVTjdE=yJwTg49+L7ZegkPvbqk+3A0ahJ5LQ@mail.gmail.com>
References: <906cac0a-1201-e981-5043-7ca0d97d2a17@postgrespro.ru>
	<CAH2-WzncLb59xy4=2gkQnUxHnenCqW1hCTGTX1FwbeH2S5SesQ@mail.gmail.com>
	<e8c4c837-06f8-2246-f6eb-f390cbf80629@postgrespro.ru>
	<CAH2-Wzk4-MPMesjcRhEeH8FcBeBmMY0mP8aKhaP2=OdLaMwjbQ@mail.gmail.com>
	<CAH2-Wz=r2g0pet4hVPi88Yh+uqRmMphEON0U9Yd28HSW+ac7vQ@mail.gmail.com>
	<CAH2-WzkmvoOzP6pVTjdE=yJwTg49+L7ZegkPvbqk+3A0ahJ5LQ@mail.gmail.com>

I`m sorry for a delay, was away from PC during weekend.

On 04/21/2019 02:06 AM, Peter Geoghegan wrote:
> On Sat, Apr 20, 2019 at 2:37 PM Peter Geoghegan <pg@bowt.ie> wrote:
>> Alternatively, you could dump the page image from within gdb. Go to
>> the frame for _bt_check_natts() (e.g., enter "f 1"), and then dump the
>> contents of the page to file:
> I was inspired to do a write-up on this for the Wiki:
>
> https://wiki.postgresql.org/wiki/Getting_a_stack_trace_of_a_running_PostgreSQL_backend_on_Linux/BSD#...
>
> Seems like a good idea to centralize knowledge of backend
> instrumentation that's useful for bug reports, even beyond GDB.
>

Wow, that` neat, thank you for a dump instruction!
Attached.

-- 
Grigory Smolkin
Postgres Professional: http://www.postgrespro.com
The Russian Postgres Company

Attachments:

  dump_block.page (application/octet-stream, 8.0K) download

view thread (17+ messages)  latest in thread

Message-ID: <61090467-0a38-d58b-dfcc-81463e66708c@postgrespro.ru>
Permalink:  ../61090467-0a38-d58b-dfcc-81463e66708c@postgrespro.ru/
Also on:    postgresql.org/message-id/61090467-0a38-d58b-dfcc-81463e66708c@postgrespro.ru

 · 

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: g.smolkin@postgrespro.ru, pg@bowt.ie
  Subject: Re: amcheck assert failure
  In-Reply-To: <61090467-0a38-d58b-dfcc-81463e66708c@postgrespro.ru>
  References: <906cac0a-1201-e981-5043-7ca0d97d2a17@postgrespro.ru> <CAH2-WzncLb59xy4=2gkQnUxHnenCqW1hCTGTX1FwbeH2S5SesQ@mail.gmail.com> <e8c4c837-06f8-2246-f6eb-f390cbf80629@postgrespro.ru> <CAH2-Wzk4-MPMesjcRhEeH8FcBeBmMY0mP8aKhaP2=OdLaMwjbQ@mail.gmail.com> <CAH2-Wz=r2g0pet4hVPi88Yh+uqRmMphEON0U9Yd28HSW+ac7vQ@mail.gmail.com> <CAH2-WzkmvoOzP6pVTjdE=yJwTg49+L7ZegkPvbqk+3A0ahJ5LQ@mail.gmail.com> <61090467-0a38-d58b-dfcc-81463e66708c@postgrespro.ru>

* 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