Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hIeyx-0000fC-3A for pgsql-bugs@arkaria.postgresql.org; Mon, 22 Apr 2019 19:52:03 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hIeyv-0004Ef-QU for pgsql-bugs@arkaria.postgresql.org; Mon, 22 Apr 2019 19:52:01 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hIeyv-0004EY-It for pgsql-bugs@lists.postgresql.org; Mon, 22 Apr 2019 19:52:01 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hIeyt-0004mt-CM for pgsql-bugs@lists.postgresql.org; Mon, 22 Apr 2019 19:52:01 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id x3MJpvXG023980; Mon, 22 Apr 2019 15:51:57 -0400 From: Tom Lane To: Grigory Smolkin cc: Peter Geoghegan , PostgreSQL mailing lists Subject: Re: amcheck assert failure In-reply-to: References: <906cac0a-1201-e981-5043-7ca0d97d2a17@postgrespro.ru> <61090467-0a38-d58b-dfcc-81463e66708c@postgrespro.ru> Comments: In-reply-to Grigory Smolkin message dated "Mon, 22 Apr 2019 22:48:23 +0300" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <23978.1555962717.1@sss.pgh.pa.us> Date: Mon, 22 Apr 2019 15:51:57 -0400 Message-ID: <23979.1555962717@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Grigory Smolkin writes: > On 04/22/2019 09:05 PM, Peter Geoghegan wrote: >> The ascii string "blablahblah" has been overwritten at byte offset >> 1040 (from the beginning of the page). I would take a closer look at >> what those tests do. Either the problem is in the tests, or your >> database is haunted, which is outside my area of expertise. > It`s data corruption test, but I`ve forgot to turn checksums on. > I`m sorry for wasting your time. Nonetheless ... do we really want an assertion failure rather than some more-mundane error report? Seems like the point of amcheck is to detect data corruption, so I'd rather get an ERROR than an assertion (which would not fire in production builds anyway). regards, tom lane