Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sI385-00CU5K-7j for pgsql-bugs@arkaria.postgresql.org; Fri, 14 Jun 2024 09:21:53 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1sI382-00FziG-Le for pgsql-bugs@arkaria.postgresql.org; Fri, 14 Jun 2024 09:21:51 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sHyVR-00Ctd2-ET for pgsql-bugs@lists.postgresql.org; Fri, 14 Jun 2024 04:25:42 +0000 Received: from mail-oa1-x32.google.com ([2001:4860:4864:20::32]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1sHyVL-001ZkN-CR for pgsql-bugs@postgresql.org; Fri, 14 Jun 2024 04:25:41 +0000 Received: by mail-oa1-x32.google.com with SMTP id 586e51a60fabf-254c5bc84c6so844737fac.3 for ; Thu, 13 Jun 2024 21:25:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=j-davis-com.20230601.gappssmtp.com; s=20230601; t=1718339133; x=1718943933; darn=postgresql.org; h=mime-version:user-agent:content-transfer-encoding:date:cc:to:from :subject:message-id:from:to:cc:subject:date:message-id:reply-to; bh=04RgpYHBSDQdcpdzgVepuRaO27gpkuzO7G/995sMEyE=; b=WSXtTbdMmJQZM1HMaogs1qWw71CSDQnfKaZPmKjwVvOEL0N+0nxIkXFbfPLn43CEmC Q/TEoB7qIoJKuTT6KR8oYnwyK2y3BRpgKVSbPTMiG5ul2iAEDnK2zyFV7icsVLe5zOtX qgxsRG2iZio+Voe1/fAtzVmJIl5h4atnfU+zGHWCOGXGE0ph2ZNiShTqrN3bQiWiRvAx miwYqF6il/7Szvew4OVPnpizDhk492SxwHlkBnOsIHO0pdhBK5IFVwn3GLIc3SB3Kngy aHrR6BGtd3ApUhRYZKsnXd4oxY0ENNnSd0Yl6coc6K6ZXUzc9XaDWE1vr4atj2mPgCCx DP5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718339133; x=1718943933; h=mime-version:user-agent:content-transfer-encoding:date:cc:to:from :subject:message-id:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=04RgpYHBSDQdcpdzgVepuRaO27gpkuzO7G/995sMEyE=; b=FT7UaawCAEiZ5pxtWutTFgOapoLvsikWz+cVqXcyTWB29NF8L1seAAj7fy0d1OKEHF ZIQi2iHwIapAqlkq4lyyI5PmzwNBZVbrQiX9DxyNd6nF8A4Ay0lgiCbv76zWhTjnYTCu 7XMDhi7h9nscbVaQEFf4Pb4ku4oMV323syyFyz+wiPiEdEDHQRCPQ+W8if2oeZREd62r iWYnOR2OSaUjMuoDuLALr0J14YiTVuXeDFvm2oN8N1RheRkX6E5KmnCxuK4Q+TQSQWXn OBf11mj/MPjeBEto733URejLhh8+Qm63+t5tfsPmJvOb0ue0n+Tth2JqjfwN4unm1+oO bdBw== X-Gm-Message-State: AOJu0YxatUn97Cw+Y14TN3Yu/oZETW8aMhgBrkdE4cvZxIZsQmG0ZkqX UtnIftBS2MLszOJQlWnrLvdIxdHDWDxE6F1D1+9W5SifLL1EoZgOKOlEtijV8zVhlLTTMjt9d9M = X-Google-Smtp-Source: AGHT+IFrewsckRWJGbkjAP0lvdcL/im0OIjoLSza46p1aCSz3UbbP7pgP0WNyaquFwZo/3tCqM8lVw== X-Received: by 2002:a05:6870:95a4:b0:254:a753:d1ba with SMTP id 586e51a60fabf-258428eb248mr1668894fac.23.1718339133091; Thu, 13 Jun 2024 21:25:33 -0700 (PDT) Received: from jeff-laptop.lan (c-76-102-242-158.hsd1.ca.comcast.net. [76.102.242.158]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-705ccb4147fsm2051034b3a.109.2024.06.13.21.25.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Jun 2024 21:25:32 -0700 (PDT) Message-ID: Subject: JIT crash introduced by 6185c9737c with LLVM 14 From: Jeff Davis To: pgsql-bugs@postgresql.org Cc: Amit Langote Date: Thu, 13 Jun 2024 21:25:30 -0700 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.44.4-0ubuntu2 MIME-Version: 1.0 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk The following query causes a crash on an optimized build using LLVM 14: create table t(i int); set jit_above_cost=3D0; select count(*) from t; I bisected the crash to 6185c9737c. Regards, Jeff Davis