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 1kPb3h-00023k-Qn for pgsql-hackers@arkaria.postgresql.org; Tue, 06 Oct 2020 00:42:25 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kPb3f-0002xo-UF for pgsql-hackers@arkaria.postgresql.org; Tue, 06 Oct 2020 00:42:23 +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 1kPb3f-0002xh-Nm for pgsql-hackers@lists.postgresql.org; Tue, 06 Oct 2020 00:42:23 +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 1kPb3d-0001fG-8w for pgsql-hackers@lists.postgresql.org; Tue, 06 Oct 2020 00:42:23 +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 0960gFEB1830492; Mon, 5 Oct 2020 20:42:16 -0400 From: Tom Lane To: Noah Misch cc: pgsql-hackers@lists.postgresql.org, David Rowley Subject: Recent failures on buildfarm member hornet MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1830490.1601944935.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Mon, 05 Oct 2020 20:42:15 -0400 Message-ID: <1830491.1601944935@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk hornet has failed its last five runs with 2020-10-05 22:45:42.784 UTC [34734498:40] pg_regress/create_aggregate LOG:= statement: create aggregate my_percentile_disc(float8 ORDER BY anyelemen= t) ( stype =3D internal, sfunc =3D ordered_set_transition, finalfunc =3D percentile_disc_final, finalfunc_extra =3D true, finalfunc_modify =3D read_write ); TRAP: FailedAssertion("variadicArgType !=3D InvalidOid", File: "pg_aggrega= te.c", Line: 216, PID: 34734498) After looking at the commits immediately preceding the first failure, and digging around in the aggregate-related code, it seems like commit = cc99baa43 (Improve pg_list.h's linitial(), lsecond() and co macros) must've broke it somehow. The nearest thing that I can see to a theory is that where DefineAggregate does numDirectArgs =3D intVal(lsecond(args)); it's coming out with the wrong result, leading to a failure of the numDirectArgs-vs-numArgs sanity check in AggregateCreate. But how could that be? I hesitate to blame the compiler twice in one week. OTOH, it's a not-very-mainstream compiler on a not-very-mainstream architecture. Noah, can you poke into this in a little more detail and try to verify what is happening? regards, tom lane