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 1poX2m-0001h7-G9 for pgsql-hackers@arkaria.postgresql.org; Mon, 17 Apr 2023 22:09:52 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1poX2l-0004KA-0G for pgsql-hackers@arkaria.postgresql.org; Mon, 17 Apr 2023 22:09:51 +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 1poX2k-0004K0-Mj for pgsql-hackers@lists.postgresql.org; Mon, 17 Apr 2023 22:09:50 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1poX2i-003VaR-74 for pgsql-hackers@postgresql.org; Mon, 17 Apr 2023 22:09:49 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 33HM9i832522100; Mon, 17 Apr 2023 18:09:44 -0400 From: Tom Lane To: Justin Pryzby cc: Andres Freund , Matthias van de Meent , pgsql-hackers@postgresql.org Subject: Re: v16dev: TRAP: failed Assert("size > SizeOfXLogRecord"), File: "xlog.c", Line: 1055, PID: 13564 In-reply-to: References: <2444561.1681748021@sss.pgh.pa.us> <2454846.1681753830@sss.pgh.pa.us> Comments: In-reply-to Justin Pryzby message dated "Mon, 17 Apr 2023 17:00:08 -0500" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <2522098.1681769384.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Mon, 17 Apr 2023 18:09:44 -0400 Message-ID: <2522099.1681769384@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Justin Pryzby writes: > On Mon, Apr 17, 2023 at 01:50:30PM -0400, Tom Lane wrote: >> Bingo: bisecting shows the failure started at > Just curious: what "test" did you use to bisect with ? The test case I used looked like start postmaster with -c wal_level=3Dminimal -c max_wal_senders=3D0 make installcheck-parallel psql -d regression -c "do 'begin for i in 1..1000 loop execute ''create ta= ble lots''||i||'' as select * from onek''; end loop; end';" pg_dump -Fc -Z0 regression >~/regression.dump createdb r2 pg_restore -d r2 --single-transaction --no-tablespace ~/regression.dump Dumping the regression database as-is didn't reproduce it for me, but after I added a bunch more tables it did reproduce. (I added the -Z0 bit after some of the bisection test points hit the interval where somebody had broken pg_dump's compression features. It didn't seem relevant to the problem so I just disabled that.) regards, tom lane