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 1nYBRW-000343-6A for pgsql-hackers@arkaria.postgresql.org; Sat, 26 Mar 2022 18:47:18 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nYBRV-00062j-1T for pgsql-hackers@arkaria.postgresql.org; Sat, 26 Mar 2022 18:47:17 +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 1nYBRU-00062a-Om for pgsql-hackers@lists.postgresql.org; Sat, 26 Mar 2022 18:47:16 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nYBRO-0002iW-6F for pgsql-hackers@lists.postgresql.org; Sat, 26 Mar 2022 18:47:16 +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 22QIl73U136103; Sat, 26 Mar 2022 14:47:07 -0400 From: Tom Lane To: pgsql-hackers@lists.postgresql.org cc: Andrew Dunstan Subject: Why is lorikeet so unstable in v14 branch only? MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <136101.1648320427.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Sat, 26 Mar 2022 14:47:07 -0400 Message-ID: <136102.1648320427@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk I chanced to notice that buildfarm member lorikeet has been failing an awful lot lately in the v14 branch, but hardly at all in other branches. Here's a log extract from its latest run [1]: 2022-03-26 06:31:47.245 EDT [623eeb93.d202:131] pg_regress/inherit LOG: s= tatement: create table mlparted_tab (a int, b char, c text) partition by l= ist (a); 2022-03-26 06:31:47.247 EDT [623eeb93.d202:132] pg_regress/inherit LOG: s= tatement: create table mlparted_tab_part1 partition of mlparted_tab for va= lues in (1); 2022-03-26 06:31:47.254 EDT [623eeb93.d203:60] pg_regress/vacuum LOG: sta= tement: VACUUM FULL pg_class; 2022-03-26 06:31:47.258 EDT [623eeb92.d201:90] pg_regress/typed_table LOG:= statement: SELECT a.attname, pg_catalog.format_type(a.atttypid, a.atttypmod), (SELECT pg_catalog.pg_get_expr(d.adbin, d.adrelid, true) FROM pg_catalog.pg_attrdef d WHERE d.adrelid =3D a.attrelid AND d.adnum =3D a.attnum AND a.atthasde= f), a.attnotnull, (SELECT c.collname FROM pg_catalog.pg_collation c, pg_catalog.pg_type t WHERE c.oid =3D a.attcollation AND t.oid =3D a.atttypid AND a.attcolla= tion <> t.typcollation) AS attcollation, a.attidentity, a.attgenerated FROM pg_catalog.pg_attribute a WHERE a.attrelid =3D '21770' AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum; *** starting debugger for pid 53762, tid 10536 2022-03-26 06:32:02.158 EDT [623eeb6c.d0c2:4] LOG: server process (PID 53= 762) exited with exit code 127 2022-03-26 06:32:02.158 EDT [623eeb6c.d0c2:5] DETAIL: Failed process was = running: create table mlparted_tab_part1 partition of mlparted_tab for val= ues in (1); 2022-03-26 06:32:02.158 EDT [623eeb6c.d0c2:6] LOG: terminating any other = active server processes The failures are not all exactly like this one, but they're mostly in CREATE TABLE operations nearby to this one. I speculate what is happening is that the "VACUUM FULL pg_class" is triggering some misbehavior in concurrent partitioned-table creation. The lack of failures in other branches could be due to changes in the relative timing of the "vacuum" and "inherit" test scripts. Any chance we could get a stack trace from one of these crashes? regards, tom lane [1] https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=3Dlorikeet&dt=3D= 2022-03-26%2010%3A17%3A22