Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nf1Tx-0006Ij-4q for pgsql-hackers@arkaria.postgresql.org; Thu, 14 Apr 2022 15:34:05 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nf1Tu-0006xt-Rh for pgsql-hackers@arkaria.postgresql.org; Thu, 14 Apr 2022 15:34:02 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nf1Tu-0006xk-Fq for pgsql-hackers@lists.postgresql.org; Thu, 14 Apr 2022 15:34:02 +0000 Received: from mail-lj1-x234.google.com ([2a00:1450:4864:20::234]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1nf1Tr-00056W-Ve for pgsql-hackers@lists.postgresql.org; Thu, 14 Apr 2022 15:34:02 +0000 Received: by mail-lj1-x234.google.com with SMTP id v13so385445ljg.10 for ; Thu, 14 Apr 2022 08:33:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=m9sIobB+poKdiumazUxLyTIsWyhsepP7qujmxyaHR9E=; b=l3MyFFltLLdCnClJpzmUsQhq5mYujixa4D5tSrSaVSWZ+TFyjWNOqhqqTYb2jaOyE/ pxWhQAWLeY3WxNkJEr2nCHWGrvuUriOgTxMunTeQdCFrIrd3oL9s1Lcp9uiAeHRv8EO1 rB6iZuEI7SicTnHss0rX2aPsodc+dQELyB9SquPAy6hwRUvPk+/8gu1Tz5VnslZomkPd GdGvU80RJ6K+jG9+nau32BL17oufgo8DiTZO2MX+fuvusfNzSdkqg6FKOm9HDhelnqqu MlSspQpdSzzcVY0lTN4tqeVuGS7RFcYKABfQ8nwlVCUrSQ8FSApj7BOyM+QKvSiE7cpj 8zBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=m9sIobB+poKdiumazUxLyTIsWyhsepP7qujmxyaHR9E=; b=h1gYhoNlGenUz7Vb8P9Mp8xEEkHNb/esj0xghpvkgekEOcLiP5gn8uVLm8h8A5knbI okrSKd/aXuH5psaxD6zmCJ4WCP5s1s8o+3ieUZ78i5rpvqiMpCFsQGeSyTjmuRV2n7Gf E/D0WhWodakMRWYoeNP8G7KMABd009oH9sBCoZjV1TyND71wD9suas5IOXwvVO7relU4 q96uLpc5aCLogIpEfif/KJpd3HgCfBmhqT84Ihd2ZHWpLYzlzvByF/D6DBuhMzC5G045 tFeI5ZKEcJrbtJnUwtnXWeMcOh+ZKjNqrkOxnRti91Pu7LYMGDYz7lZLVjL30nIuMAhn p0tA== X-Gm-Message-State: AOAM532lPY3+MFijppAoONQomS9csJIG4M+YWgre3nrypk6aANZ/ADyq Jxyb2NkNAsLF8aBvqAv/QdjrtvR3bQUwvWVI6xw= X-Google-Smtp-Source: ABdhPJxmlwjTaz3alVpvE9q/8bmS/VbhXz72uWFKsenxoge1qgKMmBpUbqXT51xyWX9Dskjd4Tdlgmuiw4LEyS/I2bY= X-Received: by 2002:a2e:b008:0:b0:24b:4ff2:5e09 with SMTP id y8-20020a2eb008000000b0024b4ff25e09mr1961929ljk.28.1649950436094; Thu, 14 Apr 2022 08:33:56 -0700 (PDT) MIME-Version: 1.0 References: <20220330.100617.1491348930290941094.horikyota.ntt@gmail.com> <20220330.114613.1177577626285014184.horikyota.ntt@gmail.com> <20220330.175824.936439875658680065.horikyota.ntt@gmail.com> <20220413202819.GR26620@telsasoft.com> <20220414003802.e37dgzkgbi5t7ha4@alap3.anarazel.de> <1471620.1649947373@sss.pgh.pa.us> In-Reply-To: <1471620.1649947373@sss.pgh.pa.us> From: Robert Haas Date: Thu, 14 Apr 2022 11:33:45 -0400 Message-ID: Subject: Re: TRAP: FailedAssertion("HaveRegisteredOrActiveSnapshot()", File: "toast_internals.c", Line: 670, PID: 19403) To: Tom Lane Cc: Andres Freund , Justin Pryzby , Kyotaro Horiguchi , Erik Rijkers , Matthias van de Meent , PostgreSQL Hackers Content-Type: text/plain; charset="UTF-8" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Thu, Apr 14, 2022 at 10:42 AM Tom Lane wrote: > Robert Haas writes: > > On Wed, Apr 13, 2022 at 8:38 PM Andres Freund wrote: > >> FWIW, that'd just mean it's an old bug that wasn't easily noticeable > >> before, not that it's the fault of 277692220. > > > I think you're still on the hook to do something about it for this > > release. > > I think you're trying to shoot the messenger. As Andres says, > 277692220 just exposes that there is some pre-existing bug here. > It's probably related to 84f5c2908, so I was planning to take a > look at it at some point, but there are a few other higher-priority > bugs in the way. Well, if you're willing to look at it that's fine, but I just don't agree that it's OK to just commit things that add failing assertions and drive off into the sunset. The code is always going to have a certain number of unfixed bugs, and that's fine, and finding them is good in itself, but people want to be able to run the software in the meantime, and some of those people are developers or other individuals who want to run it with assertions enabled. It's a judgement call whether this assertion failure is going to bite enough people to be a problem, but if it were something that happened easily enough to prevent you from working on the source code, I'm sure you wouldn't be OK with leaving it in there until someone got around to looking at it. Given that it took about a month and a half for someone to report them problem, it's not as bad as all that, but I guess I won't be surprised if we keep getting complaints until something gets done. -- Robert Haas EDB: http://www.enterprisedb.com