pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Grigory Smolkin <g.smolkin@postgrespro.ru>
To: pgsql-bugs@lists.postgresql.org
Subject: Re: amcheck assert failure
Date: Sat, 20 Apr 2019 12:08:39 +0300
Message-ID: <e8c4c837-06f8-2246-f6eb-f390cbf80629@postgrespro.ru> (raw)
In-Reply-To: <CAH2-WzncLb59xy4=2gkQnUxHnenCqW1hCTGTX1FwbeH2S5SesQ@mail.gmail.com>
References: <906cac0a-1201-e981-5043-7ca0d97d2a17@postgrespro.ru>
	<CAH2-WzncLb59xy4=2gkQnUxHnenCqW1hCTGTX1FwbeH2S5SesQ@mail.gmail.com>

Hello!

On 04/20/2019 04:30 AM, Peter Geoghegan wrote:

> On Fri, Apr 19, 2019 at 6:15 PM Grigory Smolkin
> <g.smolkin@postgrespro.ru> wrote:
>> Hello, everyone!
>> I was running some automated tests with amcheck on PG11 and encountered
>> following assertion failure:
>>
>> TRAP: FailedAssertion("!((( (&(itup)->t_tid)->ip_posid ) & 0xF000) ==
>> 0)", File: "nbtutils.c", Line: 2168)
> Was the assertion failure on Postgres Pro's fork? I understand that
> there are differences in this exact area on the forked version,
> because it has to deal with two representations -- the fork had
> INCLUDE indexes before the community version, which explicitly
> represents the number of attributes in pivot tuples.
No, it`s vanilla PG11:
db2=# select version();
version
--------------------------------------------------------------------------------------------------------
  PostgreSQL 11.1 on x86_64-pc-linux-gnu, compiled by gcc (GCC) 6.3.1 
20161221 (Red Hat 6.3.1-1), 64-bit
(1 row)
>
> I wouldn't usually ask this, but the failure is very basic. It's hard
> to believe that it would take this long to notice it.
Maybe it wasn't noticed because binaries, shipped to users, usually 
compiled without '--cassert-enable'.
> I also note that you have "fsync = off". I suppose that that might be
> relevant, too.
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.

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






view thread (17+ messages)  latest in thread

Message-ID: <e8c4c837-06f8-2246-f6eb-f390cbf80629@postgrespro.ru>
Permalink:  ../e8c4c837-06f8-2246-f6eb-f390cbf80629@postgrespro.ru/
Also on:    postgresql.org/message-id/e8c4c837-06f8-2246-f6eb-f390cbf80629@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
  Subject: Re: amcheck assert failure
  In-Reply-To: <e8c4c837-06f8-2246-f6eb-f390cbf80629@postgrespro.ru>
  References: <906cac0a-1201-e981-5043-7ca0d97d2a17@postgrespro.ru> <CAH2-WzncLb59xy4=2gkQnUxHnenCqW1hCTGTX1FwbeH2S5SesQ@mail.gmail.com> <e8c4c837-06f8-2246-f6eb-f390cbf80629@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