Re: rare crash - FailedAssertion snapbuild.c Line: 580

From: "Euler Taveira" <euler(at)eulerto(dot)com>
To: "Pradeep Kumar" <spradeepkumar29(at)gmail(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Cc: "Andres Freund" <andres(at)anarazel(dot)de>, "Erik Rijkers" <er(at)xs4all(dot)nl>
Subject: Re: rare crash - FailedAssertion snapbuild.c Line: 580
Date: 2024-08-01 18:09:15
Message-ID: e0209c4e-dc9d-484c-a869-4168a6cae4b5@app.fastmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, Aug 1, 2024, at 6:59 AM, Pradeep Kumar wrote:
> Any update on this?

Are you using version 11? This version is obsolete and is not supported
anymore. Consider a supported version [1].

Per the following commit (in version 16), this Assert was replaced by
elog.

commit: 240e0dbacd390a8465552e27c5af11f67d747adb
author: Amit Kapila <akapila(at)postgresql(dot)org>
date: Mon, 21 Nov 2022 08:54:43 +0530
committer: Amit Kapila <akapila(at)postgresql(dot)org>
date: Mon, 21 Nov 2022 08:54:43 +0530
Add additional checks while creating the initial decoding snapshot.

As per one of the CI reports, there is an assertion failure which
indicates that we were trying to use an unenforced xmin horizon for
decoding snapshots. Though, we couldn't figure out the reason for
assertion failure these checks would help us in finding the reason if the
problem happens again in the future.

Author: Amit Kapila based on suggestions by Andres Freund
Reviewd by: Andres Freund
Discussion: https://postgr.es/m/CAA4eK1L8wYcyTPxNzPGkhuO52WBGoOZbT0A73Le=ZUWYAYmdfw@mail.gmail.com

According to this discussion, there isn't a clue about the root cause.
If you have a test case, share it (mainly if you are observing it in
version 16+ that exposes some data which may be useful for analysis).

[1] https://www.postgresql.org/support/versioning/

--
Euler Taveira
EDB https://www.enterprisedb.com/

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jeff Davis 2024-08-01 18:27:31 Inconsistency with EXPLAIN ANALYZE CREATE MATERIALIZED VIEW
Previous Message Robert Haas 2024-08-01 18:03:18 Re: On disable_cost