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 1ntrxL-0007ZD-UH for pgsql-hackers@arkaria.postgresql.org; Wed, 25 May 2022 14:25:47 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1ntrxK-0006Yi-Op for pgsql-hackers@arkaria.postgresql.org; Wed, 25 May 2022 14:25:46 +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 1ntrxK-0006Vd-F2 for pgsql-hackers@lists.postgresql.org; Wed, 25 May 2022 14:25:46 +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 1ntrxE-0004Zk-9w for pgsql-hackers@postgresql.org; Wed, 25 May 2022 14:25:46 +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 24PEPXwi1921929; Wed, 25 May 2022 10:25:33 -0400 From: Tom Lane To: Noah Misch cc: Andres Freund , CM Team , Thomas Munro , pgsql-hackers Subject: Re: "ERROR: latch already owned" on gharial In-reply-to: <20220525064658.GA3123194@rfd.leadboat.com> References: <20220525012439.pkrfb7zh276jdmyq@alap3.anarazel.de> <20220525064658.GA3123194@rfd.leadboat.com> Comments: In-reply-to Noah Misch message dated "Tue, 24 May 2022 23:46:58 -0700" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1921927.1653488733.1@sss.pgh.pa.us> Date: Wed, 25 May 2022 10:25:33 -0400 Message-ID: <1921928.1653488733@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Noah Misch writes: > +1, this is at least the third non-obvious miscompilation from gharial. Is there any evidence that this is a compiler-sourced problem? Maybe it is, but it's sure not obvious to me (he says, eyeing his buildfarm animals with even older gcc versions). regards, tom lane