Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tpJ3S-003Jqj-LR for pgsql-bugs@arkaria.postgresql.org; Tue, 04 Mar 2025 03:34:50 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1tpJ3Q-004u2I-V6 for pgsql-bugs@arkaria.postgresql.org; Tue, 04 Mar 2025 03:34:48 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tpJ3Q-004u29-Er for pgsql-bugs@lists.postgresql.org; Tue, 04 Mar 2025 03:34:48 +0000 Received: from mail-pl1-x62c.google.com ([2607:f8b0:4864:20::62c]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1tpJ3N-000pwU-3C for pgsql-bugs@lists.postgresql.org; Tue, 04 Mar 2025 03:34:47 +0000 Received: by mail-pl1-x62c.google.com with SMTP id d9443c01a7336-22385253e2bso60337525ad.1 for ; Mon, 03 Mar 2025 19:34:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=leadboat.com; s=google; t=1741059285; x=1741664085; darn=lists.postgresql.org; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=IKWr7c4Fetpj2gpG4zY9zgKn9IfRCkM/tHQ77Y5YFT4=; b=EuRkTzjupk9pnhWxTL9ouqrP9hyaYzJXKQi15QmA1cwb828Yyi4OwUOjXkpgOSBCzB kc3H9sH/+Pg3y1DAsfZTPkRJifypFZhaNl1hJA+n6sXmq/GOZNnYewp1Awt4s9731h+z s2foFflINqRvzvG2JUG0mzt3fa0XbJZ1c4BQw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1741059285; x=1741664085; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=IKWr7c4Fetpj2gpG4zY9zgKn9IfRCkM/tHQ77Y5YFT4=; b=MutrZeohEkkWs1Cx3isE4wWx/FwBGmkbb2AZafRAn34jV/WDA6C/1GEicpFNGJRHoi zjRAEADluW5GPVFMYlKG9EEi9ElE1FifKMB0f+fpkSxa6M2b48Rqjp46FPp8c6dKDHRR B2j61oN937EeE6K+U1UcidtXbzfPhoqXl6QBvOZguR/JUowKVM/l7F6kBlsQOCYSGqli bXwX1SDy+xgJ27jORGDy8om/OPKzrpa9SpMEkxZsCldMVORHcwhalVLh4j5mhnS6Z62N QpeD0VtCNO7S9Vyvy+Uz1TAtqvZaBf97Xqiapx6+2lN9SnUdgzlOOvsdTpYozdyOO/9l e2zg== X-Forwarded-Encrypted: i=1; AJvYcCWOyUmsNlN211XCTuY4iTZSFa1C1U2ntNPU+N93wd4W9Rbzxqlz9jBsY0xBNNDjtPCPVZkyLHXF9dja@lists.postgresql.org X-Gm-Message-State: AOJu0YxNanpg0uowJDLPl89aCS1KNi4447/51sBGi2fVfv0IQFg6nTfR m8UzYP2tUxMkLap/cI2kHZuTitFtfyYPiiO9+yek83BrWEuR9rVn+IkReuZBSg== X-Gm-Gg: ASbGncuqgyyDj5hSKttXlCW7ggu0ZUwqpZa7O2nk9C75Wem2snRFfGSwAoUc72tmlzN mgfrV+EhEtrwaVKCABB4zbLQ6KjnUkwwVa2lZIgEBToZzdoo9Yd4gEBl47QlzLR6K4GqrxNWIcv s9ClKbHSYObqlx7FejFxnOIO4T3D6NCpvosMBqNaDh5L9xuAzQY3WRqRDcqonEZP/tEvtE5asRr U0icJeSiGvywp27+O7mTgdofLhGAdnLSksBbiizQ+JFgKk0oO1j14Vh0gbZVl20aDM05SYK5poR BP+eEYJ4SanZi+1a6tv8NHIbrh6MpXyvK7azMFQ= X-Google-Smtp-Source: AGHT+IFI6D68a4R45/1ynrnN5CWZWBemac9m/xYuwuwCsQsbXamIv7jEX9B47/lVCq+v/bF2xZpoBg== X-Received: by 2002:a17:902:d48f:b0:223:3b76:4e07 with SMTP id d9443c01a7336-22368f5fcfdmr244011995ad.4.1741059285024; Mon, 03 Mar 2025 19:34:45 -0800 (PST) Received: from google.com ([2600:1702:a20:5750::46]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-223504c5d70sm85269505ad.145.2025.03.03.19.34.43 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 03 Mar 2025 19:34:44 -0800 (PST) Date: Mon, 3 Mar 2025 19:34:42 -0800 From: Noah Misch To: Andres Freund Cc: Alexander Lakhin , Melanie Plageman , Heikki Linnakangas , pgsql-bugs@lists.postgresql.org Subject: Re: BUG #17821: Assertion failed in heap_update() due to heap pruning Message-ID: <20250304033442.11.nmisch@google.com> References: <13d30799-0107-6502-c81c-39ff5f1e7eb0@gmail.com> <25c3399b-58a3-d727-7f97-93394fd1afa9@gmail.com> <2a203fd8-e9c8-5f5d-40f8-707848905a1a@gmail.com> <53a0f263-bece-bc96-e016-1690628a9980@gmail.com> <20241113002657.ce@rfd.leadboat.com> <20250111214454.9a.nmisch@google.com> <20250123021349.b0.nmisch@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/2.2.12 (2023-09-09) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk 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&stg=injection_points-check > > 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'); > > 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.