pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Eric Thinnes <e.thinnes@gmx.de>
To: Thomas Munro <thomas.munro@gmail.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Cc: PostgreSQL mailing lists <pgsql-bugs@lists.postgresql.org>
Subject: Re: Segmentation fault when calling BlessTupleDesc in a C function in parallel on PostgreSQL-(12.6, 12.7, 13.2, 13.3)
Date: Mon, 17 May 2021 09:01:01 +0200
Message-ID: <e2b363f1-c886-a268-902b-0b5352b778cc@gmx.de> (raw)
In-Reply-To: <CA+hUKGK8ib9c5h-+uQudQ0+CGAx23h6XAAns9pL+pVgHfV2REQ@mail.gmail.com>
References: <99aaa2eb-e194-bf07-c29a-1a76b4f2bcf9@gmx.de>
	<CALj2ACV+SiO=xr0A3n13kRKVAgUjChu=4TxFKi8WOX4xxUvk3A@mail.gmail.com>
	<105daf69-a864-2e83-1f93-a85e4ba80510@gmx.de>
	<1885028.1621005635@sss.pgh.pa.us>
	<636195a3-32d0-f45c-6e06-4df99ece5760@gmx.de>
	<CA+hUKGK8ib9c5h-+uQudQ0+CGAx23h6XAAns9pL+pVgHfV2REQ@mail.gmail.com>


 > PG 11, before that there was a different arrangement involving
 > translation), but there is a low probability edge case that your test
 > manages to hit fairly reliably, where two backends try to bless a

I see that I have a talent for stepping into the trap.

 > record_table_entry->key.u.shared_tupdesc);
 >                  Assert(result->tdrefcount == -1);
 >
 > With that change I can see it still hits this path often but works
 > correctly.  Will fix next week.


That is good news.

This means that all users can benefit from it.






view thread (9+ messages)  latest in thread

Message-ID: <e2b363f1-c886-a268-902b-0b5352b778cc@gmx.de>
Permalink:  ../e2b363f1-c886-a268-902b-0b5352b778cc@gmx.de/
Also on:    postgresql.org/message-id/e2b363f1-c886-a268-902b-0b5352b778cc@gmx.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 using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: e.thinnes@gmx.de, thomas.munro@gmail.com, tgl@sss.pgh.pa.us, bharath.rupireddyforpostgres@gmail.com, pgsql-bugs@lists.postgresql.org
  Subject: Re: Segmentation fault when calling BlessTupleDesc in a C function in parallel on PostgreSQL-(12.6, 12.7, 13.2, 13.3)
  In-Reply-To: <e2b363f1-c886-a268-902b-0b5352b778cc@gmx.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