Re: Assertion failure in _bt_pagedel (leafblkno == scanblkno) after interrupted VACUUM

From: Peter Geoghegan <pg(at)bowt(dot)ie>
To: Iliia Khaprov <i(dot)khaprov(at)gmail(dot)com>
Cc: pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: Assertion failure in _bt_pagedel (leafblkno == scanblkno) after interrupted VACUUM
Date: 2026-10-08 18:21:45
Message-ID: CAH2-Wz=56OCCh=DpCh_B2_tG55eC-E9_Kj+QKg1Y1meMyLzzog@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Mon, Sep 28, 2026 at 3:31 PM Iliia Khaprov <i(dot)khaprov(at)gmail(dot)com> wrote:
> We were doing some fuzzing with an oss-fuzz derivative
> (github.com/stroppy-io/pg-fuzz) The usual crashes are ubsan-only
> integer shifts. Yesterday it was a new thing - a cassert
> in half-dead page processing (originally found on 17.10):
>
> TRAP: failed Assert("leafblkno == scanblkno"), File: "nbtpage.c", Line: 1949

I pushed a fix for this just now.

Thanks for the report.

--
Peter Geoghegan

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Jacob Champion 2026-10-08 18:28:41 Do we want to solve reload/config races more generally? (was: Postmaster crashes on SIGHUP when oauth_validator_libraries holds only whitespace)
Previous Message PG Bug reporting form 2026-10-08 18:20:17 BUG #19752: GROUP BY on a constant and a cast to a length-limited array type crashes the server while planning