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 1nakG1-0004AR-OF for pgsql-committers@arkaria.postgresql.org; Sat, 02 Apr 2022 20:22:01 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nakG0-0006YJ-Kr for pgsql-committers@arkaria.postgresql.org; Sat, 02 Apr 2022 20:22:00 +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 1nakG0-0006Y9-EC for pgsql-committers@lists.postgresql.org; Sat, 02 Apr 2022 20:22:00 +0000 Received: from out4-smtp.messagingengine.com ([66.111.4.28]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nakFz-0001xX-4C for pgsql-committers@lists.postgresql.org; Sat, 02 Apr 2022 20:22:00 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 4DEA55C00C2; Sat, 2 Apr 2022 16:21:57 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Sat, 02 Apr 2022 16:21:57 -0400 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=uAi0JTl8rqhrgI5Pvvkp5bMpoXYHpal696zD1J 7JkE4=; b=spAYfxrVBnjebYLQs9hH7SrRLtmiz0wPjgt8TyrGVYLEN0dNKtl7i4 ueUSo9HNHzoKsx3MxaJ6aBNvR0Peqtu9KPEAdvvdHqthOnrQ2buUNyfoPW+5yIZh sxQXdo65oIqXC2BwfokDNQ3hH2cOhrN9dTUBOkgX5qSib2LUOiio0F7QlKZaYc6N l8VMR1SH7IuP6qghOi5XP4mtP6dvV8QJA52qHHp7e3Mqj8sgrowZkg5XdwxH8T3i rgj3qBNpgJXxbL2Np9B7JatGDGH9zEdRec6uL/fTmqbU614OjHXhjX1FBB0FDodG WcF5FSKEYfu0PJK+D9SyPX6/WF9lG1HA== 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=fm3; bh=uAi0JTl8rqhrgI5Pv vkp5bMpoXYHpal696zD1J7JkE4=; b=T5zb/Elu4szus4fsYx4rNWkBSprnL2IpH Uhi6JC26+9Fs2LsYUe0qhQBUDniWRgY+AcTqs/j53lUWVR1alctWBUJRCAdWnID8 03zKYYr9zwJHY0w3QajUEQhsrzFWD4dnZ/5FKC1UFYkr1oXvYhgvP3hVojquCNkl Z2nednAvFy4Ttt9/XHvKrqCJcRbW01TBAZQD+I1/wvLLTu5MTjIuDlZO+E0pxeJP yjl+i6mAyHjlIYEOlmELAi1D3u7/7938kzPRoytL1qcZ9eiDHltbnjwtZvhJIk8v wgTzeZ+50/uSm8dZFKYnpGqW/h0SLtNXbmhBtX5uYyt10ur2M3Ayw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrudeikedgudehtdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpeffhffvuffkfhggtggujgesthdtredttddtvdenucfhrhhomheptehnughr vghsucfhrhgvuhhnugcuoegrnhgurhgvshesrghnrghrrgiivghlrdguvgeqnecuggftrf grthhtvghrnhepudekhfekleeugeevteehleffffejgeelueduleeffeeutdelffeujeff hfeuffdunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomh eprghnughrvghssegrnhgrrhgriigvlhdruggv X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 2 Apr 2022 16:21:57 -0400 (EDT) Date: Sat, 2 Apr 2022 13:21:56 -0700 From: Andres Freund To: John Naylor Cc: John Naylor , pgsql-committers@lists.postgresql.org Subject: Re: pgsql: Specialize tuplesort routines for different kinds of abbreviated Message-ID: <20220402202156.6rfdcjsms5rq3m7a@alap3.anarazel.de> References: <20220402201557.thanbsxcql5lk6pc@alap3.anarazel.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220402201557.thanbsxcql5lk6pc@alap3.anarazel.de> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi, On 2022-04-02 13:15:57 -0700, Andres Freund wrote: > I get a backtrace to investigate. Unfortunately abort_on_error=1 also removes > the nicer error message :(. So I ran both. This bit was just me being stupid and missing the error message... > with that applied > CFLAGS=-fsanitize=alignment,undefined,address -fno-sanitize-recover=all > and > export ASAN_OPTIONS="detect_leaks=0:disable_coredump=0:print_stacktrace=1:abort_on_error=1" UBSAN_OPTIONS="disable_coredump=0:print_stacktrace=1:abort_on_error=1" Forgot to add the warning that disable_coredump=0 on non-linux (or old linux) systems can end up generating humongous core files... To be able to run rr with ubsan/asan one needs verify_asan_link_order=0 in ASAN_OPTIONS btw. Greetings, Andres Freund