pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Noah Misch <noah@leadboat.com>
To: Andres Freund <andres@anarazel.de>
Cc: Alexander Lakhin <exclusion@gmail.com>
Cc: Melanie Plageman <melanieplageman@gmail.com>
Cc: Heikki Linnakangas <hlinnaka@iki.fi>
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #17821: Assertion failed in heap_update() due to heap pruning
Date: Mon, 3 Mar 2025 19:34:42 -0800
Message-ID: <20250304033442.11.nmisch@google.com> (raw)
In-Reply-To: <sv3taq4e6ea4qckimien3nxp3sz4b6cw6sfcy4nhwl52zpur4g@h6i6tohxmizu>
References: <13d30799-0107-6502-c81c-39ff5f1e7eb0@gmail.com>
	<BEB9A06A-3B05-41DC-AEE4-AD3DC4AD67E5@anarazel.de>
	<25c3399b-58a3-d727-7f97-93394fd1afa9@gmail.com>
	<2a203fd8-e9c8-5f5d-40f8-707848905a1a@gmail.com>
	<CAAKRu_bWz0KhTKW3SzetvhZL3gpsnyekB2WFCn-MO4aCx=37=g@mail.gmail.com>
	<53a0f263-bece-bc96-e016-1690628a9980@gmail.com>
	<20241113002657.ce@rfd.leadboat.com>
	<20250111214454.9a.nmisch@google.com>
	<20250123021349.b0.nmisch@google.com>
	<sv3taq4e6ea4qckimien3nxp3sz4b6cw6sfcy4nhwl52zpur4g@h6i6tohxmizu>

On Mon, Mar 03, 2025 at 05:07:10PM -0500, Andres Freund wrote:
> On 2025-01-22 18:13:49 -0800, Noah Misch wrote:
> > Attached.  Outside of comments and tests, it's a simple 20-line patch.  Since
> > only two weeks will remain before release freeze, in the absence of review, I
> > would push this after 2025-01-25T16:00+0000.
> 
> I just fixed skink, the valgrind animal, so it runs not just the main
> regression tests but all tests with a valgrind-ified postgres.

Thanks.

> Unfortunately,
> the next run triggered a failure in the test added in this thread:
> 
> https://buildfarm.postgresql.org/cgi-bin/show_stage_log.pl?nm=skink&dt=2025-03-03%2019%3A52%3A38...
> 
> diff -U3 /home/bf/bf-build/skink-master/HEAD/pgsql/src/test/modules/injection_points/expected/syscache-update-pruned.out /home/bf/bf-build/skink-master/HEAD/pgsql.build/testrun/injection_points/isolation/results/syscache-update-pruned.out
> --- /home/bf/bf-build/skink-master/HEAD/pgsql/src/test/modules/injection_points/expected/syscache-update-pruned.out	2025-01-25 19:30:50.005386842 +0000
> +++ /home/bf/bf-build/skink-master/HEAD/pgsql.build/testrun/injection_points/isolation/results/syscache-update-pruned.out	2025-03-03 21:08:02.025314915 +0000
> @@ -75,6 +75,7 @@
>  	SELECT FROM injection_points_wakeup('heap_update-before-pin');
>   <waiting ...>
>  step grant1: <... completed>
> +ERROR:  tuple concurrently deleted
>  step wakegrant4: <... completed>
>  step inspect4:
>  	SELECT relhastriggers, relhassubclass FROM pg_class
> @@ -82,6 +83,6 @@
> 
>  relhastriggers|relhassubclass
>  --------------+--------------
> -f             |f
> +t             |t
>  (1 row)

That isolation permutation tests an unfixed bug.  Here, it's giving a result
as though the bug were fixed.  The suite passed the next two skink runs.  I'd
tend to defer debugging exactly what went wrong until the project to fix the
bug under test.  I could delete the permutation, or I could leave it awhile to
see how high-probability this failure is.  I'm inclined to leave it until it
gets four failures, then delete the permutation.





view thread (13+ messages)  latest in thread

Message-ID: <20250304033442.11.nmisch@google.com>
Permalink:  ../20250304033442.11.nmisch@google.com/
Also on:    postgresql.org/message-id/20250304033442.11.nmisch@google.com

 · 

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: noah@leadboat.com, andres@anarazel.de, exclusion@gmail.com, melanieplageman@gmail.com, hlinnaka@iki.fi, pgsql-bugs@lists.postgresql.org
  Subject: Re: BUG #17821: Assertion failed in heap_update() due to heap pruning
  In-Reply-To: <20250304033442.11.nmisch@google.com>

* 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