Re: amcheck assert failure - Mailing list pgsql-bugs

From Peter Geoghegan
Subject Re: amcheck assert failure
Date
Msg-id CAH2-Wzk4-MPMesjcRhEeH8FcBeBmMY0mP8aKhaP2=OdLaMwjbQ@mail.gmail.com
Whole thread Raw
In response to Re: amcheck assert failure  (Grigory Smolkin <g.smolkin@postgrespro.ru>)
Responses Re: amcheck assert failure
List pgsql-bugs
On Sat, Apr 20, 2019 at 2:08 AM Grigory Smolkin
<g.smolkin@postgrespro.ru> wrote:
> It`s automated test, instance get inited, filled with data, subjected
> with various tests and deleted in span of several seconds. And no crash
> has happened during this time.

Can you send me a raw binary dump of the page using pageinspect?
Something like the following command line recipe will do it:

$ psql -XAtc "SELECT encode(get_raw_page('pgbench_pkey',
42),'base64')" | base64 -d > dump_block_42.page

Obviously you'll need to figure out which block number the problem
page is located in before you do this, but that shouldn't be hard --
get a coredump and inspect the state from amcheck a few frames down.

-- 
Peter Geoghegan



pgsql-bugs by date:

Previous
From: "Jonathan S. Katz"
Date:
Subject: Re: Possible to store invalid SCRAM-SHA-256 Passwords
Next
From: Peter Geoghegan
Date:
Subject: Re: amcheck assert failure