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 1nRHYy-0005uG-Rj for pgsql-general@arkaria.postgresql.org; Mon, 07 Mar 2022 17:54:29 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nRHYx-0004Ow-O0 for pgsql-general@arkaria.postgresql.org; Mon, 07 Mar 2022 17:54:27 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nRHYx-0004On-E7 for pgsql-general@lists.postgresql.org; Mon, 07 Mar 2022 17:54:27 +0000 Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nRHYv-0007cj-1n for pgsql-general@lists.postgresql.org; Mon, 07 Mar 2022 17:54:26 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 0514F5C038D; Mon, 7 Mar 2022 12:54:24 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Mon, 07 Mar 2022 12:54:24 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anarazel.de; h= cc:cc:content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm1; bh=Dx2WSL3zeOAE42Y6S7AdFJZKY2uco4QG+7m4vj 8CPeU=; b=a+5W/9LXUdtHV3nUENFfNtT7D64nJT3zX8yNgKBQtSkuEj3sp/tj71 4uPaALZ45HmkaDfWWKRzckwgRZVAqORAv0LdMkPNQU6DQsDRWstKxTg22lGgYyNK SvSWnPtCoIUxy3+kdYns7nHftu01yMlEWafsBezugx6vmc+MtH989LqeLUvb0vS6 OU5oK/tjYfWWz2Y2rUnZbepMImYcbfFcv3HPSQ2+M/DMjskNQSPZ1hmH2yyo57ha ZGkQ8dfeld5ltb3oyxuiavlIU5n5nPrPLBqpqzjf08FE7ssFI/WbcCAcPdGHfNj1 mvu90lgNsVnmUtBpEm01UxK5i9ayVQkg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=Dx2WSL3zeOAE42Y6S 7AdFJZKY2uco4QG+7m4vj8CPeU=; b=nuOVySan5dBxSvKwu9ZFvC6aCJ2vdFLcG VHbOyeVlsFnl9Mp39lYOdktzrEiOAvu5zCvDNnDeH18nZBYhcgUnTBW86I5+KjaB Iw/m3v0O+vLe3kg4kt6s4wtbMzSfYACxhUfQzYCjrr6vJD6Wf1uU0x1UuXfC7Zf4 +MrGqE+hGgsYK322CpImWNQWJF8rV+Gd5zxNPB/B7yb0E6clv8VkMo8TS/uAp8tD zYJdmfyqnnvt6J0Fqdc2l0ajNN7iCG5HJR5p//bPUs6RyLEU42yYlEH8MLYTAWfO uaL2vgLXEglqsV8eRKZiSE5SnvnHXrFsobpPew/gcMxszB5UDEEJw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddruddugedguddthecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpeffhffvuffkfhggtggujgesthdtredttddtvdenucfhrhhomheptehnughr vghsucfhrhgvuhhnugcuoegrnhgurhgvshesrghnrghrrgiivghlrdguvgeqnecuggftrf grthhtvghrnhepudekhfekleeugeevteehleffffejgeelueduleeffeeutdelffeujeff hfeuffdunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomh eprghnughrvghssegrnhgrrhgriigvlhdruggv X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 7 Mar 2022 12:54:23 -0500 (EST) Date: Mon, 7 Mar 2022 09:54:22 -0800 From: Andres Freund To: hubert depesz lubaczewski Cc: Tom Lane , PostgreSQL General Subject: Re: Interesting fail when migrating Pg from Ubuntu Bionic to Focal Message-ID: <20220307175422.3iuxiiiypfowx3ch@alap3.anarazel.de> References: <20220303150428.GA26036@depesz.com> <20220303151156.GB26036@depesz.com> <20220303163921.GA10776@depesz.com> <20220303164401.GA13056@depesz.com> <3969790.1646420992@sss.pgh.pa.us> <20220304204510.GA21340@depesz.com> <3984384.1646431394@sss.pgh.pa.us> <20220306140402.GA6360@depesz.com> <2045.1646583000@sss.pgh.pa.us> <20220307151128.GA22074@depesz.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220307151128.GA22074@depesz.com> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi, On 2022-03-07 16:11:28 +0100, hubert depesz lubaczewski wrote: > On Sun, Mar 06, 2022 at 11:10:00AM -0500, Tom Lane wrote: > > > I tore these boxes down, so can't check immediately, but I think > > > I remember that you're right - single-row queries didn't use JIT. > > Got focal box up. Loaded schema for Pg. > > Initially select didn't break anything, but when I tuned down > jit_above_cost so that it will kick in - got fails immediately. Could you set jit_debugging_support=on and show a backtrace with that? > > FWIW, I went to the trouble of installing Ubuntu Focal on my > > raspberry pi to see if I could duplicate this, and I couldn't. > > However, what you get from a fresh install now is > > $ dpkg -l | grep libllvm > > ii libllvm10:arm64 1:10.0.0-4ubuntu1 arm64 Modular compiler and toolchain technologies, runtime library > > not 9.0.1. I also found that Fedora 31/aarch64 is still downloadable, and > > that does contain LLVM 9 ... and I could not reproduce it there either. > > Soo... plot thickens. > > Looks that pg 12 supplied by pgdg required libllvm9: What are the libllvm package versions on which you can reproduce the crash? > Newer pg12 (12.10) from pgdg also depends on llvm9. Perhaps changing the deb to > use/depend-on llvm10 would solve the problem, for now I'm not sure how to do > it. Reached to Christoph about it. It'd require rebuilding. It's possible that the problem is one of the patches applied by ubuntu to llvm and that's why others can't reproduce so far. There's quite a few... Greetings, Andres Freund